@gitbook/api 0.120.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 +122 -122
- package/dist/index.cjs +48 -1
- package/dist/index.js +47 -1
- package/package.json +1 -1
- package/spec/openapi.json +332 -380
- package/spec/openapi.yaml +219 -273
package/spec/openapi.json
CHANGED
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
{
|
|
32
32
|
"user-staff": []
|
|
33
33
|
},
|
|
34
|
+
{
|
|
35
|
+
"user-internal-or-staff": []
|
|
36
|
+
},
|
|
34
37
|
{
|
|
35
38
|
"integration": []
|
|
36
39
|
},
|
|
@@ -2814,6 +2817,40 @@
|
|
|
2814
2817
|
}
|
|
2815
2818
|
}
|
|
2816
2819
|
},
|
|
2820
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers/{userId}": {
|
|
2821
|
+
"delete": {
|
|
2822
|
+
"operationId": "removeRequestedReviewerFromChangeRequest",
|
|
2823
|
+
"summary": "Remove a reviewer from a change request",
|
|
2824
|
+
"tags": [
|
|
2825
|
+
"change-request-reviewers"
|
|
2826
|
+
],
|
|
2827
|
+
"security": [
|
|
2828
|
+
{
|
|
2829
|
+
"user": []
|
|
2830
|
+
}
|
|
2831
|
+
],
|
|
2832
|
+
"parameters": [
|
|
2833
|
+
{
|
|
2834
|
+
"$ref": "#/components/parameters/spaceId"
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"$ref": "#/components/parameters/userId"
|
|
2841
|
+
}
|
|
2842
|
+
],
|
|
2843
|
+
"responses": {
|
|
2844
|
+
"205": {
|
|
2845
|
+
"description": "The reviewer has been removed from the change request"
|
|
2846
|
+
},
|
|
2847
|
+
"404": {
|
|
2848
|
+
"description": "The reviewer could not be found",
|
|
2849
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
2850
|
+
}
|
|
2851
|
+
}
|
|
2852
|
+
}
|
|
2853
|
+
},
|
|
2817
2854
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/links": {
|
|
2818
2855
|
"get": {
|
|
2819
2856
|
"operationId": "listChangeRequestLinks",
|
|
@@ -6109,6 +6146,9 @@
|
|
|
6109
6146
|
},
|
|
6110
6147
|
{
|
|
6111
6148
|
"$ref": "#/components/parameters/integrationSearchScope"
|
|
6149
|
+
},
|
|
6150
|
+
{
|
|
6151
|
+
"$ref": "#/components/parameters/integrationSearchTarget"
|
|
6112
6152
|
}
|
|
6113
6153
|
],
|
|
6114
6154
|
"responses": {
|
|
@@ -9069,6 +9109,9 @@
|
|
|
9069
9109
|
},
|
|
9070
9110
|
{
|
|
9071
9111
|
"$ref": "#/components/parameters/integrationSearchScope"
|
|
9112
|
+
},
|
|
9113
|
+
{
|
|
9114
|
+
"$ref": "#/components/parameters/integrationSearchTarget"
|
|
9072
9115
|
}
|
|
9073
9116
|
],
|
|
9074
9117
|
"responses": {
|
|
@@ -12238,6 +12281,74 @@
|
|
|
12238
12281
|
}
|
|
12239
12282
|
}
|
|
12240
12283
|
},
|
|
12284
|
+
"/orgs/{organizationId}/sites/{siteId}/structure/sort": {
|
|
12285
|
+
"patch": {
|
|
12286
|
+
"operationId": "sortSiteStructure",
|
|
12287
|
+
"summary": "Move a site space, site section or site section group to a new position in the site structure.",
|
|
12288
|
+
"tags": [
|
|
12289
|
+
"sites"
|
|
12290
|
+
],
|
|
12291
|
+
"security": [
|
|
12292
|
+
{
|
|
12293
|
+
"user": []
|
|
12294
|
+
}
|
|
12295
|
+
],
|
|
12296
|
+
"parameters": [
|
|
12297
|
+
{
|
|
12298
|
+
"$ref": "#/components/parameters/organizationId"
|
|
12299
|
+
},
|
|
12300
|
+
{
|
|
12301
|
+
"$ref": "#/components/parameters/siteId"
|
|
12302
|
+
}
|
|
12303
|
+
],
|
|
12304
|
+
"requestBody": {
|
|
12305
|
+
"content": {
|
|
12306
|
+
"application/json": {
|
|
12307
|
+
"schema": {
|
|
12308
|
+
"type": "object",
|
|
12309
|
+
"properties": {
|
|
12310
|
+
"item": {
|
|
12311
|
+
"description": "pointer to the item (site space, site section or site section group) being moved.",
|
|
12312
|
+
"$ref": "#/components/schemas/SiteStructureItemPointer"
|
|
12313
|
+
},
|
|
12314
|
+
"position": {
|
|
12315
|
+
"description": "The position to move the item to. When not provided the item is moved to the end of the site structure.",
|
|
12316
|
+
"$ref": "#/components/schemas/SiteStructureItemMovePosition"
|
|
12317
|
+
}
|
|
12318
|
+
},
|
|
12319
|
+
"required": [
|
|
12320
|
+
"item",
|
|
12321
|
+
"position"
|
|
12322
|
+
]
|
|
12323
|
+
}
|
|
12324
|
+
}
|
|
12325
|
+
}
|
|
12326
|
+
},
|
|
12327
|
+
"responses": {
|
|
12328
|
+
"200": {
|
|
12329
|
+
"description": "Item successfully moved",
|
|
12330
|
+
"content": {
|
|
12331
|
+
"application/json": {
|
|
12332
|
+
"schema": {
|
|
12333
|
+
"$ref": "#/components/schemas/SiteStructureItem"
|
|
12334
|
+
}
|
|
12335
|
+
}
|
|
12336
|
+
}
|
|
12337
|
+
},
|
|
12338
|
+
"400": {
|
|
12339
|
+
"description": "Invalid move position provided",
|
|
12340
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
12341
|
+
},
|
|
12342
|
+
"404": {
|
|
12343
|
+
"description": "No matching item found",
|
|
12344
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
12345
|
+
},
|
|
12346
|
+
"default": {
|
|
12347
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
12348
|
+
}
|
|
12349
|
+
}
|
|
12350
|
+
}
|
|
12351
|
+
},
|
|
12241
12352
|
"/orgs/{organizationId}/sites/{siteId}/publishing/auth": {
|
|
12242
12353
|
"get": {
|
|
12243
12354
|
"operationId": "getSitePublishingAuthById",
|
|
@@ -13095,9 +13206,32 @@
|
|
|
13095
13206
|
"description": "ID of the space to be added to the section as a site space variant"
|
|
13096
13207
|
},
|
|
13097
13208
|
"title": {
|
|
13098
|
-
"
|
|
13099
|
-
|
|
13100
|
-
|
|
13209
|
+
"oneOf": [
|
|
13210
|
+
{
|
|
13211
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
13212
|
+
},
|
|
13213
|
+
{
|
|
13214
|
+
"type": "string",
|
|
13215
|
+
"nullable": true,
|
|
13216
|
+
"enum": [
|
|
13217
|
+
null
|
|
13218
|
+
]
|
|
13219
|
+
}
|
|
13220
|
+
]
|
|
13221
|
+
},
|
|
13222
|
+
"icon": {
|
|
13223
|
+
"oneOf": [
|
|
13224
|
+
{
|
|
13225
|
+
"$ref": "#/components/schemas/Icon"
|
|
13226
|
+
},
|
|
13227
|
+
{
|
|
13228
|
+
"type": "string",
|
|
13229
|
+
"nullable": true,
|
|
13230
|
+
"enum": [
|
|
13231
|
+
null
|
|
13232
|
+
]
|
|
13233
|
+
}
|
|
13234
|
+
]
|
|
13101
13235
|
}
|
|
13102
13236
|
},
|
|
13103
13237
|
"required": [
|
|
@@ -13626,6 +13760,10 @@
|
|
|
13626
13760
|
]
|
|
13627
13761
|
}
|
|
13628
13762
|
]
|
|
13763
|
+
},
|
|
13764
|
+
"spaceId": {
|
|
13765
|
+
"type": "string",
|
|
13766
|
+
"description": "The content that this site space points to. If not set, the space will remain unchanged."
|
|
13629
13767
|
}
|
|
13630
13768
|
}
|
|
13631
13769
|
}
|
|
@@ -14357,7 +14495,8 @@
|
|
|
14357
14495
|
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move": {
|
|
14358
14496
|
"post": {
|
|
14359
14497
|
"operationId": "moveSiteSectionGroup",
|
|
14360
|
-
"
|
|
14498
|
+
"deprecated": true,
|
|
14499
|
+
"summary": "Move a site section group to a new position. (Deprecated) use sortSiteStructure instead.",
|
|
14361
14500
|
"tags": [
|
|
14362
14501
|
"site-section-groups"
|
|
14363
14502
|
],
|
|
@@ -14417,7 +14556,8 @@
|
|
|
14417
14556
|
"/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move": {
|
|
14418
14557
|
"post": {
|
|
14419
14558
|
"operationId": "moveSiteSection",
|
|
14420
|
-
"
|
|
14559
|
+
"deprecated": true,
|
|
14560
|
+
"summary": "Move a site section to a new position. (Deprecated) use sortSiteStructure instead.",
|
|
14421
14561
|
"tags": [
|
|
14422
14562
|
"site-sections"
|
|
14423
14563
|
],
|
|
@@ -14477,7 +14617,8 @@
|
|
|
14477
14617
|
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move": {
|
|
14478
14618
|
"post": {
|
|
14479
14619
|
"operationId": "moveSiteSpace",
|
|
14480
|
-
"
|
|
14620
|
+
"deprecated": true,
|
|
14621
|
+
"summary": "Move a site space to a new position. (Deprecated) use sortSiteStructure instead.",
|
|
14481
14622
|
"tags": [
|
|
14482
14623
|
"site-spaces"
|
|
14483
14624
|
],
|
|
@@ -15147,7 +15288,7 @@
|
|
|
15147
15288
|
],
|
|
15148
15289
|
"security": [
|
|
15149
15290
|
{
|
|
15150
|
-
"user-internal": []
|
|
15291
|
+
"user-internal-or-staff": []
|
|
15151
15292
|
}
|
|
15152
15293
|
],
|
|
15153
15294
|
"parameters": [
|
|
@@ -15727,6 +15868,10 @@
|
|
|
15727
15868
|
"type": "http",
|
|
15728
15869
|
"scheme": "bearer"
|
|
15729
15870
|
},
|
|
15871
|
+
"user-internal-or-staff": {
|
|
15872
|
+
"type": "http",
|
|
15873
|
+
"scheme": "bearer"
|
|
15874
|
+
},
|
|
15730
15875
|
"integration": {
|
|
15731
15876
|
"type": "http",
|
|
15732
15877
|
"scheme": "bearer"
|
|
@@ -16036,6 +16181,14 @@
|
|
|
16036
16181
|
"$ref": "#/components/schemas/IntegrationScope"
|
|
16037
16182
|
}
|
|
16038
16183
|
},
|
|
16184
|
+
"integrationSearchTarget": {
|
|
16185
|
+
"name": "target",
|
|
16186
|
+
"in": "query",
|
|
16187
|
+
"description": "Filter the integrations by target",
|
|
16188
|
+
"schema": {
|
|
16189
|
+
"$ref": "#/components/schemas/IntegrationTarget"
|
|
16190
|
+
}
|
|
16191
|
+
},
|
|
16039
16192
|
"integrationName": {
|
|
16040
16193
|
"name": "integrationName",
|
|
16041
16194
|
"in": "path",
|
|
@@ -16273,24 +16426,6 @@
|
|
|
16273
16426
|
},
|
|
16274
16427
|
"required": true
|
|
16275
16428
|
},
|
|
16276
|
-
"visitorId": {
|
|
16277
|
-
"name": "visitorId",
|
|
16278
|
-
"in": "path",
|
|
16279
|
-
"required": true,
|
|
16280
|
-
"description": "The id of the visitor",
|
|
16281
|
-
"schema": {
|
|
16282
|
-
"type": "string"
|
|
16283
|
-
}
|
|
16284
|
-
},
|
|
16285
|
-
"ifUnmodifiedSince": {
|
|
16286
|
-
"in": "header",
|
|
16287
|
-
"name": "If-Unmodified-Since",
|
|
16288
|
-
"description": "If provided, the operation will be rejected if the underlying resource has been modified since the date provided in the header.",
|
|
16289
|
-
"schema": {
|
|
16290
|
-
"type": "string",
|
|
16291
|
-
"format": "date-time"
|
|
16292
|
-
}
|
|
16293
|
-
},
|
|
16294
16429
|
"pageFormat": {
|
|
16295
16430
|
"$ref": "#/components/parameters/documentFormat"
|
|
16296
16431
|
},
|
|
@@ -18027,6 +18162,49 @@
|
|
|
18027
18162
|
"isVoid"
|
|
18028
18163
|
]
|
|
18029
18164
|
},
|
|
18165
|
+
"DocumentInlineIcon": {
|
|
18166
|
+
"type": "object",
|
|
18167
|
+
"properties": {
|
|
18168
|
+
"object": {
|
|
18169
|
+
"type": "string",
|
|
18170
|
+
"enum": [
|
|
18171
|
+
"inline"
|
|
18172
|
+
]
|
|
18173
|
+
},
|
|
18174
|
+
"type": {
|
|
18175
|
+
"type": "string",
|
|
18176
|
+
"enum": [
|
|
18177
|
+
"icon"
|
|
18178
|
+
]
|
|
18179
|
+
},
|
|
18180
|
+
"key": {
|
|
18181
|
+
"type": "string"
|
|
18182
|
+
},
|
|
18183
|
+
"data": {
|
|
18184
|
+
"type": "object",
|
|
18185
|
+
"properties": {
|
|
18186
|
+
"icon": {
|
|
18187
|
+
"type": "string"
|
|
18188
|
+
}
|
|
18189
|
+
},
|
|
18190
|
+
"required": [
|
|
18191
|
+
"icon"
|
|
18192
|
+
]
|
|
18193
|
+
},
|
|
18194
|
+
"isVoid": {
|
|
18195
|
+
"type": "boolean",
|
|
18196
|
+
"enum": [
|
|
18197
|
+
true
|
|
18198
|
+
]
|
|
18199
|
+
}
|
|
18200
|
+
},
|
|
18201
|
+
"required": [
|
|
18202
|
+
"object",
|
|
18203
|
+
"type",
|
|
18204
|
+
"data",
|
|
18205
|
+
"isVoid"
|
|
18206
|
+
]
|
|
18207
|
+
},
|
|
18030
18208
|
"DocumentInlineExpression": {
|
|
18031
18209
|
"type": "object",
|
|
18032
18210
|
"properties": {
|
|
@@ -18170,6 +18348,9 @@
|
|
|
18170
18348
|
{
|
|
18171
18349
|
"$ref": "#/components/schemas/DocumentInlineEmoji"
|
|
18172
18350
|
},
|
|
18351
|
+
{
|
|
18352
|
+
"$ref": "#/components/schemas/DocumentInlineIcon"
|
|
18353
|
+
},
|
|
18173
18354
|
{
|
|
18174
18355
|
"$ref": "#/components/schemas/DocumentInlineExpression"
|
|
18175
18356
|
},
|
|
@@ -18390,6 +18571,9 @@
|
|
|
18390
18571
|
},
|
|
18391
18572
|
{
|
|
18392
18573
|
"$ref": "#/components/schemas/DocumentInlineAnnotation"
|
|
18574
|
+
},
|
|
18575
|
+
{
|
|
18576
|
+
"$ref": "#/components/schemas/DocumentInlineExpression"
|
|
18393
18577
|
}
|
|
18394
18578
|
]
|
|
18395
18579
|
}
|
|
@@ -27033,6 +27217,39 @@
|
|
|
27033
27217
|
"included"
|
|
27034
27218
|
]
|
|
27035
27219
|
},
|
|
27220
|
+
"SiteFeatureKey": {
|
|
27221
|
+
"type": "string",
|
|
27222
|
+
"description": "The site feature identifier",
|
|
27223
|
+
"enum": [
|
|
27224
|
+
"sites-adaptive-content",
|
|
27225
|
+
"sites-advanced-customization",
|
|
27226
|
+
"sites-advanced-insights",
|
|
27227
|
+
"sites-ads",
|
|
27228
|
+
"sites-ai-search",
|
|
27229
|
+
"sites-api-playground",
|
|
27230
|
+
"sites-basic-customization",
|
|
27231
|
+
"sites-custom-domain",
|
|
27232
|
+
"sites-custom-fonts",
|
|
27233
|
+
"sites-custom-subdirectory",
|
|
27234
|
+
"sites-full-text-search",
|
|
27235
|
+
"sites-multivariant-site",
|
|
27236
|
+
"sites-no-custom-domain",
|
|
27237
|
+
"sites-page-feedback",
|
|
27238
|
+
"sites-page-traffic-insights",
|
|
27239
|
+
"sites-pdf-export",
|
|
27240
|
+
"sites-preview-deployments",
|
|
27241
|
+
"sites-public-visibility",
|
|
27242
|
+
"sites-redirects",
|
|
27243
|
+
"sites-search-insights",
|
|
27244
|
+
"sites-sections",
|
|
27245
|
+
"sites-seo",
|
|
27246
|
+
"sites-share-links",
|
|
27247
|
+
"sites-unlisted-visibility",
|
|
27248
|
+
"sites-user-contribution",
|
|
27249
|
+
"sites-visitor-authentication",
|
|
27250
|
+
"sites-visitors"
|
|
27251
|
+
]
|
|
27252
|
+
},
|
|
27036
27253
|
"SiteCustomizationFeature": {
|
|
27037
27254
|
"type": "string",
|
|
27038
27255
|
"description": "A list of all premium customizations.",
|
|
@@ -27048,75 +27265,31 @@
|
|
|
27048
27265
|
]
|
|
27049
27266
|
},
|
|
27050
27267
|
"SiteFeature": {
|
|
27051
|
-
"
|
|
27052
|
-
|
|
27053
|
-
|
|
27054
|
-
|
|
27055
|
-
"
|
|
27056
|
-
"id": {
|
|
27057
|
-
"description": "The feature identifier, matching the feature table keys in the pricing definition",
|
|
27058
|
-
"type": "string",
|
|
27059
|
-
"enum": [
|
|
27060
|
-
"sites-sections",
|
|
27061
|
-
"sites-visitor-authentication",
|
|
27062
|
-
"sites-adaptive-content",
|
|
27063
|
-
"sites-redirects",
|
|
27064
|
-
"sites-custom-domain",
|
|
27065
|
-
"sites-ai-search",
|
|
27066
|
-
"sites-pdf-export",
|
|
27067
|
-
"sites-page-feedback",
|
|
27068
|
-
"sites-unlisted-visibility",
|
|
27069
|
-
"sites-share-links",
|
|
27070
|
-
"sites-custom-fonts"
|
|
27071
|
-
]
|
|
27072
|
-
},
|
|
27073
|
-
"plan": {
|
|
27074
|
-
"$ref": "#/components/schemas/SiteType"
|
|
27075
|
-
},
|
|
27076
|
-
"frozen": {
|
|
27077
|
-
"description": "A frozen feature is still enabled but cannot be changed or modified.",
|
|
27078
|
-
"type": "boolean"
|
|
27079
|
-
}
|
|
27080
|
-
},
|
|
27081
|
-
"required": [
|
|
27082
|
-
"id",
|
|
27083
|
-
"plan",
|
|
27084
|
-
"frozen"
|
|
27085
|
-
]
|
|
27268
|
+
"type": "object",
|
|
27269
|
+
"description": "A site feature and the plan it is available on.",
|
|
27270
|
+
"properties": {
|
|
27271
|
+
"id": {
|
|
27272
|
+
"$ref": "#/components/schemas/SiteFeatureKey"
|
|
27086
27273
|
},
|
|
27087
|
-
{
|
|
27088
|
-
"
|
|
27089
|
-
|
|
27090
|
-
|
|
27091
|
-
|
|
27092
|
-
|
|
27093
|
-
|
|
27094
|
-
|
|
27095
|
-
|
|
27096
|
-
|
|
27097
|
-
|
|
27098
|
-
"
|
|
27099
|
-
|
|
27100
|
-
},
|
|
27101
|
-
"frozen": {
|
|
27102
|
-
"description": "A frozen feature is still enabled but cannot be changed or modified.",
|
|
27103
|
-
"type": "boolean"
|
|
27104
|
-
},
|
|
27105
|
-
"customizations": {
|
|
27106
|
-
"description": "A list of the actual advanced customizations used",
|
|
27107
|
-
"type": "array",
|
|
27108
|
-
"items": {
|
|
27109
|
-
"$ref": "#/components/schemas/SiteCustomizationFeature"
|
|
27110
|
-
}
|
|
27111
|
-
}
|
|
27112
|
-
},
|
|
27113
|
-
"required": [
|
|
27114
|
-
"id",
|
|
27115
|
-
"plan",
|
|
27116
|
-
"frozen",
|
|
27117
|
-
"customizations"
|
|
27118
|
-
]
|
|
27274
|
+
"plan": {
|
|
27275
|
+
"$ref": "#/components/schemas/SiteType"
|
|
27276
|
+
},
|
|
27277
|
+
"frozen": {
|
|
27278
|
+
"description": "A frozen feature is still enabled but cannot be changed or modified.",
|
|
27279
|
+
"type": "boolean"
|
|
27280
|
+
},
|
|
27281
|
+
"customizations": {
|
|
27282
|
+
"description": "A list of the actual advanced customizations used (only applicable for sites-advanced-customization)",
|
|
27283
|
+
"type": "array",
|
|
27284
|
+
"items": {
|
|
27285
|
+
"$ref": "#/components/schemas/SiteCustomizationFeature"
|
|
27286
|
+
}
|
|
27119
27287
|
}
|
|
27288
|
+
},
|
|
27289
|
+
"required": [
|
|
27290
|
+
"id",
|
|
27291
|
+
"plan",
|
|
27292
|
+
"frozen"
|
|
27120
27293
|
]
|
|
27121
27294
|
},
|
|
27122
27295
|
"Site": {
|
|
@@ -32127,6 +32300,73 @@
|
|
|
32127
32300
|
"urls"
|
|
32128
32301
|
]
|
|
32129
32302
|
},
|
|
32303
|
+
"SiteStructureItemPointer": {
|
|
32304
|
+
"type": "object",
|
|
32305
|
+
"properties": {
|
|
32306
|
+
"type": {
|
|
32307
|
+
"type": "string",
|
|
32308
|
+
"enum": [
|
|
32309
|
+
"site-space",
|
|
32310
|
+
"site-section",
|
|
32311
|
+
"site-section-group"
|
|
32312
|
+
]
|
|
32313
|
+
},
|
|
32314
|
+
"id": {
|
|
32315
|
+
"type": "string",
|
|
32316
|
+
"description": "Unique identifier for the site structure item (site space, site section or site section group)."
|
|
32317
|
+
}
|
|
32318
|
+
},
|
|
32319
|
+
"required": [
|
|
32320
|
+
"type",
|
|
32321
|
+
"id"
|
|
32322
|
+
]
|
|
32323
|
+
},
|
|
32324
|
+
"SiteStructureItemMovePosition": {
|
|
32325
|
+
"type": "object",
|
|
32326
|
+
"description": "Position at which to move the site structure item (site space, site section or site section group).",
|
|
32327
|
+
"properties": {
|
|
32328
|
+
"before": {
|
|
32329
|
+
"$ref": "#/components/schemas/SiteStructureItemPointer"
|
|
32330
|
+
},
|
|
32331
|
+
"after": {
|
|
32332
|
+
"$ref": "#/components/schemas/SiteStructureItemPointer"
|
|
32333
|
+
}
|
|
32334
|
+
}
|
|
32335
|
+
},
|
|
32336
|
+
"SiteStructureItem": {
|
|
32337
|
+
"title": "Site Structure Item",
|
|
32338
|
+
"type": "object",
|
|
32339
|
+
"description": "A site structure item can be a site space, a site section or a site section group.\nIt is used to represent the structure of a site.\n",
|
|
32340
|
+
"oneOf": [
|
|
32341
|
+
{
|
|
32342
|
+
"$ref": "#/components/schemas/SiteSpace"
|
|
32343
|
+
},
|
|
32344
|
+
{
|
|
32345
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
32346
|
+
},
|
|
32347
|
+
{
|
|
32348
|
+
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
32349
|
+
}
|
|
32350
|
+
]
|
|
32351
|
+
},
|
|
32352
|
+
"SiteUpgradeReason": {
|
|
32353
|
+
"type": "string",
|
|
32354
|
+
"description": "The reason or feature that triggered the site upgrade",
|
|
32355
|
+
"oneOf": [
|
|
32356
|
+
{
|
|
32357
|
+
"$ref": "#/components/schemas/SiteFeatureKey"
|
|
32358
|
+
},
|
|
32359
|
+
{
|
|
32360
|
+
"type": "string",
|
|
32361
|
+
"enum": [
|
|
32362
|
+
"settings",
|
|
32363
|
+
"publish-downgrade",
|
|
32364
|
+
"from-billing-modal",
|
|
32365
|
+
"payment-failed-modal"
|
|
32366
|
+
]
|
|
32367
|
+
}
|
|
32368
|
+
]
|
|
32369
|
+
},
|
|
32130
32370
|
"SitePublishingAuth": {
|
|
32131
32371
|
"allOf": [
|
|
32132
32372
|
{
|
|
@@ -36418,24 +36658,6 @@
|
|
|
36418
36658
|
}
|
|
36419
36659
|
}
|
|
36420
36660
|
},
|
|
36421
|
-
"TriggerContentIndexingContext": {
|
|
36422
|
-
"type": "object",
|
|
36423
|
-
"description": "The context to send when triggering a content indexing.",
|
|
36424
|
-
"properties": {
|
|
36425
|
-
"spaceId": {
|
|
36426
|
-
"type": "string",
|
|
36427
|
-
"description": "The unique identifier of the Space to index."
|
|
36428
|
-
},
|
|
36429
|
-
"force": {
|
|
36430
|
-
"type": "boolean",
|
|
36431
|
-
"description": "Whether to force a complete re-indexing of the Space."
|
|
36432
|
-
}
|
|
36433
|
-
},
|
|
36434
|
-
"required": [
|
|
36435
|
-
"spaceId",
|
|
36436
|
-
"force"
|
|
36437
|
-
]
|
|
36438
|
-
},
|
|
36439
36661
|
"GitBookUsers": {
|
|
36440
36662
|
"type": "string",
|
|
36441
36663
|
"description": "Predefined GitBook user identifiers",
|
|
@@ -36443,36 +36665,6 @@
|
|
|
36443
36665
|
"gitbook:agent"
|
|
36444
36666
|
]
|
|
36445
36667
|
},
|
|
36446
|
-
"ContentPublishingAuth": {
|
|
36447
|
-
"type": "object",
|
|
36448
|
-
"properties": {
|
|
36449
|
-
"object": {
|
|
36450
|
-
"type": "string",
|
|
36451
|
-
"description": "Type of Object, always equals to \"publishing-auth\"",
|
|
36452
|
-
"enum": [
|
|
36453
|
-
"publishing-auth"
|
|
36454
|
-
]
|
|
36455
|
-
},
|
|
36456
|
-
"id": {
|
|
36457
|
-
"type": "string",
|
|
36458
|
-
"description": "Unique identifier for the content."
|
|
36459
|
-
},
|
|
36460
|
-
"privateKey": {
|
|
36461
|
-
"type": "string",
|
|
36462
|
-
"description": "Private key used to sign JWT tokens."
|
|
36463
|
-
},
|
|
36464
|
-
"fallbackURL": {
|
|
36465
|
-
"type": "string",
|
|
36466
|
-
"format": "uri",
|
|
36467
|
-
"description": "URL to redirect to when the visitor auth secret is invalid."
|
|
36468
|
-
}
|
|
36469
|
-
},
|
|
36470
|
-
"required": [
|
|
36471
|
-
"object",
|
|
36472
|
-
"id",
|
|
36473
|
-
"privateKey"
|
|
36474
|
-
]
|
|
36475
|
-
},
|
|
36476
36668
|
"ComputedContentSource": {
|
|
36477
36669
|
"oneOf": [
|
|
36478
36670
|
{
|
|
@@ -36814,22 +37006,6 @@
|
|
|
36814
37006
|
"updatedAt"
|
|
36815
37007
|
]
|
|
36816
37008
|
},
|
|
36817
|
-
"OrganizationTransferResponse": {
|
|
36818
|
-
"type": "object",
|
|
36819
|
-
"required": [
|
|
36820
|
-
"collection"
|
|
36821
|
-
],
|
|
36822
|
-
"properties": {
|
|
36823
|
-
"collection": {
|
|
36824
|
-
"type": "string",
|
|
36825
|
-
"description": "The unique id of the collection created in the target organization containing the content of the source organization."
|
|
36826
|
-
},
|
|
36827
|
-
"newSourceHostname": {
|
|
36828
|
-
"type": "string",
|
|
36829
|
-
"description": "The new hostname if the source organization needed to change hostname."
|
|
36830
|
-
}
|
|
36831
|
-
}
|
|
36832
|
-
},
|
|
36833
37009
|
"IntegrationEnvironmentSpaceInstallation": {
|
|
36834
37010
|
"allOf": [
|
|
36835
37011
|
{
|
|
@@ -38804,230 +38980,6 @@
|
|
|
38804
38980
|
"propertyName": "channel"
|
|
38805
38981
|
}
|
|
38806
38982
|
},
|
|
38807
|
-
"VariableName": {
|
|
38808
|
-
"type": "string",
|
|
38809
|
-
"pattern": "^[a-z_\\-0-9]+$",
|
|
38810
|
-
"minLength": 1,
|
|
38811
|
-
"maxLength": 50
|
|
38812
|
-
},
|
|
38813
|
-
"CustomizationSettings": {
|
|
38814
|
-
"type": "object",
|
|
38815
|
-
"properties": {
|
|
38816
|
-
"inherit": {
|
|
38817
|
-
"type": "boolean",
|
|
38818
|
-
"description": "Inherit customization settings from the parent collection."
|
|
38819
|
-
},
|
|
38820
|
-
"title": {
|
|
38821
|
-
"type": "string",
|
|
38822
|
-
"description": "Title to use for the published content. If not defined, it'll fallback to the content title."
|
|
38823
|
-
},
|
|
38824
|
-
"styling": {
|
|
38825
|
-
"type": "object",
|
|
38826
|
-
"properties": {
|
|
38827
|
-
"primaryColor": {
|
|
38828
|
-
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
38829
|
-
},
|
|
38830
|
-
"corners": {
|
|
38831
|
-
"$ref": "#/components/schemas/CustomizationCorners"
|
|
38832
|
-
},
|
|
38833
|
-
"font": {
|
|
38834
|
-
"$ref": "#/components/schemas/CustomizationDefaultFont"
|
|
38835
|
-
},
|
|
38836
|
-
"background": {
|
|
38837
|
-
"$ref": "#/components/schemas/CustomizationBackground"
|
|
38838
|
-
}
|
|
38839
|
-
},
|
|
38840
|
-
"required": [
|
|
38841
|
-
"primaryColor",
|
|
38842
|
-
"corners",
|
|
38843
|
-
"font"
|
|
38844
|
-
]
|
|
38845
|
-
},
|
|
38846
|
-
"internationalization": {
|
|
38847
|
-
"type": "object",
|
|
38848
|
-
"properties": {
|
|
38849
|
-
"locale": {
|
|
38850
|
-
"$ref": "#/components/schemas/CustomizationLocale"
|
|
38851
|
-
}
|
|
38852
|
-
},
|
|
38853
|
-
"required": [
|
|
38854
|
-
"locale"
|
|
38855
|
-
]
|
|
38856
|
-
},
|
|
38857
|
-
"favicon": {
|
|
38858
|
-
"$ref": "#/components/schemas/CustomizationFavicon"
|
|
38859
|
-
},
|
|
38860
|
-
"header": {
|
|
38861
|
-
"type": "object",
|
|
38862
|
-
"properties": {
|
|
38863
|
-
"preset": {
|
|
38864
|
-
"$ref": "#/components/schemas/CustomizationHeaderPreset"
|
|
38865
|
-
},
|
|
38866
|
-
"logo": {
|
|
38867
|
-
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
38868
|
-
},
|
|
38869
|
-
"backgroundColor": {
|
|
38870
|
-
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
38871
|
-
},
|
|
38872
|
-
"linkColor": {
|
|
38873
|
-
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
38874
|
-
},
|
|
38875
|
-
"links": {
|
|
38876
|
-
"type": "array",
|
|
38877
|
-
"items": {
|
|
38878
|
-
"$ref": "#/components/schemas/CustomizationHeaderItem"
|
|
38879
|
-
}
|
|
38880
|
-
}
|
|
38881
|
-
},
|
|
38882
|
-
"required": [
|
|
38883
|
-
"preset",
|
|
38884
|
-
"links"
|
|
38885
|
-
]
|
|
38886
|
-
},
|
|
38887
|
-
"footer": {
|
|
38888
|
-
"type": "object",
|
|
38889
|
-
"properties": {
|
|
38890
|
-
"logo": {
|
|
38891
|
-
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
38892
|
-
},
|
|
38893
|
-
"groups": {
|
|
38894
|
-
"type": "array",
|
|
38895
|
-
"items": {
|
|
38896
|
-
"$ref": "#/components/schemas/CustomizationFooterGroup"
|
|
38897
|
-
}
|
|
38898
|
-
},
|
|
38899
|
-
"copyright": {
|
|
38900
|
-
"type": "string",
|
|
38901
|
-
"maxLength": 300
|
|
38902
|
-
}
|
|
38903
|
-
},
|
|
38904
|
-
"required": [
|
|
38905
|
-
"groups"
|
|
38906
|
-
]
|
|
38907
|
-
},
|
|
38908
|
-
"themes": {
|
|
38909
|
-
"type": "object",
|
|
38910
|
-
"properties": {
|
|
38911
|
-
"default": {
|
|
38912
|
-
"$ref": "#/components/schemas/CustomizationThemeMode"
|
|
38913
|
-
},
|
|
38914
|
-
"toggeable": {
|
|
38915
|
-
"description": "Should the reader be able to switch between dark and light mode",
|
|
38916
|
-
"type": "boolean"
|
|
38917
|
-
}
|
|
38918
|
-
},
|
|
38919
|
-
"required": [
|
|
38920
|
-
"default",
|
|
38921
|
-
"toggeable"
|
|
38922
|
-
]
|
|
38923
|
-
},
|
|
38924
|
-
"pdf": {
|
|
38925
|
-
"type": "object",
|
|
38926
|
-
"properties": {
|
|
38927
|
-
"enabled": {
|
|
38928
|
-
"type": "boolean",
|
|
38929
|
-
"description": "If true, PDF export is enabled for the published content."
|
|
38930
|
-
}
|
|
38931
|
-
},
|
|
38932
|
-
"required": [
|
|
38933
|
-
"enabled"
|
|
38934
|
-
]
|
|
38935
|
-
},
|
|
38936
|
-
"feedback": {
|
|
38937
|
-
"type": "object",
|
|
38938
|
-
"properties": {
|
|
38939
|
-
"enabled": {
|
|
38940
|
-
"type": "boolean",
|
|
38941
|
-
"description": "If true, feedback gathering is enabled"
|
|
38942
|
-
}
|
|
38943
|
-
},
|
|
38944
|
-
"required": [
|
|
38945
|
-
"enabled"
|
|
38946
|
-
]
|
|
38947
|
-
},
|
|
38948
|
-
"aiSearch": {
|
|
38949
|
-
"type": "object",
|
|
38950
|
-
"properties": {
|
|
38951
|
-
"enabled": {
|
|
38952
|
-
"type": "boolean",
|
|
38953
|
-
"description": "If true, AI search is enabled"
|
|
38954
|
-
}
|
|
38955
|
-
},
|
|
38956
|
-
"required": [
|
|
38957
|
-
"enabled"
|
|
38958
|
-
]
|
|
38959
|
-
},
|
|
38960
|
-
"git": {
|
|
38961
|
-
"type": "object",
|
|
38962
|
-
"properties": {
|
|
38963
|
-
"showEditLink": {
|
|
38964
|
-
"type": "boolean",
|
|
38965
|
-
"description": "Whether the public content should show a link to edit the content on the git provider set up in the GitSync"
|
|
38966
|
-
}
|
|
38967
|
-
},
|
|
38968
|
-
"required": [
|
|
38969
|
-
"showEditLink"
|
|
38970
|
-
]
|
|
38971
|
-
},
|
|
38972
|
-
"pagination": {
|
|
38973
|
-
"type": "object",
|
|
38974
|
-
"properties": {
|
|
38975
|
-
"enabled": {
|
|
38976
|
-
"type": "boolean",
|
|
38977
|
-
"description": "Whether the pagination navigation should be displayed on pages."
|
|
38978
|
-
}
|
|
38979
|
-
},
|
|
38980
|
-
"required": [
|
|
38981
|
-
"enabled"
|
|
38982
|
-
]
|
|
38983
|
-
},
|
|
38984
|
-
"trademark": {
|
|
38985
|
-
"type": "object",
|
|
38986
|
-
"properties": {
|
|
38987
|
-
"enabled": {
|
|
38988
|
-
"type": "boolean",
|
|
38989
|
-
"description": "Whether the GitBook trademark (\"Powered by GitBook\") should be visible"
|
|
38990
|
-
}
|
|
38991
|
-
},
|
|
38992
|
-
"required": [
|
|
38993
|
-
"enabled"
|
|
38994
|
-
]
|
|
38995
|
-
},
|
|
38996
|
-
"privacyPolicy": {
|
|
38997
|
-
"type": "object",
|
|
38998
|
-
"properties": {
|
|
38999
|
-
"url": {
|
|
39000
|
-
"$ref": "#/components/schemas/URL"
|
|
39001
|
-
}
|
|
39002
|
-
}
|
|
39003
|
-
},
|
|
39004
|
-
"socialPreview": {
|
|
39005
|
-
"type": "object",
|
|
39006
|
-
"properties": {
|
|
39007
|
-
"url": {
|
|
39008
|
-
"$ref": "#/components/schemas/URL"
|
|
39009
|
-
}
|
|
39010
|
-
}
|
|
39011
|
-
}
|
|
39012
|
-
},
|
|
39013
|
-
"required": [
|
|
39014
|
-
"inherit",
|
|
39015
|
-
"styling",
|
|
39016
|
-
"internationalization",
|
|
39017
|
-
"favicon",
|
|
39018
|
-
"header",
|
|
39019
|
-
"footer",
|
|
39020
|
-
"themes",
|
|
39021
|
-
"pdf",
|
|
39022
|
-
"feedback",
|
|
39023
|
-
"aiSearch",
|
|
39024
|
-
"trademark",
|
|
39025
|
-
"pagination",
|
|
39026
|
-
"git",
|
|
39027
|
-
"privacyPolicy",
|
|
39028
|
-
"socialPreview"
|
|
39029
|
-
]
|
|
39030
|
-
},
|
|
39031
38983
|
"SiteAdsStatus": {
|
|
39032
38984
|
"type": "string",
|
|
39033
38985
|
"description": "The status of ads on the site",
|