@gitbook/api 0.127.0 → 0.129.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
@@ -329,6 +329,16 @@ tags:
329
329
  {% openapi-schemas spec="gitbook" schemas="TranslationLanguageSettings" grouped="false" %}
330
330
  The TranslationLanguageSettings object
331
331
  {% endopenapi-schemas %}
332
+ - name: glossary
333
+ x-page-title: Glossary
334
+ x-page-description: Manage custom terms translations used by the translation feature.
335
+ x-parent: translations
336
+ description: |
337
+ Define terms and specify their translations for different languages to ensure consistent wording.
338
+
339
+ {% openapi-schemas spec="gitbook" schemas="GlossaryEntry" grouped="false" %}
340
+ The GlossaryEntry object
341
+ {% endopenapi-schemas %}
332
342
  - name: integrations
333
343
  x-page-icon: puzzle-piece
334
344
  x-page-title: Integrations
@@ -888,6 +898,21 @@ paths:
888
898
  "404":
889
899
  description: No Git provider currently set up on the space
890
900
  $ref: "#/components/responses/NotFoundError"
901
+ "/spaces/{spaceId}/git/legacy-installation":
902
+ delete:
903
+ operationId: deleteLegacyGitInstallation
904
+ summary: Remove the legacy Git Sync installation from the space to be able to upgrade it to use the new Git integrations
905
+ tags:
906
+ - space-git
907
+ security:
908
+ - user-internal: []
909
+ parameters:
910
+ - $ref: "#/components/parameters/spaceId"
911
+ responses:
912
+ "204":
913
+ description: The legacy Git installation was already removed
914
+ "205":
915
+ description: The legacy Git installation was successfully removed
891
916
  "/spaces/{spaceId}/permissions":
892
917
  post:
893
918
  operationId: inviteToSpace
@@ -1114,6 +1139,25 @@ paths:
1114
1139
  application/json:
1115
1140
  schema:
1116
1141
  $ref: "#/components/schemas/ImportContent"
1142
+ "/spaces/{spaceId}/content/template":
1143
+ post:
1144
+ operationId: applyTemplateToSpace
1145
+ summary: Apply a template to a space.
1146
+ tags:
1147
+ - space-content
1148
+ security:
1149
+ - user: []
1150
+ parameters:
1151
+ - $ref: "#/components/parameters/spaceId"
1152
+ responses:
1153
+ "201":
1154
+ description: Template applied to space.
1155
+ requestBody:
1156
+ required: true
1157
+ content:
1158
+ application/json:
1159
+ schema:
1160
+ $ref: "#/components/schemas/ApplySpaceTemplate"
1117
1161
  "/spaces/{spaceId}/content/pages":
1118
1162
  get:
1119
1163
  operationId: listPages
@@ -5731,6 +5775,39 @@ paths:
5731
5775
  $ref: "#/components/schemas/OpenAPISpec"
5732
5776
  "400":
5733
5777
  $ref: "#/components/responses/BadRequestError"
5778
+ patch:
5779
+ operationId: updateOpenAPISpecBySlug
5780
+ summary: Update OpenAPI spec visibility
5781
+ tags:
5782
+ - openapi
5783
+ security:
5784
+ - user: []
5785
+ parameters:
5786
+ - $ref: "#/components/parameters/organizationId"
5787
+ - $ref: "#/components/parameters/openapiSpecSlug"
5788
+ requestBody:
5789
+ required: true
5790
+ content:
5791
+ application/json:
5792
+ schema:
5793
+ type: object
5794
+ properties:
5795
+ visibility:
5796
+ $ref: "#/components/schemas/OpenAPISpecVisibility"
5797
+ required:
5798
+ - visibility
5799
+ responses:
5800
+ "200":
5801
+ description: OpenAPI specification visibility has been updated
5802
+ content:
5803
+ application/json:
5804
+ schema:
5805
+ $ref: "#/components/schemas/OpenAPISpec"
5806
+ "400":
5807
+ $ref: "#/components/responses/BadRequestError"
5808
+ "404":
5809
+ description: No matching OpenAPI specification found
5810
+ $ref: "#/components/responses/NotFoundError"
5734
5811
  delete:
5735
5812
  operationId: deleteOpenAPISpecBySlug
5736
5813
  summary: Delete an OpenAPI spec
@@ -6116,8 +6193,8 @@ paths:
6116
6193
  $ref: "#/components/schemas/AgentTask"
6117
6194
  "/orgs/{organizationId}/translations":
6118
6195
  get:
6119
- operationId: listTranslationSettings
6120
- summary: List all the translation settings
6196
+ operationId: listTranslations
6197
+ summary: List all the translations
6121
6198
  tags:
6122
6199
  - translations
6123
6200
  security:
@@ -6141,10 +6218,10 @@ paths:
6141
6218
  items:
6142
6219
  type: array
6143
6220
  items:
6144
- $ref: "#/components/schemas/TranslationSettings"
6221
+ $ref: "#/components/schemas/Translation"
6145
6222
  post:
6146
- operationId: createTranslationSettings
6147
- summary: Create a translation settings
6223
+ operationId: createTranslation
6224
+ summary: Create a translation
6148
6225
  tags:
6149
6226
  - translations
6150
6227
  security:
@@ -6158,98 +6235,100 @@ paths:
6158
6235
  schema:
6159
6236
  type: object
6160
6237
  properties:
6161
- title:
6162
- type: string
6163
- description: The title of the translation settings
6238
+ source:
6239
+ $ref: "#/components/schemas/TranslationSource"
6240
+ language:
6241
+ $ref: "#/components/schemas/TranslationLanguage"
6242
+ instructions:
6243
+ $ref: "#/components/schemas/JSONDocument"
6164
6244
  required:
6165
- - title
6245
+ - language
6246
+ - source
6166
6247
  responses:
6167
6248
  "201":
6168
- description: Translation settings has been created
6249
+ description: Translation has been created
6169
6250
  content:
6170
6251
  application/json:
6171
6252
  schema:
6172
- $ref: "#/components/schemas/TranslationSettings"
6253
+ $ref: "#/components/schemas/Translation"
6173
6254
  "400":
6174
6255
  $ref: "#/components/responses/BadRequestError"
6175
- "/orgs/{organizationId}/translations/{translationSettingsId}":
6256
+ "/orgs/{organizationId}/translations/{translationId}":
6176
6257
  get:
6177
- operationId: getTranslationSettings
6178
- summary: Get a translation settings by its ID
6258
+ operationId: getTranslation
6259
+ summary: Get a translation by its ID
6179
6260
  tags:
6180
6261
  - translations
6181
6262
  security:
6182
6263
  - user: []
6183
6264
  parameters:
6184
6265
  - $ref: "#/components/parameters/organizationId"
6185
- - $ref: "#/components/parameters/translationSettingsId"
6266
+ - $ref: "#/components/parameters/translationId"
6186
6267
  responses:
6187
6268
  "200":
6188
6269
  description: OK
6189
6270
  content:
6190
6271
  application/json:
6191
6272
  schema:
6192
- $ref: "#/components/schemas/TranslationSettings"
6273
+ $ref: "#/components/schemas/Translation"
6193
6274
  "404":
6194
- description: No matching translation settings found
6275
+ description: No matching translation found
6195
6276
  $ref: "#/components/responses/NotFoundError"
6196
6277
  put:
6197
- operationId: updateTranslationSettings
6198
- summary: Update a translation settings
6278
+ operationId: updateTranslation
6279
+ summary: Update a translation
6199
6280
  tags:
6200
6281
  - translations
6201
6282
  security:
6202
6283
  - user: []
6203
6284
  parameters:
6204
6285
  - $ref: "#/components/parameters/organizationId"
6205
- - $ref: "#/components/parameters/translationSettingsId"
6286
+ - $ref: "#/components/parameters/translationId"
6206
6287
  requestBody:
6207
6288
  required: true
6208
6289
  content:
6209
6290
  application/json:
6210
6291
  schema:
6211
6292
  type: object
6212
- properties:
6213
- title:
6214
- type: string
6215
- description: The title of the translation settings
6216
6293
  required:
6217
- - title
6294
+ - instructions
6295
+ properties:
6296
+ instructions:
6297
+ $ref: "#/components/schemas/JSONDocument"
6218
6298
  responses:
6219
6299
  "200":
6220
- description: Translation settings has been updated
6300
+ description: Translation has been updated
6221
6301
  content:
6222
6302
  application/json:
6223
6303
  schema:
6224
- $ref: "#/components/schemas/TranslationSettings"
6304
+ $ref: "#/components/schemas/Translation"
6225
6305
  "400":
6226
6306
  $ref: "#/components/responses/BadRequestError"
6227
6307
  delete:
6228
- operationId: deleteTranslationSettings
6229
- summary: Delete a translation settings
6308
+ operationId: deleteTranslation
6309
+ summary: Delete a translation
6230
6310
  tags:
6231
6311
  - translations
6232
6312
  security:
6233
6313
  - user: []
6234
6314
  parameters:
6235
6315
  - $ref: "#/components/parameters/organizationId"
6236
- - $ref: "#/components/parameters/translationSettingsId"
6316
+ - $ref: "#/components/parameters/translationId"
6237
6317
  responses:
6238
6318
  "204":
6239
- description: Translation settings did not exist
6319
+ description: Translation did not exist
6240
6320
  "205":
6241
- description: Translation settings has been deleted
6242
- "/orgs/{organizationId}/translations/{translationSettingsId}/languages":
6321
+ description: Translation has been deleted
6322
+ "/orgs/{organizationId}/translations-glossary":
6243
6323
  get:
6244
- operationId: listTranslationLanguages
6245
- summary: List all translation settings language
6324
+ operationId: listGlossaryEntries
6325
+ summary: List glossary entries
6246
6326
  tags:
6247
- - translation-languages
6327
+ - glossary
6248
6328
  security:
6249
6329
  - user: []
6250
6330
  parameters:
6251
6331
  - $ref: "#/components/parameters/organizationId"
6252
- - $ref: "#/components/parameters/translationSettingsId"
6253
6332
  - $ref: "#/components/parameters/listPage"
6254
6333
  - $ref: "#/components/parameters/listLimit"
6255
6334
  responses:
@@ -6267,43 +6346,16 @@ paths:
6267
6346
  items:
6268
6347
  type: array
6269
6348
  items:
6270
- $ref: "#/components/schemas/TranslationLanguageSettings"
6271
- "404":
6272
- description: No matching translation settings found
6273
- $ref: "#/components/responses/NotFoundError"
6274
- "/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}":
6275
- get:
6276
- operationId: getTranslationLanguage
6277
- summary: Get a translation settings language
6278
- tags:
6279
- - translation-languages
6280
- security:
6281
- - user: []
6282
- parameters:
6283
- - $ref: "#/components/parameters/organizationId"
6284
- - $ref: "#/components/parameters/translationSettingsId"
6285
- - $ref: "#/components/parameters/translationLanguage"
6286
- responses:
6287
- "200":
6288
- description: OK
6289
- content:
6290
- application/json:
6291
- schema:
6292
- $ref: "#/components/schemas/TranslationLanguageSettings"
6293
- "404":
6294
- description: No matching translation language settings found
6295
- $ref: "#/components/responses/NotFoundError"
6349
+ $ref: "#/components/schemas/GlossaryEntry"
6296
6350
  put:
6297
- operationId: createOrUpdateTranslationLanguage
6298
- summary: Create or update a translation settings language
6351
+ operationId: updateGlossaryEntries
6352
+ summary: Update glossary entries
6299
6353
  tags:
6300
- - translation-languages
6354
+ - glossary
6301
6355
  security:
6302
6356
  - user: []
6303
6357
  parameters:
6304
6358
  - $ref: "#/components/parameters/organizationId"
6305
- - $ref: "#/components/parameters/translationSettingsId"
6306
- - $ref: "#/components/parameters/translationLanguage"
6307
6359
  requestBody:
6308
6360
  required: true
6309
6361
  content:
@@ -6311,44 +6363,37 @@ paths:
6311
6363
  schema:
6312
6364
  type: object
6313
6365
  properties:
6314
- instructions:
6315
- $ref: "#/components/schemas/JSONDocument"
6366
+ operations:
6367
+ type: array
6368
+ items:
6369
+ $ref: "#/components/schemas/GlossaryBatchOperation"
6316
6370
  required:
6317
- - instructions
6371
+ - operations
6318
6372
  responses:
6319
- "200":
6320
- description: Language settings successfully updated
6321
- content:
6322
- application/json:
6323
- schema:
6324
- $ref: "#/components/schemas/TranslationLanguageSettings"
6325
- "201":
6326
- description: Language settings successfully created
6327
- content:
6328
- application/json:
6329
- schema:
6330
- $ref: "#/components/schemas/TranslationLanguageSettings"
6373
+ "204":
6374
+ description: Glossary entries updated
6331
6375
  "400":
6332
6376
  $ref: "#/components/responses/BadRequestError"
6333
- "404":
6334
- description: No matching translation language settings found
6335
- $ref: "#/components/responses/NotFoundError"
6336
- delete:
6337
- operationId: deleteTranslationLanguage
6338
- summary: Remove a translation settings language
6377
+ "/orgs/{organizationId}/translations-glossary/{glossaryEntryId}":
6378
+ get:
6379
+ operationId: getGlossaryEntry
6380
+ summary: Get a glossary entry by its ID
6339
6381
  tags:
6340
- - translation-languages
6382
+ - glossary
6341
6383
  security:
6342
6384
  - user: []
6343
6385
  parameters:
6344
6386
  - $ref: "#/components/parameters/organizationId"
6345
- - $ref: "#/components/parameters/translationSettingsId"
6346
- - $ref: "#/components/parameters/translationLanguage"
6387
+ - $ref: "#/components/parameters/glossaryEntryId"
6347
6388
  responses:
6348
- "204":
6349
- description: Translation language settings not found
6350
- "205":
6351
- description: Language successfully removed
6389
+ "200":
6390
+ description: OK
6391
+ content:
6392
+ application/json:
6393
+ schema:
6394
+ $ref: "#/components/schemas/GlossaryEntry"
6395
+ "404":
6396
+ $ref: "#/components/responses/NotFoundError"
6352
6397
  "/orgs/{organizationId}/storage/upload":
6353
6398
  post:
6354
6399
  operationId: generateStorageUploadURL
@@ -7996,14 +8041,6 @@ paths:
7996
8041
  nullable: true
7997
8042
  enum:
7998
8043
  - null
7999
- font:
8000
- description: The font family to use for the content. Set to null to reset the override.
8001
- oneOf:
8002
- - $ref: "#/components/schemas/CustomizationFont"
8003
- - type: string
8004
- nullable: true
8005
- enum:
8006
- - null
8007
8044
  icons:
8008
8045
  description: The icons style to use for the content. Set to null to reset the override.
8009
8046
  oneOf:
@@ -8165,15 +8202,6 @@ paths:
8165
8202
  nullable: true
8166
8203
  required:
8167
8204
  - enabled
8168
- aiSearch:
8169
- type: object
8170
- properties:
8171
- enabled:
8172
- type: boolean
8173
- description: If true, AI search is enabled. Set to null to reset the override.
8174
- nullable: true
8175
- required:
8176
- - enabled
8177
8205
  git:
8178
8206
  type: object
8179
8207
  properties:
@@ -9539,6 +9567,13 @@ components:
9539
9567
  description: The app screen URL to bring the user back to after a canceled checkout.
9540
9568
  schema:
9541
9569
  type: string
9570
+ meterName:
9571
+ name: meterName
9572
+ in: path
9573
+ required: true
9574
+ description: Identifier of the billing meter
9575
+ schema:
9576
+ $ref: "#/components/schemas/BillingMeter"
9542
9577
  samlProviderId:
9543
9578
  name: samlProviderId
9544
9579
  in: path
@@ -9574,20 +9609,20 @@ components:
9574
9609
  description: The unique id of the agent task
9575
9610
  schema:
9576
9611
  type: string
9577
- translationSettingsId:
9578
- name: translationSettingsId
9612
+ translationId:
9613
+ name: translationId
9579
9614
  in: path
9580
9615
  required: true
9581
- description: The unique id of the translation settings
9616
+ description: The unique id of the translation
9582
9617
  schema:
9583
9618
  type: string
9584
- translationLanguage:
9585
- name: translationLanguage
9619
+ glossaryEntryId:
9620
+ name: glossaryEntryId
9586
9621
  in: path
9587
9622
  required: true
9588
- description: The language of the translation
9623
+ description: The unique id of the glossary entry
9589
9624
  schema:
9590
- $ref: "#/components/schemas/TranslationLanguage"
9625
+ type: string
9591
9626
  fontId:
9592
9627
  name: fontId
9593
9628
  in: path
@@ -9675,6 +9710,13 @@ components:
9675
9710
  schema:
9676
9711
  type: string
9677
9712
  required: true
9713
+ translationLanguage:
9714
+ name: translationLanguage
9715
+ in: path
9716
+ required: true
9717
+ description: The language of the translation
9718
+ schema:
9719
+ $ref: "#/components/schemas/TranslationLanguage"
9678
9720
  pageFormat:
9679
9721
  $ref: "#/components/parameters/documentFormat"
9680
9722
  commentStatus:
@@ -9743,6 +9785,9 @@ components:
9743
9785
  count:
9744
9786
  type: number
9745
9787
  description: Total count of objects in the list
9788
+ APITokenLabel:
9789
+ type: string
9790
+ maxLength: 50
9746
9791
  Timestamp:
9747
9792
  type: string
9748
9793
  format: date-time
@@ -9754,8 +9799,8 @@ components:
9754
9799
  type: string
9755
9800
  description: The API token ID.
9756
9801
  label:
9757
- type: string
9758
- description: The API token name.
9802
+ $ref: "#/components/schemas/APITokenLabel"
9803
+ description: A descriptive label for the API token.
9759
9804
  createdAt:
9760
9805
  $ref: "#/components/schemas/Timestamp"
9761
9806
  description: The API token creation date.
@@ -11743,6 +11788,61 @@ components:
11743
11788
  - type
11744
11789
  - isVoid
11745
11790
  - data
11791
+ DocumentBlocksTopLevels:
11792
+ oneOf:
11793
+ - $ref: "#/components/schemas/DocumentBlocksEssentials"
11794
+ - $ref: "#/components/schemas/DocumentBlockQuote"
11795
+ - $ref: "#/components/schemas/DocumentBlockHint"
11796
+ - $ref: "#/components/schemas/DocumentBlockImages"
11797
+ - $ref: "#/components/schemas/DocumentBlockFile"
11798
+ - $ref: "#/components/schemas/DocumentBlockDrawing"
11799
+ - $ref: "#/components/schemas/DocumentBlockEmbed"
11800
+ - $ref: "#/components/schemas/DocumentBlockCode"
11801
+ - $ref: "#/components/schemas/DocumentBlockMath"
11802
+ - $ref: "#/components/schemas/DocumentBlockExpandable"
11803
+ - $ref: "#/components/schemas/DocumentBlockTabs"
11804
+ - $ref: "#/components/schemas/DocumentBlockTable"
11805
+ - $ref: "#/components/schemas/DocumentBlockOpenAPI"
11806
+ - $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
11807
+ - $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
11808
+ - $ref: "#/components/schemas/DocumentBlockOpenAPIWebhook"
11809
+ - $ref: "#/components/schemas/DocumentBlockContentRef"
11810
+ - $ref: "#/components/schemas/DocumentBlockIntegration"
11811
+ - $ref: "#/components/schemas/DocumentBlockReusableContent"
11812
+ - $ref: "#/components/schemas/DocumentBlockStepper"
11813
+ DocumentBlockIf:
11814
+ type: object
11815
+ properties:
11816
+ object:
11817
+ type: string
11818
+ enum:
11819
+ - block
11820
+ type:
11821
+ type: string
11822
+ enum:
11823
+ - if
11824
+ key:
11825
+ type: string
11826
+ nodes:
11827
+ type: array
11828
+ items:
11829
+ $ref: "#/components/schemas/DocumentBlocksTopLevels"
11830
+ isVoid:
11831
+ type: boolean
11832
+ enum:
11833
+ - false
11834
+ data:
11835
+ type: object
11836
+ properties:
11837
+ expression:
11838
+ type: string
11839
+ required:
11840
+ - expression
11841
+ required:
11842
+ - object
11843
+ - type
11844
+ - nodes
11845
+ - data
11746
11846
  Length:
11747
11847
  oneOf:
11748
11848
  - type: number
@@ -12678,6 +12778,7 @@ components:
12678
12778
  - $ref: "#/components/schemas/DocumentBlockDivider"
12679
12779
  - $ref: "#/components/schemas/DocumentBlockQuote"
12680
12780
  - $ref: "#/components/schemas/DocumentBlockHint"
12781
+ - $ref: "#/components/schemas/DocumentBlockIf"
12681
12782
  - $ref: "#/components/schemas/DocumentBlockImages"
12682
12783
  - $ref: "#/components/schemas/DocumentBlockImage"
12683
12784
  - $ref: "#/components/schemas/DocumentBlockFile"
@@ -12775,28 +12876,6 @@ components:
12775
12876
  - type
12776
12877
  - data
12777
12878
  - isVoid
12778
- DocumentBlocksTopLevels:
12779
- oneOf:
12780
- - $ref: "#/components/schemas/DocumentBlocksEssentials"
12781
- - $ref: "#/components/schemas/DocumentBlockQuote"
12782
- - $ref: "#/components/schemas/DocumentBlockHint"
12783
- - $ref: "#/components/schemas/DocumentBlockImages"
12784
- - $ref: "#/components/schemas/DocumentBlockFile"
12785
- - $ref: "#/components/schemas/DocumentBlockDrawing"
12786
- - $ref: "#/components/schemas/DocumentBlockEmbed"
12787
- - $ref: "#/components/schemas/DocumentBlockCode"
12788
- - $ref: "#/components/schemas/DocumentBlockMath"
12789
- - $ref: "#/components/schemas/DocumentBlockExpandable"
12790
- - $ref: "#/components/schemas/DocumentBlockTabs"
12791
- - $ref: "#/components/schemas/DocumentBlockTable"
12792
- - $ref: "#/components/schemas/DocumentBlockOpenAPI"
12793
- - $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
12794
- - $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
12795
- - $ref: "#/components/schemas/DocumentBlockOpenAPIWebhook"
12796
- - $ref: "#/components/schemas/DocumentBlockContentRef"
12797
- - $ref: "#/components/schemas/DocumentBlockIntegration"
12798
- - $ref: "#/components/schemas/DocumentBlockReusableContent"
12799
- - $ref: "#/components/schemas/DocumentBlockStepper"
12800
12879
  JSONDocument:
12801
12880
  type: object
12802
12881
  properties:
@@ -13014,130 +13093,66 @@ components:
13014
13093
  type: boolean
13015
13094
  required:
13016
13095
  - models
13017
- ComputedContentDependencySpace:
13096
+ TranslationRef:
13097
+ type: object
13098
+ properties:
13099
+ kind:
13100
+ type: string
13101
+ enum:
13102
+ - translation
13103
+ translation:
13104
+ type: string
13105
+ description: ID of the translation sync
13106
+ required:
13107
+ - kind
13108
+ - translation
13109
+ TranslationResult:
13110
+ type: object
13111
+ description: Result of a translation.
13112
+ properties:
13113
+ space:
13114
+ type: string
13115
+ description: ID of the space containing the result of the translation
13116
+ revision:
13117
+ type: string
13118
+ description: ID of the revision generated by the translation
13119
+ required:
13120
+ - space
13121
+ - revision
13122
+ ComputedContentDependencyTranslation:
13018
13123
  type: object
13019
13124
  properties:
13020
13125
  ref:
13021
- $ref: "#/components/schemas/ContentRefSpace"
13126
+ $ref: "#/components/schemas/TranslationRef"
13022
13127
  value:
13023
- type: object
13024
- nullable: true
13025
- description: See `Space` schema component.
13026
- properties:
13027
- object:
13028
- type: string
13128
+ oneOf:
13129
+ - $ref: "#/components/schemas/TranslationResult"
13130
+ - type: string
13131
+ description: Translation has not been run yet
13132
+ nullable: true
13029
13133
  enum:
13030
- - space
13031
- id:
13032
- type: string
13033
- revision:
13034
- type: string
13035
- required:
13036
- - object
13037
- - id
13038
- - revision
13039
- required:
13040
- - ref
13041
- - value
13042
- TranslationLanguage:
13043
- type: string
13044
- enum:
13045
- - en
13046
- - fr
13047
- - de
13048
- - es
13049
- - it
13050
- - pt
13051
- - ru
13052
- - ja
13053
- - zh
13054
- - ko
13055
- - ar
13056
- - hi
13057
- - nl
13058
- - pl
13059
- - tr
13060
- - sv
13061
- - no
13062
- - da
13063
- - fi
13064
- - el
13065
- - cs
13066
- - hu
13067
- - ro
13068
- - th
13069
- - vi
13070
- - id
13071
- - ms
13072
- - he
13073
- - uk
13074
- - sk
13075
- - bg
13076
- - hr
13077
- - lt
13078
- - lv
13079
- - et
13080
- - sl
13081
- TranslationLanguageRef:
13082
- type: object
13083
- properties:
13084
- kind:
13085
- type: string
13086
- enum:
13087
- - translation-language
13088
- translationSettings:
13089
- type: string
13090
- description: ID of the translation settings
13091
- language:
13092
- $ref: "#/components/schemas/TranslationLanguage"
13093
- required:
13094
- - kind
13095
- - translationSettings
13096
- - language
13097
- TranslationParameters:
13098
- type: object
13099
- description: Compiled parameters for the translation
13100
- properties:
13101
- instructions:
13102
- type: string
13103
- description: Instructions for the translation, formatted as markdown
13104
- required:
13105
- - instructions
13106
- ComputedContentDependencyTranslation:
13107
- type: object
13108
- properties:
13109
- ref:
13110
- $ref: "#/components/schemas/TranslationLanguageRef"
13111
- value:
13112
- $ref: "#/components/schemas/TranslationParameters"
13134
+ - null
13113
13135
  required:
13114
13136
  - ref
13115
13137
  - value
13116
- ComputedContentSourceTranslationBase:
13138
+ ComputedContentSourceRevisionTranslation:
13117
13139
  type: object
13118
- description: Generic parameters from a translation computed content source
13140
+ description: Parameters for a translation computed content source
13119
13141
  properties:
13120
13142
  type:
13121
13143
  type: string
13122
13144
  enum:
13123
13145
  - builtin:translation
13146
+ props:
13147
+ type: object
13148
+ additionalProperties: false
13149
+ properties: {}
13124
13150
  dependencies:
13125
13151
  type: object
13126
13152
  required:
13127
- - source
13128
- - settings
13153
+ - translation
13129
13154
  properties:
13130
- source:
13131
- oneOf:
13132
- - type: object
13133
- additionalProperties: false
13134
- required:
13135
- - ref
13136
- properties:
13137
- ref:
13138
- $ref: "#/components/schemas/ContentRefSpace"
13139
- - $ref: "#/components/schemas/ComputedContentDependencySpace"
13140
- settings:
13155
+ translation:
13141
13156
  oneOf:
13142
13157
  - type: object
13143
13158
  additionalProperties: false
@@ -13145,25 +13160,12 @@ components:
13145
13160
  - ref
13146
13161
  properties:
13147
13162
  ref:
13148
- $ref: "#/components/schemas/TranslationLanguageRef"
13163
+ $ref: "#/components/schemas/TranslationRef"
13149
13164
  - $ref: "#/components/schemas/ComputedContentDependencyTranslation"
13150
13165
  required:
13151
13166
  - type
13167
+ - props
13152
13168
  - dependencies
13153
- ComputedContentSourceRevisionTranslation:
13154
- allOf:
13155
- - $ref: "#/components/schemas/ComputedContentSourceTranslationBase"
13156
- - type: object
13157
- required:
13158
- - props
13159
- properties:
13160
- props:
13161
- type: object
13162
- required:
13163
- - sourceLanguage
13164
- properties:
13165
- sourceLanguage:
13166
- $ref: "#/components/schemas/TranslationLanguage"
13167
13169
  ComputedContentDependency:
13168
13170
  type: object
13169
13171
  description: Dependency for a computation, before its resolution.
@@ -13173,9 +13175,34 @@ components:
13173
13175
  oneOf:
13174
13176
  - $ref: "#/components/schemas/ContentRefSpace"
13175
13177
  - $ref: "#/components/schemas/ContentRefOpenAPI"
13176
- - $ref: "#/components/schemas/TranslationLanguageRef"
13178
+ - $ref: "#/components/schemas/TranslationRef"
13177
13179
  required:
13178
13180
  - ref
13181
+ ComputedContentDependencySpace:
13182
+ type: object
13183
+ properties:
13184
+ ref:
13185
+ $ref: "#/components/schemas/ContentRefSpace"
13186
+ value:
13187
+ type: object
13188
+ nullable: true
13189
+ description: See `Space` schema component.
13190
+ properties:
13191
+ object:
13192
+ type: string
13193
+ enum:
13194
+ - space
13195
+ id:
13196
+ type: string
13197
+ revision:
13198
+ type: string
13199
+ required:
13200
+ - object
13201
+ - id
13202
+ - revision
13203
+ required:
13204
+ - ref
13205
+ - value
13179
13206
  ComputedContentDependencyResolved:
13180
13207
  description: Dependency for a computation, with its resolved value.
13181
13208
  oneOf:
@@ -13275,6 +13302,19 @@ components:
13275
13302
  pagination:
13276
13303
  type: boolean
13277
13304
  description: Should the pagination be visible?
13305
+ metadata:
13306
+ type: boolean
13307
+ description: Should the page metadata (last modified, author, etc.) be visible?
13308
+ required:
13309
+ - width
13310
+ - cover
13311
+ - coverSize
13312
+ - title
13313
+ - description
13314
+ - tableOfContents
13315
+ - outline
13316
+ - pagination
13317
+ - metadata
13278
13318
  RevisionPageDocumentCover:
13279
13319
  type: object
13280
13320
  properties:
@@ -13336,22 +13376,26 @@ components:
13336
13376
  type: string
13337
13377
  minLength: 1
13338
13378
  ComputedContentSourceDocumentTranslation:
13339
- allOf:
13340
- - $ref: "#/components/schemas/ComputedContentSourceTranslationBase"
13341
- - type: object
13379
+ type: object
13380
+ description: Parameters for a document translation computed content source
13381
+ required:
13382
+ - type
13383
+ - props
13384
+ properties:
13385
+ type:
13386
+ type: string
13387
+ enum:
13388
+ - builtin:translation
13389
+ props:
13390
+ type: object
13342
13391
  required:
13343
- - props
13392
+ - space
13393
+ - document
13344
13394
  properties:
13345
- props:
13346
- type: object
13347
- required:
13348
- - document
13349
- - sourceLanguage
13350
- properties:
13351
- document:
13352
- type: string
13353
- sourceLanguage:
13354
- $ref: "#/components/schemas/TranslationLanguage"
13395
+ space:
13396
+ type: string
13397
+ document:
13398
+ type: string
13355
13399
  ComputedContentSourceDocument:
13356
13400
  oneOf:
13357
13401
  - $ref: "#/components/schemas/ComputedContentSourceDocumentOpenAPI"
@@ -13735,6 +13779,14 @@ components:
13735
13779
  totalResources:
13736
13780
  type: number
13737
13781
  description: How many resources were processed
13782
+ ApplySpaceTemplate:
13783
+ type: object
13784
+ properties:
13785
+ id:
13786
+ type: string
13787
+ description: The ID of the template to use for the space
13788
+ required:
13789
+ - id
13738
13790
  OrganizationTitle:
13739
13791
  type: string
13740
13792
  description: Name of the organization
@@ -13807,6 +13859,52 @@ components:
13807
13859
  enum:
13808
13860
  - monthly
13809
13861
  - yearly
13862
+ OrganizationPricePair:
13863
+ type: object
13864
+ description: Pricing pair for monthly and yearly intervals
13865
+ properties:
13866
+ monthly:
13867
+ type: number
13868
+ description: Monthly price in USD
13869
+ minimum: 0
13870
+ yearly:
13871
+ type: number
13872
+ description: Yearly price in USD (per month)
13873
+ minimum: 0
13874
+ required:
13875
+ - monthly
13876
+ - yearly
13877
+ OrganizationPricing:
13878
+ type: object
13879
+ description: Pricing information for an organization
13880
+ properties:
13881
+ members:
13882
+ type: object
13883
+ description: Pricing for members (organization plan)
13884
+ properties:
13885
+ plus_2024:
13886
+ $ref: "#/components/schemas/OrganizationPricePair"
13887
+ pro_2024:
13888
+ $ref: "#/components/schemas/OrganizationPricePair"
13889
+ required:
13890
+ - plus_2024
13891
+ - pro_2024
13892
+ additionalProperties: false
13893
+ sites:
13894
+ type: object
13895
+ description: Pricing for site types (site plans)
13896
+ properties:
13897
+ premium:
13898
+ $ref: "#/components/schemas/OrganizationPricePair"
13899
+ ultimate:
13900
+ $ref: "#/components/schemas/OrganizationPricePair"
13901
+ required:
13902
+ - premium
13903
+ - ultimate
13904
+ additionalProperties: false
13905
+ required:
13906
+ - members
13907
+ - sites
13810
13908
  OrganizationBilling:
13811
13909
  type: object
13812
13910
  properties:
@@ -13821,11 +13919,15 @@ components:
13821
13919
  isScheduledToCancel:
13822
13920
  description: If true, the billing is set to cancel at the end of its current period
13823
13921
  type: boolean
13922
+ pricing:
13923
+ description: Pricing information for the organization
13924
+ $ref: "#/components/schemas/OrganizationPricing"
13824
13925
  required:
13825
13926
  - interval
13826
13927
  - endDate
13827
13928
  - hasPaymentFailed
13828
13929
  - isScheduledToCancel
13930
+ - pricing
13829
13931
  BillingTrialStatus:
13830
13932
  type: string
13831
13933
  description: |
@@ -14264,6 +14366,15 @@ components:
14264
14366
  - pending
14265
14367
  - progress
14266
14368
  - complete
14369
+ OpenAPISpecVisibility:
14370
+ type: string
14371
+ description: |
14372
+ The visibility setting of the OpenAPI spec.
14373
+ * `private`: The spec is not publicly available.
14374
+ * `public`: The spec is available to anyone with a public link.
14375
+ enum:
14376
+ - private
14377
+ - public
14267
14378
  OpenAPISpecProcessingErrorCode:
14268
14379
  description: OpenAPI processing error code
14269
14380
  enum:
@@ -14293,6 +14404,8 @@ components:
14293
14404
  $ref: "#/components/schemas/URL"
14294
14405
  processingState:
14295
14406
  $ref: "#/components/schemas/OpenAPISpecProcessingState"
14407
+ visibility:
14408
+ $ref: "#/components/schemas/OpenAPISpecVisibility"
14296
14409
  lastVersion:
14297
14410
  type: string
14298
14411
  description: ID of the latest version of the OpenAPI specification
@@ -14325,6 +14438,10 @@ components:
14325
14438
  app:
14326
14439
  description: URL of the OpenAPI specification in the application
14327
14440
  $ref: "#/components/schemas/URL"
14441
+ published:
14442
+ type: string
14443
+ description: URL of the published spec. Only defined when visibility is "published."
14444
+ format: uri
14328
14445
  required:
14329
14446
  - app
14330
14447
  - location
@@ -16750,6 +16867,7 @@ components:
16750
16867
  - sites-advanced-insights
16751
16868
  - sites-ads
16752
16869
  - sites-ai-search
16870
+ - sites-ai-assistant
16753
16871
  - sites-api-playground
16754
16872
  - sites-basic-customization
16755
16873
  - sites-custom-domain
@@ -18286,30 +18404,6 @@ components:
18286
18404
  $ref: "#/components/schemas/BillingInterval"
18287
18405
  changes:
18288
18406
  $ref: "#/components/schemas/SubscriptionChanges"
18289
- exclude:
18290
- deprecated: true
18291
- type: object
18292
- description: Deprecated. Use `changes` instead.
18293
- minProperties: 1
18294
- properties:
18295
- members:
18296
- description: A list of member identifiers to be removed, `all` to remove all members but the current admin
18297
- oneOf:
18298
- - type: array
18299
- items:
18300
- type: string
18301
- - type: string
18302
- enum:
18303
- - all
18304
- sites:
18305
- description: A list of site identifiers to be unpublished, 'all' to unpublish all sites
18306
- oneOf:
18307
- - type: array
18308
- items:
18309
- type: string
18310
- - type: string
18311
- enum:
18312
- - all
18313
18407
  reason:
18314
18408
  type: string
18315
18409
  description: Reason that triggered the billing upgrade
@@ -18520,6 +18614,37 @@ components:
18520
18614
  - downgrade
18521
18615
  - undo_cancel
18522
18616
  - switch_interval
18617
+ BillingMeter:
18618
+ type: string
18619
+ description: Identifier of a billing meter
18620
+ enum:
18621
+ - ai_responses
18622
+ - ai_agent_responses
18623
+ - translation_words
18624
+ BillingMeterUsage:
18625
+ type: object
18626
+ description: Usage metrics for a billing meter
18627
+ properties:
18628
+ total:
18629
+ description: Total usage for the current billing period
18630
+ type: number
18631
+ daily:
18632
+ description: Daily usage for the past 30 days
18633
+ type: array
18634
+ items:
18635
+ type: object
18636
+ properties:
18637
+ date:
18638
+ $ref: "#/components/schemas/Timestamp"
18639
+ value:
18640
+ type: number
18641
+ description: Usage value for the day
18642
+ required:
18643
+ - date
18644
+ - value
18645
+ required:
18646
+ - total
18647
+ - daily
18523
18648
  SearchSpaceResult:
18524
18649
  type: object
18525
18650
  description: Search result representing a space.
@@ -18547,6 +18672,11 @@ components:
18547
18672
  parent:
18548
18673
  type: string
18549
18674
  description: ID of a parent collection
18675
+ editMode:
18676
+ $ref: "#/components/schemas/SpaceEditMode"
18677
+ description: The edit mode of the space
18678
+ template:
18679
+ $ref: "#/components/schemas/ApplySpaceTemplate"
18550
18680
  SAMLProviderLabel:
18551
18681
  type: string
18552
18682
  minLength: 1
@@ -19330,41 +19460,128 @@ components:
19330
19460
  - createdAt
19331
19461
  - updatedAt
19332
19462
  - urls
19333
- TranslationTitle:
19463
+ TranslationStatus:
19334
19464
  type: string
19335
- description: Title of the translation settings
19336
- minLength: 1
19337
- maxLength: 100
19338
- TranslationSettings:
19339
- type: object
19340
- properties:
19341
- object:
19342
- type: string
19343
- enum:
19344
- - translation-settings
19345
- id:
19346
- type: string
19347
- description: Unique identifier of the translation settings
19348
- title:
19349
- $ref: "#/components/schemas/TranslationTitle"
19350
- languages:
19351
- type: array
19352
- items:
19353
- $ref: "#/components/schemas/TranslationLanguage"
19354
- createdAt:
19355
- type: string
19356
- format: date-time
19357
- updatedAt:
19358
- type: string
19359
- format: date-time
19360
- permissions:
19361
- type: object
19362
- properties:
19363
- view:
19364
- type: boolean
19365
- description: Whether the user can view the object
19366
- edit:
19367
- type: boolean
19465
+ enum:
19466
+ - pending
19467
+ - running
19468
+ - completed
19469
+ TranslationLanguage:
19470
+ type: string
19471
+ enum:
19472
+ - en
19473
+ - fr
19474
+ - de
19475
+ - es
19476
+ - it
19477
+ - pt
19478
+ - ru
19479
+ - ja
19480
+ - zh
19481
+ - ko
19482
+ - ar
19483
+ - hi
19484
+ - nl
19485
+ - pl
19486
+ - tr
19487
+ - sv
19488
+ - no
19489
+ - da
19490
+ - fi
19491
+ - el
19492
+ - cs
19493
+ - hu
19494
+ - ro
19495
+ - th
19496
+ - vi
19497
+ - id
19498
+ - ms
19499
+ - he
19500
+ - uk
19501
+ - sk
19502
+ - bg
19503
+ - hr
19504
+ - lt
19505
+ - lv
19506
+ - et
19507
+ - sl
19508
+ TranslationSource:
19509
+ type: object
19510
+ required:
19511
+ - space
19512
+ - language
19513
+ properties:
19514
+ space:
19515
+ type: string
19516
+ description: ID of the source space
19517
+ language:
19518
+ $ref: "#/components/schemas/TranslationLanguage"
19519
+ Translation:
19520
+ type: object
19521
+ properties:
19522
+ object:
19523
+ type: string
19524
+ enum:
19525
+ - translation
19526
+ id:
19527
+ type: string
19528
+ description: Unique identifier of the translation sync
19529
+ status:
19530
+ $ref: "#/components/schemas/TranslationStatus"
19531
+ source:
19532
+ $ref: "#/components/schemas/TranslationSource"
19533
+ language:
19534
+ $ref: "#/components/schemas/TranslationLanguage"
19535
+ instructions:
19536
+ $ref: "#/components/schemas/JSONDocument"
19537
+ result:
19538
+ $ref: "#/components/schemas/TranslationResult"
19539
+ createdAt:
19540
+ type: string
19541
+ format: date-time
19542
+ updatedAt:
19543
+ type: string
19544
+ format: date-time
19545
+ stats:
19546
+ type: object
19547
+ properties:
19548
+ runs:
19549
+ type: integer
19550
+ description: Total number of times the translation has been run
19551
+ totalWords:
19552
+ type: integer
19553
+ description: Total number of words translated
19554
+ totalPages:
19555
+ type: integer
19556
+ description: Total number of unique pages translated
19557
+ totalDuration:
19558
+ type: integer
19559
+ description: Total duration of all runs (in seconds)
19560
+ latestRunDuration:
19561
+ type: integer
19562
+ description: Duration of the latest run (in seconds)
19563
+ latestPages:
19564
+ type: integer
19565
+ description: Number of unique pages translated in the latest run
19566
+ latestWords:
19567
+ type: integer
19568
+ description: Number of words translated in the latest run
19569
+ required:
19570
+ - runs
19571
+ - totalWords
19572
+ - totalPages
19573
+ - totalDuration
19574
+ - latestRunDuration
19575
+ - latestPages
19576
+ - latestWords
19577
+ permissions:
19578
+ type: object
19579
+ properties:
19580
+ view:
19581
+ type: boolean
19582
+ description: Whether the user can view the object
19583
+ edit:
19584
+ type: boolean
19368
19585
  description: Whether the user can edit the object
19369
19586
  required:
19370
19587
  - view
@@ -19382,38 +19599,95 @@ components:
19382
19599
  required:
19383
19600
  - object
19384
19601
  - id
19385
- - title
19386
- - languages
19602
+ - status
19603
+ - source
19604
+ - language
19605
+ - instructions
19387
19606
  - createdAt
19388
19607
  - updatedAt
19608
+ - stats
19389
19609
  - permissions
19390
19610
  - urls
19391
- TranslationLanguageSettings:
19611
+ GlossaryTranslations:
19612
+ type: object
19613
+ additionalProperties:
19614
+ type: string
19615
+ minLength: 1
19616
+ maxLength: 255
19617
+ pattern: ^[^\n\r]*$
19618
+ description: Mapping of language codes to translated terms
19619
+ GlossaryEntry:
19392
19620
  type: object
19393
19621
  properties:
19394
19622
  object:
19395
19623
  type: string
19396
19624
  enum:
19397
- - translation-language-settings
19398
- language:
19399
- $ref: "#/components/schemas/TranslationLanguage"
19400
- instructions:
19401
- $ref: "#/components/schemas/JSONDocument"
19625
+ - glossary-entry
19626
+ id:
19627
+ type: string
19628
+ description: Unique identifier of the glossary entry
19629
+ translations:
19630
+ $ref: "#/components/schemas/GlossaryTranslations"
19631
+ createdAt:
19632
+ type: string
19633
+ format: date-time
19634
+ updatedAt:
19635
+ type: string
19636
+ format: date-time
19402
19637
  urls:
19403
19638
  type: object
19404
- description: URLs associated with the object
19405
19639
  properties:
19406
19640
  location:
19407
19641
  type: string
19408
- description: URL of the translation language settings in the API
19409
19642
  format: uri
19643
+ description: URL of the glossary entry in the API
19410
19644
  required:
19411
19645
  - location
19412
19646
  required:
19413
19647
  - object
19414
- - language
19415
- - instructions
19648
+ - id
19649
+ - translations
19650
+ - createdAt
19651
+ - updatedAt
19416
19652
  - urls
19653
+ GlossaryBatchOperation:
19654
+ oneOf:
19655
+ - type: object
19656
+ properties:
19657
+ type:
19658
+ type: string
19659
+ enum:
19660
+ - insert
19661
+ translations:
19662
+ $ref: "#/components/schemas/GlossaryTranslations"
19663
+ required:
19664
+ - type
19665
+ - translations
19666
+ - type: object
19667
+ properties:
19668
+ type:
19669
+ type: string
19670
+ enum:
19671
+ - update
19672
+ id:
19673
+ type: string
19674
+ translations:
19675
+ $ref: "#/components/schemas/GlossaryTranslations"
19676
+ required:
19677
+ - type
19678
+ - id
19679
+ - translations
19680
+ - type: object
19681
+ properties:
19682
+ type:
19683
+ type: string
19684
+ enum:
19685
+ - delete
19686
+ id:
19687
+ type: string
19688
+ required:
19689
+ - type
19690
+ - id
19417
19691
  StorageFileMetadata:
19418
19692
  type: object
19419
19693
  properties:
@@ -19569,7 +19843,7 @@ components:
19569
19843
  $ref: "#/components/schemas/BillingInvoicePreview"
19570
19844
  required:
19571
19845
  - type
19572
- SiteAdaptiveJSONSchemaClaimsProperties:
19846
+ SiteAdaptiveDeterministicJSONSchemaPrimitives:
19573
19847
  oneOf:
19574
19848
  - type: object
19575
19849
  properties:
@@ -19600,6 +19874,51 @@ components:
19600
19874
  - enum
19601
19875
  - description
19602
19876
  additionalProperties: false
19877
+ SiteAdaptiveJSONSchemaPrimitives:
19878
+ oneOf:
19879
+ - $ref: "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaPrimitives"
19880
+ - type: object
19881
+ properties:
19882
+ type:
19883
+ type: string
19884
+ enum:
19885
+ - string
19886
+ description:
19887
+ type: string
19888
+ required:
19889
+ - type
19890
+ - description
19891
+ additionalProperties: false
19892
+ - type: object
19893
+ properties:
19894
+ type:
19895
+ type: string
19896
+ enum:
19897
+ - number
19898
+ description:
19899
+ type: string
19900
+ required:
19901
+ - type
19902
+ - description
19903
+ additionalProperties: false
19904
+ SiteAdaptiveJSONSchemaClaimsProperties:
19905
+ oneOf:
19906
+ - $ref: "#/components/schemas/SiteAdaptiveJSONSchemaPrimitives"
19907
+ - type: object
19908
+ properties:
19909
+ type:
19910
+ type: string
19911
+ enum:
19912
+ - array
19913
+ description:
19914
+ type: string
19915
+ items:
19916
+ $ref: "#/components/schemas/SiteAdaptiveJSONSchemaPrimitives"
19917
+ required:
19918
+ - type
19919
+ - description
19920
+ - items
19921
+ additionalProperties: false
19603
19922
  - type: object
19604
19923
  properties:
19605
19924
  type:
@@ -19630,8 +19949,6 @@ components:
19630
19949
  type: string
19631
19950
  enum:
19632
19951
  - http://json-schema.org/draft-07/schema#
19633
- $id:
19634
- type: string
19635
19952
  type:
19636
19953
  type: string
19637
19954
  enum:
@@ -19783,6 +20100,21 @@ components:
19783
20100
  oneOf:
19784
20101
  - $ref: "#/components/schemas/CustomizationDefaultFont"
19785
20102
  - $ref: "#/components/schemas/CustomizationFontDefinitionInput"
20103
+ CustomizationDefaultMonospaceFont:
20104
+ type: string
20105
+ enum:
20106
+ - FiraCode
20107
+ - IBMPlexMono
20108
+ - JetBrainsMono
20109
+ - SourceCodePro
20110
+ - RobotoMono
20111
+ - SpaceMono
20112
+ - DMMono
20113
+ - Inconsolata
20114
+ CustomizationMonospaceFont:
20115
+ oneOf:
20116
+ - $ref: "#/components/schemas/CustomizationDefaultMonospaceFont"
20117
+ - $ref: "#/components/schemas/CustomizationFontDefinitionInput"
19786
20118
  CustomizationBackground:
19787
20119
  type: string
19788
20120
  enum:
@@ -19935,6 +20267,12 @@ components:
19935
20267
  enum:
19936
20268
  - light
19937
20269
  - dark
20270
+ CustomizationAIMode:
20271
+ type: string
20272
+ enum:
20273
+ - none
20274
+ - search
20275
+ - assistant
19938
20276
  SiteExternalLinksTarget:
19939
20277
  type: string
19940
20278
  description: |
@@ -19975,6 +20313,8 @@ components:
19975
20313
  $ref: "#/components/schemas/CustomizationLinksStyle"
19976
20314
  font:
19977
20315
  $ref: "#/components/schemas/CustomizationFont"
20316
+ monospaceFont:
20317
+ $ref: "#/components/schemas/CustomizationMonospaceFont"
19978
20318
  background:
19979
20319
  deprecated: true
19980
20320
  $ref: "#/components/schemas/CustomizationBackground"
@@ -20003,6 +20343,7 @@ components:
20003
20343
  - depth
20004
20344
  - links
20005
20345
  - font
20346
+ - monospaceFont
20006
20347
  - background
20007
20348
  - icons
20008
20349
  - sidebar
@@ -20083,17 +20424,13 @@ components:
20083
20424
  description: If true, feedback gathering is enabled
20084
20425
  required:
20085
20426
  - enabled
20086
- aiSearch:
20427
+ ai:
20087
20428
  type: object
20088
20429
  properties:
20089
- enabled:
20090
- type: boolean
20091
- description: If true, AI search is enabled
20430
+ mode:
20431
+ $ref: "#/components/schemas/CustomizationAIMode"
20092
20432
  required:
20093
- - enabled
20094
- ai:
20095
- type: object
20096
- properties: {}
20433
+ - mode
20097
20434
  advancedCustomization:
20098
20435
  type: object
20099
20436
  properties:
@@ -20110,6 +20447,18 @@ components:
20110
20447
  description: Whether the published site should show a link to edit the content on the git provider set up in the Git Sync
20111
20448
  required:
20112
20449
  - showEditLink
20450
+ pageActions:
20451
+ type: object
20452
+ properties:
20453
+ externalAI:
20454
+ type: boolean
20455
+ description: Whether actions to open ChatGPT, Anthropic, etc. should be available in the page menu.
20456
+ markdown:
20457
+ type: boolean
20458
+ description: Whether the copy and open the markdown version of the page should be available in the page menu.
20459
+ required:
20460
+ - externalAI
20461
+ - markdown
20113
20462
  externalLinks:
20114
20463
  type: object
20115
20464
  properties:
@@ -20161,11 +20510,12 @@ components:
20161
20510
  - themes
20162
20511
  - pdf
20163
20512
  - feedback
20164
- - aiSearch
20513
+ - ai
20165
20514
  - advancedCustomization
20166
20515
  - trademark
20167
20516
  - externalLinks
20168
20517
  - pagination
20518
+ - pageActions
20169
20519
  - git
20170
20520
  - privacyPolicy
20171
20521
  - socialPreview
@@ -21181,6 +21531,31 @@ components:
21181
21531
  required:
21182
21532
  - type
21183
21533
  - query
21534
+ SiteInsightsEventAskRateResponse:
21535
+ allOf:
21536
+ - $ref: "#/components/schemas/SiteInsightsEventBase"
21537
+ - type: object
21538
+ properties:
21539
+ type:
21540
+ type: string
21541
+ enum:
21542
+ - ask_rate_response
21543
+ query:
21544
+ type: string
21545
+ description: Question asked.
21546
+ rating:
21547
+ type: integer
21548
+ enum:
21549
+ - 1
21550
+ - -1
21551
+ responseId:
21552
+ type: string
21553
+ description: ID of the AI response.
21554
+ required:
21555
+ - type
21556
+ - query
21557
+ - rating
21558
+ - responseId
21184
21559
  SiteInsightsLinkPosition:
21185
21560
  type: string
21186
21561
  enum:
@@ -21314,6 +21689,7 @@ components:
21314
21689
  - $ref: "#/components/schemas/SiteInsightsEventPagePostFeedback"
21315
21690
  - $ref: "#/components/schemas/SiteInsightsEventPagePostFeedbackComment"
21316
21691
  - $ref: "#/components/schemas/SiteInsightsEventAskQuestion"
21692
+ - $ref: "#/components/schemas/SiteInsightsEventAskRateResponse"
21317
21693
  - $ref: "#/components/schemas/SiteInsightsEventLinkClick"
21318
21694
  - $ref: "#/components/schemas/SiteInsightsEventAPIClientOpen"
21319
21695
  - $ref: "#/components/schemas/SiteInsightsEventAPIClientRequest"
@@ -21543,6 +21919,14 @@ components:
21543
21919
  type: string
21544
21920
  enum:
21545
21921
  - eventPageFeedbackComment
21922
+ - type: object
21923
+ required:
21924
+ - column
21925
+ properties:
21926
+ column:
21927
+ type: string
21928
+ enum:
21929
+ - eventAskResponseRating
21546
21930
  - type: object
21547
21931
  required:
21548
21932
  - column
@@ -21551,6 +21935,14 @@ components:
21551
21935
  type: string
21552
21936
  enum:
21553
21937
  - pageFeedbackRating
21938
+ - type: object
21939
+ required:
21940
+ - column
21941
+ properties:
21942
+ column:
21943
+ type: string
21944
+ enum:
21945
+ - askResponseRating
21554
21946
  - type: object
21555
21947
  required:
21556
21948
  - column
@@ -21660,6 +22052,7 @@ components:
21660
22052
  - page_post_feedback
21661
22053
  - page_post_feedback_comment
21662
22054
  - ask_question
22055
+ - ask_rate_response
21663
22056
  - link_click
21664
22057
  - api_client_open
21665
22058
  - api_client_request
@@ -22118,6 +22511,27 @@ components:
22118
22511
  type: number
22119
22512
  bad:
22120
22513
  type: number
22514
+ - type: object
22515
+ required:
22516
+ - column
22517
+ - values
22518
+ properties:
22519
+ column:
22520
+ type: string
22521
+ enum:
22522
+ - askResponseRating
22523
+ values:
22524
+ type: array
22525
+ items:
22526
+ type: object
22527
+ required:
22528
+ - positive
22529
+ - negative
22530
+ properties:
22531
+ positive:
22532
+ type: number
22533
+ negative:
22534
+ type: number
22121
22535
  - type: object
22122
22536
  required:
22123
22537
  - column
@@ -22131,6 +22545,19 @@ components:
22131
22545
  type: array
22132
22546
  items:
22133
22547
  $ref: "#/components/schemas/PageFeedbackRating"
22548
+ - type: object
22549
+ required:
22550
+ - column
22551
+ - values
22552
+ properties:
22553
+ column:
22554
+ type: string
22555
+ enum:
22556
+ - eventAskResponseRating
22557
+ values:
22558
+ type: array
22559
+ items:
22560
+ type: integer
22134
22561
  - type: object
22135
22562
  required:
22136
22563
  - column
@@ -22925,13 +23352,13 @@ components:
22925
23352
  description: Identifier of the revision being previewed in this URL.
22926
23353
  pathname:
22927
23354
  type: string
22928
- description: Path of the content relative to the space
23355
+ description: Path of the content relative to the input URL being resolved
22929
23356
  basePath:
22930
23357
  type: string
22931
- description: Prefix of the path in the URL dedicated to the space
23358
+ description: Prefix of the path in the input URL being resolved
22932
23359
  siteBasePath:
22933
23360
  type: string
22934
- description: Prefix of the path in the URL dedicated to the site
23361
+ description: Prefix of the site path in the input URL being resolved
22935
23362
  apiToken:
22936
23363
  type: string
22937
23364
  description: Short-lived API token to fetch content related to the space in the context of the URL.
@@ -23114,6 +23541,65 @@ components:
23114
23541
  description: Predefined GitBook user identifiers
23115
23542
  enum:
23116
23543
  - gitbook:agent
23544
+ SpaceTemplate:
23545
+ type: object
23546
+ properties:
23547
+ id:
23548
+ type: string
23549
+ contentId:
23550
+ type: string
23551
+ title:
23552
+ type: string
23553
+ description: A title of the template.
23554
+ subtitle:
23555
+ type: string
23556
+ description: A subtitle for the template.
23557
+ emoji:
23558
+ description: An emoji representing the template.
23559
+ $ref: "#/components/schemas/Emoji"
23560
+ openAPISpec:
23561
+ description: An optional OpenAPI spec to create along with the template.
23562
+ properties:
23563
+ slug:
23564
+ $ref: "#/components/schemas/OpenAPISpecSlug"
23565
+ sourceURL:
23566
+ $ref: "#/components/schemas/URL"
23567
+ required:
23568
+ - slug
23569
+ - sourceURL
23570
+ features:
23571
+ type: array
23572
+ description: A list of features that the template supports.
23573
+ items:
23574
+ type: string
23575
+ description: A feature supported by the template.
23576
+ previewImage:
23577
+ type: object
23578
+ properties:
23579
+ light:
23580
+ $ref: "#/components/schemas/URL"
23581
+ dark:
23582
+ $ref: "#/components/schemas/URL"
23583
+ required:
23584
+ - light
23585
+ - dark
23586
+ urls:
23587
+ type: object
23588
+ description: URLs associated with the object
23589
+ properties:
23590
+ preview:
23591
+ $ref: "#/components/schemas/URL"
23592
+ required:
23593
+ - preview
23594
+ required:
23595
+ - id
23596
+ - contentId
23597
+ - title
23598
+ - subtitle
23599
+ - emoji
23600
+ - features
23601
+ - previewImage
23602
+ - urls
23117
23603
  ComputedContentSource:
23118
23604
  oneOf:
23119
23605
  - $ref: "#/components/schemas/ComputedContentSourceDocument"
@@ -23941,14 +24427,27 @@ components:
23941
24427
  required:
23942
24428
  - channel
23943
24429
  - organization
23944
- OrganizationTranslationSettingsChannel:
24430
+ OrganizationTranslationsChannel:
24431
+ type: object
24432
+ description: Subscription channel for changes in translations in an organization.
24433
+ properties:
24434
+ channel:
24435
+ type: string
24436
+ enum:
24437
+ - organization-translations
24438
+ organization:
24439
+ type: string
24440
+ required:
24441
+ - channel
24442
+ - organization
24443
+ OrganizationTranslationsGlossaryChannel:
23945
24444
  type: object
23946
- description: Subscription channel for changes in translation settings in an organization.
24445
+ description: Subscription channel for changes in the glossary in an organization.
23947
24446
  properties:
23948
24447
  channel:
23949
24448
  type: string
23950
24449
  enum:
23951
- - organization-translation-settings
24450
+ - organization-translations-glossary
23952
24451
  organization:
23953
24452
  type: string
23954
24453
  required:
@@ -24344,18 +24843,6 @@ components:
24344
24843
  required:
24345
24844
  - channel
24346
24845
  - customHostname
24347
- GitSyncSettingsChannel:
24348
- type: object
24349
- properties:
24350
- channel:
24351
- type: string
24352
- enum:
24353
- - space-gitsync-settings
24354
- space:
24355
- type: string
24356
- required:
24357
- - channel
24358
- - space
24359
24846
  GitSyncOperationChannel:
24360
24847
  type: object
24361
24848
  properties:
@@ -24393,13 +24880,13 @@ components:
24393
24880
  required:
24394
24881
  - channel
24395
24882
  - subdomain
24396
- TranslationSettingsChannel:
24883
+ TranslationChannel:
24397
24884
  type: object
24398
24885
  properties:
24399
24886
  channel:
24400
24887
  type: string
24401
24888
  enum:
24402
- - translation-settings
24889
+ - translation
24403
24890
  translation:
24404
24891
  type: string
24405
24892
  required:
@@ -24472,7 +24959,8 @@ components:
24472
24959
  - $ref: "#/components/schemas/OrganizationSitesChannel"
24473
24960
  - $ref: "#/components/schemas/OrganizationAIIndexationChannel"
24474
24961
  - $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
24475
- - $ref: "#/components/schemas/OrganizationTranslationSettingsChannel"
24962
+ - $ref: "#/components/schemas/OrganizationTranslationsChannel"
24963
+ - $ref: "#/components/schemas/OrganizationTranslationsGlossaryChannel"
24476
24964
  - $ref: "#/components/schemas/OrganizationCustomFontsChannel"
24477
24965
  - $ref: "#/components/schemas/SpaceCommentsChannel"
24478
24966
  - $ref: "#/components/schemas/ChangeRequestCommentsChannel"
@@ -24501,11 +24989,10 @@ components:
24501
24989
  - $ref: "#/components/schemas/SiteMcpServerChannel"
24502
24990
  - $ref: "#/components/schemas/SiteSectionChannel"
24503
24991
  - $ref: "#/components/schemas/CustomHostnameChannel"
24504
- - $ref: "#/components/schemas/GitSyncSettingsChannel"
24505
24992
  - $ref: "#/components/schemas/GitSyncOperationChannel"
24506
24993
  - $ref: "#/components/schemas/OpenAPISpecChannel"
24507
24994
  - $ref: "#/components/schemas/SubdomainChannel"
24508
- - $ref: "#/components/schemas/TranslationSettingsChannel"
24995
+ - $ref: "#/components/schemas/TranslationChannel"
24509
24996
  - $ref: "#/components/schemas/AgentTaskChannel"
24510
24997
  - $ref: "#/components/schemas/AgentTasksChannel"
24511
24998
  discriminator:
@@ -24613,6 +25100,31 @@ components:
24613
25100
  - $ref: "#/components/schemas/APIChannelMutationData"
24614
25101
  discriminator:
24615
25102
  propertyName: channel
25103
+ SiteAdaptiveDeterministicJSONSchemaClaimsProperties:
25104
+ oneOf:
25105
+ - $ref: "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaPrimitives"
25106
+ - type: object
25107
+ properties:
25108
+ type:
25109
+ type: string
25110
+ enum:
25111
+ - object
25112
+ description:
25113
+ type: string
25114
+ properties:
25115
+ type: object
25116
+ additionalProperties:
25117
+ $ref: "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaClaimsProperties"
25118
+ additionalProperties:
25119
+ type: boolean
25120
+ enum:
25121
+ - false
25122
+ required:
25123
+ - type
25124
+ - description
25125
+ - properties
25126
+ - additionalProperties
25127
+ additionalProperties: false
24616
25128
  SiteAdsStatus:
24617
25129
  type: string
24618
25130
  description: The status of ads on the site
@@ -24827,6 +25339,8 @@ components:
24827
25339
  $ref: "#/components/schemas/VisitorAuthCustomBackend"
24828
25340
  SpaceVisitorAuthIntegrationBackend:
24829
25341
  $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
25342
+ ApplyTemplate:
25343
+ $ref: "#/components/schemas/ApplySpaceTemplate"
24830
25344
  UserPermissions:
24831
25345
  $ref: "#/components/schemas/_index"
24832
25346
  SiteRedirectDestinationSpace: