@gitbook/api 0.128.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
@@ -9522,6 +9567,13 @@ components:
9522
9567
  description: The app screen URL to bring the user back to after a canceled checkout.
9523
9568
  schema:
9524
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"
9525
9577
  samlProviderId:
9526
9578
  name: samlProviderId
9527
9579
  in: path
@@ -9557,20 +9609,20 @@ components:
9557
9609
  description: The unique id of the agent task
9558
9610
  schema:
9559
9611
  type: string
9560
- translationSettingsId:
9561
- name: translationSettingsId
9612
+ translationId:
9613
+ name: translationId
9562
9614
  in: path
9563
9615
  required: true
9564
- description: The unique id of the translation settings
9616
+ description: The unique id of the translation
9565
9617
  schema:
9566
9618
  type: string
9567
- translationLanguage:
9568
- name: translationLanguage
9619
+ glossaryEntryId:
9620
+ name: glossaryEntryId
9569
9621
  in: path
9570
9622
  required: true
9571
- description: The language of the translation
9623
+ description: The unique id of the glossary entry
9572
9624
  schema:
9573
- $ref: "#/components/schemas/TranslationLanguage"
9625
+ type: string
9574
9626
  fontId:
9575
9627
  name: fontId
9576
9628
  in: path
@@ -9658,6 +9710,13 @@ components:
9658
9710
  schema:
9659
9711
  type: string
9660
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"
9661
9720
  pageFormat:
9662
9721
  $ref: "#/components/parameters/documentFormat"
9663
9722
  commentStatus:
@@ -9726,6 +9785,9 @@ components:
9726
9785
  count:
9727
9786
  type: number
9728
9787
  description: Total count of objects in the list
9788
+ APITokenLabel:
9789
+ type: string
9790
+ maxLength: 50
9729
9791
  Timestamp:
9730
9792
  type: string
9731
9793
  format: date-time
@@ -9737,8 +9799,8 @@ components:
9737
9799
  type: string
9738
9800
  description: The API token ID.
9739
9801
  label:
9740
- type: string
9741
- description: The API token name.
9802
+ $ref: "#/components/schemas/APITokenLabel"
9803
+ description: A descriptive label for the API token.
9742
9804
  createdAt:
9743
9805
  $ref: "#/components/schemas/Timestamp"
9744
9806
  description: The API token creation date.
@@ -13031,130 +13093,66 @@ components:
13031
13093
  type: boolean
13032
13094
  required:
13033
13095
  - models
13034
- ComputedContentDependencySpace:
13035
- type: object
13036
- properties:
13037
- ref:
13038
- $ref: "#/components/schemas/ContentRefSpace"
13039
- value:
13040
- type: object
13041
- nullable: true
13042
- description: See `Space` schema component.
13043
- properties:
13044
- object:
13045
- type: string
13046
- enum:
13047
- - space
13048
- id:
13049
- type: string
13050
- revision:
13051
- type: string
13052
- required:
13053
- - object
13054
- - id
13055
- - revision
13056
- required:
13057
- - ref
13058
- - value
13059
- TranslationLanguage:
13060
- type: string
13061
- enum:
13062
- - en
13063
- - fr
13064
- - de
13065
- - es
13066
- - it
13067
- - pt
13068
- - ru
13069
- - ja
13070
- - zh
13071
- - ko
13072
- - ar
13073
- - hi
13074
- - nl
13075
- - pl
13076
- - tr
13077
- - sv
13078
- - no
13079
- - da
13080
- - fi
13081
- - el
13082
- - cs
13083
- - hu
13084
- - ro
13085
- - th
13086
- - vi
13087
- - id
13088
- - ms
13089
- - he
13090
- - uk
13091
- - sk
13092
- - bg
13093
- - hr
13094
- - lt
13095
- - lv
13096
- - et
13097
- - sl
13098
- TranslationLanguageRef:
13096
+ TranslationRef:
13099
13097
  type: object
13100
13098
  properties:
13101
13099
  kind:
13102
13100
  type: string
13103
13101
  enum:
13104
- - translation-language
13105
- translationSettings:
13102
+ - translation
13103
+ translation:
13106
13104
  type: string
13107
- description: ID of the translation settings
13108
- language:
13109
- $ref: "#/components/schemas/TranslationLanguage"
13105
+ description: ID of the translation sync
13110
13106
  required:
13111
13107
  - kind
13112
- - translationSettings
13113
- - language
13114
- TranslationParameters:
13108
+ - translation
13109
+ TranslationResult:
13115
13110
  type: object
13116
- description: Compiled parameters for the translation
13111
+ description: Result of a translation.
13117
13112
  properties:
13118
- instructions:
13113
+ space:
13114
+ type: string
13115
+ description: ID of the space containing the result of the translation
13116
+ revision:
13119
13117
  type: string
13120
- description: Instructions for the translation, formatted as markdown
13118
+ description: ID of the revision generated by the translation
13121
13119
  required:
13122
- - instructions
13120
+ - space
13121
+ - revision
13123
13122
  ComputedContentDependencyTranslation:
13124
13123
  type: object
13125
13124
  properties:
13126
13125
  ref:
13127
- $ref: "#/components/schemas/TranslationLanguageRef"
13126
+ $ref: "#/components/schemas/TranslationRef"
13128
13127
  value:
13129
- $ref: "#/components/schemas/TranslationParameters"
13128
+ oneOf:
13129
+ - $ref: "#/components/schemas/TranslationResult"
13130
+ - type: string
13131
+ description: Translation has not been run yet
13132
+ nullable: true
13133
+ enum:
13134
+ - null
13130
13135
  required:
13131
13136
  - ref
13132
13137
  - value
13133
- ComputedContentSourceTranslationBase:
13138
+ ComputedContentSourceRevisionTranslation:
13134
13139
  type: object
13135
- description: Generic parameters from a translation computed content source
13140
+ description: Parameters for a translation computed content source
13136
13141
  properties:
13137
13142
  type:
13138
13143
  type: string
13139
13144
  enum:
13140
13145
  - builtin:translation
13146
+ props:
13147
+ type: object
13148
+ additionalProperties: false
13149
+ properties: {}
13141
13150
  dependencies:
13142
13151
  type: object
13143
13152
  required:
13144
- - source
13145
- - settings
13153
+ - translation
13146
13154
  properties:
13147
- source:
13148
- oneOf:
13149
- - type: object
13150
- additionalProperties: false
13151
- required:
13152
- - ref
13153
- properties:
13154
- ref:
13155
- $ref: "#/components/schemas/ContentRefSpace"
13156
- - $ref: "#/components/schemas/ComputedContentDependencySpace"
13157
- settings:
13155
+ translation:
13158
13156
  oneOf:
13159
13157
  - type: object
13160
13158
  additionalProperties: false
@@ -13162,25 +13160,12 @@ components:
13162
13160
  - ref
13163
13161
  properties:
13164
13162
  ref:
13165
- $ref: "#/components/schemas/TranslationLanguageRef"
13163
+ $ref: "#/components/schemas/TranslationRef"
13166
13164
  - $ref: "#/components/schemas/ComputedContentDependencyTranslation"
13167
13165
  required:
13168
13166
  - type
13167
+ - props
13169
13168
  - dependencies
13170
- ComputedContentSourceRevisionTranslation:
13171
- allOf:
13172
- - $ref: "#/components/schemas/ComputedContentSourceTranslationBase"
13173
- - type: object
13174
- required:
13175
- - props
13176
- properties:
13177
- props:
13178
- type: object
13179
- required:
13180
- - sourceLanguage
13181
- properties:
13182
- sourceLanguage:
13183
- $ref: "#/components/schemas/TranslationLanguage"
13184
13169
  ComputedContentDependency:
13185
13170
  type: object
13186
13171
  description: Dependency for a computation, before its resolution.
@@ -13190,25 +13175,50 @@ components:
13190
13175
  oneOf:
13191
13176
  - $ref: "#/components/schemas/ContentRefSpace"
13192
13177
  - $ref: "#/components/schemas/ContentRefOpenAPI"
13193
- - $ref: "#/components/schemas/TranslationLanguageRef"
13178
+ - $ref: "#/components/schemas/TranslationRef"
13194
13179
  required:
13195
13180
  - ref
13196
- ComputedContentDependencyResolved:
13197
- description: Dependency for a computation, with its resolved value.
13198
- oneOf:
13199
- - $ref: "#/components/schemas/ComputedContentDependencySpace"
13200
- - $ref: "#/components/schemas/ComputedContentDependencyOpenAPI"
13201
- - $ref: "#/components/schemas/ComputedContentDependencyTranslation"
13202
- ComputedContentSourceIntegration:
13181
+ ComputedContentDependencySpace:
13203
13182
  type: object
13204
- description: Parameters for a computed content managed by an integration
13205
13183
  properties:
13206
- type:
13207
- type: string
13208
- description: Type of the computed source
13209
- pattern: ^integration:[^:]+:[^:]+$
13210
- x-typescript: "`integration:${string}:${string}`"
13211
- props:
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
13206
+ ComputedContentDependencyResolved:
13207
+ description: Dependency for a computation, with its resolved value.
13208
+ oneOf:
13209
+ - $ref: "#/components/schemas/ComputedContentDependencySpace"
13210
+ - $ref: "#/components/schemas/ComputedContentDependencyOpenAPI"
13211
+ - $ref: "#/components/schemas/ComputedContentDependencyTranslation"
13212
+ ComputedContentSourceIntegration:
13213
+ type: object
13214
+ description: Parameters for a computed content managed by an integration
13215
+ properties:
13216
+ type:
13217
+ type: string
13218
+ description: Type of the computed source
13219
+ pattern: ^integration:[^:]+:[^:]+$
13220
+ x-typescript: "`integration:${string}:${string}`"
13221
+ props:
13212
13222
  description: Properties to be passed to the computation
13213
13223
  $ref: "#/components/schemas/PlainObject"
13214
13224
  dependencies:
@@ -13292,6 +13302,19 @@ components:
13292
13302
  pagination:
13293
13303
  type: boolean
13294
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
13295
13318
  RevisionPageDocumentCover:
13296
13319
  type: object
13297
13320
  properties:
@@ -13353,22 +13376,26 @@ components:
13353
13376
  type: string
13354
13377
  minLength: 1
13355
13378
  ComputedContentSourceDocumentTranslation:
13356
- allOf:
13357
- - $ref: "#/components/schemas/ComputedContentSourceTranslationBase"
13358
- - 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
13359
13391
  required:
13360
- - props
13392
+ - space
13393
+ - document
13361
13394
  properties:
13362
- props:
13363
- type: object
13364
- required:
13365
- - document
13366
- - sourceLanguage
13367
- properties:
13368
- document:
13369
- type: string
13370
- sourceLanguage:
13371
- $ref: "#/components/schemas/TranslationLanguage"
13395
+ space:
13396
+ type: string
13397
+ document:
13398
+ type: string
13372
13399
  ComputedContentSourceDocument:
13373
13400
  oneOf:
13374
13401
  - $ref: "#/components/schemas/ComputedContentSourceDocumentOpenAPI"
@@ -13752,6 +13779,14 @@ components:
13752
13779
  totalResources:
13753
13780
  type: number
13754
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
13755
13790
  OrganizationTitle:
13756
13791
  type: string
13757
13792
  description: Name of the organization
@@ -13824,6 +13859,52 @@ components:
13824
13859
  enum:
13825
13860
  - monthly
13826
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
13827
13908
  OrganizationBilling:
13828
13909
  type: object
13829
13910
  properties:
@@ -13838,11 +13919,15 @@ components:
13838
13919
  isScheduledToCancel:
13839
13920
  description: If true, the billing is set to cancel at the end of its current period
13840
13921
  type: boolean
13922
+ pricing:
13923
+ description: Pricing information for the organization
13924
+ $ref: "#/components/schemas/OrganizationPricing"
13841
13925
  required:
13842
13926
  - interval
13843
13927
  - endDate
13844
13928
  - hasPaymentFailed
13845
13929
  - isScheduledToCancel
13930
+ - pricing
13846
13931
  BillingTrialStatus:
13847
13932
  type: string
13848
13933
  description: |
@@ -14281,6 +14366,15 @@ components:
14281
14366
  - pending
14282
14367
  - progress
14283
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
14284
14378
  OpenAPISpecProcessingErrorCode:
14285
14379
  description: OpenAPI processing error code
14286
14380
  enum:
@@ -14310,6 +14404,8 @@ components:
14310
14404
  $ref: "#/components/schemas/URL"
14311
14405
  processingState:
14312
14406
  $ref: "#/components/schemas/OpenAPISpecProcessingState"
14407
+ visibility:
14408
+ $ref: "#/components/schemas/OpenAPISpecVisibility"
14313
14409
  lastVersion:
14314
14410
  type: string
14315
14411
  description: ID of the latest version of the OpenAPI specification
@@ -14342,6 +14438,10 @@ components:
14342
14438
  app:
14343
14439
  description: URL of the OpenAPI specification in the application
14344
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
14345
14445
  required:
14346
14446
  - app
14347
14447
  - location
@@ -18304,30 +18404,6 @@ components:
18304
18404
  $ref: "#/components/schemas/BillingInterval"
18305
18405
  changes:
18306
18406
  $ref: "#/components/schemas/SubscriptionChanges"
18307
- exclude:
18308
- deprecated: true
18309
- type: object
18310
- description: Deprecated. Use `changes` instead.
18311
- minProperties: 1
18312
- properties:
18313
- members:
18314
- description: A list of member identifiers to be removed, `all` to remove all members but the current admin
18315
- oneOf:
18316
- - type: array
18317
- items:
18318
- type: string
18319
- - type: string
18320
- enum:
18321
- - all
18322
- sites:
18323
- description: A list of site identifiers to be unpublished, 'all' to unpublish all sites
18324
- oneOf:
18325
- - type: array
18326
- items:
18327
- type: string
18328
- - type: string
18329
- enum:
18330
- - all
18331
18407
  reason:
18332
18408
  type: string
18333
18409
  description: Reason that triggered the billing upgrade
@@ -18538,6 +18614,37 @@ components:
18538
18614
  - downgrade
18539
18615
  - undo_cancel
18540
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
18541
18648
  SearchSpaceResult:
18542
18649
  type: object
18543
18650
  description: Search result representing a space.
@@ -18565,6 +18672,11 @@ components:
18565
18672
  parent:
18566
18673
  type: string
18567
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"
18568
18680
  SAMLProviderLabel:
18569
18681
  type: string
18570
18682
  minLength: 1
@@ -19348,33 +19460,120 @@ components:
19348
19460
  - createdAt
19349
19461
  - updatedAt
19350
19462
  - urls
19351
- TranslationTitle:
19463
+ TranslationStatus:
19352
19464
  type: string
19353
- description: Title of the translation settings
19354
- minLength: 1
19355
- maxLength: 100
19356
- TranslationSettings:
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:
19357
19520
  type: object
19358
19521
  properties:
19359
19522
  object:
19360
19523
  type: string
19361
19524
  enum:
19362
- - translation-settings
19525
+ - translation
19363
19526
  id:
19364
19527
  type: string
19365
- description: Unique identifier of the translation settings
19366
- title:
19367
- $ref: "#/components/schemas/TranslationTitle"
19368
- languages:
19369
- type: array
19370
- items:
19371
- $ref: "#/components/schemas/TranslationLanguage"
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"
19372
19539
  createdAt:
19373
19540
  type: string
19374
19541
  format: date-time
19375
19542
  updatedAt:
19376
19543
  type: string
19377
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
19378
19577
  permissions:
19379
19578
  type: object
19380
19579
  properties:
@@ -19400,38 +19599,95 @@ components:
19400
19599
  required:
19401
19600
  - object
19402
19601
  - id
19403
- - title
19404
- - languages
19602
+ - status
19603
+ - source
19604
+ - language
19605
+ - instructions
19405
19606
  - createdAt
19406
19607
  - updatedAt
19608
+ - stats
19407
19609
  - permissions
19408
19610
  - urls
19409
- 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:
19410
19620
  type: object
19411
19621
  properties:
19412
19622
  object:
19413
19623
  type: string
19414
19624
  enum:
19415
- - translation-language-settings
19416
- language:
19417
- $ref: "#/components/schemas/TranslationLanguage"
19418
- instructions:
19419
- $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
19420
19637
  urls:
19421
19638
  type: object
19422
- description: URLs associated with the object
19423
19639
  properties:
19424
19640
  location:
19425
19641
  type: string
19426
- description: URL of the translation language settings in the API
19427
19642
  format: uri
19643
+ description: URL of the glossary entry in the API
19428
19644
  required:
19429
19645
  - location
19430
19646
  required:
19431
19647
  - object
19432
- - language
19433
- - instructions
19648
+ - id
19649
+ - translations
19650
+ - createdAt
19651
+ - updatedAt
19434
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
19435
19691
  StorageFileMetadata:
19436
19692
  type: object
19437
19693
  properties:
@@ -19587,7 +19843,7 @@ components:
19587
19843
  $ref: "#/components/schemas/BillingInvoicePreview"
19588
19844
  required:
19589
19845
  - type
19590
- SiteAdaptiveJSONSchemaClaimsProperties:
19846
+ SiteAdaptiveDeterministicJSONSchemaPrimitives:
19591
19847
  oneOf:
19592
19848
  - type: object
19593
19849
  properties:
@@ -19618,6 +19874,51 @@ components:
19618
19874
  - enum
19619
19875
  - description
19620
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
19621
19922
  - type: object
19622
19923
  properties:
19623
19924
  type:
@@ -19648,8 +19949,6 @@ components:
19648
19949
  type: string
19649
19950
  enum:
19650
19951
  - http://json-schema.org/draft-07/schema#
19651
- $id:
19652
- type: string
19653
19952
  type:
19654
19953
  type: string
19655
19954
  enum:
@@ -20125,15 +20424,6 @@ components:
20125
20424
  description: If true, feedback gathering is enabled
20126
20425
  required:
20127
20426
  - enabled
20128
- aiSearch:
20129
- type: object
20130
- deprecated: true
20131
- properties:
20132
- enabled:
20133
- type: boolean
20134
- description: If true, AI search is enabled
20135
- required:
20136
- - enabled
20137
20427
  ai:
20138
20428
  type: object
20139
20429
  properties:
@@ -20157,6 +20447,18 @@ components:
20157
20447
  description: Whether the published site should show a link to edit the content on the git provider set up in the Git Sync
20158
20448
  required:
20159
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
20160
20462
  externalLinks:
20161
20463
  type: object
20162
20464
  properties:
@@ -20208,12 +20510,12 @@ components:
20208
20510
  - themes
20209
20511
  - pdf
20210
20512
  - feedback
20211
- - aiSearch
20212
20513
  - ai
20213
20514
  - advancedCustomization
20214
20515
  - trademark
20215
20516
  - externalLinks
20216
20517
  - pagination
20518
+ - pageActions
20217
20519
  - git
20218
20520
  - privacyPolicy
20219
20521
  - socialPreview
@@ -21229,6 +21531,31 @@ components:
21229
21531
  required:
21230
21532
  - type
21231
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
21232
21559
  SiteInsightsLinkPosition:
21233
21560
  type: string
21234
21561
  enum:
@@ -21362,6 +21689,7 @@ components:
21362
21689
  - $ref: "#/components/schemas/SiteInsightsEventPagePostFeedback"
21363
21690
  - $ref: "#/components/schemas/SiteInsightsEventPagePostFeedbackComment"
21364
21691
  - $ref: "#/components/schemas/SiteInsightsEventAskQuestion"
21692
+ - $ref: "#/components/schemas/SiteInsightsEventAskRateResponse"
21365
21693
  - $ref: "#/components/schemas/SiteInsightsEventLinkClick"
21366
21694
  - $ref: "#/components/schemas/SiteInsightsEventAPIClientOpen"
21367
21695
  - $ref: "#/components/schemas/SiteInsightsEventAPIClientRequest"
@@ -21591,6 +21919,14 @@ components:
21591
21919
  type: string
21592
21920
  enum:
21593
21921
  - eventPageFeedbackComment
21922
+ - type: object
21923
+ required:
21924
+ - column
21925
+ properties:
21926
+ column:
21927
+ type: string
21928
+ enum:
21929
+ - eventAskResponseRating
21594
21930
  - type: object
21595
21931
  required:
21596
21932
  - column
@@ -21599,6 +21935,14 @@ components:
21599
21935
  type: string
21600
21936
  enum:
21601
21937
  - pageFeedbackRating
21938
+ - type: object
21939
+ required:
21940
+ - column
21941
+ properties:
21942
+ column:
21943
+ type: string
21944
+ enum:
21945
+ - askResponseRating
21602
21946
  - type: object
21603
21947
  required:
21604
21948
  - column
@@ -21708,6 +22052,7 @@ components:
21708
22052
  - page_post_feedback
21709
22053
  - page_post_feedback_comment
21710
22054
  - ask_question
22055
+ - ask_rate_response
21711
22056
  - link_click
21712
22057
  - api_client_open
21713
22058
  - api_client_request
@@ -22166,6 +22511,27 @@ components:
22166
22511
  type: number
22167
22512
  bad:
22168
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
22169
22535
  - type: object
22170
22536
  required:
22171
22537
  - column
@@ -22179,6 +22545,19 @@ components:
22179
22545
  type: array
22180
22546
  items:
22181
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
22182
22561
  - type: object
22183
22562
  required:
22184
22563
  - column
@@ -22973,13 +23352,13 @@ components:
22973
23352
  description: Identifier of the revision being previewed in this URL.
22974
23353
  pathname:
22975
23354
  type: string
22976
- description: Path of the content relative to the space
23355
+ description: Path of the content relative to the input URL being resolved
22977
23356
  basePath:
22978
23357
  type: string
22979
- description: Prefix of the path in the URL dedicated to the space
23358
+ description: Prefix of the path in the input URL being resolved
22980
23359
  siteBasePath:
22981
23360
  type: string
22982
- 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
22983
23362
  apiToken:
22984
23363
  type: string
22985
23364
  description: Short-lived API token to fetch content related to the space in the context of the URL.
@@ -23162,6 +23541,65 @@ components:
23162
23541
  description: Predefined GitBook user identifiers
23163
23542
  enum:
23164
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
23165
23603
  ComputedContentSource:
23166
23604
  oneOf:
23167
23605
  - $ref: "#/components/schemas/ComputedContentSourceDocument"
@@ -23989,14 +24427,27 @@ components:
23989
24427
  required:
23990
24428
  - channel
23991
24429
  - organization
23992
- OrganizationTranslationSettingsChannel:
24430
+ OrganizationTranslationsChannel:
23993
24431
  type: object
23994
- description: Subscription channel for changes in translation settings in an organization.
24432
+ description: Subscription channel for changes in translations in an organization.
23995
24433
  properties:
23996
24434
  channel:
23997
24435
  type: string
23998
24436
  enum:
23999
- - organization-translation-settings
24437
+ - organization-translations
24438
+ organization:
24439
+ type: string
24440
+ required:
24441
+ - channel
24442
+ - organization
24443
+ OrganizationTranslationsGlossaryChannel:
24444
+ type: object
24445
+ description: Subscription channel for changes in the glossary in an organization.
24446
+ properties:
24447
+ channel:
24448
+ type: string
24449
+ enum:
24450
+ - organization-translations-glossary
24000
24451
  organization:
24001
24452
  type: string
24002
24453
  required:
@@ -24392,18 +24843,6 @@ components:
24392
24843
  required:
24393
24844
  - channel
24394
24845
  - customHostname
24395
- GitSyncSettingsChannel:
24396
- type: object
24397
- properties:
24398
- channel:
24399
- type: string
24400
- enum:
24401
- - space-gitsync-settings
24402
- space:
24403
- type: string
24404
- required:
24405
- - channel
24406
- - space
24407
24846
  GitSyncOperationChannel:
24408
24847
  type: object
24409
24848
  properties:
@@ -24441,13 +24880,13 @@ components:
24441
24880
  required:
24442
24881
  - channel
24443
24882
  - subdomain
24444
- TranslationSettingsChannel:
24883
+ TranslationChannel:
24445
24884
  type: object
24446
24885
  properties:
24447
24886
  channel:
24448
24887
  type: string
24449
24888
  enum:
24450
- - translation-settings
24889
+ - translation
24451
24890
  translation:
24452
24891
  type: string
24453
24892
  required:
@@ -24520,7 +24959,8 @@ components:
24520
24959
  - $ref: "#/components/schemas/OrganizationSitesChannel"
24521
24960
  - $ref: "#/components/schemas/OrganizationAIIndexationChannel"
24522
24961
  - $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
24523
- - $ref: "#/components/schemas/OrganizationTranslationSettingsChannel"
24962
+ - $ref: "#/components/schemas/OrganizationTranslationsChannel"
24963
+ - $ref: "#/components/schemas/OrganizationTranslationsGlossaryChannel"
24524
24964
  - $ref: "#/components/schemas/OrganizationCustomFontsChannel"
24525
24965
  - $ref: "#/components/schemas/SpaceCommentsChannel"
24526
24966
  - $ref: "#/components/schemas/ChangeRequestCommentsChannel"
@@ -24549,11 +24989,10 @@ components:
24549
24989
  - $ref: "#/components/schemas/SiteMcpServerChannel"
24550
24990
  - $ref: "#/components/schemas/SiteSectionChannel"
24551
24991
  - $ref: "#/components/schemas/CustomHostnameChannel"
24552
- - $ref: "#/components/schemas/GitSyncSettingsChannel"
24553
24992
  - $ref: "#/components/schemas/GitSyncOperationChannel"
24554
24993
  - $ref: "#/components/schemas/OpenAPISpecChannel"
24555
24994
  - $ref: "#/components/schemas/SubdomainChannel"
24556
- - $ref: "#/components/schemas/TranslationSettingsChannel"
24995
+ - $ref: "#/components/schemas/TranslationChannel"
24557
24996
  - $ref: "#/components/schemas/AgentTaskChannel"
24558
24997
  - $ref: "#/components/schemas/AgentTasksChannel"
24559
24998
  discriminator:
@@ -24661,6 +25100,31 @@ components:
24661
25100
  - $ref: "#/components/schemas/APIChannelMutationData"
24662
25101
  discriminator:
24663
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
24664
25128
  SiteAdsStatus:
24665
25129
  type: string
24666
25130
  description: The status of ads on the site
@@ -24875,6 +25339,8 @@ components:
24875
25339
  $ref: "#/components/schemas/VisitorAuthCustomBackend"
24876
25340
  SpaceVisitorAuthIntegrationBackend:
24877
25341
  $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
25342
+ ApplyTemplate:
25343
+ $ref: "#/components/schemas/ApplySpaceTemplate"
24878
25344
  UserPermissions:
24879
25345
  $ref: "#/components/schemas/_index"
24880
25346
  SiteRedirectDestinationSpace: