@gitbook/api 0.119.0 → 0.120.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.yaml CHANGED
@@ -370,16 +370,6 @@ tags:
370
370
  {% openapi-schemas spec="gitbook" schemas="CustomizationFontDefinition" grouped="false" %}
371
371
  The CustomizationFontDefinition object
372
372
  {% 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
373
  - name: billing
384
374
  x-page-icon: credit-card
385
375
  x-page-title: Billing
@@ -1230,6 +1220,7 @@ paths:
1230
1220
  - $ref: "#/components/parameters/spaceId"
1231
1221
  - $ref: "#/components/parameters/pageId"
1232
1222
  - $ref: "#/components/parameters/documentFormat"
1223
+ - $ref: "#/components/parameters/documentEvaluated"
1233
1224
  - $ref: "#/components/parameters/revisionMetadata"
1234
1225
  - $ref: "#/components/parameters/revisionComputed"
1235
1226
  responses:
@@ -1347,6 +1338,7 @@ paths:
1347
1338
  - $ref: "#/components/parameters/spaceId"
1348
1339
  - $ref: "#/components/parameters/pagePath"
1349
1340
  - $ref: "#/components/parameters/documentFormat"
1341
+ - $ref: "#/components/parameters/documentEvaluated"
1350
1342
  - $ref: "#/components/parameters/revisionMetadata"
1351
1343
  - $ref: "#/components/parameters/revisionComputed"
1352
1344
  responses:
@@ -2289,6 +2281,7 @@ paths:
2289
2281
  - $ref: "#/components/parameters/changeRequestId"
2290
2282
  - $ref: "#/components/parameters/pageId"
2291
2283
  - $ref: "#/components/parameters/documentFormat"
2284
+ - $ref: "#/components/parameters/documentEvaluated"
2292
2285
  - $ref: "#/components/parameters/revisionMetadata"
2293
2286
  - $ref: "#/components/parameters/revisionComputed"
2294
2287
  responses:
@@ -2405,6 +2398,7 @@ paths:
2405
2398
  - $ref: "#/components/parameters/changeRequestId"
2406
2399
  - $ref: "#/components/parameters/pagePath"
2407
2400
  - $ref: "#/components/parameters/documentFormat"
2401
+ - $ref: "#/components/parameters/documentEvaluated"
2408
2402
  - $ref: "#/components/parameters/revisionMetadata"
2409
2403
  - $ref: "#/components/parameters/revisionComputed"
2410
2404
  responses:
@@ -2610,6 +2604,7 @@ paths:
2610
2604
  - $ref: "#/components/parameters/revisionId"
2611
2605
  - $ref: "#/components/parameters/pageId"
2612
2606
  - $ref: "#/components/parameters/documentFormat"
2607
+ - $ref: "#/components/parameters/documentEvaluated"
2613
2608
  - $ref: "#/components/parameters/revisionMetadata"
2614
2609
  - $ref: "#/components/parameters/revisionComputed"
2615
2610
  responses:
@@ -2619,6 +2614,26 @@ paths:
2619
2614
  application/json:
2620
2615
  schema:
2621
2616
  $ref: "#/components/schemas/RevisionPage"
2617
+ "/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document":
2618
+ get:
2619
+ operationId: getPageDocumentInRevisionById
2620
+ summary: Get the document of a page in a revision
2621
+ tags:
2622
+ - space-content
2623
+ security:
2624
+ - user: []
2625
+ parameters:
2626
+ - $ref: "#/components/parameters/spaceId"
2627
+ - $ref: "#/components/parameters/revisionId"
2628
+ - $ref: "#/components/parameters/pageId"
2629
+ - $ref: "#/components/parameters/documentEvaluated"
2630
+ responses:
2631
+ "200":
2632
+ description: OK
2633
+ content:
2634
+ application/json:
2635
+ schema:
2636
+ $ref: "#/components/schemas/JSONDocument"
2622
2637
  "/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}":
2623
2638
  get:
2624
2639
  operationId: getPageInRevisionByPath
@@ -2632,6 +2647,7 @@ paths:
2632
2647
  - $ref: "#/components/parameters/revisionId"
2633
2648
  - $ref: "#/components/parameters/pagePath"
2634
2649
  - $ref: "#/components/parameters/documentFormat"
2650
+ - $ref: "#/components/parameters/documentEvaluated"
2635
2651
  - $ref: "#/components/parameters/revisionMetadata"
2636
2652
  - $ref: "#/components/parameters/revisionComputed"
2637
2653
  responses:
@@ -3045,41 +3061,6 @@ paths:
3045
3061
  $ref: "#/components/schemas/SpaceIntegrationScript"
3046
3062
  "400":
3047
3063
  $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
3064
  "/spaces/{spaceId}/pdf":
3084
3065
  get:
3085
3066
  operationId: getSpacePDF
@@ -5163,158 +5144,6 @@ paths:
5163
5144
  application/json:
5164
5145
  schema:
5165
5146
  $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
5147
  "/orgs/{organizationId}/integrations":
5319
5148
  get:
5320
5149
  operationId: listOrganizationIntegrations
@@ -6875,6 +6704,29 @@ paths:
6875
6704
  $ref: "#/components/responses/BadRequestError"
6876
6705
  default:
6877
6706
  $ref: "#/components/responses/UnexpectedError"
6707
+ "/orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions":
6708
+ get:
6709
+ operationId: listSiteAdaptiveTemplateConditions
6710
+ summary: List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.
6711
+ tags:
6712
+ - sites
6713
+ parameters:
6714
+ - $ref: "#/components/parameters/organizationId"
6715
+ - $ref: "#/components/parameters/siteId"
6716
+ responses:
6717
+ "200":
6718
+ description: List of template conditions generated based on the site visitor schema.
6719
+ content:
6720
+ application/json:
6721
+ schema:
6722
+ type: object
6723
+ properties:
6724
+ items:
6725
+ type: array
6726
+ items:
6727
+ $ref: "#/components/schemas/SiteAdaptiveTemplateCondition"
6728
+ required:
6729
+ - items
6878
6730
  "/orgs/{organizationId}/sites/{siteId}/published":
6879
6731
  get:
6880
6732
  operationId: getPublishedContentSite
@@ -9129,6 +8981,13 @@ components:
9129
8981
  enum:
9130
8982
  - document
9131
8983
  - markdown
8984
+ documentEvaluated:
8985
+ name: evaluated
8986
+ in: query
8987
+ description: If `true` is passed, the document will be evaluated
8988
+ schema:
8989
+ type: boolean
8990
+ default: false
9132
8991
  pagePath:
9133
8992
  name: pagePath
9134
8993
  in: path
@@ -10657,6 +10516,35 @@ components:
10657
10516
  - type
10658
10517
  - data
10659
10518
  - isVoid
10519
+ DocumentInlineExpression:
10520
+ type: object
10521
+ properties:
10522
+ object:
10523
+ type: string
10524
+ enum:
10525
+ - inline
10526
+ type:
10527
+ type: string
10528
+ enum:
10529
+ - expression
10530
+ key:
10531
+ type: string
10532
+ data:
10533
+ type: object
10534
+ properties:
10535
+ expression:
10536
+ type: string
10537
+ required:
10538
+ - expression
10539
+ isVoid:
10540
+ type: boolean
10541
+ enum:
10542
+ - true
10543
+ required:
10544
+ - object
10545
+ - type
10546
+ - data
10547
+ - isVoid
10660
10548
  DocumentInlineMath:
10661
10549
  type: object
10662
10550
  properties:
@@ -10721,6 +10609,7 @@ components:
10721
10609
  oneOf:
10722
10610
  - $ref: "#/components/schemas/DocumentInlineLink"
10723
10611
  - $ref: "#/components/schemas/DocumentInlineEmoji"
10612
+ - $ref: "#/components/schemas/DocumentInlineExpression"
10724
10613
  - $ref: "#/components/schemas/DocumentInlineMath"
10725
10614
  - $ref: "#/components/schemas/DocumentInlineImage"
10726
10615
  - $ref: "#/components/schemas/DocumentInlineAnnotation"
@@ -12590,6 +12479,8 @@ components:
12590
12479
  $ref: "#/components/schemas/RevisionPageLayoutOptions"
12591
12480
  cover:
12592
12481
  $ref: "#/components/schemas/RevisionPageDocumentCover"
12482
+ variables:
12483
+ $ref: "#/components/schemas/Variables"
12593
12484
  hidden:
12594
12485
  type: boolean
12595
12486
  description: If true, the page is not displayed in the navigation, while still being accessible.
@@ -12991,8 +12882,19 @@ components:
12991
12882
  yPos:
12992
12883
  description: Vertical position of the cover image.
12993
12884
  type: number
12885
+ default: 0
12994
12886
  required:
12995
12887
  - yPos
12888
+ VariableValue:
12889
+ oneOf:
12890
+ - type: string
12891
+ maxLength: 256
12892
+ - type: number
12893
+ - type: boolean
12894
+ Variables:
12895
+ type: object
12896
+ additionalProperties:
12897
+ $ref: "#/components/schemas/VariableValue"
12996
12898
  ComputedContentSourceDocumentOpenAPI:
12997
12899
  allOf:
12998
12900
  - $ref: "#/components/schemas/ComputedContentSourceOpenAPIBase"
@@ -13195,6 +13097,8 @@ components:
13195
13097
  type: array
13196
13098
  items:
13197
13099
  $ref: "#/components/schemas/RevisionReusableContent"
13100
+ variables:
13101
+ $ref: "#/components/schemas/Variables"
13198
13102
  createdAt:
13199
13103
  description: When the revision was created.
13200
13104
  $ref: "#/components/schemas/Timestamp"
@@ -14587,37 +14491,13 @@ components:
14587
14491
  $ref: "#/components/schemas/RevisionPageLayout"
14588
14492
  after:
14589
14493
  $ref: "#/components/schemas/RevisionPageLayout"
14590
- CustomFieldValue:
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:
14494
+ ChangeAttributeVariables:
14601
14495
  type: object
14602
14496
  properties:
14603
14497
  before:
14604
- type: object
14605
- additionalProperties:
14606
- type: object
14607
- properties:
14608
- value:
14609
- $ref: "#/components/schemas/CustomFieldValue"
14610
- required:
14611
- - value
14498
+ $ref: "#/components/schemas/Variables"
14612
14499
  after:
14613
- type: object
14614
- additionalProperties:
14615
- type: object
14616
- properties:
14617
- value:
14618
- $ref: "#/components/schemas/CustomFieldValue"
14619
- required:
14620
- - value
14500
+ $ref: "#/components/schemas/Variables"
14621
14501
  RevisionPageDocumentChangeAttributes:
14622
14502
  type: object
14623
14503
  minProperties: 1
@@ -14636,8 +14516,8 @@ components:
14636
14516
  $ref: "#/components/schemas/ChangeAttributeString"
14637
14517
  layout:
14638
14518
  $ref: "#/components/schemas/ChangeAttributeRevisionPageLayout"
14639
- customFields:
14640
- $ref: "#/components/schemas/ChangeAttributeCustomFields"
14519
+ variables:
14520
+ $ref: "#/components/schemas/ChangeAttributeVariables"
14641
14521
  RevisionPageGroupChangeAttributes:
14642
14522
  type: object
14643
14523
  minProperties: 1
@@ -14648,8 +14528,6 @@ components:
14648
14528
  $ref: "#/components/schemas/ChangeAttributeString"
14649
14529
  slug:
14650
14530
  $ref: "#/components/schemas/ChangeAttributeString"
14651
- customFields:
14652
- $ref: "#/components/schemas/ChangeAttributeCustomFields"
14653
14531
  ChangeAttributeContentReference:
14654
14532
  type: object
14655
14533
  properties:
@@ -14667,8 +14545,6 @@ components:
14667
14545
  $ref: "#/components/schemas/ChangeAttributeString"
14668
14546
  target:
14669
14547
  $ref: "#/components/schemas/ChangeAttributeContentReference"
14670
- customFields:
14671
- $ref: "#/components/schemas/ChangeAttributeCustomFields"
14672
14548
  RevisionSemanticChangePageEdited:
14673
14549
  type: object
14674
14550
  properties:
@@ -14812,18 +14688,27 @@ components:
14812
14688
  required:
14813
14689
  - type
14814
14690
  - file
14815
- RevisionSemanticChangeCustomFieldsEdited:
14691
+ ChangeAttributeVariable:
14692
+ type: object
14693
+ properties:
14694
+ before:
14695
+ $ref: "#/components/schemas/VariableValue"
14696
+ after:
14697
+ $ref: "#/components/schemas/VariableValue"
14698
+ RevisionSemanticChangeVariablesEdited:
14816
14699
  type: object
14817
14700
  properties:
14818
14701
  type:
14819
14702
  type: string
14820
14703
  enum:
14821
- - custom_fields_edited
14822
- customFields:
14823
- $ref: "#/components/schemas/ChangeAttributeCustomFields"
14704
+ - variables_edited
14705
+ variables:
14706
+ type: object
14707
+ additionalProperties:
14708
+ $ref: "#/components/schemas/ChangeAttributeVariable"
14824
14709
  required:
14825
14710
  - type
14826
- - customFields
14711
+ - variables
14827
14712
  ChangedRevisionReusableContent:
14828
14713
  type: object
14829
14714
  properties:
@@ -14892,7 +14777,7 @@ components:
14892
14777
  - $ref: "#/components/schemas/RevisionSemanticChangeFileCreated"
14893
14778
  - $ref: "#/components/schemas/RevisionSemanticChangeFileEdited"
14894
14779
  - $ref: "#/components/schemas/RevisionSemanticChangeFileDeleted"
14895
- - $ref: "#/components/schemas/RevisionSemanticChangeCustomFieldsEdited"
14780
+ - $ref: "#/components/schemas/RevisionSemanticChangeVariablesEdited"
14896
14781
  - $ref: "#/components/schemas/RevisionSemanticChangeReusableContentCreated"
14897
14782
  - $ref: "#/components/schemas/RevisionSemanticChangeReusableContentDeleted"
14898
14783
  - $ref: "#/components/schemas/RevisionSemanticChangeReusableContentEdited"
@@ -15383,118 +15268,6 @@ components:
15383
15268
  required:
15384
15269
  - script
15385
15270
  - 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
15271
  IntegrationSecrets:
15499
15272
  type: object
15500
15273
  description: Secrets stored on the integration and passed at runtime.
@@ -19390,21 +19163,6 @@ components:
19390
19163
  $ref: "#/components/schemas/BillingInvoicePreview"
19391
19164
  required:
19392
19165
  - 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
19166
  SiteAdaptiveJSONSchemaClaimsProperties:
19409
19167
  oneOf:
19410
19168
  - type: object
@@ -19527,6 +19285,19 @@ components:
19527
19285
  - object
19528
19286
  - jsonSchema
19529
19287
  - updatedAt
19288
+ SiteAdaptiveTemplateCondition:
19289
+ type: object
19290
+ description: A template condition based on the site visitor schema.
19291
+ properties:
19292
+ description:
19293
+ type: string
19294
+ description: A short description of the suggested condition.
19295
+ condition:
19296
+ type: string
19297
+ description: The suggested condition.
19298
+ required:
19299
+ - description
19300
+ - condition
19530
19301
  CustomizationTheme:
19531
19302
  type: string
19532
19303
  description: |
@@ -23392,18 +23163,6 @@ components:
23392
23163
  required:
23393
23164
  - channel
23394
23165
  - 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
23166
  SpaceContentRefsChannel:
23408
23167
  type: object
23409
23168
  properties:
@@ -23428,18 +23187,6 @@ components:
23428
23187
  required:
23429
23188
  - channel
23430
23189
  - 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
23190
  UserAPITokensChannel:
23444
23191
  type: object
23445
23192
  properties:
@@ -24245,10 +23992,8 @@ components:
24245
23992
  - $ref: "#/components/schemas/SpaceGitInfoChannel"
24246
23993
  - $ref: "#/components/schemas/SpacePublishingAuthChannel"
24247
23994
  - $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
24248
- - $ref: "#/components/schemas/SpaceCustomFieldsChannel"
24249
23995
  - $ref: "#/components/schemas/SpaceContentRefsChannel"
24250
23996
  - $ref: "#/components/schemas/SpaceIntegrationsChannel"
24251
- - $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
24252
23997
  - $ref: "#/components/schemas/UserAPITokensChannel"
24253
23998
  - $ref: "#/components/schemas/UserOrganizationsChannel"
24254
23999
  - $ref: "#/components/schemas/UserProfileChannel"
@@ -24413,6 +24158,11 @@ components:
24413
24158
  - $ref: "#/components/schemas/APIChannelMutationData"
24414
24159
  discriminator:
24415
24160
  propertyName: channel
24161
+ VariableName:
24162
+ type: string
24163
+ pattern: ^[a-z_\-0-9]+$
24164
+ minLength: 1
24165
+ maxLength: 50
24416
24166
  CustomizationSettings:
24417
24167
  type: object
24418
24168
  properties:
@@ -24442,12 +24192,8 @@ components:
24442
24192
  properties:
24443
24193
  locale:
24444
24194
  $ref: "#/components/schemas/CustomizationLocale"
24445
- inherit:
24446
- type: boolean
24447
- description: Inherit locale from the parent collection.
24448
24195
  required:
24449
24196
  - locale
24450
- - inherit
24451
24197
  favicon:
24452
24198
  $ref: "#/components/schemas/CustomizationFavicon"
24453
24199
  header: