@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/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
  },
@@ -340,13 +343,6 @@
340
343
  "x-page-description": "Bring your own fonts to personalize your documentation style.",
341
344
  "description": "Upload and manage custom fonts for branding or aesthetic purposes. Once added, fonts can be applied to your spaces or sites to achieve a unique look.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"CustomizationFontDefinition\" grouped=\"false\" %}\n The CustomizationFontDefinition object\n{% endopenapi-schemas %}\n"
342
345
  },
343
- {
344
- "name": "custom-fields",
345
- "x-page-icon": "table-columns",
346
- "x-page-title": "Custom fields",
347
- "x-page-description": "Append specialized metadata to your content through user-defined fields.",
348
- "description": "This API provides structured ways to enrich your docs with extra attributes. You can create and manage custom fields to store additional data.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"CustomFieldValues\" grouped=\"false\" %}\n The CustomFieldValues object\n{% endopenapi-schemas %}\n"
349
- },
350
346
  {
351
347
  "name": "billing",
352
348
  "x-page-icon": "credit-card",
@@ -1772,6 +1768,9 @@
1772
1768
  {
1773
1769
  "$ref": "#/components/parameters/documentFormat"
1774
1770
  },
1771
+ {
1772
+ "$ref": "#/components/parameters/documentEvaluated"
1773
+ },
1775
1774
  {
1776
1775
  "$ref": "#/components/parameters/revisionMetadata"
1777
1776
  },
@@ -1996,6 +1995,9 @@
1996
1995
  {
1997
1996
  "$ref": "#/components/parameters/documentFormat"
1998
1997
  },
1998
+ {
1999
+ "$ref": "#/components/parameters/documentEvaluated"
2000
+ },
1999
2001
  {
2000
2002
  "$ref": "#/components/parameters/revisionMetadata"
2001
2003
  },
@@ -2815,6 +2817,40 @@
2815
2817
  }
2816
2818
  }
2817
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
+ },
2818
2854
  "/spaces/{spaceId}/change-requests/{changeRequestId}/links": {
2819
2855
  "get": {
2820
2856
  "operationId": "listChangeRequestLinks",
@@ -3757,6 +3793,9 @@
3757
3793
  {
3758
3794
  "$ref": "#/components/parameters/documentFormat"
3759
3795
  },
3796
+ {
3797
+ "$ref": "#/components/parameters/documentEvaluated"
3798
+ },
3760
3799
  {
3761
3800
  "$ref": "#/components/parameters/revisionMetadata"
3762
3801
  },
@@ -3985,6 +4024,9 @@
3985
4024
  {
3986
4025
  "$ref": "#/components/parameters/documentFormat"
3987
4026
  },
4027
+ {
4028
+ "$ref": "#/components/parameters/documentEvaluated"
4029
+ },
3988
4030
  {
3989
4031
  "$ref": "#/components/parameters/revisionMetadata"
3990
4032
  },
@@ -4388,6 +4430,9 @@
4388
4430
  {
4389
4431
  "$ref": "#/components/parameters/documentFormat"
4390
4432
  },
4433
+ {
4434
+ "$ref": "#/components/parameters/documentEvaluated"
4435
+ },
4391
4436
  {
4392
4437
  "$ref": "#/components/parameters/revisionMetadata"
4393
4438
  },
@@ -4409,6 +4454,46 @@
4409
4454
  }
4410
4455
  }
4411
4456
  },
4457
+ "/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document": {
4458
+ "get": {
4459
+ "operationId": "getPageDocumentInRevisionById",
4460
+ "summary": "Get the document of a page in a revision",
4461
+ "tags": [
4462
+ "space-content"
4463
+ ],
4464
+ "security": [
4465
+ {
4466
+ "user": []
4467
+ }
4468
+ ],
4469
+ "parameters": [
4470
+ {
4471
+ "$ref": "#/components/parameters/spaceId"
4472
+ },
4473
+ {
4474
+ "$ref": "#/components/parameters/revisionId"
4475
+ },
4476
+ {
4477
+ "$ref": "#/components/parameters/pageId"
4478
+ },
4479
+ {
4480
+ "$ref": "#/components/parameters/documentEvaluated"
4481
+ }
4482
+ ],
4483
+ "responses": {
4484
+ "200": {
4485
+ "description": "OK",
4486
+ "content": {
4487
+ "application/json": {
4488
+ "schema": {
4489
+ "$ref": "#/components/schemas/JSONDocument"
4490
+ }
4491
+ }
4492
+ }
4493
+ }
4494
+ }
4495
+ }
4496
+ },
4412
4497
  "/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}": {
4413
4498
  "get": {
4414
4499
  "operationId": "getPageInRevisionByPath",
@@ -4434,6 +4519,9 @@
4434
4519
  {
4435
4520
  "$ref": "#/components/parameters/documentFormat"
4436
4521
  },
4522
+ {
4523
+ "$ref": "#/components/parameters/documentEvaluated"
4524
+ },
4437
4525
  {
4438
4526
  "$ref": "#/components/parameters/revisionMetadata"
4439
4527
  },
@@ -5233,69 +5321,6 @@
5233
5321
  }
5234
5322
  }
5235
5323
  },
5236
- "/spaces/{spaceId}/custom-fields": {
5237
- "get": {
5238
- "operationId": "getSpaceCustomFields",
5239
- "summary": "Get a space custom fields",
5240
- "tags": [
5241
- "custom-fields"
5242
- ],
5243
- "security": [
5244
- {
5245
- "user": []
5246
- }
5247
- ],
5248
- "parameters": [
5249
- {
5250
- "$ref": "#/components/parameters/spaceId"
5251
- }
5252
- ],
5253
- "responses": {
5254
- "200": {
5255
- "description": "OK",
5256
- "content": {
5257
- "application/json": {
5258
- "schema": {
5259
- "$ref": "#/components/schemas/CustomFieldValues"
5260
- }
5261
- }
5262
- }
5263
- }
5264
- }
5265
- },
5266
- "patch": {
5267
- "operationId": "updateSpaceCustomFields",
5268
- "summary": "Update a space custom fields",
5269
- "tags": [
5270
- "custom-fields"
5271
- ],
5272
- "security": [
5273
- {
5274
- "user": []
5275
- }
5276
- ],
5277
- "parameters": [
5278
- {
5279
- "$ref": "#/components/parameters/spaceId"
5280
- }
5281
- ],
5282
- "requestBody": {
5283
- "required": true,
5284
- "content": {
5285
- "application/json": {
5286
- "schema": {
5287
- "$ref": "#/components/schemas/UpdateCustomFieldValues"
5288
- }
5289
- }
5290
- }
5291
- },
5292
- "responses": {
5293
- "204": {
5294
- "description": "Custom fields updated"
5295
- }
5296
- }
5297
- }
5298
- },
5299
5324
  "/spaces/{spaceId}/pdf": {
5300
5325
  "get": {
5301
5326
  "operationId": "getSpacePDF",
@@ -6121,6 +6146,9 @@
6121
6146
  },
6122
6147
  {
6123
6148
  "$ref": "#/components/parameters/integrationSearchScope"
6149
+ },
6150
+ {
6151
+ "$ref": "#/components/parameters/integrationSearchTarget"
6124
6152
  }
6125
6153
  ],
6126
6154
  "responses": {
@@ -9044,269 +9072,6 @@
9044
9072
  }
9045
9073
  }
9046
9074
  },
9047
- "/orgs/{organizationId}/custom-fields": {
9048
- "get": {
9049
- "operationId": "listOrganizationCustomFields",
9050
- "summary": "List all custom fields",
9051
- "tags": [
9052
- "custom-fields"
9053
- ],
9054
- "security": [
9055
- {
9056
- "user": []
9057
- }
9058
- ],
9059
- "parameters": [
9060
- {
9061
- "$ref": "#/components/parameters/organizationId"
9062
- },
9063
- {
9064
- "$ref": "#/components/parameters/listPage"
9065
- },
9066
- {
9067
- "$ref": "#/components/parameters/listLimit"
9068
- }
9069
- ],
9070
- "responses": {
9071
- "200": {
9072
- "description": "OK",
9073
- "content": {
9074
- "application/json": {
9075
- "schema": {
9076
- "allOf": [
9077
- {
9078
- "$ref": "#/components/schemas/List"
9079
- },
9080
- {
9081
- "type": "object",
9082
- "required": [
9083
- "items"
9084
- ],
9085
- "properties": {
9086
- "items": {
9087
- "type": "array",
9088
- "items": {
9089
- "$ref": "#/components/schemas/CustomField"
9090
- }
9091
- }
9092
- }
9093
- }
9094
- ]
9095
- }
9096
- }
9097
- }
9098
- }
9099
- }
9100
- },
9101
- "post": {
9102
- "operationId": "createOrganizationCustomField",
9103
- "summary": "Create a custom field",
9104
- "tags": [
9105
- "custom-fields"
9106
- ],
9107
- "security": [
9108
- {
9109
- "user": []
9110
- }
9111
- ],
9112
- "parameters": [
9113
- {
9114
- "$ref": "#/components/parameters/organizationId"
9115
- }
9116
- ],
9117
- "requestBody": {
9118
- "required": true,
9119
- "content": {
9120
- "application/json": {
9121
- "schema": {
9122
- "type": "object",
9123
- "properties": {
9124
- "name": {
9125
- "$ref": "#/components/schemas/CustomFieldName"
9126
- },
9127
- "type": {
9128
- "$ref": "#/components/schemas/CustomFieldType"
9129
- },
9130
- "title": {
9131
- "$ref": "#/components/schemas/CustomFieldTitle"
9132
- },
9133
- "description": {
9134
- "$ref": "#/components/schemas/CustomFieldDescription"
9135
- },
9136
- "placeholder": {
9137
- "$ref": "#/components/schemas/CustomFieldPlaceholder"
9138
- },
9139
- "options": {
9140
- "$ref": "#/components/schemas/CustomFieldOptions"
9141
- }
9142
- },
9143
- "required": [
9144
- "name",
9145
- "type"
9146
- ]
9147
- }
9148
- }
9149
- }
9150
- },
9151
- "responses": {
9152
- "201": {
9153
- "description": "Custom field created",
9154
- "headers": {
9155
- "Location": {
9156
- "description": "API URL for the newly created custom field",
9157
- "schema": {
9158
- "type": "string"
9159
- }
9160
- }
9161
- },
9162
- "content": {
9163
- "application/json": {
9164
- "schema": {
9165
- "$ref": "#/components/schemas/CustomField"
9166
- }
9167
- }
9168
- }
9169
- }
9170
- }
9171
- }
9172
- },
9173
- "/orgs/{organizationId}/custom-fields/{fieldName}": {
9174
- "get": {
9175
- "operationId": "getOrganizationCustomFieldByName",
9176
- "summary": "Get a custom field by its name",
9177
- "tags": [
9178
- "custom-fields"
9179
- ],
9180
- "security": [
9181
- {
9182
- "user": []
9183
- }
9184
- ],
9185
- "parameters": [
9186
- {
9187
- "$ref": "#/components/parameters/organizationId"
9188
- },
9189
- {
9190
- "name": "fieldName",
9191
- "in": "path",
9192
- "required": true,
9193
- "description": "The name of the custom field",
9194
- "schema": {
9195
- "type": "string"
9196
- }
9197
- }
9198
- ],
9199
- "responses": {
9200
- "200": {
9201
- "description": "OK",
9202
- "content": {
9203
- "application/json": {
9204
- "schema": {
9205
- "$ref": "#/components/schemas/CustomField"
9206
- }
9207
- }
9208
- }
9209
- },
9210
- "404": {
9211
- "description": "No matching custom field found",
9212
- "$ref": "#/components/responses/NotFoundError"
9213
- }
9214
- }
9215
- },
9216
- "patch": {
9217
- "operationId": "updateOrganizationCustomField",
9218
- "summary": "Update a custom field",
9219
- "tags": [
9220
- "custom-fields"
9221
- ],
9222
- "security": [
9223
- {
9224
- "user": []
9225
- }
9226
- ],
9227
- "parameters": [
9228
- {
9229
- "$ref": "#/components/parameters/organizationId"
9230
- },
9231
- {
9232
- "name": "fieldName",
9233
- "in": "path",
9234
- "required": true,
9235
- "description": "The name of the custom field",
9236
- "schema": {
9237
- "type": "string"
9238
- }
9239
- }
9240
- ],
9241
- "requestBody": {
9242
- "required": true,
9243
- "content": {
9244
- "application/json": {
9245
- "schema": {
9246
- "type": "object",
9247
- "properties": {
9248
- "title": {
9249
- "$ref": "#/components/schemas/CustomFieldTitle"
9250
- },
9251
- "description": {
9252
- "$ref": "#/components/schemas/CustomFieldDescription"
9253
- },
9254
- "placeholder": {
9255
- "$ref": "#/components/schemas/CustomFieldPlaceholder"
9256
- },
9257
- "options": {
9258
- "$ref": "#/components/schemas/CustomFieldOptions"
9259
- }
9260
- }
9261
- }
9262
- }
9263
- }
9264
- },
9265
- "responses": {
9266
- "200": {
9267
- "description": "OK",
9268
- "content": {
9269
- "application/json": {
9270
- "schema": {
9271
- "$ref": "#/components/schemas/CustomField"
9272
- }
9273
- }
9274
- }
9275
- }
9276
- }
9277
- },
9278
- "delete": {
9279
- "operationId": "deleteOrganizationCustomField",
9280
- "summary": "Delete a custom field",
9281
- "tags": [
9282
- "custom-fields"
9283
- ],
9284
- "security": [
9285
- {
9286
- "user": []
9287
- }
9288
- ],
9289
- "parameters": [
9290
- {
9291
- "$ref": "#/components/parameters/organizationId"
9292
- },
9293
- {
9294
- "name": "fieldName",
9295
- "in": "path",
9296
- "required": true,
9297
- "description": "The name of the custom field",
9298
- "schema": {
9299
- "type": "string"
9300
- }
9301
- }
9302
- ],
9303
- "responses": {
9304
- "204": {
9305
- "description": "Custom field has been deleted"
9306
- }
9307
- }
9308
- }
9309
- },
9310
9075
  "/orgs/{organizationId}/integrations": {
9311
9076
  "get": {
9312
9077
  "operationId": "listOrganizationIntegrations",
@@ -9344,6 +9109,9 @@
9344
9109
  },
9345
9110
  {
9346
9111
  "$ref": "#/components/parameters/integrationSearchScope"
9112
+ },
9113
+ {
9114
+ "$ref": "#/components/parameters/integrationSearchTarget"
9347
9115
  }
9348
9116
  ],
9349
9117
  "responses": {
@@ -12097,6 +11865,46 @@
12097
11865
  }
12098
11866
  }
12099
11867
  },
11868
+ "/orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions": {
11869
+ "get": {
11870
+ "operationId": "listSiteAdaptiveTemplateConditions",
11871
+ "summary": "List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.",
11872
+ "tags": [
11873
+ "sites"
11874
+ ],
11875
+ "parameters": [
11876
+ {
11877
+ "$ref": "#/components/parameters/organizationId"
11878
+ },
11879
+ {
11880
+ "$ref": "#/components/parameters/siteId"
11881
+ }
11882
+ ],
11883
+ "responses": {
11884
+ "200": {
11885
+ "description": "List of template conditions generated based on the site visitor schema.",
11886
+ "content": {
11887
+ "application/json": {
11888
+ "schema": {
11889
+ "type": "object",
11890
+ "properties": {
11891
+ "items": {
11892
+ "type": "array",
11893
+ "items": {
11894
+ "$ref": "#/components/schemas/SiteAdaptiveTemplateCondition"
11895
+ }
11896
+ }
11897
+ },
11898
+ "required": [
11899
+ "items"
11900
+ ]
11901
+ }
11902
+ }
11903
+ }
11904
+ }
11905
+ }
11906
+ }
11907
+ },
12100
11908
  "/orgs/{organizationId}/sites/{siteId}/published": {
12101
11909
  "get": {
12102
11910
  "operationId": "getPublishedContentSite",
@@ -12473,6 +12281,74 @@
12473
12281
  }
12474
12282
  }
12475
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
+ },
12476
12352
  "/orgs/{organizationId}/sites/{siteId}/publishing/auth": {
12477
12353
  "get": {
12478
12354
  "operationId": "getSitePublishingAuthById",
@@ -13330,9 +13206,32 @@
13330
13206
  "description": "ID of the space to be added to the section as a site space variant"
13331
13207
  },
13332
13208
  "title": {
13333
- "type": "string",
13334
- "description": "Title of the section",
13335
- "maxLength": 64
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
+ ]
13336
13235
  }
13337
13236
  },
13338
13237
  "required": [
@@ -13861,6 +13760,10 @@
13861
13760
  ]
13862
13761
  }
13863
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."
13864
13767
  }
13865
13768
  }
13866
13769
  }
@@ -14592,7 +14495,8 @@
14592
14495
  "/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move": {
14593
14496
  "post": {
14594
14497
  "operationId": "moveSiteSectionGroup",
14595
- "summary": "Move a site section group to a new position",
14498
+ "deprecated": true,
14499
+ "summary": "Move a site section group to a new position. (Deprecated) use sortSiteStructure instead.",
14596
14500
  "tags": [
14597
14501
  "site-section-groups"
14598
14502
  ],
@@ -14652,7 +14556,8 @@
14652
14556
  "/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move": {
14653
14557
  "post": {
14654
14558
  "operationId": "moveSiteSection",
14655
- "summary": "Move a site section to a new position",
14559
+ "deprecated": true,
14560
+ "summary": "Move a site section to a new position. (Deprecated) use sortSiteStructure instead.",
14656
14561
  "tags": [
14657
14562
  "site-sections"
14658
14563
  ],
@@ -14712,7 +14617,8 @@
14712
14617
  "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move": {
14713
14618
  "post": {
14714
14619
  "operationId": "moveSiteSpace",
14715
- "summary": "Move a site space to a new position",
14620
+ "deprecated": true,
14621
+ "summary": "Move a site space to a new position. (Deprecated) use sortSiteStructure instead.",
14716
14622
  "tags": [
14717
14623
  "site-spaces"
14718
14624
  ],
@@ -15382,7 +15288,7 @@
15382
15288
  ],
15383
15289
  "security": [
15384
15290
  {
15385
- "user-internal": []
15291
+ "user-internal-or-staff": []
15386
15292
  }
15387
15293
  ],
15388
15294
  "parameters": [
@@ -15962,6 +15868,10 @@
15962
15868
  "type": "http",
15963
15869
  "scheme": "bearer"
15964
15870
  },
15871
+ "user-internal-or-staff": {
15872
+ "type": "http",
15873
+ "scheme": "bearer"
15874
+ },
15965
15875
  "integration": {
15966
15876
  "type": "http",
15967
15877
  "scheme": "bearer"
@@ -16082,6 +15992,15 @@
16082
15992
  ]
16083
15993
  }
16084
15994
  },
15995
+ "documentEvaluated": {
15996
+ "name": "evaluated",
15997
+ "in": "query",
15998
+ "description": "If `true` is passed, the document will be evaluated",
15999
+ "schema": {
16000
+ "type": "boolean",
16001
+ "default": false
16002
+ }
16003
+ },
16085
16004
  "pagePath": {
16086
16005
  "name": "pagePath",
16087
16006
  "in": "path",
@@ -16262,6 +16181,14 @@
16262
16181
  "$ref": "#/components/schemas/IntegrationScope"
16263
16182
  }
16264
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
+ },
16265
16192
  "integrationName": {
16266
16193
  "name": "integrationName",
16267
16194
  "in": "path",
@@ -16499,24 +16426,6 @@
16499
16426
  },
16500
16427
  "required": true
16501
16428
  },
16502
- "visitorId": {
16503
- "name": "visitorId",
16504
- "in": "path",
16505
- "required": true,
16506
- "description": "The id of the visitor",
16507
- "schema": {
16508
- "type": "string"
16509
- }
16510
- },
16511
- "ifUnmodifiedSince": {
16512
- "in": "header",
16513
- "name": "If-Unmodified-Since",
16514
- "description": "If provided, the operation will be rejected if the underlying resource has been modified since the date provided in the header.",
16515
- "schema": {
16516
- "type": "string",
16517
- "format": "date-time"
16518
- }
16519
- },
16520
16429
  "pageFormat": {
16521
16430
  "$ref": "#/components/parameters/documentFormat"
16522
16431
  },
@@ -18253,6 +18162,92 @@
18253
18162
  "isVoid"
18254
18163
  ]
18255
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
+ },
18208
+ "DocumentInlineExpression": {
18209
+ "type": "object",
18210
+ "properties": {
18211
+ "object": {
18212
+ "type": "string",
18213
+ "enum": [
18214
+ "inline"
18215
+ ]
18216
+ },
18217
+ "type": {
18218
+ "type": "string",
18219
+ "enum": [
18220
+ "expression"
18221
+ ]
18222
+ },
18223
+ "key": {
18224
+ "type": "string"
18225
+ },
18226
+ "data": {
18227
+ "type": "object",
18228
+ "properties": {
18229
+ "expression": {
18230
+ "type": "string"
18231
+ }
18232
+ },
18233
+ "required": [
18234
+ "expression"
18235
+ ]
18236
+ },
18237
+ "isVoid": {
18238
+ "type": "boolean",
18239
+ "enum": [
18240
+ true
18241
+ ]
18242
+ }
18243
+ },
18244
+ "required": [
18245
+ "object",
18246
+ "type",
18247
+ "data",
18248
+ "isVoid"
18249
+ ]
18250
+ },
18256
18251
  "DocumentInlineMath": {
18257
18252
  "type": "object",
18258
18253
  "properties": {
@@ -18353,6 +18348,12 @@
18353
18348
  {
18354
18349
  "$ref": "#/components/schemas/DocumentInlineEmoji"
18355
18350
  },
18351
+ {
18352
+ "$ref": "#/components/schemas/DocumentInlineIcon"
18353
+ },
18354
+ {
18355
+ "$ref": "#/components/schemas/DocumentInlineExpression"
18356
+ },
18356
18357
  {
18357
18358
  "$ref": "#/components/schemas/DocumentInlineMath"
18358
18359
  },
@@ -18570,6 +18571,9 @@
18570
18571
  },
18571
18572
  {
18572
18573
  "$ref": "#/components/schemas/DocumentInlineAnnotation"
18574
+ },
18575
+ {
18576
+ "$ref": "#/components/schemas/DocumentInlineExpression"
18573
18577
  }
18574
18578
  ]
18575
18579
  }
@@ -21419,6 +21423,9 @@
21419
21423
  "cover": {
21420
21424
  "$ref": "#/components/schemas/RevisionPageDocumentCover"
21421
21425
  },
21426
+ "variables": {
21427
+ "$ref": "#/components/schemas/Variables"
21428
+ },
21422
21429
  "hidden": {
21423
21430
  "type": "boolean",
21424
21431
  "description": "If true, the page is not displayed in the navigation, while still being accessible.",
@@ -22038,13 +22045,34 @@
22038
22045
  },
22039
22046
  "yPos": {
22040
22047
  "description": "Vertical position of the cover image.",
22041
- "type": "number"
22048
+ "type": "number",
22049
+ "default": 0
22042
22050
  }
22043
22051
  },
22044
22052
  "required": [
22045
22053
  "yPos"
22046
22054
  ]
22047
22055
  },
22056
+ "VariableValue": {
22057
+ "oneOf": [
22058
+ {
22059
+ "type": "string",
22060
+ "maxLength": 256
22061
+ },
22062
+ {
22063
+ "type": "number"
22064
+ },
22065
+ {
22066
+ "type": "boolean"
22067
+ }
22068
+ ]
22069
+ },
22070
+ "Variables": {
22071
+ "type": "object",
22072
+ "additionalProperties": {
22073
+ "$ref": "#/components/schemas/VariableValue"
22074
+ }
22075
+ },
22048
22076
  "ComputedContentSourceDocumentOpenAPI": {
22049
22077
  "allOf": [
22050
22078
  {
@@ -22368,6 +22396,9 @@
22368
22396
  "$ref": "#/components/schemas/RevisionReusableContent"
22369
22397
  }
22370
22398
  },
22399
+ "variables": {
22400
+ "$ref": "#/components/schemas/Variables"
22401
+ },
22371
22402
  "createdAt": {
22372
22403
  "description": "When the revision was created.",
22373
22404
  "$ref": "#/components/schemas/Timestamp"
@@ -24366,57 +24397,14 @@
24366
24397
  }
24367
24398
  }
24368
24399
  },
24369
- "CustomFieldValue": {
24370
- "oneOf": [
24371
- {
24372
- "type": "string",
24373
- "maxLength": 256
24374
- },
24375
- {
24376
- "type": "number"
24377
- },
24378
- {
24379
- "type": "boolean"
24380
- },
24381
- {
24382
- "type": "array",
24383
- "items": {
24384
- "type": "string",
24385
- "maxLength": 256
24386
- }
24387
- }
24388
- ]
24389
- },
24390
- "ChangeAttributeCustomFields": {
24400
+ "ChangeAttributeVariables": {
24391
24401
  "type": "object",
24392
24402
  "properties": {
24393
24403
  "before": {
24394
- "type": "object",
24395
- "additionalProperties": {
24396
- "type": "object",
24397
- "properties": {
24398
- "value": {
24399
- "$ref": "#/components/schemas/CustomFieldValue"
24400
- }
24401
- },
24402
- "required": [
24403
- "value"
24404
- ]
24405
- }
24404
+ "$ref": "#/components/schemas/Variables"
24406
24405
  },
24407
24406
  "after": {
24408
- "type": "object",
24409
- "additionalProperties": {
24410
- "type": "object",
24411
- "properties": {
24412
- "value": {
24413
- "$ref": "#/components/schemas/CustomFieldValue"
24414
- }
24415
- },
24416
- "required": [
24417
- "value"
24418
- ]
24419
- }
24407
+ "$ref": "#/components/schemas/Variables"
24420
24408
  }
24421
24409
  }
24422
24410
  },
@@ -24445,8 +24433,8 @@
24445
24433
  "layout": {
24446
24434
  "$ref": "#/components/schemas/ChangeAttributeRevisionPageLayout"
24447
24435
  },
24448
- "customFields": {
24449
- "$ref": "#/components/schemas/ChangeAttributeCustomFields"
24436
+ "variables": {
24437
+ "$ref": "#/components/schemas/ChangeAttributeVariables"
24450
24438
  }
24451
24439
  }
24452
24440
  },
@@ -24462,9 +24450,6 @@
24462
24450
  },
24463
24451
  "slug": {
24464
24452
  "$ref": "#/components/schemas/ChangeAttributeString"
24465
- },
24466
- "customFields": {
24467
- "$ref": "#/components/schemas/ChangeAttributeCustomFields"
24468
24453
  }
24469
24454
  }
24470
24455
  },
@@ -24491,9 +24476,6 @@
24491
24476
  },
24492
24477
  "target": {
24493
24478
  "$ref": "#/components/schemas/ChangeAttributeContentReference"
24494
- },
24495
- "customFields": {
24496
- "$ref": "#/components/schemas/ChangeAttributeCustomFields"
24497
24479
  }
24498
24480
  }
24499
24481
  },
@@ -24716,22 +24698,36 @@
24716
24698
  "file"
24717
24699
  ]
24718
24700
  },
24719
- "RevisionSemanticChangeCustomFieldsEdited": {
24701
+ "ChangeAttributeVariable": {
24702
+ "type": "object",
24703
+ "properties": {
24704
+ "before": {
24705
+ "$ref": "#/components/schemas/VariableValue"
24706
+ },
24707
+ "after": {
24708
+ "$ref": "#/components/schemas/VariableValue"
24709
+ }
24710
+ }
24711
+ },
24712
+ "RevisionSemanticChangeVariablesEdited": {
24720
24713
  "type": "object",
24721
24714
  "properties": {
24722
24715
  "type": {
24723
24716
  "type": "string",
24724
24717
  "enum": [
24725
- "custom_fields_edited"
24718
+ "variables_edited"
24726
24719
  ]
24727
24720
  },
24728
- "customFields": {
24729
- "$ref": "#/components/schemas/ChangeAttributeCustomFields"
24721
+ "variables": {
24722
+ "type": "object",
24723
+ "additionalProperties": {
24724
+ "$ref": "#/components/schemas/ChangeAttributeVariable"
24725
+ }
24730
24726
  }
24731
24727
  },
24732
24728
  "required": [
24733
24729
  "type",
24734
- "customFields"
24730
+ "variables"
24735
24731
  ]
24736
24732
  },
24737
24733
  "ChangedRevisionReusableContent": {
@@ -24846,7 +24842,7 @@
24846
24842
  "$ref": "#/components/schemas/RevisionSemanticChangeFileDeleted"
24847
24843
  },
24848
24844
  {
24849
- "$ref": "#/components/schemas/RevisionSemanticChangeCustomFieldsEdited"
24845
+ "$ref": "#/components/schemas/RevisionSemanticChangeVariablesEdited"
24850
24846
  },
24851
24847
  {
24852
24848
  "$ref": "#/components/schemas/RevisionSemanticChangeReusableContentCreated"
@@ -25553,161 +25549,6 @@
25553
25549
  "cookies"
25554
25550
  ]
25555
25551
  },
25556
- "CustomFieldName": {
25557
- "type": "string",
25558
- "pattern": "^[a-z_\\-0-9]+$",
25559
- "minLength": 1,
25560
- "maxLength": 50
25561
- },
25562
- "CustomFieldTitle": {
25563
- "type": "string",
25564
- "maxLength": 100
25565
- },
25566
- "CustomFieldDescription": {
25567
- "type": "string",
25568
- "maxLength": 200
25569
- },
25570
- "CustomFieldType": {
25571
- "type": "string",
25572
- "enum": [
25573
- "text",
25574
- "number",
25575
- "boolean",
25576
- "tags",
25577
- "select:multi",
25578
- "select:single"
25579
- ]
25580
- },
25581
- "CustomFieldPlaceholder": {
25582
- "type": "string",
25583
- "maxLength": 100
25584
- },
25585
- "CustomFieldOptions": {
25586
- "type": "array",
25587
- "minItems": 1,
25588
- "maxItems": 50,
25589
- "items": {
25590
- "type": "string",
25591
- "minLength": 1,
25592
- "maxLength": 40
25593
- }
25594
- },
25595
- "CustomField": {
25596
- "type": "object",
25597
- "description": "Custom field",
25598
- "properties": {
25599
- "id": {
25600
- "type": "string"
25601
- },
25602
- "name": {
25603
- "$ref": "#/components/schemas/CustomFieldName"
25604
- },
25605
- "title": {
25606
- "$ref": "#/components/schemas/CustomFieldTitle"
25607
- },
25608
- "description": {
25609
- "$ref": "#/components/schemas/CustomFieldDescription"
25610
- },
25611
- "type": {
25612
- "$ref": "#/components/schemas/CustomFieldType"
25613
- },
25614
- "placeholder": {
25615
- "$ref": "#/components/schemas/CustomFieldPlaceholder"
25616
- },
25617
- "options": {
25618
- "$ref": "#/components/schemas/CustomFieldOptions"
25619
- },
25620
- "createdAt": {
25621
- "$ref": "#/components/schemas/Timestamp"
25622
- },
25623
- "updatedAt": {
25624
- "$ref": "#/components/schemas/Timestamp"
25625
- },
25626
- "urls": {
25627
- "type": "object",
25628
- "description": "URLs associated with the object",
25629
- "properties": {
25630
- "location": {
25631
- "type": "string",
25632
- "description": "URL of the custom field in the API",
25633
- "format": "uri"
25634
- }
25635
- },
25636
- "required": [
25637
- "location"
25638
- ]
25639
- },
25640
- "permissions": {
25641
- "type": "object",
25642
- "properties": {
25643
- "view": {
25644
- "type": "boolean",
25645
- "description": "Whether the user can view the object"
25646
- },
25647
- "edit": {
25648
- "type": "boolean",
25649
- "description": "Whether the user can edit the object"
25650
- }
25651
- },
25652
- "required": [
25653
- "view",
25654
- "edit"
25655
- ]
25656
- }
25657
- },
25658
- "required": [
25659
- "id",
25660
- "name",
25661
- "title",
25662
- "description",
25663
- "placeholder",
25664
- "type",
25665
- "createdAt",
25666
- "updatedAt",
25667
- "urls"
25668
- ]
25669
- },
25670
- "CustomFieldValues": {
25671
- "type": "array",
25672
- "items": {
25673
- "type": "object",
25674
- "properties": {
25675
- "customField": {
25676
- "$ref": "#/components/schemas/CustomField"
25677
- },
25678
- "value": {
25679
- "$ref": "#/components/schemas/CustomFieldValue"
25680
- }
25681
- },
25682
- "required": [
25683
- "customField"
25684
- ]
25685
- }
25686
- },
25687
- "UpdateCustomFieldValues": {
25688
- "type": "object",
25689
- "properties": {
25690
- "values": {
25691
- "type": "object",
25692
- "additionalProperties": {
25693
- "type": "object",
25694
- "maxProperties": 100,
25695
- "minProperties": 1,
25696
- "properties": {
25697
- "value": {
25698
- "$ref": "#/components/schemas/CustomFieldValue"
25699
- }
25700
- },
25701
- "required": [
25702
- "value"
25703
- ]
25704
- }
25705
- }
25706
- },
25707
- "required": [
25708
- "values"
25709
- ]
25710
- },
25711
25552
  "IntegrationSecrets": {
25712
25553
  "type": "object",
25713
25554
  "description": "Secrets stored on the integration and passed at runtime.",
@@ -27376,6 +27217,39 @@
27376
27217
  "included"
27377
27218
  ]
27378
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
+ },
27379
27253
  "SiteCustomizationFeature": {
27380
27254
  "type": "string",
27381
27255
  "description": "A list of all premium customizations.",
@@ -27391,75 +27265,31 @@
27391
27265
  ]
27392
27266
  },
27393
27267
  "SiteFeature": {
27394
- "oneOf": [
27395
- {
27396
- "type": "object",
27397
- "description": "A site feature and the plan it is available on.",
27398
- "properties": {
27399
- "id": {
27400
- "description": "The feature identifier, matching the feature table keys in the pricing definition",
27401
- "type": "string",
27402
- "enum": [
27403
- "sites-sections",
27404
- "sites-visitor-authentication",
27405
- "sites-adaptive-content",
27406
- "sites-redirects",
27407
- "sites-custom-domain",
27408
- "sites-ai-search",
27409
- "sites-pdf-export",
27410
- "sites-page-feedback",
27411
- "sites-unlisted-visibility",
27412
- "sites-share-links",
27413
- "sites-custom-fonts"
27414
- ]
27415
- },
27416
- "plan": {
27417
- "$ref": "#/components/schemas/SiteType"
27418
- },
27419
- "frozen": {
27420
- "description": "A frozen feature is still enabled but cannot be changed or modified.",
27421
- "type": "boolean"
27422
- }
27423
- },
27424
- "required": [
27425
- "id",
27426
- "plan",
27427
- "frozen"
27428
- ]
27268
+ "type": "object",
27269
+ "description": "A site feature and the plan it is available on.",
27270
+ "properties": {
27271
+ "id": {
27272
+ "$ref": "#/components/schemas/SiteFeatureKey"
27429
27273
  },
27430
- {
27431
- "type": "object",
27432
- "description": "The advanced customizations feature, carrying also which individual customization are used",
27433
- "properties": {
27434
- "id": {
27435
- "description": "The feature identifier, always set to `sites-advanced-customization`",
27436
- "type": "string",
27437
- "enum": [
27438
- "sites-advanced-customization"
27439
- ]
27440
- },
27441
- "plan": {
27442
- "$ref": "#/components/schemas/SiteType"
27443
- },
27444
- "frozen": {
27445
- "description": "A frozen feature is still enabled but cannot be changed or modified.",
27446
- "type": "boolean"
27447
- },
27448
- "customizations": {
27449
- "description": "A list of the actual advanced customizations used",
27450
- "type": "array",
27451
- "items": {
27452
- "$ref": "#/components/schemas/SiteCustomizationFeature"
27453
- }
27454
- }
27455
- },
27456
- "required": [
27457
- "id",
27458
- "plan",
27459
- "frozen",
27460
- "customizations"
27461
- ]
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
+ }
27462
27287
  }
27288
+ },
27289
+ "required": [
27290
+ "id",
27291
+ "plan",
27292
+ "frozen"
27463
27293
  ]
27464
27294
  },
27465
27295
  "Site": {
@@ -31538,29 +31368,6 @@
31538
31368
  "required": [
31539
31369
  "type"
31540
31370
  ]
31541
- },
31542
- {
31543
- "type": "object",
31544
- "properties": {
31545
- "type": {
31546
- "description": "User needs to go through the legacy upgrade flow.",
31547
- "type": "string",
31548
- "enum": [
31549
- "legacy-upgrade"
31550
- ]
31551
- },
31552
- "plan": {
31553
- "description": "The plan the user must upgrade to.",
31554
- "$ref": "#/components/schemas/BillingProduct"
31555
- },
31556
- "invoice": {
31557
- "$ref": "#/components/schemas/BillingInvoicePreview"
31558
- }
31559
- },
31560
- "required": [
31561
- "type",
31562
- "plan"
31563
- ]
31564
31371
  }
31565
31372
  ]
31566
31373
  },
@@ -31746,6 +31553,24 @@
31746
31553
  "updatedAt"
31747
31554
  ]
31748
31555
  },
31556
+ "SiteAdaptiveTemplateCondition": {
31557
+ "type": "object",
31558
+ "description": "A template condition based on the site visitor schema.",
31559
+ "properties": {
31560
+ "description": {
31561
+ "type": "string",
31562
+ "description": "A short description of the suggested condition."
31563
+ },
31564
+ "condition": {
31565
+ "type": "string",
31566
+ "description": "The suggested condition."
31567
+ }
31568
+ },
31569
+ "required": [
31570
+ "description",
31571
+ "condition"
31572
+ ]
31573
+ },
31749
31574
  "CustomizationTheme": {
31750
31575
  "type": "string",
31751
31576
  "description": "The theme to apply to the site. Supercedes the old header preset themes.\n- `clean`: Modern theme featuring translucency and minimally-styled elements.\n- `muted`: Sophisticated theme with decreased contrast between elements.\n- `bold`: High-impact theme with prominent colors and strong contrasts.\n- `gradient`: Trendy theme featuring colorful gradients and splashes of color.\n",
@@ -32475,6 +32300,73 @@
32475
32300
  "urls"
32476
32301
  ]
32477
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
+ },
32478
32370
  "SitePublishingAuth": {
32479
32371
  "allOf": [
32480
32372
  {
@@ -36766,24 +36658,6 @@
36766
36658
  }
36767
36659
  }
36768
36660
  },
36769
- "TriggerContentIndexingContext": {
36770
- "type": "object",
36771
- "description": "The context to send when triggering a content indexing.",
36772
- "properties": {
36773
- "spaceId": {
36774
- "type": "string",
36775
- "description": "The unique identifier of the Space to index."
36776
- },
36777
- "force": {
36778
- "type": "boolean",
36779
- "description": "Whether to force a complete re-indexing of the Space."
36780
- }
36781
- },
36782
- "required": [
36783
- "spaceId",
36784
- "force"
36785
- ]
36786
- },
36787
36661
  "GitBookUsers": {
36788
36662
  "type": "string",
36789
36663
  "description": "Predefined GitBook user identifiers",
@@ -36791,36 +36665,6 @@
36791
36665
  "gitbook:agent"
36792
36666
  ]
36793
36667
  },
36794
- "ContentPublishingAuth": {
36795
- "type": "object",
36796
- "properties": {
36797
- "object": {
36798
- "type": "string",
36799
- "description": "Type of Object, always equals to \"publishing-auth\"",
36800
- "enum": [
36801
- "publishing-auth"
36802
- ]
36803
- },
36804
- "id": {
36805
- "type": "string",
36806
- "description": "Unique identifier for the content."
36807
- },
36808
- "privateKey": {
36809
- "type": "string",
36810
- "description": "Private key used to sign JWT tokens."
36811
- },
36812
- "fallbackURL": {
36813
- "type": "string",
36814
- "format": "uri",
36815
- "description": "URL to redirect to when the visitor auth secret is invalid."
36816
- }
36817
- },
36818
- "required": [
36819
- "object",
36820
- "id",
36821
- "privateKey"
36822
- ]
36823
- },
36824
36668
  "ComputedContentSource": {
36825
36669
  "oneOf": [
36826
36670
  {
@@ -37162,22 +37006,6 @@
37162
37006
  "updatedAt"
37163
37007
  ]
37164
37008
  },
37165
- "OrganizationTransferResponse": {
37166
- "type": "object",
37167
- "required": [
37168
- "collection"
37169
- ],
37170
- "properties": {
37171
- "collection": {
37172
- "type": "string",
37173
- "description": "The unique id of the collection created in the target organization containing the content of the source organization."
37174
- },
37175
- "newSourceHostname": {
37176
- "type": "string",
37177
- "description": "The new hostname if the source organization needed to change hostname."
37178
- }
37179
- }
37180
- },
37181
37009
  "IntegrationEnvironmentSpaceInstallation": {
37182
37010
  "allOf": [
37183
37011
  {
@@ -37574,24 +37402,6 @@
37574
37402
  "space"
37575
37403
  ]
37576
37404
  },
37577
- "SpaceCustomFieldsChannel": {
37578
- "type": "object",
37579
- "properties": {
37580
- "channel": {
37581
- "type": "string",
37582
- "enum": [
37583
- "space-customfields"
37584
- ]
37585
- },
37586
- "space": {
37587
- "type": "string"
37588
- }
37589
- },
37590
- "required": [
37591
- "channel",
37592
- "space"
37593
- ]
37594
- },
37595
37405
  "SpaceContentRefsChannel": {
37596
37406
  "type": "object",
37597
37407
  "properties": {
@@ -37628,24 +37438,6 @@
37628
37438
  "space"
37629
37439
  ]
37630
37440
  },
37631
- "OrganizationCustomFieldsChannel": {
37632
- "type": "object",
37633
- "properties": {
37634
- "channel": {
37635
- "type": "string",
37636
- "enum": [
37637
- "organization-customfields"
37638
- ]
37639
- },
37640
- "organization": {
37641
- "type": "string"
37642
- }
37643
- },
37644
- "required": [
37645
- "channel",
37646
- "organization"
37647
- ]
37648
- },
37649
37441
  "UserAPITokensChannel": {
37650
37442
  "type": "object",
37651
37443
  "properties": {
@@ -38840,18 +38632,12 @@
38840
38632
  {
38841
38633
  "$ref": "#/components/schemas/SpacePublishingCustomizationChannel"
38842
38634
  },
38843
- {
38844
- "$ref": "#/components/schemas/SpaceCustomFieldsChannel"
38845
- },
38846
38635
  {
38847
38636
  "$ref": "#/components/schemas/SpaceContentRefsChannel"
38848
38637
  },
38849
38638
  {
38850
38639
  "$ref": "#/components/schemas/SpaceIntegrationsChannel"
38851
38640
  },
38852
- {
38853
- "$ref": "#/components/schemas/OrganizationCustomFieldsChannel"
38854
- },
38855
38641
  {
38856
38642
  "$ref": "#/components/schemas/UserAPITokensChannel"
38857
38643
  },
@@ -39194,229 +38980,6 @@
39194
38980
  "propertyName": "channel"
39195
38981
  }
39196
38982
  },
39197
- "CustomizationSettings": {
39198
- "type": "object",
39199
- "properties": {
39200
- "inherit": {
39201
- "type": "boolean",
39202
- "description": "Inherit customization settings from the parent collection."
39203
- },
39204
- "title": {
39205
- "type": "string",
39206
- "description": "Title to use for the published content. If not defined, it'll fallback to the content title."
39207
- },
39208
- "styling": {
39209
- "type": "object",
39210
- "properties": {
39211
- "primaryColor": {
39212
- "$ref": "#/components/schemas/CustomizationThemedColor"
39213
- },
39214
- "corners": {
39215
- "$ref": "#/components/schemas/CustomizationCorners"
39216
- },
39217
- "font": {
39218
- "$ref": "#/components/schemas/CustomizationDefaultFont"
39219
- },
39220
- "background": {
39221
- "$ref": "#/components/schemas/CustomizationBackground"
39222
- }
39223
- },
39224
- "required": [
39225
- "primaryColor",
39226
- "corners",
39227
- "font"
39228
- ]
39229
- },
39230
- "internationalization": {
39231
- "type": "object",
39232
- "properties": {
39233
- "locale": {
39234
- "$ref": "#/components/schemas/CustomizationLocale"
39235
- },
39236
- "inherit": {
39237
- "type": "boolean",
39238
- "description": "Inherit locale from the parent collection."
39239
- }
39240
- },
39241
- "required": [
39242
- "locale",
39243
- "inherit"
39244
- ]
39245
- },
39246
- "favicon": {
39247
- "$ref": "#/components/schemas/CustomizationFavicon"
39248
- },
39249
- "header": {
39250
- "type": "object",
39251
- "properties": {
39252
- "preset": {
39253
- "$ref": "#/components/schemas/CustomizationHeaderPreset"
39254
- },
39255
- "logo": {
39256
- "$ref": "#/components/schemas/CustomizationThemedURL"
39257
- },
39258
- "backgroundColor": {
39259
- "$ref": "#/components/schemas/CustomizationThemedColor"
39260
- },
39261
- "linkColor": {
39262
- "$ref": "#/components/schemas/CustomizationThemedColor"
39263
- },
39264
- "links": {
39265
- "type": "array",
39266
- "items": {
39267
- "$ref": "#/components/schemas/CustomizationHeaderItem"
39268
- }
39269
- }
39270
- },
39271
- "required": [
39272
- "preset",
39273
- "links"
39274
- ]
39275
- },
39276
- "footer": {
39277
- "type": "object",
39278
- "properties": {
39279
- "logo": {
39280
- "$ref": "#/components/schemas/CustomizationThemedURL"
39281
- },
39282
- "groups": {
39283
- "type": "array",
39284
- "items": {
39285
- "$ref": "#/components/schemas/CustomizationFooterGroup"
39286
- }
39287
- },
39288
- "copyright": {
39289
- "type": "string",
39290
- "maxLength": 300
39291
- }
39292
- },
39293
- "required": [
39294
- "groups"
39295
- ]
39296
- },
39297
- "themes": {
39298
- "type": "object",
39299
- "properties": {
39300
- "default": {
39301
- "$ref": "#/components/schemas/CustomizationThemeMode"
39302
- },
39303
- "toggeable": {
39304
- "description": "Should the reader be able to switch between dark and light mode",
39305
- "type": "boolean"
39306
- }
39307
- },
39308
- "required": [
39309
- "default",
39310
- "toggeable"
39311
- ]
39312
- },
39313
- "pdf": {
39314
- "type": "object",
39315
- "properties": {
39316
- "enabled": {
39317
- "type": "boolean",
39318
- "description": "If true, PDF export is enabled for the published content."
39319
- }
39320
- },
39321
- "required": [
39322
- "enabled"
39323
- ]
39324
- },
39325
- "feedback": {
39326
- "type": "object",
39327
- "properties": {
39328
- "enabled": {
39329
- "type": "boolean",
39330
- "description": "If true, feedback gathering is enabled"
39331
- }
39332
- },
39333
- "required": [
39334
- "enabled"
39335
- ]
39336
- },
39337
- "aiSearch": {
39338
- "type": "object",
39339
- "properties": {
39340
- "enabled": {
39341
- "type": "boolean",
39342
- "description": "If true, AI search is enabled"
39343
- }
39344
- },
39345
- "required": [
39346
- "enabled"
39347
- ]
39348
- },
39349
- "git": {
39350
- "type": "object",
39351
- "properties": {
39352
- "showEditLink": {
39353
- "type": "boolean",
39354
- "description": "Whether the public content should show a link to edit the content on the git provider set up in the GitSync"
39355
- }
39356
- },
39357
- "required": [
39358
- "showEditLink"
39359
- ]
39360
- },
39361
- "pagination": {
39362
- "type": "object",
39363
- "properties": {
39364
- "enabled": {
39365
- "type": "boolean",
39366
- "description": "Whether the pagination navigation should be displayed on pages."
39367
- }
39368
- },
39369
- "required": [
39370
- "enabled"
39371
- ]
39372
- },
39373
- "trademark": {
39374
- "type": "object",
39375
- "properties": {
39376
- "enabled": {
39377
- "type": "boolean",
39378
- "description": "Whether the GitBook trademark (\"Powered by GitBook\") should be visible"
39379
- }
39380
- },
39381
- "required": [
39382
- "enabled"
39383
- ]
39384
- },
39385
- "privacyPolicy": {
39386
- "type": "object",
39387
- "properties": {
39388
- "url": {
39389
- "$ref": "#/components/schemas/URL"
39390
- }
39391
- }
39392
- },
39393
- "socialPreview": {
39394
- "type": "object",
39395
- "properties": {
39396
- "url": {
39397
- "$ref": "#/components/schemas/URL"
39398
- }
39399
- }
39400
- }
39401
- },
39402
- "required": [
39403
- "inherit",
39404
- "styling",
39405
- "internationalization",
39406
- "favicon",
39407
- "header",
39408
- "footer",
39409
- "themes",
39410
- "pdf",
39411
- "feedback",
39412
- "aiSearch",
39413
- "trademark",
39414
- "pagination",
39415
- "git",
39416
- "privacyPolicy",
39417
- "socialPreview"
39418
- ]
39419
- },
39420
38983
  "SiteAdsStatus": {
39421
38984
  "type": "string",
39422
38985
  "description": "The status of ads on the site",