@gitbook/api 0.119.0 → 0.121.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 +217 -309
- package/dist/index.cjs +63 -66
- package/dist/index.js +62 -65
- package/package.json +1 -1
- package/spec/openapi.json +556 -993
- package/spec/openapi.yaml +360 -668
package/spec/openapi.yaml
CHANGED
|
@@ -17,6 +17,7 @@ security:
|
|
|
17
17
|
- user: []
|
|
18
18
|
- user-internal: []
|
|
19
19
|
- user-staff: []
|
|
20
|
+
- user-internal-or-staff: []
|
|
20
21
|
- integration: []
|
|
21
22
|
- integration-installation: []
|
|
22
23
|
tags:
|
|
@@ -370,16 +371,6 @@ tags:
|
|
|
370
371
|
{% openapi-schemas spec="gitbook" schemas="CustomizationFontDefinition" grouped="false" %}
|
|
371
372
|
The CustomizationFontDefinition object
|
|
372
373
|
{% endopenapi-schemas %}
|
|
373
|
-
- name: custom-fields
|
|
374
|
-
x-page-icon: table-columns
|
|
375
|
-
x-page-title: Custom fields
|
|
376
|
-
x-page-description: Append specialized metadata to your content through user-defined fields.
|
|
377
|
-
description: |
|
|
378
|
-
This API provides structured ways to enrich your docs with extra attributes. You can create and manage custom fields to store additional data.
|
|
379
|
-
|
|
380
|
-
{% openapi-schemas spec="gitbook" schemas="CustomFieldValues" grouped="false" %}
|
|
381
|
-
The CustomFieldValues object
|
|
382
|
-
{% endopenapi-schemas %}
|
|
383
374
|
- name: billing
|
|
384
375
|
x-page-icon: credit-card
|
|
385
376
|
x-page-title: Billing
|
|
@@ -1230,6 +1221,7 @@ paths:
|
|
|
1230
1221
|
- $ref: "#/components/parameters/spaceId"
|
|
1231
1222
|
- $ref: "#/components/parameters/pageId"
|
|
1232
1223
|
- $ref: "#/components/parameters/documentFormat"
|
|
1224
|
+
- $ref: "#/components/parameters/documentEvaluated"
|
|
1233
1225
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
1234
1226
|
- $ref: "#/components/parameters/revisionComputed"
|
|
1235
1227
|
responses:
|
|
@@ -1347,6 +1339,7 @@ paths:
|
|
|
1347
1339
|
- $ref: "#/components/parameters/spaceId"
|
|
1348
1340
|
- $ref: "#/components/parameters/pagePath"
|
|
1349
1341
|
- $ref: "#/components/parameters/documentFormat"
|
|
1342
|
+
- $ref: "#/components/parameters/documentEvaluated"
|
|
1350
1343
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
1351
1344
|
- $ref: "#/components/parameters/revisionComputed"
|
|
1352
1345
|
responses:
|
|
@@ -1806,6 +1799,24 @@ paths:
|
|
|
1806
1799
|
description: Optionally, update the subject of the change request when requesting reviewers.
|
|
1807
1800
|
required:
|
|
1808
1801
|
- users
|
|
1802
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers/{userId}":
|
|
1803
|
+
delete:
|
|
1804
|
+
operationId: removeRequestedReviewerFromChangeRequest
|
|
1805
|
+
summary: Remove a reviewer from a change request
|
|
1806
|
+
tags:
|
|
1807
|
+
- change-request-reviewers
|
|
1808
|
+
security:
|
|
1809
|
+
- user: []
|
|
1810
|
+
parameters:
|
|
1811
|
+
- $ref: "#/components/parameters/spaceId"
|
|
1812
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
1813
|
+
- $ref: "#/components/parameters/userId"
|
|
1814
|
+
responses:
|
|
1815
|
+
"205":
|
|
1816
|
+
description: The reviewer has been removed from the change request
|
|
1817
|
+
"404":
|
|
1818
|
+
description: The reviewer could not be found
|
|
1819
|
+
$ref: "#/components/responses/NotFoundError"
|
|
1809
1820
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/links":
|
|
1810
1821
|
get:
|
|
1811
1822
|
operationId: listChangeRequestLinks
|
|
@@ -2289,6 +2300,7 @@ paths:
|
|
|
2289
2300
|
- $ref: "#/components/parameters/changeRequestId"
|
|
2290
2301
|
- $ref: "#/components/parameters/pageId"
|
|
2291
2302
|
- $ref: "#/components/parameters/documentFormat"
|
|
2303
|
+
- $ref: "#/components/parameters/documentEvaluated"
|
|
2292
2304
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2293
2305
|
- $ref: "#/components/parameters/revisionComputed"
|
|
2294
2306
|
responses:
|
|
@@ -2405,6 +2417,7 @@ paths:
|
|
|
2405
2417
|
- $ref: "#/components/parameters/changeRequestId"
|
|
2406
2418
|
- $ref: "#/components/parameters/pagePath"
|
|
2407
2419
|
- $ref: "#/components/parameters/documentFormat"
|
|
2420
|
+
- $ref: "#/components/parameters/documentEvaluated"
|
|
2408
2421
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2409
2422
|
- $ref: "#/components/parameters/revisionComputed"
|
|
2410
2423
|
responses:
|
|
@@ -2610,6 +2623,7 @@ paths:
|
|
|
2610
2623
|
- $ref: "#/components/parameters/revisionId"
|
|
2611
2624
|
- $ref: "#/components/parameters/pageId"
|
|
2612
2625
|
- $ref: "#/components/parameters/documentFormat"
|
|
2626
|
+
- $ref: "#/components/parameters/documentEvaluated"
|
|
2613
2627
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2614
2628
|
- $ref: "#/components/parameters/revisionComputed"
|
|
2615
2629
|
responses:
|
|
@@ -2619,6 +2633,26 @@ paths:
|
|
|
2619
2633
|
application/json:
|
|
2620
2634
|
schema:
|
|
2621
2635
|
$ref: "#/components/schemas/RevisionPage"
|
|
2636
|
+
"/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document":
|
|
2637
|
+
get:
|
|
2638
|
+
operationId: getPageDocumentInRevisionById
|
|
2639
|
+
summary: Get the document of a page in a revision
|
|
2640
|
+
tags:
|
|
2641
|
+
- space-content
|
|
2642
|
+
security:
|
|
2643
|
+
- user: []
|
|
2644
|
+
parameters:
|
|
2645
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2646
|
+
- $ref: "#/components/parameters/revisionId"
|
|
2647
|
+
- $ref: "#/components/parameters/pageId"
|
|
2648
|
+
- $ref: "#/components/parameters/documentEvaluated"
|
|
2649
|
+
responses:
|
|
2650
|
+
"200":
|
|
2651
|
+
description: OK
|
|
2652
|
+
content:
|
|
2653
|
+
application/json:
|
|
2654
|
+
schema:
|
|
2655
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
2622
2656
|
"/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}":
|
|
2623
2657
|
get:
|
|
2624
2658
|
operationId: getPageInRevisionByPath
|
|
@@ -2632,6 +2666,7 @@ paths:
|
|
|
2632
2666
|
- $ref: "#/components/parameters/revisionId"
|
|
2633
2667
|
- $ref: "#/components/parameters/pagePath"
|
|
2634
2668
|
- $ref: "#/components/parameters/documentFormat"
|
|
2669
|
+
- $ref: "#/components/parameters/documentEvaluated"
|
|
2635
2670
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2636
2671
|
- $ref: "#/components/parameters/revisionComputed"
|
|
2637
2672
|
responses:
|
|
@@ -3045,41 +3080,6 @@ paths:
|
|
|
3045
3080
|
$ref: "#/components/schemas/SpaceIntegrationScript"
|
|
3046
3081
|
"400":
|
|
3047
3082
|
$ref: "#/components/responses/BadRequestError"
|
|
3048
|
-
"/spaces/{spaceId}/custom-fields":
|
|
3049
|
-
get:
|
|
3050
|
-
operationId: getSpaceCustomFields
|
|
3051
|
-
summary: Get a space custom fields
|
|
3052
|
-
tags:
|
|
3053
|
-
- custom-fields
|
|
3054
|
-
security:
|
|
3055
|
-
- user: []
|
|
3056
|
-
parameters:
|
|
3057
|
-
- $ref: "#/components/parameters/spaceId"
|
|
3058
|
-
responses:
|
|
3059
|
-
"200":
|
|
3060
|
-
description: OK
|
|
3061
|
-
content:
|
|
3062
|
-
application/json:
|
|
3063
|
-
schema:
|
|
3064
|
-
$ref: "#/components/schemas/CustomFieldValues"
|
|
3065
|
-
patch:
|
|
3066
|
-
operationId: updateSpaceCustomFields
|
|
3067
|
-
summary: Update a space custom fields
|
|
3068
|
-
tags:
|
|
3069
|
-
- custom-fields
|
|
3070
|
-
security:
|
|
3071
|
-
- user: []
|
|
3072
|
-
parameters:
|
|
3073
|
-
- $ref: "#/components/parameters/spaceId"
|
|
3074
|
-
requestBody:
|
|
3075
|
-
required: true
|
|
3076
|
-
content:
|
|
3077
|
-
application/json:
|
|
3078
|
-
schema:
|
|
3079
|
-
$ref: "#/components/schemas/UpdateCustomFieldValues"
|
|
3080
|
-
responses:
|
|
3081
|
-
"204":
|
|
3082
|
-
description: Custom fields updated
|
|
3083
3083
|
"/spaces/{spaceId}/pdf":
|
|
3084
3084
|
get:
|
|
3085
3085
|
operationId: getSpacePDF
|
|
@@ -3541,6 +3541,7 @@ paths:
|
|
|
3541
3541
|
- $ref: "#/components/parameters/integrationSearchContentSources"
|
|
3542
3542
|
- $ref: "#/components/parameters/integrationSearchOwner"
|
|
3543
3543
|
- $ref: "#/components/parameters/integrationSearchScope"
|
|
3544
|
+
- $ref: "#/components/parameters/integrationSearchTarget"
|
|
3544
3545
|
responses:
|
|
3545
3546
|
"200":
|
|
3546
3547
|
description: Paginated list of integrations
|
|
@@ -5163,158 +5164,6 @@ paths:
|
|
|
5163
5164
|
application/json:
|
|
5164
5165
|
schema:
|
|
5165
5166
|
$ref: "#/components/schemas/Collection"
|
|
5166
|
-
"/orgs/{organizationId}/custom-fields":
|
|
5167
|
-
get:
|
|
5168
|
-
operationId: listOrganizationCustomFields
|
|
5169
|
-
summary: List all custom fields
|
|
5170
|
-
tags:
|
|
5171
|
-
- custom-fields
|
|
5172
|
-
security:
|
|
5173
|
-
- user: []
|
|
5174
|
-
parameters:
|
|
5175
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5176
|
-
- $ref: "#/components/parameters/listPage"
|
|
5177
|
-
- $ref: "#/components/parameters/listLimit"
|
|
5178
|
-
responses:
|
|
5179
|
-
"200":
|
|
5180
|
-
description: OK
|
|
5181
|
-
content:
|
|
5182
|
-
application/json:
|
|
5183
|
-
schema:
|
|
5184
|
-
allOf:
|
|
5185
|
-
- $ref: "#/components/schemas/List"
|
|
5186
|
-
- type: object
|
|
5187
|
-
required:
|
|
5188
|
-
- items
|
|
5189
|
-
properties:
|
|
5190
|
-
items:
|
|
5191
|
-
type: array
|
|
5192
|
-
items:
|
|
5193
|
-
$ref: "#/components/schemas/CustomField"
|
|
5194
|
-
post:
|
|
5195
|
-
operationId: createOrganizationCustomField
|
|
5196
|
-
summary: Create a custom field
|
|
5197
|
-
tags:
|
|
5198
|
-
- custom-fields
|
|
5199
|
-
security:
|
|
5200
|
-
- user: []
|
|
5201
|
-
parameters:
|
|
5202
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5203
|
-
requestBody:
|
|
5204
|
-
required: true
|
|
5205
|
-
content:
|
|
5206
|
-
application/json:
|
|
5207
|
-
schema:
|
|
5208
|
-
type: object
|
|
5209
|
-
properties:
|
|
5210
|
-
name:
|
|
5211
|
-
$ref: "#/components/schemas/CustomFieldName"
|
|
5212
|
-
type:
|
|
5213
|
-
$ref: "#/components/schemas/CustomFieldType"
|
|
5214
|
-
title:
|
|
5215
|
-
$ref: "#/components/schemas/CustomFieldTitle"
|
|
5216
|
-
description:
|
|
5217
|
-
$ref: "#/components/schemas/CustomFieldDescription"
|
|
5218
|
-
placeholder:
|
|
5219
|
-
$ref: "#/components/schemas/CustomFieldPlaceholder"
|
|
5220
|
-
options:
|
|
5221
|
-
$ref: "#/components/schemas/CustomFieldOptions"
|
|
5222
|
-
required:
|
|
5223
|
-
- name
|
|
5224
|
-
- type
|
|
5225
|
-
responses:
|
|
5226
|
-
"201":
|
|
5227
|
-
description: Custom field created
|
|
5228
|
-
headers:
|
|
5229
|
-
Location:
|
|
5230
|
-
description: API URL for the newly created custom field
|
|
5231
|
-
schema:
|
|
5232
|
-
type: string
|
|
5233
|
-
content:
|
|
5234
|
-
application/json:
|
|
5235
|
-
schema:
|
|
5236
|
-
$ref: "#/components/schemas/CustomField"
|
|
5237
|
-
"/orgs/{organizationId}/custom-fields/{fieldName}":
|
|
5238
|
-
get:
|
|
5239
|
-
operationId: getOrganizationCustomFieldByName
|
|
5240
|
-
summary: Get a custom field by its name
|
|
5241
|
-
tags:
|
|
5242
|
-
- custom-fields
|
|
5243
|
-
security:
|
|
5244
|
-
- user: []
|
|
5245
|
-
parameters:
|
|
5246
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5247
|
-
- name: fieldName
|
|
5248
|
-
in: path
|
|
5249
|
-
required: true
|
|
5250
|
-
description: The name of the custom field
|
|
5251
|
-
schema:
|
|
5252
|
-
type: string
|
|
5253
|
-
responses:
|
|
5254
|
-
"200":
|
|
5255
|
-
description: OK
|
|
5256
|
-
content:
|
|
5257
|
-
application/json:
|
|
5258
|
-
schema:
|
|
5259
|
-
$ref: "#/components/schemas/CustomField"
|
|
5260
|
-
"404":
|
|
5261
|
-
description: No matching custom field found
|
|
5262
|
-
$ref: "#/components/responses/NotFoundError"
|
|
5263
|
-
patch:
|
|
5264
|
-
operationId: updateOrganizationCustomField
|
|
5265
|
-
summary: Update a custom field
|
|
5266
|
-
tags:
|
|
5267
|
-
- custom-fields
|
|
5268
|
-
security:
|
|
5269
|
-
- user: []
|
|
5270
|
-
parameters:
|
|
5271
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5272
|
-
- name: fieldName
|
|
5273
|
-
in: path
|
|
5274
|
-
required: true
|
|
5275
|
-
description: The name of the custom field
|
|
5276
|
-
schema:
|
|
5277
|
-
type: string
|
|
5278
|
-
requestBody:
|
|
5279
|
-
required: true
|
|
5280
|
-
content:
|
|
5281
|
-
application/json:
|
|
5282
|
-
schema:
|
|
5283
|
-
type: object
|
|
5284
|
-
properties:
|
|
5285
|
-
title:
|
|
5286
|
-
$ref: "#/components/schemas/CustomFieldTitle"
|
|
5287
|
-
description:
|
|
5288
|
-
$ref: "#/components/schemas/CustomFieldDescription"
|
|
5289
|
-
placeholder:
|
|
5290
|
-
$ref: "#/components/schemas/CustomFieldPlaceholder"
|
|
5291
|
-
options:
|
|
5292
|
-
$ref: "#/components/schemas/CustomFieldOptions"
|
|
5293
|
-
responses:
|
|
5294
|
-
"200":
|
|
5295
|
-
description: OK
|
|
5296
|
-
content:
|
|
5297
|
-
application/json:
|
|
5298
|
-
schema:
|
|
5299
|
-
$ref: "#/components/schemas/CustomField"
|
|
5300
|
-
delete:
|
|
5301
|
-
operationId: deleteOrganizationCustomField
|
|
5302
|
-
summary: Delete a custom field
|
|
5303
|
-
tags:
|
|
5304
|
-
- custom-fields
|
|
5305
|
-
security:
|
|
5306
|
-
- user: []
|
|
5307
|
-
parameters:
|
|
5308
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5309
|
-
- name: fieldName
|
|
5310
|
-
in: path
|
|
5311
|
-
required: true
|
|
5312
|
-
description: The name of the custom field
|
|
5313
|
-
schema:
|
|
5314
|
-
type: string
|
|
5315
|
-
responses:
|
|
5316
|
-
"204":
|
|
5317
|
-
description: Custom field has been deleted
|
|
5318
5167
|
"/orgs/{organizationId}/integrations":
|
|
5319
5168
|
get:
|
|
5320
5169
|
operationId: listOrganizationIntegrations
|
|
@@ -5332,6 +5181,7 @@ paths:
|
|
|
5332
5181
|
- $ref: "#/components/parameters/integrationSearchContentSources"
|
|
5333
5182
|
- $ref: "#/components/parameters/integrationSearchOwner"
|
|
5334
5183
|
- $ref: "#/components/parameters/integrationSearchScope"
|
|
5184
|
+
- $ref: "#/components/parameters/integrationSearchTarget"
|
|
5335
5185
|
responses:
|
|
5336
5186
|
"200":
|
|
5337
5187
|
description: List of integrations.
|
|
@@ -6875,6 +6725,29 @@ paths:
|
|
|
6875
6725
|
$ref: "#/components/responses/BadRequestError"
|
|
6876
6726
|
default:
|
|
6877
6727
|
$ref: "#/components/responses/UnexpectedError"
|
|
6728
|
+
"/orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions":
|
|
6729
|
+
get:
|
|
6730
|
+
operationId: listSiteAdaptiveTemplateConditions
|
|
6731
|
+
summary: List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.
|
|
6732
|
+
tags:
|
|
6733
|
+
- sites
|
|
6734
|
+
parameters:
|
|
6735
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6736
|
+
- $ref: "#/components/parameters/siteId"
|
|
6737
|
+
responses:
|
|
6738
|
+
"200":
|
|
6739
|
+
description: List of template conditions generated based on the site visitor schema.
|
|
6740
|
+
content:
|
|
6741
|
+
application/json:
|
|
6742
|
+
schema:
|
|
6743
|
+
type: object
|
|
6744
|
+
properties:
|
|
6745
|
+
items:
|
|
6746
|
+
type: array
|
|
6747
|
+
items:
|
|
6748
|
+
$ref: "#/components/schemas/SiteAdaptiveTemplateCondition"
|
|
6749
|
+
required:
|
|
6750
|
+
- items
|
|
6878
6751
|
"/orgs/{organizationId}/sites/{siteId}/published":
|
|
6879
6752
|
get:
|
|
6880
6753
|
operationId: getPublishedContentSite
|
|
@@ -7078,6 +6951,47 @@ paths:
|
|
|
7078
6951
|
"404":
|
|
7079
6952
|
description: No matching site found
|
|
7080
6953
|
$ref: "#/components/responses/NotFoundError"
|
|
6954
|
+
"/orgs/{organizationId}/sites/{siteId}/structure/sort":
|
|
6955
|
+
patch:
|
|
6956
|
+
operationId: sortSiteStructure
|
|
6957
|
+
summary: Move a site space, site section or site section group to a new position in the site structure.
|
|
6958
|
+
tags:
|
|
6959
|
+
- sites
|
|
6960
|
+
security:
|
|
6961
|
+
- user: []
|
|
6962
|
+
parameters:
|
|
6963
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6964
|
+
- $ref: "#/components/parameters/siteId"
|
|
6965
|
+
requestBody:
|
|
6966
|
+
content:
|
|
6967
|
+
application/json:
|
|
6968
|
+
schema:
|
|
6969
|
+
type: object
|
|
6970
|
+
properties:
|
|
6971
|
+
item:
|
|
6972
|
+
description: pointer to the item (site space, site section or site section group) being moved.
|
|
6973
|
+
$ref: "#/components/schemas/SiteStructureItemPointer"
|
|
6974
|
+
position:
|
|
6975
|
+
description: The position to move the item to. When not provided the item is moved to the end of the site structure.
|
|
6976
|
+
$ref: "#/components/schemas/SiteStructureItemMovePosition"
|
|
6977
|
+
required:
|
|
6978
|
+
- item
|
|
6979
|
+
- position
|
|
6980
|
+
responses:
|
|
6981
|
+
"200":
|
|
6982
|
+
description: Item successfully moved
|
|
6983
|
+
content:
|
|
6984
|
+
application/json:
|
|
6985
|
+
schema:
|
|
6986
|
+
$ref: "#/components/schemas/SiteStructureItem"
|
|
6987
|
+
"400":
|
|
6988
|
+
description: Invalid move position provided
|
|
6989
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6990
|
+
"404":
|
|
6991
|
+
description: No matching item found
|
|
6992
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6993
|
+
default:
|
|
6994
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7081
6995
|
"/orgs/{organizationId}/sites/{siteId}/publishing/auth":
|
|
7082
6996
|
get:
|
|
7083
6997
|
operationId: getSitePublishingAuthById
|
|
@@ -7548,9 +7462,19 @@ paths:
|
|
|
7548
7462
|
type: string
|
|
7549
7463
|
description: ID of the space to be added to the section as a site space variant
|
|
7550
7464
|
title:
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7465
|
+
oneOf:
|
|
7466
|
+
- $ref: "#/components/schemas/SiteSectionTitle"
|
|
7467
|
+
- type: string
|
|
7468
|
+
nullable: true
|
|
7469
|
+
enum:
|
|
7470
|
+
- null
|
|
7471
|
+
icon:
|
|
7472
|
+
oneOf:
|
|
7473
|
+
- $ref: "#/components/schemas/Icon"
|
|
7474
|
+
- type: string
|
|
7475
|
+
nullable: true
|
|
7476
|
+
enum:
|
|
7477
|
+
- null
|
|
7554
7478
|
required:
|
|
7555
7479
|
- spaceId
|
|
7556
7480
|
responses:
|
|
@@ -7841,6 +7765,9 @@ paths:
|
|
|
7841
7765
|
nullable: true
|
|
7842
7766
|
enum:
|
|
7843
7767
|
- null
|
|
7768
|
+
spaceId:
|
|
7769
|
+
type: string
|
|
7770
|
+
description: The content that this site space points to. If not set, the space will remain unchanged.
|
|
7844
7771
|
responses:
|
|
7845
7772
|
"200":
|
|
7846
7773
|
description: OK
|
|
@@ -8249,7 +8176,8 @@ paths:
|
|
|
8249
8176
|
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move":
|
|
8250
8177
|
post:
|
|
8251
8178
|
operationId: moveSiteSectionGroup
|
|
8252
|
-
|
|
8179
|
+
deprecated: true
|
|
8180
|
+
summary: Move a site section group to a new position. (Deprecated) use sortSiteStructure instead.
|
|
8253
8181
|
tags:
|
|
8254
8182
|
- site-section-groups
|
|
8255
8183
|
security:
|
|
@@ -8283,7 +8211,8 @@ paths:
|
|
|
8283
8211
|
"/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move":
|
|
8284
8212
|
post:
|
|
8285
8213
|
operationId: moveSiteSection
|
|
8286
|
-
|
|
8214
|
+
deprecated: true
|
|
8215
|
+
summary: Move a site section to a new position. (Deprecated) use sortSiteStructure instead.
|
|
8287
8216
|
tags:
|
|
8288
8217
|
- site-sections
|
|
8289
8218
|
security:
|
|
@@ -8317,7 +8246,8 @@ paths:
|
|
|
8317
8246
|
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move":
|
|
8318
8247
|
post:
|
|
8319
8248
|
operationId: moveSiteSpace
|
|
8320
|
-
|
|
8249
|
+
deprecated: true
|
|
8250
|
+
summary: Move a site space to a new position. (Deprecated) use sortSiteStructure instead.
|
|
8321
8251
|
tags:
|
|
8322
8252
|
- site-spaces
|
|
8323
8253
|
security:
|
|
@@ -8690,7 +8620,7 @@ paths:
|
|
|
8690
8620
|
tags:
|
|
8691
8621
|
- custom-hostnames
|
|
8692
8622
|
security:
|
|
8693
|
-
- user-internal: []
|
|
8623
|
+
- user-internal-or-staff: []
|
|
8694
8624
|
parameters:
|
|
8695
8625
|
- $ref: "#/components/parameters/hostname"
|
|
8696
8626
|
responses:
|
|
@@ -9037,6 +8967,9 @@ components:
|
|
|
9037
8967
|
user-staff:
|
|
9038
8968
|
type: http
|
|
9039
8969
|
scheme: bearer
|
|
8970
|
+
user-internal-or-staff:
|
|
8971
|
+
type: http
|
|
8972
|
+
scheme: bearer
|
|
9040
8973
|
integration:
|
|
9041
8974
|
type: http
|
|
9042
8975
|
scheme: bearer
|
|
@@ -9129,6 +9062,13 @@ components:
|
|
|
9129
9062
|
enum:
|
|
9130
9063
|
- document
|
|
9131
9064
|
- markdown
|
|
9065
|
+
documentEvaluated:
|
|
9066
|
+
name: evaluated
|
|
9067
|
+
in: query
|
|
9068
|
+
description: If `true` is passed, the document will be evaluated
|
|
9069
|
+
schema:
|
|
9070
|
+
type: boolean
|
|
9071
|
+
default: false
|
|
9132
9072
|
pagePath:
|
|
9133
9073
|
name: pagePath
|
|
9134
9074
|
in: path
|
|
@@ -9268,6 +9208,12 @@ components:
|
|
|
9268
9208
|
description: Filter the integrations by scope
|
|
9269
9209
|
schema:
|
|
9270
9210
|
$ref: "#/components/schemas/IntegrationScope"
|
|
9211
|
+
integrationSearchTarget:
|
|
9212
|
+
name: target
|
|
9213
|
+
in: query
|
|
9214
|
+
description: Filter the integrations by target
|
|
9215
|
+
schema:
|
|
9216
|
+
$ref: "#/components/schemas/IntegrationTarget"
|
|
9271
9217
|
integrationName:
|
|
9272
9218
|
name: integrationName
|
|
9273
9219
|
in: path
|
|
@@ -9453,20 +9399,6 @@ components:
|
|
|
9453
9399
|
schema:
|
|
9454
9400
|
type: string
|
|
9455
9401
|
required: true
|
|
9456
|
-
visitorId:
|
|
9457
|
-
name: visitorId
|
|
9458
|
-
in: path
|
|
9459
|
-
required: true
|
|
9460
|
-
description: The id of the visitor
|
|
9461
|
-
schema:
|
|
9462
|
-
type: string
|
|
9463
|
-
ifUnmodifiedSince:
|
|
9464
|
-
in: header
|
|
9465
|
-
name: If-Unmodified-Since
|
|
9466
|
-
description: If provided, the operation will be rejected if the underlying resource has been modified since the date provided in the header.
|
|
9467
|
-
schema:
|
|
9468
|
-
type: string
|
|
9469
|
-
format: date-time
|
|
9470
9402
|
pageFormat:
|
|
9471
9403
|
$ref: "#/components/parameters/documentFormat"
|
|
9472
9404
|
commentStatus:
|
|
@@ -10657,7 +10589,7 @@ components:
|
|
|
10657
10589
|
- type
|
|
10658
10590
|
- data
|
|
10659
10591
|
- isVoid
|
|
10660
|
-
|
|
10592
|
+
DocumentInlineIcon:
|
|
10661
10593
|
type: object
|
|
10662
10594
|
properties:
|
|
10663
10595
|
object:
|
|
@@ -10667,16 +10599,16 @@ components:
|
|
|
10667
10599
|
type:
|
|
10668
10600
|
type: string
|
|
10669
10601
|
enum:
|
|
10670
|
-
-
|
|
10602
|
+
- icon
|
|
10671
10603
|
key:
|
|
10672
10604
|
type: string
|
|
10673
10605
|
data:
|
|
10674
10606
|
type: object
|
|
10675
10607
|
properties:
|
|
10676
|
-
|
|
10608
|
+
icon:
|
|
10677
10609
|
type: string
|
|
10678
10610
|
required:
|
|
10679
|
-
-
|
|
10611
|
+
- icon
|
|
10680
10612
|
isVoid:
|
|
10681
10613
|
type: boolean
|
|
10682
10614
|
enum:
|
|
@@ -10686,17 +10618,75 @@ components:
|
|
|
10686
10618
|
- type
|
|
10687
10619
|
- data
|
|
10688
10620
|
- isVoid
|
|
10689
|
-
|
|
10621
|
+
DocumentInlineExpression:
|
|
10690
10622
|
type: object
|
|
10691
10623
|
properties:
|
|
10692
10624
|
object:
|
|
10693
10625
|
type: string
|
|
10694
10626
|
enum:
|
|
10695
|
-
-
|
|
10627
|
+
- inline
|
|
10696
10628
|
type:
|
|
10697
10629
|
type: string
|
|
10698
10630
|
enum:
|
|
10699
|
-
-
|
|
10631
|
+
- expression
|
|
10632
|
+
key:
|
|
10633
|
+
type: string
|
|
10634
|
+
data:
|
|
10635
|
+
type: object
|
|
10636
|
+
properties:
|
|
10637
|
+
expression:
|
|
10638
|
+
type: string
|
|
10639
|
+
required:
|
|
10640
|
+
- expression
|
|
10641
|
+
isVoid:
|
|
10642
|
+
type: boolean
|
|
10643
|
+
enum:
|
|
10644
|
+
- true
|
|
10645
|
+
required:
|
|
10646
|
+
- object
|
|
10647
|
+
- type
|
|
10648
|
+
- data
|
|
10649
|
+
- isVoid
|
|
10650
|
+
DocumentInlineMath:
|
|
10651
|
+
type: object
|
|
10652
|
+
properties:
|
|
10653
|
+
object:
|
|
10654
|
+
type: string
|
|
10655
|
+
enum:
|
|
10656
|
+
- inline
|
|
10657
|
+
type:
|
|
10658
|
+
type: string
|
|
10659
|
+
enum:
|
|
10660
|
+
- inline-math
|
|
10661
|
+
key:
|
|
10662
|
+
type: string
|
|
10663
|
+
data:
|
|
10664
|
+
type: object
|
|
10665
|
+
properties:
|
|
10666
|
+
formula:
|
|
10667
|
+
type: string
|
|
10668
|
+
required:
|
|
10669
|
+
- formula
|
|
10670
|
+
isVoid:
|
|
10671
|
+
type: boolean
|
|
10672
|
+
enum:
|
|
10673
|
+
- true
|
|
10674
|
+
required:
|
|
10675
|
+
- object
|
|
10676
|
+
- type
|
|
10677
|
+
- data
|
|
10678
|
+
- isVoid
|
|
10679
|
+
DocumentBlockParagraph:
|
|
10680
|
+
type: object
|
|
10681
|
+
properties:
|
|
10682
|
+
object:
|
|
10683
|
+
type: string
|
|
10684
|
+
enum:
|
|
10685
|
+
- block
|
|
10686
|
+
type:
|
|
10687
|
+
type: string
|
|
10688
|
+
enum:
|
|
10689
|
+
- paragraph
|
|
10700
10690
|
key:
|
|
10701
10691
|
type: string
|
|
10702
10692
|
nodes:
|
|
@@ -10721,6 +10711,8 @@ components:
|
|
|
10721
10711
|
oneOf:
|
|
10722
10712
|
- $ref: "#/components/schemas/DocumentInlineLink"
|
|
10723
10713
|
- $ref: "#/components/schemas/DocumentInlineEmoji"
|
|
10714
|
+
- $ref: "#/components/schemas/DocumentInlineIcon"
|
|
10715
|
+
- $ref: "#/components/schemas/DocumentInlineExpression"
|
|
10724
10716
|
- $ref: "#/components/schemas/DocumentInlineMath"
|
|
10725
10717
|
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
10726
10718
|
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
@@ -10849,6 +10841,7 @@ components:
|
|
|
10849
10841
|
oneOf:
|
|
10850
10842
|
- $ref: "#/components/schemas/DocumentText"
|
|
10851
10843
|
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
10844
|
+
- $ref: "#/components/schemas/DocumentInlineExpression"
|
|
10852
10845
|
data:
|
|
10853
10846
|
type: object
|
|
10854
10847
|
properties:
|
|
@@ -12590,6 +12583,8 @@ components:
|
|
|
12590
12583
|
$ref: "#/components/schemas/RevisionPageLayoutOptions"
|
|
12591
12584
|
cover:
|
|
12592
12585
|
$ref: "#/components/schemas/RevisionPageDocumentCover"
|
|
12586
|
+
variables:
|
|
12587
|
+
$ref: "#/components/schemas/Variables"
|
|
12593
12588
|
hidden:
|
|
12594
12589
|
type: boolean
|
|
12595
12590
|
description: If true, the page is not displayed in the navigation, while still being accessible.
|
|
@@ -12991,8 +12986,19 @@ components:
|
|
|
12991
12986
|
yPos:
|
|
12992
12987
|
description: Vertical position of the cover image.
|
|
12993
12988
|
type: number
|
|
12989
|
+
default: 0
|
|
12994
12990
|
required:
|
|
12995
12991
|
- yPos
|
|
12992
|
+
VariableValue:
|
|
12993
|
+
oneOf:
|
|
12994
|
+
- type: string
|
|
12995
|
+
maxLength: 256
|
|
12996
|
+
- type: number
|
|
12997
|
+
- type: boolean
|
|
12998
|
+
Variables:
|
|
12999
|
+
type: object
|
|
13000
|
+
additionalProperties:
|
|
13001
|
+
$ref: "#/components/schemas/VariableValue"
|
|
12996
13002
|
ComputedContentSourceDocumentOpenAPI:
|
|
12997
13003
|
allOf:
|
|
12998
13004
|
- $ref: "#/components/schemas/ComputedContentSourceOpenAPIBase"
|
|
@@ -13195,6 +13201,8 @@ components:
|
|
|
13195
13201
|
type: array
|
|
13196
13202
|
items:
|
|
13197
13203
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
13204
|
+
variables:
|
|
13205
|
+
$ref: "#/components/schemas/Variables"
|
|
13198
13206
|
createdAt:
|
|
13199
13207
|
description: When the revision was created.
|
|
13200
13208
|
$ref: "#/components/schemas/Timestamp"
|
|
@@ -14587,37 +14595,13 @@ components:
|
|
|
14587
14595
|
$ref: "#/components/schemas/RevisionPageLayout"
|
|
14588
14596
|
after:
|
|
14589
14597
|
$ref: "#/components/schemas/RevisionPageLayout"
|
|
14590
|
-
|
|
14591
|
-
oneOf:
|
|
14592
|
-
- type: string
|
|
14593
|
-
maxLength: 256
|
|
14594
|
-
- type: number
|
|
14595
|
-
- type: boolean
|
|
14596
|
-
- type: array
|
|
14597
|
-
items:
|
|
14598
|
-
type: string
|
|
14599
|
-
maxLength: 256
|
|
14600
|
-
ChangeAttributeCustomFields:
|
|
14598
|
+
ChangeAttributeVariables:
|
|
14601
14599
|
type: object
|
|
14602
14600
|
properties:
|
|
14603
14601
|
before:
|
|
14604
|
-
|
|
14605
|
-
additionalProperties:
|
|
14606
|
-
type: object
|
|
14607
|
-
properties:
|
|
14608
|
-
value:
|
|
14609
|
-
$ref: "#/components/schemas/CustomFieldValue"
|
|
14610
|
-
required:
|
|
14611
|
-
- value
|
|
14602
|
+
$ref: "#/components/schemas/Variables"
|
|
14612
14603
|
after:
|
|
14613
|
-
|
|
14614
|
-
additionalProperties:
|
|
14615
|
-
type: object
|
|
14616
|
-
properties:
|
|
14617
|
-
value:
|
|
14618
|
-
$ref: "#/components/schemas/CustomFieldValue"
|
|
14619
|
-
required:
|
|
14620
|
-
- value
|
|
14604
|
+
$ref: "#/components/schemas/Variables"
|
|
14621
14605
|
RevisionPageDocumentChangeAttributes:
|
|
14622
14606
|
type: object
|
|
14623
14607
|
minProperties: 1
|
|
@@ -14636,8 +14620,8 @@ components:
|
|
|
14636
14620
|
$ref: "#/components/schemas/ChangeAttributeString"
|
|
14637
14621
|
layout:
|
|
14638
14622
|
$ref: "#/components/schemas/ChangeAttributeRevisionPageLayout"
|
|
14639
|
-
|
|
14640
|
-
$ref: "#/components/schemas/
|
|
14623
|
+
variables:
|
|
14624
|
+
$ref: "#/components/schemas/ChangeAttributeVariables"
|
|
14641
14625
|
RevisionPageGroupChangeAttributes:
|
|
14642
14626
|
type: object
|
|
14643
14627
|
minProperties: 1
|
|
@@ -14648,8 +14632,6 @@ components:
|
|
|
14648
14632
|
$ref: "#/components/schemas/ChangeAttributeString"
|
|
14649
14633
|
slug:
|
|
14650
14634
|
$ref: "#/components/schemas/ChangeAttributeString"
|
|
14651
|
-
customFields:
|
|
14652
|
-
$ref: "#/components/schemas/ChangeAttributeCustomFields"
|
|
14653
14635
|
ChangeAttributeContentReference:
|
|
14654
14636
|
type: object
|
|
14655
14637
|
properties:
|
|
@@ -14667,8 +14649,6 @@ components:
|
|
|
14667
14649
|
$ref: "#/components/schemas/ChangeAttributeString"
|
|
14668
14650
|
target:
|
|
14669
14651
|
$ref: "#/components/schemas/ChangeAttributeContentReference"
|
|
14670
|
-
customFields:
|
|
14671
|
-
$ref: "#/components/schemas/ChangeAttributeCustomFields"
|
|
14672
14652
|
RevisionSemanticChangePageEdited:
|
|
14673
14653
|
type: object
|
|
14674
14654
|
properties:
|
|
@@ -14812,18 +14792,27 @@ components:
|
|
|
14812
14792
|
required:
|
|
14813
14793
|
- type
|
|
14814
14794
|
- file
|
|
14815
|
-
|
|
14795
|
+
ChangeAttributeVariable:
|
|
14796
|
+
type: object
|
|
14797
|
+
properties:
|
|
14798
|
+
before:
|
|
14799
|
+
$ref: "#/components/schemas/VariableValue"
|
|
14800
|
+
after:
|
|
14801
|
+
$ref: "#/components/schemas/VariableValue"
|
|
14802
|
+
RevisionSemanticChangeVariablesEdited:
|
|
14816
14803
|
type: object
|
|
14817
14804
|
properties:
|
|
14818
14805
|
type:
|
|
14819
14806
|
type: string
|
|
14820
14807
|
enum:
|
|
14821
|
-
-
|
|
14822
|
-
|
|
14823
|
-
|
|
14808
|
+
- variables_edited
|
|
14809
|
+
variables:
|
|
14810
|
+
type: object
|
|
14811
|
+
additionalProperties:
|
|
14812
|
+
$ref: "#/components/schemas/ChangeAttributeVariable"
|
|
14824
14813
|
required:
|
|
14825
14814
|
- type
|
|
14826
|
-
-
|
|
14815
|
+
- variables
|
|
14827
14816
|
ChangedRevisionReusableContent:
|
|
14828
14817
|
type: object
|
|
14829
14818
|
properties:
|
|
@@ -14892,7 +14881,7 @@ components:
|
|
|
14892
14881
|
- $ref: "#/components/schemas/RevisionSemanticChangeFileCreated"
|
|
14893
14882
|
- $ref: "#/components/schemas/RevisionSemanticChangeFileEdited"
|
|
14894
14883
|
- $ref: "#/components/schemas/RevisionSemanticChangeFileDeleted"
|
|
14895
|
-
- $ref: "#/components/schemas/
|
|
14884
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeVariablesEdited"
|
|
14896
14885
|
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentCreated"
|
|
14897
14886
|
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentDeleted"
|
|
14898
14887
|
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentEdited"
|
|
@@ -15383,118 +15372,6 @@ components:
|
|
|
15383
15372
|
required:
|
|
15384
15373
|
- script
|
|
15385
15374
|
- cookies
|
|
15386
|
-
CustomFieldName:
|
|
15387
|
-
type: string
|
|
15388
|
-
pattern: ^[a-z_\-0-9]+$
|
|
15389
|
-
minLength: 1
|
|
15390
|
-
maxLength: 50
|
|
15391
|
-
CustomFieldTitle:
|
|
15392
|
-
type: string
|
|
15393
|
-
maxLength: 100
|
|
15394
|
-
CustomFieldDescription:
|
|
15395
|
-
type: string
|
|
15396
|
-
maxLength: 200
|
|
15397
|
-
CustomFieldType:
|
|
15398
|
-
type: string
|
|
15399
|
-
enum:
|
|
15400
|
-
- text
|
|
15401
|
-
- number
|
|
15402
|
-
- boolean
|
|
15403
|
-
- tags
|
|
15404
|
-
- select:multi
|
|
15405
|
-
- select:single
|
|
15406
|
-
CustomFieldPlaceholder:
|
|
15407
|
-
type: string
|
|
15408
|
-
maxLength: 100
|
|
15409
|
-
CustomFieldOptions:
|
|
15410
|
-
type: array
|
|
15411
|
-
minItems: 1
|
|
15412
|
-
maxItems: 50
|
|
15413
|
-
items:
|
|
15414
|
-
type: string
|
|
15415
|
-
minLength: 1
|
|
15416
|
-
maxLength: 40
|
|
15417
|
-
CustomField:
|
|
15418
|
-
type: object
|
|
15419
|
-
description: Custom field
|
|
15420
|
-
properties:
|
|
15421
|
-
id:
|
|
15422
|
-
type: string
|
|
15423
|
-
name:
|
|
15424
|
-
$ref: "#/components/schemas/CustomFieldName"
|
|
15425
|
-
title:
|
|
15426
|
-
$ref: "#/components/schemas/CustomFieldTitle"
|
|
15427
|
-
description:
|
|
15428
|
-
$ref: "#/components/schemas/CustomFieldDescription"
|
|
15429
|
-
type:
|
|
15430
|
-
$ref: "#/components/schemas/CustomFieldType"
|
|
15431
|
-
placeholder:
|
|
15432
|
-
$ref: "#/components/schemas/CustomFieldPlaceholder"
|
|
15433
|
-
options:
|
|
15434
|
-
$ref: "#/components/schemas/CustomFieldOptions"
|
|
15435
|
-
createdAt:
|
|
15436
|
-
$ref: "#/components/schemas/Timestamp"
|
|
15437
|
-
updatedAt:
|
|
15438
|
-
$ref: "#/components/schemas/Timestamp"
|
|
15439
|
-
urls:
|
|
15440
|
-
type: object
|
|
15441
|
-
description: URLs associated with the object
|
|
15442
|
-
properties:
|
|
15443
|
-
location:
|
|
15444
|
-
type: string
|
|
15445
|
-
description: URL of the custom field in the API
|
|
15446
|
-
format: uri
|
|
15447
|
-
required:
|
|
15448
|
-
- location
|
|
15449
|
-
permissions:
|
|
15450
|
-
type: object
|
|
15451
|
-
properties:
|
|
15452
|
-
view:
|
|
15453
|
-
type: boolean
|
|
15454
|
-
description: Whether the user can view the object
|
|
15455
|
-
edit:
|
|
15456
|
-
type: boolean
|
|
15457
|
-
description: Whether the user can edit the object
|
|
15458
|
-
required:
|
|
15459
|
-
- view
|
|
15460
|
-
- edit
|
|
15461
|
-
required:
|
|
15462
|
-
- id
|
|
15463
|
-
- name
|
|
15464
|
-
- title
|
|
15465
|
-
- description
|
|
15466
|
-
- placeholder
|
|
15467
|
-
- type
|
|
15468
|
-
- createdAt
|
|
15469
|
-
- updatedAt
|
|
15470
|
-
- urls
|
|
15471
|
-
CustomFieldValues:
|
|
15472
|
-
type: array
|
|
15473
|
-
items:
|
|
15474
|
-
type: object
|
|
15475
|
-
properties:
|
|
15476
|
-
customField:
|
|
15477
|
-
$ref: "#/components/schemas/CustomField"
|
|
15478
|
-
value:
|
|
15479
|
-
$ref: "#/components/schemas/CustomFieldValue"
|
|
15480
|
-
required:
|
|
15481
|
-
- customField
|
|
15482
|
-
UpdateCustomFieldValues:
|
|
15483
|
-
type: object
|
|
15484
|
-
properties:
|
|
15485
|
-
values:
|
|
15486
|
-
type: object
|
|
15487
|
-
additionalProperties:
|
|
15488
|
-
type: object
|
|
15489
|
-
maxProperties: 100
|
|
15490
|
-
minProperties: 1
|
|
15491
|
-
properties:
|
|
15492
|
-
value:
|
|
15493
|
-
$ref: "#/components/schemas/CustomFieldValue"
|
|
15494
|
-
required:
|
|
15495
|
-
- value
|
|
15496
|
-
required:
|
|
15497
|
-
- values
|
|
15498
15375
|
IntegrationSecrets:
|
|
15499
15376
|
type: object
|
|
15500
15377
|
description: Secrets stored on the integration and passed at runtime.
|
|
@@ -16567,6 +16444,37 @@ components:
|
|
|
16567
16444
|
enum:
|
|
16568
16445
|
- excluded
|
|
16569
16446
|
- included
|
|
16447
|
+
SiteFeatureKey:
|
|
16448
|
+
type: string
|
|
16449
|
+
description: The site feature identifier
|
|
16450
|
+
enum:
|
|
16451
|
+
- sites-adaptive-content
|
|
16452
|
+
- sites-advanced-customization
|
|
16453
|
+
- sites-advanced-insights
|
|
16454
|
+
- sites-ads
|
|
16455
|
+
- sites-ai-search
|
|
16456
|
+
- sites-api-playground
|
|
16457
|
+
- sites-basic-customization
|
|
16458
|
+
- sites-custom-domain
|
|
16459
|
+
- sites-custom-fonts
|
|
16460
|
+
- sites-custom-subdirectory
|
|
16461
|
+
- sites-full-text-search
|
|
16462
|
+
- sites-multivariant-site
|
|
16463
|
+
- sites-no-custom-domain
|
|
16464
|
+
- sites-page-feedback
|
|
16465
|
+
- sites-page-traffic-insights
|
|
16466
|
+
- sites-pdf-export
|
|
16467
|
+
- sites-preview-deployments
|
|
16468
|
+
- sites-public-visibility
|
|
16469
|
+
- sites-redirects
|
|
16470
|
+
- sites-search-insights
|
|
16471
|
+
- sites-sections
|
|
16472
|
+
- sites-seo
|
|
16473
|
+
- sites-share-links
|
|
16474
|
+
- sites-unlisted-visibility
|
|
16475
|
+
- sites-user-contribution
|
|
16476
|
+
- sites-visitor-authentication
|
|
16477
|
+
- sites-visitors
|
|
16570
16478
|
SiteCustomizationFeature:
|
|
16571
16479
|
type: string
|
|
16572
16480
|
description: A list of all premium customizations.
|
|
@@ -16580,57 +16488,25 @@ components:
|
|
|
16580
16488
|
- footer-copyright
|
|
16581
16489
|
- semantic-colors
|
|
16582
16490
|
SiteFeature:
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
|
|
16591
|
-
|
|
16592
|
-
|
|
16593
|
-
|
|
16594
|
-
|
|
16595
|
-
|
|
16596
|
-
|
|
16597
|
-
|
|
16598
|
-
|
|
16599
|
-
|
|
16600
|
-
|
|
16601
|
-
|
|
16602
|
-
plan:
|
|
16603
|
-
$ref: "#/components/schemas/SiteType"
|
|
16604
|
-
frozen:
|
|
16605
|
-
description: A frozen feature is still enabled but cannot be changed or modified.
|
|
16606
|
-
type: boolean
|
|
16607
|
-
required:
|
|
16608
|
-
- id
|
|
16609
|
-
- plan
|
|
16610
|
-
- frozen
|
|
16611
|
-
- type: object
|
|
16612
|
-
description: The advanced customizations feature, carrying also which individual customization are used
|
|
16613
|
-
properties:
|
|
16614
|
-
id:
|
|
16615
|
-
description: The feature identifier, always set to `sites-advanced-customization`
|
|
16616
|
-
type: string
|
|
16617
|
-
enum:
|
|
16618
|
-
- sites-advanced-customization
|
|
16619
|
-
plan:
|
|
16620
|
-
$ref: "#/components/schemas/SiteType"
|
|
16621
|
-
frozen:
|
|
16622
|
-
description: A frozen feature is still enabled but cannot be changed or modified.
|
|
16623
|
-
type: boolean
|
|
16624
|
-
customizations:
|
|
16625
|
-
description: A list of the actual advanced customizations used
|
|
16626
|
-
type: array
|
|
16627
|
-
items:
|
|
16628
|
-
$ref: "#/components/schemas/SiteCustomizationFeature"
|
|
16629
|
-
required:
|
|
16630
|
-
- id
|
|
16631
|
-
- plan
|
|
16632
|
-
- frozen
|
|
16633
|
-
- customizations
|
|
16491
|
+
type: object
|
|
16492
|
+
description: A site feature and the plan it is available on.
|
|
16493
|
+
properties:
|
|
16494
|
+
id:
|
|
16495
|
+
$ref: "#/components/schemas/SiteFeatureKey"
|
|
16496
|
+
plan:
|
|
16497
|
+
$ref: "#/components/schemas/SiteType"
|
|
16498
|
+
frozen:
|
|
16499
|
+
description: A frozen feature is still enabled but cannot be changed or modified.
|
|
16500
|
+
type: boolean
|
|
16501
|
+
customizations:
|
|
16502
|
+
description: A list of the actual advanced customizations used (only applicable for sites-advanced-customization)
|
|
16503
|
+
type: array
|
|
16504
|
+
items:
|
|
16505
|
+
$ref: "#/components/schemas/SiteCustomizationFeature"
|
|
16506
|
+
required:
|
|
16507
|
+
- id
|
|
16508
|
+
- plan
|
|
16509
|
+
- frozen
|
|
16634
16510
|
Site:
|
|
16635
16511
|
type: object
|
|
16636
16512
|
properties:
|
|
@@ -19390,21 +19266,6 @@ components:
|
|
|
19390
19266
|
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
19391
19267
|
required:
|
|
19392
19268
|
- type
|
|
19393
|
-
- type: object
|
|
19394
|
-
properties:
|
|
19395
|
-
type:
|
|
19396
|
-
description: User needs to go through the legacy upgrade flow.
|
|
19397
|
-
type: string
|
|
19398
|
-
enum:
|
|
19399
|
-
- legacy-upgrade
|
|
19400
|
-
plan:
|
|
19401
|
-
description: The plan the user must upgrade to.
|
|
19402
|
-
$ref: "#/components/schemas/BillingProduct"
|
|
19403
|
-
invoice:
|
|
19404
|
-
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
19405
|
-
required:
|
|
19406
|
-
- type
|
|
19407
|
-
- plan
|
|
19408
19269
|
SiteAdaptiveJSONSchemaClaimsProperties:
|
|
19409
19270
|
oneOf:
|
|
19410
19271
|
- type: object
|
|
@@ -19527,6 +19388,19 @@ components:
|
|
|
19527
19388
|
- object
|
|
19528
19389
|
- jsonSchema
|
|
19529
19390
|
- updatedAt
|
|
19391
|
+
SiteAdaptiveTemplateCondition:
|
|
19392
|
+
type: object
|
|
19393
|
+
description: A template condition based on the site visitor schema.
|
|
19394
|
+
properties:
|
|
19395
|
+
description:
|
|
19396
|
+
type: string
|
|
19397
|
+
description: A short description of the suggested condition.
|
|
19398
|
+
condition:
|
|
19399
|
+
type: string
|
|
19400
|
+
description: The suggested condition.
|
|
19401
|
+
required:
|
|
19402
|
+
- description
|
|
19403
|
+
- condition
|
|
19530
19404
|
CustomizationTheme:
|
|
19531
19405
|
type: string
|
|
19532
19406
|
description: |
|
|
@@ -20066,6 +19940,50 @@ components:
|
|
|
20066
19940
|
- id
|
|
20067
19941
|
- createdAt
|
|
20068
19942
|
- urls
|
|
19943
|
+
SiteStructureItemPointer:
|
|
19944
|
+
type: object
|
|
19945
|
+
properties:
|
|
19946
|
+
type:
|
|
19947
|
+
type: string
|
|
19948
|
+
enum:
|
|
19949
|
+
- site-space
|
|
19950
|
+
- site-section
|
|
19951
|
+
- site-section-group
|
|
19952
|
+
id:
|
|
19953
|
+
type: string
|
|
19954
|
+
description: Unique identifier for the site structure item (site space, site section or site section group).
|
|
19955
|
+
required:
|
|
19956
|
+
- type
|
|
19957
|
+
- id
|
|
19958
|
+
SiteStructureItemMovePosition:
|
|
19959
|
+
type: object
|
|
19960
|
+
description: Position at which to move the site structure item (site space, site section or site section group).
|
|
19961
|
+
properties:
|
|
19962
|
+
before:
|
|
19963
|
+
$ref: "#/components/schemas/SiteStructureItemPointer"
|
|
19964
|
+
after:
|
|
19965
|
+
$ref: "#/components/schemas/SiteStructureItemPointer"
|
|
19966
|
+
SiteStructureItem:
|
|
19967
|
+
title: Site Structure Item
|
|
19968
|
+
type: object
|
|
19969
|
+
description: |
|
|
19970
|
+
A site structure item can be a site space, a site section or a site section group.
|
|
19971
|
+
It is used to represent the structure of a site.
|
|
19972
|
+
oneOf:
|
|
19973
|
+
- $ref: "#/components/schemas/SiteSpace"
|
|
19974
|
+
- $ref: "#/components/schemas/SiteSection"
|
|
19975
|
+
- $ref: "#/components/schemas/SiteSectionGroup"
|
|
19976
|
+
SiteUpgradeReason:
|
|
19977
|
+
type: string
|
|
19978
|
+
description: The reason or feature that triggered the site upgrade
|
|
19979
|
+
oneOf:
|
|
19980
|
+
- $ref: "#/components/schemas/SiteFeatureKey"
|
|
19981
|
+
- type: string
|
|
19982
|
+
enum:
|
|
19983
|
+
- settings
|
|
19984
|
+
- publish-downgrade
|
|
19985
|
+
- from-billing-modal
|
|
19986
|
+
- payment-failed-modal
|
|
20069
19987
|
SitePublishingAuth:
|
|
20070
19988
|
allOf:
|
|
20071
19989
|
- oneOf:
|
|
@@ -22866,46 +22784,11 @@ components:
|
|
|
22866
22784
|
type: string
|
|
22867
22785
|
format: uri
|
|
22868
22786
|
description: A fallback URL that will be used if authentication fails.
|
|
22869
|
-
TriggerContentIndexingContext:
|
|
22870
|
-
type: object
|
|
22871
|
-
description: The context to send when triggering a content indexing.
|
|
22872
|
-
properties:
|
|
22873
|
-
spaceId:
|
|
22874
|
-
type: string
|
|
22875
|
-
description: The unique identifier of the Space to index.
|
|
22876
|
-
force:
|
|
22877
|
-
type: boolean
|
|
22878
|
-
description: Whether to force a complete re-indexing of the Space.
|
|
22879
|
-
required:
|
|
22880
|
-
- spaceId
|
|
22881
|
-
- force
|
|
22882
22787
|
GitBookUsers:
|
|
22883
22788
|
type: string
|
|
22884
22789
|
description: Predefined GitBook user identifiers
|
|
22885
22790
|
enum:
|
|
22886
22791
|
- gitbook:agent
|
|
22887
|
-
ContentPublishingAuth:
|
|
22888
|
-
type: object
|
|
22889
|
-
properties:
|
|
22890
|
-
object:
|
|
22891
|
-
type: string
|
|
22892
|
-
description: Type of Object, always equals to "publishing-auth"
|
|
22893
|
-
enum:
|
|
22894
|
-
- publishing-auth
|
|
22895
|
-
id:
|
|
22896
|
-
type: string
|
|
22897
|
-
description: Unique identifier for the content.
|
|
22898
|
-
privateKey:
|
|
22899
|
-
type: string
|
|
22900
|
-
description: Private key used to sign JWT tokens.
|
|
22901
|
-
fallbackURL:
|
|
22902
|
-
type: string
|
|
22903
|
-
format: uri
|
|
22904
|
-
description: URL to redirect to when the visitor auth secret is invalid.
|
|
22905
|
-
required:
|
|
22906
|
-
- object
|
|
22907
|
-
- id
|
|
22908
|
-
- privateKey
|
|
22909
22792
|
ComputedContentSource:
|
|
22910
22793
|
oneOf:
|
|
22911
22794
|
- $ref: "#/components/schemas/ComputedContentSourceDocument"
|
|
@@ -23126,17 +23009,6 @@ components:
|
|
|
23126
23009
|
- completedTasks
|
|
23127
23010
|
- startedAt
|
|
23128
23011
|
- updatedAt
|
|
23129
|
-
OrganizationTransferResponse:
|
|
23130
|
-
type: object
|
|
23131
|
-
required:
|
|
23132
|
-
- collection
|
|
23133
|
-
properties:
|
|
23134
|
-
collection:
|
|
23135
|
-
type: string
|
|
23136
|
-
description: The unique id of the collection created in the target organization containing the content of the source organization.
|
|
23137
|
-
newSourceHostname:
|
|
23138
|
-
type: string
|
|
23139
|
-
description: The new hostname if the source organization needed to change hostname.
|
|
23140
23012
|
IntegrationEnvironmentSpaceInstallation:
|
|
23141
23013
|
allOf:
|
|
23142
23014
|
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
@@ -23392,18 +23264,6 @@ components:
|
|
|
23392
23264
|
required:
|
|
23393
23265
|
- channel
|
|
23394
23266
|
- space
|
|
23395
|
-
SpaceCustomFieldsChannel:
|
|
23396
|
-
type: object
|
|
23397
|
-
properties:
|
|
23398
|
-
channel:
|
|
23399
|
-
type: string
|
|
23400
|
-
enum:
|
|
23401
|
-
- space-customfields
|
|
23402
|
-
space:
|
|
23403
|
-
type: string
|
|
23404
|
-
required:
|
|
23405
|
-
- channel
|
|
23406
|
-
- space
|
|
23407
23267
|
SpaceContentRefsChannel:
|
|
23408
23268
|
type: object
|
|
23409
23269
|
properties:
|
|
@@ -23428,18 +23288,6 @@ components:
|
|
|
23428
23288
|
required:
|
|
23429
23289
|
- channel
|
|
23430
23290
|
- space
|
|
23431
|
-
OrganizationCustomFieldsChannel:
|
|
23432
|
-
type: object
|
|
23433
|
-
properties:
|
|
23434
|
-
channel:
|
|
23435
|
-
type: string
|
|
23436
|
-
enum:
|
|
23437
|
-
- organization-customfields
|
|
23438
|
-
organization:
|
|
23439
|
-
type: string
|
|
23440
|
-
required:
|
|
23441
|
-
- channel
|
|
23442
|
-
- organization
|
|
23443
23291
|
UserAPITokensChannel:
|
|
23444
23292
|
type: object
|
|
23445
23293
|
properties:
|
|
@@ -24245,10 +24093,8 @@ components:
|
|
|
24245
24093
|
- $ref: "#/components/schemas/SpaceGitInfoChannel"
|
|
24246
24094
|
- $ref: "#/components/schemas/SpacePublishingAuthChannel"
|
|
24247
24095
|
- $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
|
|
24248
|
-
- $ref: "#/components/schemas/SpaceCustomFieldsChannel"
|
|
24249
24096
|
- $ref: "#/components/schemas/SpaceContentRefsChannel"
|
|
24250
24097
|
- $ref: "#/components/schemas/SpaceIntegrationsChannel"
|
|
24251
|
-
- $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
|
|
24252
24098
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
24253
24099
|
- $ref: "#/components/schemas/UserOrganizationsChannel"
|
|
24254
24100
|
- $ref: "#/components/schemas/UserProfileChannel"
|
|
@@ -24413,160 +24259,6 @@ components:
|
|
|
24413
24259
|
- $ref: "#/components/schemas/APIChannelMutationData"
|
|
24414
24260
|
discriminator:
|
|
24415
24261
|
propertyName: channel
|
|
24416
|
-
CustomizationSettings:
|
|
24417
|
-
type: object
|
|
24418
|
-
properties:
|
|
24419
|
-
inherit:
|
|
24420
|
-
type: boolean
|
|
24421
|
-
description: Inherit customization settings from the parent collection.
|
|
24422
|
-
title:
|
|
24423
|
-
type: string
|
|
24424
|
-
description: Title to use for the published content. If not defined, it'll fallback to the content title.
|
|
24425
|
-
styling:
|
|
24426
|
-
type: object
|
|
24427
|
-
properties:
|
|
24428
|
-
primaryColor:
|
|
24429
|
-
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
24430
|
-
corners:
|
|
24431
|
-
$ref: "#/components/schemas/CustomizationCorners"
|
|
24432
|
-
font:
|
|
24433
|
-
$ref: "#/components/schemas/CustomizationDefaultFont"
|
|
24434
|
-
background:
|
|
24435
|
-
$ref: "#/components/schemas/CustomizationBackground"
|
|
24436
|
-
required:
|
|
24437
|
-
- primaryColor
|
|
24438
|
-
- corners
|
|
24439
|
-
- font
|
|
24440
|
-
internationalization:
|
|
24441
|
-
type: object
|
|
24442
|
-
properties:
|
|
24443
|
-
locale:
|
|
24444
|
-
$ref: "#/components/schemas/CustomizationLocale"
|
|
24445
|
-
inherit:
|
|
24446
|
-
type: boolean
|
|
24447
|
-
description: Inherit locale from the parent collection.
|
|
24448
|
-
required:
|
|
24449
|
-
- locale
|
|
24450
|
-
- inherit
|
|
24451
|
-
favicon:
|
|
24452
|
-
$ref: "#/components/schemas/CustomizationFavicon"
|
|
24453
|
-
header:
|
|
24454
|
-
type: object
|
|
24455
|
-
properties:
|
|
24456
|
-
preset:
|
|
24457
|
-
$ref: "#/components/schemas/CustomizationHeaderPreset"
|
|
24458
|
-
logo:
|
|
24459
|
-
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
24460
|
-
backgroundColor:
|
|
24461
|
-
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
24462
|
-
linkColor:
|
|
24463
|
-
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
24464
|
-
links:
|
|
24465
|
-
type: array
|
|
24466
|
-
items:
|
|
24467
|
-
$ref: "#/components/schemas/CustomizationHeaderItem"
|
|
24468
|
-
required:
|
|
24469
|
-
- preset
|
|
24470
|
-
- links
|
|
24471
|
-
footer:
|
|
24472
|
-
type: object
|
|
24473
|
-
properties:
|
|
24474
|
-
logo:
|
|
24475
|
-
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
24476
|
-
groups:
|
|
24477
|
-
type: array
|
|
24478
|
-
items:
|
|
24479
|
-
$ref: "#/components/schemas/CustomizationFooterGroup"
|
|
24480
|
-
copyright:
|
|
24481
|
-
type: string
|
|
24482
|
-
maxLength: 300
|
|
24483
|
-
required:
|
|
24484
|
-
- groups
|
|
24485
|
-
themes:
|
|
24486
|
-
type: object
|
|
24487
|
-
properties:
|
|
24488
|
-
default:
|
|
24489
|
-
$ref: "#/components/schemas/CustomizationThemeMode"
|
|
24490
|
-
toggeable:
|
|
24491
|
-
description: Should the reader be able to switch between dark and light mode
|
|
24492
|
-
type: boolean
|
|
24493
|
-
required:
|
|
24494
|
-
- default
|
|
24495
|
-
- toggeable
|
|
24496
|
-
pdf:
|
|
24497
|
-
type: object
|
|
24498
|
-
properties:
|
|
24499
|
-
enabled:
|
|
24500
|
-
type: boolean
|
|
24501
|
-
description: If true, PDF export is enabled for the published content.
|
|
24502
|
-
required:
|
|
24503
|
-
- enabled
|
|
24504
|
-
feedback:
|
|
24505
|
-
type: object
|
|
24506
|
-
properties:
|
|
24507
|
-
enabled:
|
|
24508
|
-
type: boolean
|
|
24509
|
-
description: If true, feedback gathering is enabled
|
|
24510
|
-
required:
|
|
24511
|
-
- enabled
|
|
24512
|
-
aiSearch:
|
|
24513
|
-
type: object
|
|
24514
|
-
properties:
|
|
24515
|
-
enabled:
|
|
24516
|
-
type: boolean
|
|
24517
|
-
description: If true, AI search is enabled
|
|
24518
|
-
required:
|
|
24519
|
-
- enabled
|
|
24520
|
-
git:
|
|
24521
|
-
type: object
|
|
24522
|
-
properties:
|
|
24523
|
-
showEditLink:
|
|
24524
|
-
type: boolean
|
|
24525
|
-
description: Whether the public content should show a link to edit the content on the git provider set up in the GitSync
|
|
24526
|
-
required:
|
|
24527
|
-
- showEditLink
|
|
24528
|
-
pagination:
|
|
24529
|
-
type: object
|
|
24530
|
-
properties:
|
|
24531
|
-
enabled:
|
|
24532
|
-
type: boolean
|
|
24533
|
-
description: Whether the pagination navigation should be displayed on pages.
|
|
24534
|
-
required:
|
|
24535
|
-
- enabled
|
|
24536
|
-
trademark:
|
|
24537
|
-
type: object
|
|
24538
|
-
properties:
|
|
24539
|
-
enabled:
|
|
24540
|
-
type: boolean
|
|
24541
|
-
description: Whether the GitBook trademark ("Powered by GitBook") should be visible
|
|
24542
|
-
required:
|
|
24543
|
-
- enabled
|
|
24544
|
-
privacyPolicy:
|
|
24545
|
-
type: object
|
|
24546
|
-
properties:
|
|
24547
|
-
url:
|
|
24548
|
-
$ref: "#/components/schemas/URL"
|
|
24549
|
-
socialPreview:
|
|
24550
|
-
type: object
|
|
24551
|
-
properties:
|
|
24552
|
-
url:
|
|
24553
|
-
$ref: "#/components/schemas/URL"
|
|
24554
|
-
required:
|
|
24555
|
-
- inherit
|
|
24556
|
-
- styling
|
|
24557
|
-
- internationalization
|
|
24558
|
-
- favicon
|
|
24559
|
-
- header
|
|
24560
|
-
- footer
|
|
24561
|
-
- themes
|
|
24562
|
-
- pdf
|
|
24563
|
-
- feedback
|
|
24564
|
-
- aiSearch
|
|
24565
|
-
- trademark
|
|
24566
|
-
- pagination
|
|
24567
|
-
- git
|
|
24568
|
-
- privacyPolicy
|
|
24569
|
-
- socialPreview
|
|
24570
24262
|
SiteAdsStatus:
|
|
24571
24263
|
type: string
|
|
24572
24264
|
description: The status of ads on the site
|