@gitbook/api 0.93.0 → 0.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +143 -66
- package/dist/index.cjs +17 -17
- package/dist/index.js +16 -16
- package/package.json +1 -1
- package/spec/openapi.json +374 -123
- package/spec/openapi.yaml +253 -92
package/spec/openapi.json
CHANGED
|
@@ -9728,6 +9728,9 @@
|
|
|
9728
9728
|
},
|
|
9729
9729
|
"invoice": {
|
|
9730
9730
|
"$ref": "#/components/schemas/BillingInvoicePreview"
|
|
9731
|
+
},
|
|
9732
|
+
"discount": {
|
|
9733
|
+
"$ref": "#/components/schemas/BillingDiscount"
|
|
9731
9734
|
}
|
|
9732
9735
|
},
|
|
9733
9736
|
"required": [
|
|
@@ -14119,6 +14122,21 @@
|
|
|
14119
14122
|
"styling": {
|
|
14120
14123
|
"type": "object",
|
|
14121
14124
|
"properties": {
|
|
14125
|
+
"theme": {
|
|
14126
|
+
"description": "The site theme. Set to null to reset the override.",
|
|
14127
|
+
"oneOf": [
|
|
14128
|
+
{
|
|
14129
|
+
"$ref": "#/components/schemas/CustomizationTheme"
|
|
14130
|
+
},
|
|
14131
|
+
{
|
|
14132
|
+
"type": "string",
|
|
14133
|
+
"nullable": true,
|
|
14134
|
+
"enum": [
|
|
14135
|
+
null
|
|
14136
|
+
]
|
|
14137
|
+
}
|
|
14138
|
+
]
|
|
14139
|
+
},
|
|
14122
14140
|
"primaryColor": {
|
|
14123
14141
|
"description": "The primary color used for links and UI text. Set to null to reset the override.",
|
|
14124
14142
|
"oneOf": [
|
|
@@ -14134,6 +14152,66 @@
|
|
|
14134
14152
|
}
|
|
14135
14153
|
]
|
|
14136
14154
|
},
|
|
14155
|
+
"infoColor": {
|
|
14156
|
+
"description": "Used for informational messages and neutral alerts. Set to null to reset the override.",
|
|
14157
|
+
"oneOf": [
|
|
14158
|
+
{
|
|
14159
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
14160
|
+
},
|
|
14161
|
+
{
|
|
14162
|
+
"type": "string",
|
|
14163
|
+
"nullable": true,
|
|
14164
|
+
"enum": [
|
|
14165
|
+
null
|
|
14166
|
+
]
|
|
14167
|
+
}
|
|
14168
|
+
]
|
|
14169
|
+
},
|
|
14170
|
+
"successColor": {
|
|
14171
|
+
"description": "Used for showing positive actions or achievements. Set to null to reset the override.",
|
|
14172
|
+
"oneOf": [
|
|
14173
|
+
{
|
|
14174
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
14175
|
+
},
|
|
14176
|
+
{
|
|
14177
|
+
"type": "string",
|
|
14178
|
+
"nullable": true,
|
|
14179
|
+
"enum": [
|
|
14180
|
+
null
|
|
14181
|
+
]
|
|
14182
|
+
}
|
|
14183
|
+
]
|
|
14184
|
+
},
|
|
14185
|
+
"warningColor": {
|
|
14186
|
+
"description": "Used for showing important information or non-critical warnings. Set to null to reset the override.",
|
|
14187
|
+
"oneOf": [
|
|
14188
|
+
{
|
|
14189
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
14190
|
+
},
|
|
14191
|
+
{
|
|
14192
|
+
"type": "string",
|
|
14193
|
+
"nullable": true,
|
|
14194
|
+
"enum": [
|
|
14195
|
+
null
|
|
14196
|
+
]
|
|
14197
|
+
}
|
|
14198
|
+
]
|
|
14199
|
+
},
|
|
14200
|
+
"dangerColor": {
|
|
14201
|
+
"description": "Used for destructive actions or raising attention to critical information. Set to null to reset the override.",
|
|
14202
|
+
"oneOf": [
|
|
14203
|
+
{
|
|
14204
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
14205
|
+
},
|
|
14206
|
+
{
|
|
14207
|
+
"type": "string",
|
|
14208
|
+
"nullable": true,
|
|
14209
|
+
"enum": [
|
|
14210
|
+
null
|
|
14211
|
+
]
|
|
14212
|
+
}
|
|
14213
|
+
]
|
|
14214
|
+
},
|
|
14137
14215
|
"tint": {
|
|
14138
14216
|
"description": "The tint will color the site’s UI beyond links and buttons, such as header, sidebar and background. By default, the tint colour is the same as your Primary colour, but you can set a custom one too.",
|
|
14139
14217
|
"oneOf": [
|
|
@@ -17931,6 +18009,25 @@
|
|
|
17931
18009
|
"reusableContent"
|
|
17932
18010
|
]
|
|
17933
18011
|
},
|
|
18012
|
+
"ContentRefOpenAPI": {
|
|
18013
|
+
"type": "object",
|
|
18014
|
+
"properties": {
|
|
18015
|
+
"kind": {
|
|
18016
|
+
"type": "string",
|
|
18017
|
+
"enum": [
|
|
18018
|
+
"openapi"
|
|
18019
|
+
]
|
|
18020
|
+
},
|
|
18021
|
+
"spec": {
|
|
18022
|
+
"type": "string",
|
|
18023
|
+
"description": "Slug of the OpenAPI specification"
|
|
18024
|
+
}
|
|
18025
|
+
},
|
|
18026
|
+
"required": [
|
|
18027
|
+
"kind",
|
|
18028
|
+
"spec"
|
|
18029
|
+
]
|
|
18030
|
+
},
|
|
17934
18031
|
"ContentRef": {
|
|
17935
18032
|
"description": "A relative reference to content in GitBook.",
|
|
17936
18033
|
"oneOf": [
|
|
@@ -17957,6 +18054,9 @@
|
|
|
17957
18054
|
},
|
|
17958
18055
|
{
|
|
17959
18056
|
"$ref": "#/components/schemas/ContentRefReusableContent"
|
|
18057
|
+
},
|
|
18058
|
+
{
|
|
18059
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
17960
18060
|
}
|
|
17961
18061
|
]
|
|
17962
18062
|
},
|
|
@@ -19962,25 +20062,6 @@
|
|
|
19962
20062
|
"returnValue"
|
|
19963
20063
|
]
|
|
19964
20064
|
},
|
|
19965
|
-
{
|
|
19966
|
-
"type": "object",
|
|
19967
|
-
"description": "Action to complete the current flow the user is in.",
|
|
19968
|
-
"properties": {
|
|
19969
|
-
"action": {
|
|
19970
|
-
"type": "string",
|
|
19971
|
-
"enum": [
|
|
19972
|
-
"@ui.complete"
|
|
19973
|
-
]
|
|
19974
|
-
},
|
|
19975
|
-
"returnValue": {
|
|
19976
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
19977
|
-
}
|
|
19978
|
-
},
|
|
19979
|
-
"required": [
|
|
19980
|
-
"action",
|
|
19981
|
-
"returnValue"
|
|
19982
|
-
]
|
|
19983
|
-
},
|
|
19984
20065
|
{
|
|
19985
20066
|
"type": "object",
|
|
19986
20067
|
"description": "Action to open an url.",
|
|
@@ -20309,6 +20390,9 @@
|
|
|
20309
20390
|
},
|
|
20310
20391
|
{
|
|
20311
20392
|
"$ref": "#/components/schemas/ContentRefURL"
|
|
20393
|
+
},
|
|
20394
|
+
{
|
|
20395
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
20312
20396
|
}
|
|
20313
20397
|
]
|
|
20314
20398
|
},
|
|
@@ -21706,6 +21790,9 @@
|
|
|
21706
21790
|
"oneOf": [
|
|
21707
21791
|
{
|
|
21708
21792
|
"$ref": "#/components/schemas/ContentRefSpace"
|
|
21793
|
+
},
|
|
21794
|
+
{
|
|
21795
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
21709
21796
|
}
|
|
21710
21797
|
]
|
|
21711
21798
|
},
|
|
@@ -21747,6 +21834,45 @@
|
|
|
21747
21834
|
"ref",
|
|
21748
21835
|
"value"
|
|
21749
21836
|
]
|
|
21837
|
+
},
|
|
21838
|
+
{
|
|
21839
|
+
"type": "object",
|
|
21840
|
+
"properties": {
|
|
21841
|
+
"ref": {
|
|
21842
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
21843
|
+
},
|
|
21844
|
+
"value": {
|
|
21845
|
+
"type": "object",
|
|
21846
|
+
"nullable": true,
|
|
21847
|
+
"description": "See `OpenAPI` schema component.",
|
|
21848
|
+
"properties": {
|
|
21849
|
+
"object": {
|
|
21850
|
+
"type": "string",
|
|
21851
|
+
"enum": [
|
|
21852
|
+
"openapi-spec"
|
|
21853
|
+
]
|
|
21854
|
+
},
|
|
21855
|
+
"id": {
|
|
21856
|
+
"type": "string"
|
|
21857
|
+
},
|
|
21858
|
+
"slug": {
|
|
21859
|
+
"type": "string"
|
|
21860
|
+
},
|
|
21861
|
+
"lastVersion": {
|
|
21862
|
+
"type": "string"
|
|
21863
|
+
}
|
|
21864
|
+
},
|
|
21865
|
+
"required": [
|
|
21866
|
+
"object",
|
|
21867
|
+
"id",
|
|
21868
|
+
"slug"
|
|
21869
|
+
]
|
|
21870
|
+
}
|
|
21871
|
+
},
|
|
21872
|
+
"required": [
|
|
21873
|
+
"ref",
|
|
21874
|
+
"value"
|
|
21875
|
+
]
|
|
21750
21876
|
}
|
|
21751
21877
|
]
|
|
21752
21878
|
},
|
|
@@ -23014,6 +23140,23 @@
|
|
|
23014
23140
|
"type": "boolean",
|
|
23015
23141
|
"description": "If true, the organization is on the new trial which includes sites and the Pro plan."
|
|
23016
23142
|
},
|
|
23143
|
+
"internal_billingMigration": {
|
|
23144
|
+
"type": "object",
|
|
23145
|
+
"properties": {
|
|
23146
|
+
"deadline": {
|
|
23147
|
+
"description": "When we will upgrade the organization onto new pricing, if they haven't already.",
|
|
23148
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
23149
|
+
},
|
|
23150
|
+
"discountPercent": {
|
|
23151
|
+
"description": "A discount the organization may have received thanks to migrating early.",
|
|
23152
|
+
"type": "number"
|
|
23153
|
+
},
|
|
23154
|
+
"discountEndDate": {
|
|
23155
|
+
"description": "The expiration date of the discount, after wich regular pricing resumes.",
|
|
23156
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
23157
|
+
}
|
|
23158
|
+
}
|
|
23159
|
+
},
|
|
23017
23160
|
"permissions": {
|
|
23018
23161
|
"type": "object",
|
|
23019
23162
|
"description": "The set of permissions for the organization",
|
|
@@ -23409,6 +23552,132 @@
|
|
|
23409
23552
|
"reusableContent"
|
|
23410
23553
|
]
|
|
23411
23554
|
},
|
|
23555
|
+
"OpenAPISpecSlug": {
|
|
23556
|
+
"description": "Slug used as reference",
|
|
23557
|
+
"type": "string",
|
|
23558
|
+
"minLength": 1,
|
|
23559
|
+
"maxLength": 100
|
|
23560
|
+
},
|
|
23561
|
+
"OpenAPISpecProcessingState": {
|
|
23562
|
+
"description": "Processing state",
|
|
23563
|
+
"enum": [
|
|
23564
|
+
"pending",
|
|
23565
|
+
"progress",
|
|
23566
|
+
"complete"
|
|
23567
|
+
]
|
|
23568
|
+
},
|
|
23569
|
+
"OpenAPISpecProcessingErrorCode": {
|
|
23570
|
+
"description": "OpenAPI processing error code",
|
|
23571
|
+
"enum": [
|
|
23572
|
+
"FETCH_TIMEOUT",
|
|
23573
|
+
"FETCH_ERROR",
|
|
23574
|
+
"PARSE_ERROR"
|
|
23575
|
+
]
|
|
23576
|
+
},
|
|
23577
|
+
"OpenAPISpec": {
|
|
23578
|
+
"type": "object",
|
|
23579
|
+
"properties": {
|
|
23580
|
+
"object": {
|
|
23581
|
+
"description": "The object type, which is always \"openapi-spec\"",
|
|
23582
|
+
"type": "string",
|
|
23583
|
+
"enum": [
|
|
23584
|
+
"openapi-spec"
|
|
23585
|
+
]
|
|
23586
|
+
},
|
|
23587
|
+
"id": {
|
|
23588
|
+
"description": "Unique identifier",
|
|
23589
|
+
"type": "string"
|
|
23590
|
+
},
|
|
23591
|
+
"createdAt": {
|
|
23592
|
+
"description": "Date of creation",
|
|
23593
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
23594
|
+
},
|
|
23595
|
+
"updatedAt": {
|
|
23596
|
+
"description": "Date of the last update",
|
|
23597
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
23598
|
+
},
|
|
23599
|
+
"slug": {
|
|
23600
|
+
"$ref": "#/components/schemas/OpenAPISpecSlug"
|
|
23601
|
+
},
|
|
23602
|
+
"sourceURL": {
|
|
23603
|
+
"$ref": "#/components/schemas/URL"
|
|
23604
|
+
},
|
|
23605
|
+
"processingState": {
|
|
23606
|
+
"$ref": "#/components/schemas/OpenAPISpecProcessingState"
|
|
23607
|
+
},
|
|
23608
|
+
"lastVersion": {
|
|
23609
|
+
"type": "string",
|
|
23610
|
+
"description": "ID of the latest version of the OpenAPI specification"
|
|
23611
|
+
},
|
|
23612
|
+
"lastProcessedAt": {
|
|
23613
|
+
"description": "Date of the last processing",
|
|
23614
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
23615
|
+
},
|
|
23616
|
+
"lastProcessErrorCode": {
|
|
23617
|
+
"$ref": "#/components/schemas/OpenAPISpecProcessingErrorCode"
|
|
23618
|
+
},
|
|
23619
|
+
"permissions": {
|
|
23620
|
+
"type": "object",
|
|
23621
|
+
"description": "The set of permissions for the OpenAPI specification.",
|
|
23622
|
+
"properties": {
|
|
23623
|
+
"edit": {
|
|
23624
|
+
"type": "boolean",
|
|
23625
|
+
"description": "Can the user edit the specification."
|
|
23626
|
+
}
|
|
23627
|
+
}
|
|
23628
|
+
},
|
|
23629
|
+
"urls": {
|
|
23630
|
+
"type": "object",
|
|
23631
|
+
"description": "URLs associated with the object",
|
|
23632
|
+
"properties": {
|
|
23633
|
+
"location": {
|
|
23634
|
+
"description": "URL of the OpenAPI specification in the API",
|
|
23635
|
+
"$ref": "#/components/schemas/URL"
|
|
23636
|
+
},
|
|
23637
|
+
"app": {
|
|
23638
|
+
"description": "URL of the OpenAPI specification in the application",
|
|
23639
|
+
"$ref": "#/components/schemas/URL"
|
|
23640
|
+
}
|
|
23641
|
+
},
|
|
23642
|
+
"required": [
|
|
23643
|
+
"app",
|
|
23644
|
+
"location"
|
|
23645
|
+
]
|
|
23646
|
+
}
|
|
23647
|
+
},
|
|
23648
|
+
"required": [
|
|
23649
|
+
"object",
|
|
23650
|
+
"id",
|
|
23651
|
+
"createdAt",
|
|
23652
|
+
"updatedAt",
|
|
23653
|
+
"slug",
|
|
23654
|
+
"processingState",
|
|
23655
|
+
"permissions",
|
|
23656
|
+
"urls"
|
|
23657
|
+
]
|
|
23658
|
+
},
|
|
23659
|
+
"ContentLocationOpenAPI": {
|
|
23660
|
+
"type": "object",
|
|
23661
|
+
"properties": {
|
|
23662
|
+
"kind": {
|
|
23663
|
+
"type": "string",
|
|
23664
|
+
"enum": [
|
|
23665
|
+
"openapi"
|
|
23666
|
+
]
|
|
23667
|
+
},
|
|
23668
|
+
"organization": {
|
|
23669
|
+
"$ref": "#/components/schemas/Organization"
|
|
23670
|
+
},
|
|
23671
|
+
"openAPISpec": {
|
|
23672
|
+
"$ref": "#/components/schemas/OpenAPISpec"
|
|
23673
|
+
}
|
|
23674
|
+
},
|
|
23675
|
+
"required": [
|
|
23676
|
+
"kind",
|
|
23677
|
+
"organization",
|
|
23678
|
+
"openAPISpec"
|
|
23679
|
+
]
|
|
23680
|
+
},
|
|
23412
23681
|
"ContentLocation": {
|
|
23413
23682
|
"description": "An absolute reference to content in GitBook.",
|
|
23414
23683
|
"oneOf": [
|
|
@@ -23432,6 +23701,9 @@
|
|
|
23432
23701
|
},
|
|
23433
23702
|
{
|
|
23434
23703
|
"$ref": "#/components/schemas/ContentLocationReusableContent"
|
|
23704
|
+
},
|
|
23705
|
+
{
|
|
23706
|
+
"$ref": "#/components/schemas/ContentLocationOpenAPI"
|
|
23435
23707
|
}
|
|
23436
23708
|
],
|
|
23437
23709
|
"discriminator": {
|
|
@@ -25102,6 +25374,8 @@
|
|
|
25102
25374
|
},
|
|
25103
25375
|
"CustomizationHeaderPreset": {
|
|
25104
25376
|
"type": "string",
|
|
25377
|
+
"deprecated": true,
|
|
25378
|
+
"description": "The header preset to use for the site. This is a legacy setting and the site styling theme should be used instead.",
|
|
25105
25379
|
"enum": [
|
|
25106
25380
|
"default",
|
|
25107
25381
|
"bold",
|
|
@@ -25492,7 +25766,9 @@
|
|
|
25492
25766
|
"site:views:read",
|
|
25493
25767
|
"site:script:inject",
|
|
25494
25768
|
"site:script:cookies",
|
|
25495
|
-
"site:visitor:auth"
|
|
25769
|
+
"site:visitor:auth",
|
|
25770
|
+
"openapi:read",
|
|
25771
|
+
"openapi:write"
|
|
25496
25772
|
]
|
|
25497
25773
|
},
|
|
25498
25774
|
"IntegrationScopes": {
|
|
@@ -25571,7 +25847,8 @@
|
|
|
25571
25847
|
},
|
|
25572
25848
|
"required": [
|
|
25573
25849
|
"id",
|
|
25574
|
-
"title"
|
|
25850
|
+
"title",
|
|
25851
|
+
"configuration"
|
|
25575
25852
|
]
|
|
25576
25853
|
},
|
|
25577
25854
|
"IntegrationConfigurationSchema": {
|
|
@@ -30104,6 +30381,24 @@
|
|
|
30104
30381
|
"periodEnd"
|
|
30105
30382
|
]
|
|
30106
30383
|
}
|
|
30384
|
+
},
|
|
30385
|
+
"discount": {
|
|
30386
|
+
"type": "object",
|
|
30387
|
+
"description": "Discount applied to the subscription.",
|
|
30388
|
+
"properties": {
|
|
30389
|
+
"description": {
|
|
30390
|
+
"description": "The combined description of all discounts applied to the subscription.",
|
|
30391
|
+
"type": "string"
|
|
30392
|
+
},
|
|
30393
|
+
"amount": {
|
|
30394
|
+
"description": "The total amount of all discounts applied to the subscription.",
|
|
30395
|
+
"type": "number"
|
|
30396
|
+
}
|
|
30397
|
+
},
|
|
30398
|
+
"required": [
|
|
30399
|
+
"amount",
|
|
30400
|
+
"description"
|
|
30401
|
+
]
|
|
30107
30402
|
}
|
|
30108
30403
|
},
|
|
30109
30404
|
"required": [
|
|
@@ -30282,6 +30577,23 @@
|
|
|
30282
30577
|
"changes"
|
|
30283
30578
|
]
|
|
30284
30579
|
},
|
|
30580
|
+
"BillingDiscount": {
|
|
30581
|
+
"type": "object",
|
|
30582
|
+
"properties": {
|
|
30583
|
+
"duration": {
|
|
30584
|
+
"description": "How many months the discount will last",
|
|
30585
|
+
"type": "number"
|
|
30586
|
+
},
|
|
30587
|
+
"percentOff": {
|
|
30588
|
+
"description": "Percent that will be deducted from the subtotal of the invoice",
|
|
30589
|
+
"type": "number"
|
|
30590
|
+
}
|
|
30591
|
+
},
|
|
30592
|
+
"required": [
|
|
30593
|
+
"duration",
|
|
30594
|
+
"percentOff"
|
|
30595
|
+
]
|
|
30596
|
+
},
|
|
30285
30597
|
"SiteToMigrateFeature": {
|
|
30286
30598
|
"type": "string",
|
|
30287
30599
|
"description": "These are all the features we check to determine the new pricing site type.",
|
|
@@ -30852,6 +31164,18 @@
|
|
|
30852
31164
|
"tint": {
|
|
30853
31165
|
"$ref": "#/components/schemas/CustomizationTint"
|
|
30854
31166
|
},
|
|
31167
|
+
"infoColor": {
|
|
31168
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31169
|
+
},
|
|
31170
|
+
"successColor": {
|
|
31171
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31172
|
+
},
|
|
31173
|
+
"warningColor": {
|
|
31174
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31175
|
+
},
|
|
31176
|
+
"dangerColor": {
|
|
31177
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31178
|
+
},
|
|
30855
31179
|
"corners": {
|
|
30856
31180
|
"$ref": "#/components/schemas/CustomizationCorners"
|
|
30857
31181
|
},
|
|
@@ -30882,7 +31206,12 @@
|
|
|
30882
31206
|
}
|
|
30883
31207
|
},
|
|
30884
31208
|
"required": [
|
|
31209
|
+
"theme",
|
|
30885
31210
|
"primaryColor",
|
|
31211
|
+
"infoColor",
|
|
31212
|
+
"successColor",
|
|
31213
|
+
"warningColor",
|
|
31214
|
+
"dangerColor",
|
|
30886
31215
|
"corners",
|
|
30887
31216
|
"font",
|
|
30888
31217
|
"background",
|
|
@@ -30942,9 +31271,13 @@
|
|
|
30942
31271
|
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
30943
31272
|
},
|
|
30944
31273
|
"backgroundColor": {
|
|
31274
|
+
"deprecated": true,
|
|
31275
|
+
"description": "Color of the background in the header. This value is now deprecated in favour of the new theming colors.",
|
|
30945
31276
|
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
30946
31277
|
},
|
|
30947
31278
|
"linkColor": {
|
|
31279
|
+
"deprecated": true,
|
|
31280
|
+
"description": "Color of the links in the header. This value is now deprecated and will be phased out in favour of the new theming colors.",
|
|
30948
31281
|
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
30949
31282
|
},
|
|
30950
31283
|
"links": {
|
|
@@ -34610,17 +34943,6 @@
|
|
|
34610
34943
|
"spaces"
|
|
34611
34944
|
]
|
|
34612
34945
|
},
|
|
34613
|
-
"SpaceBlockReason": {
|
|
34614
|
-
"type": "string",
|
|
34615
|
-
"description": "Reason for a space to be blocked",
|
|
34616
|
-
"enum": [
|
|
34617
|
-
"DMCA",
|
|
34618
|
-
"THREAT_TYPE_UNSPECIFIED",
|
|
34619
|
-
"MALWARE",
|
|
34620
|
-
"SOCIAL_ENGINEERING",
|
|
34621
|
-
"UNWANTED_SOFTWARE"
|
|
34622
|
-
]
|
|
34623
|
-
},
|
|
34624
34946
|
"BackOfficeSite": {
|
|
34625
34947
|
"allOf": [
|
|
34626
34948
|
{
|
|
@@ -34737,28 +35059,14 @@
|
|
|
34737
35059
|
}
|
|
34738
35060
|
]
|
|
34739
35061
|
},
|
|
34740
|
-
"
|
|
34741
|
-
"description": "Slug used as reference",
|
|
34742
|
-
"type": "string",
|
|
34743
|
-
"minLength": 1,
|
|
34744
|
-
"maxLength": 100
|
|
34745
|
-
},
|
|
34746
|
-
"OpenAPISpecProcessingState": {
|
|
34747
|
-
"description": "Processing state",
|
|
34748
|
-
"enum": [
|
|
34749
|
-
"pending",
|
|
34750
|
-
"progress",
|
|
34751
|
-
"complete"
|
|
34752
|
-
]
|
|
34753
|
-
},
|
|
34754
|
-
"OpenAPISpec": {
|
|
35062
|
+
"OpenAPISpecVersion": {
|
|
34755
35063
|
"type": "object",
|
|
34756
35064
|
"properties": {
|
|
34757
35065
|
"object": {
|
|
34758
|
-
"description": "The object type, which is always \"openapi-spec\"",
|
|
35066
|
+
"description": "The object type, which is always \"openapi-spec-version\"",
|
|
34759
35067
|
"type": "string",
|
|
34760
35068
|
"enum": [
|
|
34761
|
-
"openapi-spec"
|
|
35069
|
+
"openapi-spec-version"
|
|
34762
35070
|
]
|
|
34763
35071
|
},
|
|
34764
35072
|
"id": {
|
|
@@ -34769,33 +35077,20 @@
|
|
|
34769
35077
|
"description": "Date of creation",
|
|
34770
35078
|
"$ref": "#/components/schemas/Timestamp"
|
|
34771
35079
|
},
|
|
34772
|
-
"
|
|
34773
|
-
"description": "
|
|
34774
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34775
|
-
},
|
|
34776
|
-
"slug": {
|
|
34777
|
-
"$ref": "#/components/schemas/OpenAPISpecSlug"
|
|
34778
|
-
},
|
|
34779
|
-
"sourceURL": {
|
|
35080
|
+
"url": {
|
|
35081
|
+
"description": "URL where the specification is accessible.",
|
|
34780
35082
|
"$ref": "#/components/schemas/URL"
|
|
34781
35083
|
},
|
|
34782
|
-
"processingState": {
|
|
34783
|
-
"$ref": "#/components/schemas/OpenAPISpecProcessingState"
|
|
34784
|
-
},
|
|
34785
|
-
"lastProcessedAt": {
|
|
34786
|
-
"description": "Date of the last processing",
|
|
34787
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34788
|
-
},
|
|
34789
35084
|
"urls": {
|
|
34790
35085
|
"type": "object",
|
|
34791
35086
|
"description": "URLs associated with the object",
|
|
34792
35087
|
"properties": {
|
|
34793
35088
|
"location": {
|
|
34794
|
-
"description": "URL of the OpenAPI specification in the API",
|
|
35089
|
+
"description": "URL of the OpenAPI specification version in the API",
|
|
34795
35090
|
"$ref": "#/components/schemas/URL"
|
|
34796
35091
|
},
|
|
34797
35092
|
"app": {
|
|
34798
|
-
"description": "URL of the OpenAPI specification in the application",
|
|
35093
|
+
"description": "URL of the OpenAPI specification version in the application",
|
|
34799
35094
|
"$ref": "#/components/schemas/URL"
|
|
34800
35095
|
}
|
|
34801
35096
|
},
|
|
@@ -34808,71 +35103,27 @@
|
|
|
34808
35103
|
"required": [
|
|
34809
35104
|
"object",
|
|
34810
35105
|
"id",
|
|
34811
|
-
"
|
|
34812
|
-
"updatedAt",
|
|
34813
|
-
"slug",
|
|
34814
|
-
"processingState",
|
|
35106
|
+
"url",
|
|
34815
35107
|
"urls"
|
|
34816
35108
|
]
|
|
34817
35109
|
},
|
|
34818
|
-
"
|
|
35110
|
+
"OpenAPISpecContent": {
|
|
35111
|
+
"description": "Content of the specification available through filesystem or public URL.",
|
|
34819
35112
|
"type": "object",
|
|
34820
35113
|
"properties": {
|
|
34821
|
-
"
|
|
34822
|
-
"description": "
|
|
34823
|
-
"type": "
|
|
34824
|
-
"enum": [
|
|
34825
|
-
"openapi-spec-version"
|
|
34826
|
-
]
|
|
34827
|
-
},
|
|
34828
|
-
"id": {
|
|
34829
|
-
"description": "Unique identifier",
|
|
34830
|
-
"type": "string"
|
|
34831
|
-
},
|
|
34832
|
-
"createdAt": {
|
|
34833
|
-
"description": "Date of creation",
|
|
34834
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
34835
|
-
},
|
|
34836
|
-
"sourceURL": {
|
|
34837
|
-
"description": "URL poiting to the source of the specification",
|
|
34838
|
-
"$ref": "#/components/schemas/URL"
|
|
35114
|
+
"filesystem": {
|
|
35115
|
+
"description": "Filesystem containing all specifications.",
|
|
35116
|
+
"type": "object"
|
|
34839
35117
|
},
|
|
34840
|
-
"
|
|
34841
|
-
"description": "URL pointing to the processed specification",
|
|
35118
|
+
"url": {
|
|
34842
35119
|
"$ref": "#/components/schemas/URL"
|
|
34843
|
-
},
|
|
34844
|
-
"urls": {
|
|
34845
|
-
"type": "object",
|
|
34846
|
-
"description": "URLs associated with the object",
|
|
34847
|
-
"properties": {
|
|
34848
|
-
"location": {
|
|
34849
|
-
"description": "URL of the OpenAPI specification version in the API",
|
|
34850
|
-
"$ref": "#/components/schemas/URL"
|
|
34851
|
-
},
|
|
34852
|
-
"app": {
|
|
34853
|
-
"description": "URL of the OpenAPI specification version in the application",
|
|
34854
|
-
"$ref": "#/components/schemas/URL"
|
|
34855
|
-
}
|
|
34856
|
-
},
|
|
34857
|
-
"required": [
|
|
34858
|
-
"app",
|
|
34859
|
-
"location"
|
|
34860
|
-
]
|
|
34861
35120
|
}
|
|
34862
35121
|
},
|
|
34863
35122
|
"required": [
|
|
34864
|
-
"
|
|
34865
|
-
"
|
|
34866
|
-
"sourceURL",
|
|
34867
|
-
"contentURL",
|
|
34868
|
-
"contentHash",
|
|
34869
|
-
"urls"
|
|
35123
|
+
"filesystem",
|
|
35124
|
+
"url"
|
|
34870
35125
|
]
|
|
34871
35126
|
},
|
|
34872
|
-
"OpenAPISpecContent": {
|
|
34873
|
-
"description": "Content of OpenAPI specification",
|
|
34874
|
-
"type": "object"
|
|
34875
|
-
},
|
|
34876
35127
|
"SHA256": {
|
|
34877
35128
|
"type": "string",
|
|
34878
35129
|
"minLength": 64,
|
|
@@ -36877,14 +37128,14 @@
|
|
|
36877
37128
|
"space"
|
|
36878
37129
|
]
|
|
36879
37130
|
},
|
|
36880
|
-
"
|
|
37131
|
+
"OpenAPISpecChannel": {
|
|
36881
37132
|
"type": "object",
|
|
36882
|
-
"description": "Subscription channel for changes in OpenAPI specification
|
|
37133
|
+
"description": "Subscription channel for changes in OpenAPI specification.",
|
|
36883
37134
|
"properties": {
|
|
36884
37135
|
"channel": {
|
|
36885
37136
|
"type": "string",
|
|
36886
37137
|
"enum": [
|
|
36887
|
-
"openapi-spec
|
|
37138
|
+
"openapi-spec"
|
|
36888
37139
|
]
|
|
36889
37140
|
},
|
|
36890
37141
|
"openAPISpec": {
|
|
@@ -37080,7 +37331,7 @@
|
|
|
37080
37331
|
"$ref": "#/components/schemas/GitSyncOperationChannel"
|
|
37081
37332
|
},
|
|
37082
37333
|
{
|
|
37083
|
-
"$ref": "#/components/schemas/
|
|
37334
|
+
"$ref": "#/components/schemas/OpenAPISpecChannel"
|
|
37084
37335
|
}
|
|
37085
37336
|
],
|
|
37086
37337
|
"discriminator": {
|