@gitbook/api 0.118.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.
@@ -12980,12 +12871,30 @@ components:
12980
12871
  properties:
12981
12872
  ref:
12982
12873
  description: Content reference pointing to the source image.
12983
- $ref: "#/components/schemas/ContentRefFile"
12874
+ oneOf:
12875
+ - $ref: "#/components/schemas/ContentRefFile"
12876
+ - $ref: "#/components/schemas/ContentRefURL"
12877
+ refDark:
12878
+ description: Content reference pointing to the source image for dark mode.
12879
+ oneOf:
12880
+ - $ref: "#/components/schemas/ContentRefFile"
12881
+ - $ref: "#/components/schemas/ContentRefURL"
12984
12882
  yPos:
12985
12883
  description: Vertical position of the cover image.
12986
12884
  type: number
12885
+ default: 0
12987
12886
  required:
12988
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"
12989
12898
  ComputedContentSourceDocumentOpenAPI:
12990
12899
  allOf:
12991
12900
  - $ref: "#/components/schemas/ComputedContentSourceOpenAPIBase"
@@ -13188,6 +13097,8 @@ components:
13188
13097
  type: array
13189
13098
  items:
13190
13099
  $ref: "#/components/schemas/RevisionReusableContent"
13100
+ variables:
13101
+ $ref: "#/components/schemas/Variables"
13191
13102
  createdAt:
13192
13103
  description: When the revision was created.
13193
13104
  $ref: "#/components/schemas/Timestamp"
@@ -14580,37 +14491,13 @@ components:
14580
14491
  $ref: "#/components/schemas/RevisionPageLayout"
14581
14492
  after:
14582
14493
  $ref: "#/components/schemas/RevisionPageLayout"
14583
- CustomFieldValue:
14584
- oneOf:
14585
- - type: string
14586
- maxLength: 256
14587
- - type: number
14588
- - type: boolean
14589
- - type: array
14590
- items:
14591
- type: string
14592
- maxLength: 256
14593
- ChangeAttributeCustomFields:
14494
+ ChangeAttributeVariables:
14594
14495
  type: object
14595
14496
  properties:
14596
14497
  before:
14597
- type: object
14598
- additionalProperties:
14599
- type: object
14600
- properties:
14601
- value:
14602
- $ref: "#/components/schemas/CustomFieldValue"
14603
- required:
14604
- - value
14498
+ $ref: "#/components/schemas/Variables"
14605
14499
  after:
14606
- type: object
14607
- additionalProperties:
14608
- type: object
14609
- properties:
14610
- value:
14611
- $ref: "#/components/schemas/CustomFieldValue"
14612
- required:
14613
- - value
14500
+ $ref: "#/components/schemas/Variables"
14614
14501
  RevisionPageDocumentChangeAttributes:
14615
14502
  type: object
14616
14503
  minProperties: 1
@@ -14629,8 +14516,8 @@ components:
14629
14516
  $ref: "#/components/schemas/ChangeAttributeString"
14630
14517
  layout:
14631
14518
  $ref: "#/components/schemas/ChangeAttributeRevisionPageLayout"
14632
- customFields:
14633
- $ref: "#/components/schemas/ChangeAttributeCustomFields"
14519
+ variables:
14520
+ $ref: "#/components/schemas/ChangeAttributeVariables"
14634
14521
  RevisionPageGroupChangeAttributes:
14635
14522
  type: object
14636
14523
  minProperties: 1
@@ -14641,8 +14528,6 @@ components:
14641
14528
  $ref: "#/components/schemas/ChangeAttributeString"
14642
14529
  slug:
14643
14530
  $ref: "#/components/schemas/ChangeAttributeString"
14644
- customFields:
14645
- $ref: "#/components/schemas/ChangeAttributeCustomFields"
14646
14531
  ChangeAttributeContentReference:
14647
14532
  type: object
14648
14533
  properties:
@@ -14660,8 +14545,6 @@ components:
14660
14545
  $ref: "#/components/schemas/ChangeAttributeString"
14661
14546
  target:
14662
14547
  $ref: "#/components/schemas/ChangeAttributeContentReference"
14663
- customFields:
14664
- $ref: "#/components/schemas/ChangeAttributeCustomFields"
14665
14548
  RevisionSemanticChangePageEdited:
14666
14549
  type: object
14667
14550
  properties:
@@ -14805,18 +14688,27 @@ components:
14805
14688
  required:
14806
14689
  - type
14807
14690
  - file
14808
- RevisionSemanticChangeCustomFieldsEdited:
14691
+ ChangeAttributeVariable:
14692
+ type: object
14693
+ properties:
14694
+ before:
14695
+ $ref: "#/components/schemas/VariableValue"
14696
+ after:
14697
+ $ref: "#/components/schemas/VariableValue"
14698
+ RevisionSemanticChangeVariablesEdited:
14809
14699
  type: object
14810
14700
  properties:
14811
14701
  type:
14812
14702
  type: string
14813
14703
  enum:
14814
- - custom_fields_edited
14815
- customFields:
14816
- $ref: "#/components/schemas/ChangeAttributeCustomFields"
14704
+ - variables_edited
14705
+ variables:
14706
+ type: object
14707
+ additionalProperties:
14708
+ $ref: "#/components/schemas/ChangeAttributeVariable"
14817
14709
  required:
14818
14710
  - type
14819
- - customFields
14711
+ - variables
14820
14712
  ChangedRevisionReusableContent:
14821
14713
  type: object
14822
14714
  properties:
@@ -14885,7 +14777,7 @@ components:
14885
14777
  - $ref: "#/components/schemas/RevisionSemanticChangeFileCreated"
14886
14778
  - $ref: "#/components/schemas/RevisionSemanticChangeFileEdited"
14887
14779
  - $ref: "#/components/schemas/RevisionSemanticChangeFileDeleted"
14888
- - $ref: "#/components/schemas/RevisionSemanticChangeCustomFieldsEdited"
14780
+ - $ref: "#/components/schemas/RevisionSemanticChangeVariablesEdited"
14889
14781
  - $ref: "#/components/schemas/RevisionSemanticChangeReusableContentCreated"
14890
14782
  - $ref: "#/components/schemas/RevisionSemanticChangeReusableContentDeleted"
14891
14783
  - $ref: "#/components/schemas/RevisionSemanticChangeReusableContentEdited"
@@ -15376,118 +15268,6 @@ components:
15376
15268
  required:
15377
15269
  - script
15378
15270
  - cookies
15379
- CustomFieldName:
15380
- type: string
15381
- pattern: ^[a-z_\-0-9]+$
15382
- minLength: 1
15383
- maxLength: 50
15384
- CustomFieldTitle:
15385
- type: string
15386
- maxLength: 100
15387
- CustomFieldDescription:
15388
- type: string
15389
- maxLength: 200
15390
- CustomFieldType:
15391
- type: string
15392
- enum:
15393
- - text
15394
- - number
15395
- - boolean
15396
- - tags
15397
- - select:multi
15398
- - select:single
15399
- CustomFieldPlaceholder:
15400
- type: string
15401
- maxLength: 100
15402
- CustomFieldOptions:
15403
- type: array
15404
- minItems: 1
15405
- maxItems: 50
15406
- items:
15407
- type: string
15408
- minLength: 1
15409
- maxLength: 40
15410
- CustomField:
15411
- type: object
15412
- description: Custom field
15413
- properties:
15414
- id:
15415
- type: string
15416
- name:
15417
- $ref: "#/components/schemas/CustomFieldName"
15418
- title:
15419
- $ref: "#/components/schemas/CustomFieldTitle"
15420
- description:
15421
- $ref: "#/components/schemas/CustomFieldDescription"
15422
- type:
15423
- $ref: "#/components/schemas/CustomFieldType"
15424
- placeholder:
15425
- $ref: "#/components/schemas/CustomFieldPlaceholder"
15426
- options:
15427
- $ref: "#/components/schemas/CustomFieldOptions"
15428
- createdAt:
15429
- $ref: "#/components/schemas/Timestamp"
15430
- updatedAt:
15431
- $ref: "#/components/schemas/Timestamp"
15432
- urls:
15433
- type: object
15434
- description: URLs associated with the object
15435
- properties:
15436
- location:
15437
- type: string
15438
- description: URL of the custom field in the API
15439
- format: uri
15440
- required:
15441
- - location
15442
- permissions:
15443
- type: object
15444
- properties:
15445
- view:
15446
- type: boolean
15447
- description: Whether the user can view the object
15448
- edit:
15449
- type: boolean
15450
- description: Whether the user can edit the object
15451
- required:
15452
- - view
15453
- - edit
15454
- required:
15455
- - id
15456
- - name
15457
- - title
15458
- - description
15459
- - placeholder
15460
- - type
15461
- - createdAt
15462
- - updatedAt
15463
- - urls
15464
- CustomFieldValues:
15465
- type: array
15466
- items:
15467
- type: object
15468
- properties:
15469
- customField:
15470
- $ref: "#/components/schemas/CustomField"
15471
- value:
15472
- $ref: "#/components/schemas/CustomFieldValue"
15473
- required:
15474
- - customField
15475
- UpdateCustomFieldValues:
15476
- type: object
15477
- properties:
15478
- values:
15479
- type: object
15480
- additionalProperties:
15481
- type: object
15482
- maxProperties: 100
15483
- minProperties: 1
15484
- properties:
15485
- value:
15486
- $ref: "#/components/schemas/CustomFieldValue"
15487
- required:
15488
- - value
15489
- required:
15490
- - values
15491
15271
  IntegrationSecrets:
15492
15272
  type: object
15493
15273
  description: Secrets stored on the integration and passed at runtime.
@@ -19383,21 +19163,6 @@ components:
19383
19163
  $ref: "#/components/schemas/BillingInvoicePreview"
19384
19164
  required:
19385
19165
  - type
19386
- - type: object
19387
- properties:
19388
- type:
19389
- description: User needs to go through the legacy upgrade flow.
19390
- type: string
19391
- enum:
19392
- - legacy-upgrade
19393
- plan:
19394
- description: The plan the user must upgrade to.
19395
- $ref: "#/components/schemas/BillingProduct"
19396
- invoice:
19397
- $ref: "#/components/schemas/BillingInvoicePreview"
19398
- required:
19399
- - type
19400
- - plan
19401
19166
  SiteAdaptiveJSONSchemaClaimsProperties:
19402
19167
  oneOf:
19403
19168
  - type: object
@@ -19520,6 +19285,19 @@ components:
19520
19285
  - object
19521
19286
  - jsonSchema
19522
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
19523
19301
  CustomizationTheme:
19524
19302
  type: string
19525
19303
  description: |
@@ -23385,18 +23163,6 @@ components:
23385
23163
  required:
23386
23164
  - channel
23387
23165
  - space
23388
- SpaceCustomFieldsChannel:
23389
- type: object
23390
- properties:
23391
- channel:
23392
- type: string
23393
- enum:
23394
- - space-customfields
23395
- space:
23396
- type: string
23397
- required:
23398
- - channel
23399
- - space
23400
23166
  SpaceContentRefsChannel:
23401
23167
  type: object
23402
23168
  properties:
@@ -23421,18 +23187,6 @@ components:
23421
23187
  required:
23422
23188
  - channel
23423
23189
  - space
23424
- OrganizationCustomFieldsChannel:
23425
- type: object
23426
- properties:
23427
- channel:
23428
- type: string
23429
- enum:
23430
- - organization-customfields
23431
- organization:
23432
- type: string
23433
- required:
23434
- - channel
23435
- - organization
23436
23190
  UserAPITokensChannel:
23437
23191
  type: object
23438
23192
  properties:
@@ -24238,10 +23992,8 @@ components:
24238
23992
  - $ref: "#/components/schemas/SpaceGitInfoChannel"
24239
23993
  - $ref: "#/components/schemas/SpacePublishingAuthChannel"
24240
23994
  - $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
24241
- - $ref: "#/components/schemas/SpaceCustomFieldsChannel"
24242
23995
  - $ref: "#/components/schemas/SpaceContentRefsChannel"
24243
23996
  - $ref: "#/components/schemas/SpaceIntegrationsChannel"
24244
- - $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
24245
23997
  - $ref: "#/components/schemas/UserAPITokensChannel"
24246
23998
  - $ref: "#/components/schemas/UserOrganizationsChannel"
24247
23999
  - $ref: "#/components/schemas/UserProfileChannel"
@@ -24406,6 +24158,11 @@ components:
24406
24158
  - $ref: "#/components/schemas/APIChannelMutationData"
24407
24159
  discriminator:
24408
24160
  propertyName: channel
24161
+ VariableName:
24162
+ type: string
24163
+ pattern: ^[a-z_\-0-9]+$
24164
+ minLength: 1
24165
+ maxLength: 50
24409
24166
  CustomizationSettings:
24410
24167
  type: object
24411
24168
  properties:
@@ -24435,12 +24192,8 @@ components:
24435
24192
  properties:
24436
24193
  locale:
24437
24194
  $ref: "#/components/schemas/CustomizationLocale"
24438
- inherit:
24439
- type: boolean
24440
- description: Inherit locale from the parent collection.
24441
24195
  required:
24442
24196
  - locale
24443
- - inherit
24444
24197
  favicon:
24445
24198
  $ref: "#/components/schemas/CustomizationFavicon"
24446
24199
  header: