@gitbook/api 0.128.0 → 0.130.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/dist/client.d.ts +466 -213
- package/dist/index.cjs +117 -76
- package/dist/index.js +112 -74
- package/package.json +1 -1
- package/spec/openapi.json +1375 -492
- package/spec/openapi.yaml +988 -383
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
|
|
@@ -1455,9 +1499,14 @@ paths:
|
|
|
1455
1499
|
type: array
|
|
1456
1500
|
items:
|
|
1457
1501
|
$ref: "#/components/schemas/RevisionFile"
|
|
1502
|
+
reusableContents:
|
|
1503
|
+
type: array
|
|
1504
|
+
items:
|
|
1505
|
+
$ref: "#/components/schemas/RevisionReusableContent"
|
|
1458
1506
|
required:
|
|
1459
1507
|
- pages
|
|
1460
1508
|
- files
|
|
1509
|
+
- reusableContents
|
|
1461
1510
|
"/spaces/{spaceId}/documents/{documentId}":
|
|
1462
1511
|
get:
|
|
1463
1512
|
operationId: getDocumentById
|
|
@@ -5731,6 +5780,39 @@ paths:
|
|
|
5731
5780
|
$ref: "#/components/schemas/OpenAPISpec"
|
|
5732
5781
|
"400":
|
|
5733
5782
|
$ref: "#/components/responses/BadRequestError"
|
|
5783
|
+
patch:
|
|
5784
|
+
operationId: updateOpenAPISpecBySlug
|
|
5785
|
+
summary: Update OpenAPI spec visibility
|
|
5786
|
+
tags:
|
|
5787
|
+
- openapi
|
|
5788
|
+
security:
|
|
5789
|
+
- user: []
|
|
5790
|
+
parameters:
|
|
5791
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5792
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
5793
|
+
requestBody:
|
|
5794
|
+
required: true
|
|
5795
|
+
content:
|
|
5796
|
+
application/json:
|
|
5797
|
+
schema:
|
|
5798
|
+
type: object
|
|
5799
|
+
properties:
|
|
5800
|
+
visibility:
|
|
5801
|
+
$ref: "#/components/schemas/OpenAPISpecVisibility"
|
|
5802
|
+
required:
|
|
5803
|
+
- visibility
|
|
5804
|
+
responses:
|
|
5805
|
+
"200":
|
|
5806
|
+
description: OpenAPI specification visibility has been updated
|
|
5807
|
+
content:
|
|
5808
|
+
application/json:
|
|
5809
|
+
schema:
|
|
5810
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
5811
|
+
"400":
|
|
5812
|
+
$ref: "#/components/responses/BadRequestError"
|
|
5813
|
+
"404":
|
|
5814
|
+
description: No matching OpenAPI specification found
|
|
5815
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5734
5816
|
delete:
|
|
5735
5817
|
operationId: deleteOpenAPISpecBySlug
|
|
5736
5818
|
summary: Delete an OpenAPI spec
|
|
@@ -6116,8 +6198,8 @@ paths:
|
|
|
6116
6198
|
$ref: "#/components/schemas/AgentTask"
|
|
6117
6199
|
"/orgs/{organizationId}/translations":
|
|
6118
6200
|
get:
|
|
6119
|
-
operationId:
|
|
6120
|
-
summary: List all the
|
|
6201
|
+
operationId: listTranslations
|
|
6202
|
+
summary: List all the translations
|
|
6121
6203
|
tags:
|
|
6122
6204
|
- translations
|
|
6123
6205
|
security:
|
|
@@ -6141,10 +6223,10 @@ paths:
|
|
|
6141
6223
|
items:
|
|
6142
6224
|
type: array
|
|
6143
6225
|
items:
|
|
6144
|
-
$ref: "#/components/schemas/
|
|
6226
|
+
$ref: "#/components/schemas/Translation"
|
|
6145
6227
|
post:
|
|
6146
|
-
operationId:
|
|
6147
|
-
summary: Create a translation
|
|
6228
|
+
operationId: createTranslation
|
|
6229
|
+
summary: Create a translation
|
|
6148
6230
|
tags:
|
|
6149
6231
|
- translations
|
|
6150
6232
|
security:
|
|
@@ -6158,98 +6240,100 @@ paths:
|
|
|
6158
6240
|
schema:
|
|
6159
6241
|
type: object
|
|
6160
6242
|
properties:
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6243
|
+
source:
|
|
6244
|
+
$ref: "#/components/schemas/TranslationSource"
|
|
6245
|
+
language:
|
|
6246
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
6247
|
+
instructions:
|
|
6248
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
6164
6249
|
required:
|
|
6165
|
-
-
|
|
6250
|
+
- language
|
|
6251
|
+
- source
|
|
6166
6252
|
responses:
|
|
6167
6253
|
"201":
|
|
6168
|
-
description: Translation
|
|
6254
|
+
description: Translation has been created
|
|
6169
6255
|
content:
|
|
6170
6256
|
application/json:
|
|
6171
6257
|
schema:
|
|
6172
|
-
$ref: "#/components/schemas/
|
|
6258
|
+
$ref: "#/components/schemas/Translation"
|
|
6173
6259
|
"400":
|
|
6174
6260
|
$ref: "#/components/responses/BadRequestError"
|
|
6175
|
-
"/orgs/{organizationId}/translations/{
|
|
6261
|
+
"/orgs/{organizationId}/translations/{translationId}":
|
|
6176
6262
|
get:
|
|
6177
|
-
operationId:
|
|
6178
|
-
summary: Get a translation
|
|
6263
|
+
operationId: getTranslation
|
|
6264
|
+
summary: Get a translation by its ID
|
|
6179
6265
|
tags:
|
|
6180
6266
|
- translations
|
|
6181
6267
|
security:
|
|
6182
6268
|
- user: []
|
|
6183
6269
|
parameters:
|
|
6184
6270
|
- $ref: "#/components/parameters/organizationId"
|
|
6185
|
-
- $ref: "#/components/parameters/
|
|
6271
|
+
- $ref: "#/components/parameters/translationId"
|
|
6186
6272
|
responses:
|
|
6187
6273
|
"200":
|
|
6188
6274
|
description: OK
|
|
6189
6275
|
content:
|
|
6190
6276
|
application/json:
|
|
6191
6277
|
schema:
|
|
6192
|
-
$ref: "#/components/schemas/
|
|
6278
|
+
$ref: "#/components/schemas/Translation"
|
|
6193
6279
|
"404":
|
|
6194
|
-
description: No matching translation
|
|
6280
|
+
description: No matching translation found
|
|
6195
6281
|
$ref: "#/components/responses/NotFoundError"
|
|
6196
6282
|
put:
|
|
6197
|
-
operationId:
|
|
6198
|
-
summary: Update a translation
|
|
6283
|
+
operationId: updateTranslation
|
|
6284
|
+
summary: Update a translation
|
|
6199
6285
|
tags:
|
|
6200
6286
|
- translations
|
|
6201
6287
|
security:
|
|
6202
6288
|
- user: []
|
|
6203
6289
|
parameters:
|
|
6204
6290
|
- $ref: "#/components/parameters/organizationId"
|
|
6205
|
-
- $ref: "#/components/parameters/
|
|
6291
|
+
- $ref: "#/components/parameters/translationId"
|
|
6206
6292
|
requestBody:
|
|
6207
6293
|
required: true
|
|
6208
6294
|
content:
|
|
6209
6295
|
application/json:
|
|
6210
6296
|
schema:
|
|
6211
6297
|
type: object
|
|
6212
|
-
properties:
|
|
6213
|
-
title:
|
|
6214
|
-
type: string
|
|
6215
|
-
description: The title of the translation settings
|
|
6216
6298
|
required:
|
|
6217
|
-
-
|
|
6299
|
+
- instructions
|
|
6300
|
+
properties:
|
|
6301
|
+
instructions:
|
|
6302
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
6218
6303
|
responses:
|
|
6219
6304
|
"200":
|
|
6220
|
-
description: Translation
|
|
6305
|
+
description: Translation has been updated
|
|
6221
6306
|
content:
|
|
6222
6307
|
application/json:
|
|
6223
6308
|
schema:
|
|
6224
|
-
$ref: "#/components/schemas/
|
|
6309
|
+
$ref: "#/components/schemas/Translation"
|
|
6225
6310
|
"400":
|
|
6226
6311
|
$ref: "#/components/responses/BadRequestError"
|
|
6227
6312
|
delete:
|
|
6228
|
-
operationId:
|
|
6229
|
-
summary: Delete a translation
|
|
6313
|
+
operationId: deleteTranslation
|
|
6314
|
+
summary: Delete a translation
|
|
6230
6315
|
tags:
|
|
6231
6316
|
- translations
|
|
6232
6317
|
security:
|
|
6233
6318
|
- user: []
|
|
6234
6319
|
parameters:
|
|
6235
6320
|
- $ref: "#/components/parameters/organizationId"
|
|
6236
|
-
- $ref: "#/components/parameters/
|
|
6321
|
+
- $ref: "#/components/parameters/translationId"
|
|
6237
6322
|
responses:
|
|
6238
6323
|
"204":
|
|
6239
|
-
description: Translation
|
|
6324
|
+
description: Translation did not exist
|
|
6240
6325
|
"205":
|
|
6241
|
-
description: Translation
|
|
6242
|
-
"/orgs/{organizationId}/translations
|
|
6326
|
+
description: Translation has been deleted
|
|
6327
|
+
"/orgs/{organizationId}/translations-glossary":
|
|
6243
6328
|
get:
|
|
6244
|
-
operationId:
|
|
6245
|
-
summary: List
|
|
6329
|
+
operationId: listGlossaryEntries
|
|
6330
|
+
summary: List glossary entries
|
|
6246
6331
|
tags:
|
|
6247
|
-
-
|
|
6332
|
+
- glossary
|
|
6248
6333
|
security:
|
|
6249
6334
|
- user: []
|
|
6250
6335
|
parameters:
|
|
6251
6336
|
- $ref: "#/components/parameters/organizationId"
|
|
6252
|
-
- $ref: "#/components/parameters/translationSettingsId"
|
|
6253
6337
|
- $ref: "#/components/parameters/listPage"
|
|
6254
6338
|
- $ref: "#/components/parameters/listLimit"
|
|
6255
6339
|
responses:
|
|
@@ -6267,43 +6351,16 @@ paths:
|
|
|
6267
6351
|
items:
|
|
6268
6352
|
type: array
|
|
6269
6353
|
items:
|
|
6270
|
-
$ref: "#/components/schemas/
|
|
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"
|
|
6354
|
+
$ref: "#/components/schemas/GlossaryEntry"
|
|
6296
6355
|
put:
|
|
6297
|
-
operationId:
|
|
6298
|
-
summary:
|
|
6356
|
+
operationId: updateGlossaryEntries
|
|
6357
|
+
summary: Update glossary entries
|
|
6299
6358
|
tags:
|
|
6300
|
-
-
|
|
6359
|
+
- glossary
|
|
6301
6360
|
security:
|
|
6302
6361
|
- user: []
|
|
6303
6362
|
parameters:
|
|
6304
6363
|
- $ref: "#/components/parameters/organizationId"
|
|
6305
|
-
- $ref: "#/components/parameters/translationSettingsId"
|
|
6306
|
-
- $ref: "#/components/parameters/translationLanguage"
|
|
6307
6364
|
requestBody:
|
|
6308
6365
|
required: true
|
|
6309
6366
|
content:
|
|
@@ -6311,44 +6368,37 @@ paths:
|
|
|
6311
6368
|
schema:
|
|
6312
6369
|
type: object
|
|
6313
6370
|
properties:
|
|
6314
|
-
|
|
6315
|
-
|
|
6371
|
+
operations:
|
|
6372
|
+
type: array
|
|
6373
|
+
items:
|
|
6374
|
+
$ref: "#/components/schemas/GlossaryBatchOperation"
|
|
6316
6375
|
required:
|
|
6317
|
-
-
|
|
6376
|
+
- operations
|
|
6318
6377
|
responses:
|
|
6319
|
-
"
|
|
6320
|
-
description:
|
|
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"
|
|
6378
|
+
"204":
|
|
6379
|
+
description: Glossary entries updated
|
|
6331
6380
|
"400":
|
|
6332
6381
|
$ref: "#/components/responses/BadRequestError"
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
operationId: deleteTranslationLanguage
|
|
6338
|
-
summary: Remove a translation settings language
|
|
6382
|
+
"/orgs/{organizationId}/translations-glossary/{glossaryEntryId}":
|
|
6383
|
+
get:
|
|
6384
|
+
operationId: getGlossaryEntry
|
|
6385
|
+
summary: Get a glossary entry by its ID
|
|
6339
6386
|
tags:
|
|
6340
|
-
-
|
|
6387
|
+
- glossary
|
|
6341
6388
|
security:
|
|
6342
6389
|
- user: []
|
|
6343
6390
|
parameters:
|
|
6344
6391
|
- $ref: "#/components/parameters/organizationId"
|
|
6345
|
-
- $ref: "#/components/parameters/
|
|
6346
|
-
- $ref: "#/components/parameters/translationLanguage"
|
|
6392
|
+
- $ref: "#/components/parameters/glossaryEntryId"
|
|
6347
6393
|
responses:
|
|
6348
|
-
"
|
|
6349
|
-
description:
|
|
6350
|
-
|
|
6351
|
-
|
|
6394
|
+
"200":
|
|
6395
|
+
description: OK
|
|
6396
|
+
content:
|
|
6397
|
+
application/json:
|
|
6398
|
+
schema:
|
|
6399
|
+
$ref: "#/components/schemas/GlossaryEntry"
|
|
6400
|
+
"404":
|
|
6401
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6352
6402
|
"/orgs/{organizationId}/storage/upload":
|
|
6353
6403
|
post:
|
|
6354
6404
|
operationId: generateStorageUploadURL
|
|
@@ -7802,6 +7852,11 @@ paths:
|
|
|
7802
7852
|
parameters:
|
|
7803
7853
|
- $ref: "#/components/parameters/organizationId"
|
|
7804
7854
|
- $ref: "#/components/parameters/siteId"
|
|
7855
|
+
- name: spaceId
|
|
7856
|
+
in: query
|
|
7857
|
+
description: The ID of the space to filter the recommended questions for.
|
|
7858
|
+
schema:
|
|
7859
|
+
type: string
|
|
7805
7860
|
responses:
|
|
7806
7861
|
"200":
|
|
7807
7862
|
description: OK
|
|
@@ -9522,6 +9577,13 @@ components:
|
|
|
9522
9577
|
description: The app screen URL to bring the user back to after a canceled checkout.
|
|
9523
9578
|
schema:
|
|
9524
9579
|
type: string
|
|
9580
|
+
meterName:
|
|
9581
|
+
name: meterName
|
|
9582
|
+
in: path
|
|
9583
|
+
required: true
|
|
9584
|
+
description: Identifier of the billing meter
|
|
9585
|
+
schema:
|
|
9586
|
+
$ref: "#/components/schemas/BillingMeter"
|
|
9525
9587
|
samlProviderId:
|
|
9526
9588
|
name: samlProviderId
|
|
9527
9589
|
in: path
|
|
@@ -9557,20 +9619,20 @@ components:
|
|
|
9557
9619
|
description: The unique id of the agent task
|
|
9558
9620
|
schema:
|
|
9559
9621
|
type: string
|
|
9560
|
-
|
|
9561
|
-
name:
|
|
9622
|
+
translationId:
|
|
9623
|
+
name: translationId
|
|
9562
9624
|
in: path
|
|
9563
9625
|
required: true
|
|
9564
|
-
description: The unique id of the translation
|
|
9626
|
+
description: The unique id of the translation
|
|
9565
9627
|
schema:
|
|
9566
9628
|
type: string
|
|
9567
|
-
|
|
9568
|
-
name:
|
|
9629
|
+
glossaryEntryId:
|
|
9630
|
+
name: glossaryEntryId
|
|
9569
9631
|
in: path
|
|
9570
9632
|
required: true
|
|
9571
|
-
description: The
|
|
9633
|
+
description: The unique id of the glossary entry
|
|
9572
9634
|
schema:
|
|
9573
|
-
|
|
9635
|
+
type: string
|
|
9574
9636
|
fontId:
|
|
9575
9637
|
name: fontId
|
|
9576
9638
|
in: path
|
|
@@ -9658,6 +9720,13 @@ components:
|
|
|
9658
9720
|
schema:
|
|
9659
9721
|
type: string
|
|
9660
9722
|
required: true
|
|
9723
|
+
translationLanguage:
|
|
9724
|
+
name: translationLanguage
|
|
9725
|
+
in: path
|
|
9726
|
+
required: true
|
|
9727
|
+
description: The language of the translation
|
|
9728
|
+
schema:
|
|
9729
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
9661
9730
|
pageFormat:
|
|
9662
9731
|
$ref: "#/components/parameters/documentFormat"
|
|
9663
9732
|
commentStatus:
|
|
@@ -9726,6 +9795,9 @@ components:
|
|
|
9726
9795
|
count:
|
|
9727
9796
|
type: number
|
|
9728
9797
|
description: Total count of objects in the list
|
|
9798
|
+
APITokenLabel:
|
|
9799
|
+
type: string
|
|
9800
|
+
maxLength: 50
|
|
9729
9801
|
Timestamp:
|
|
9730
9802
|
type: string
|
|
9731
9803
|
format: date-time
|
|
@@ -9737,8 +9809,8 @@ components:
|
|
|
9737
9809
|
type: string
|
|
9738
9810
|
description: The API token ID.
|
|
9739
9811
|
label:
|
|
9740
|
-
|
|
9741
|
-
description:
|
|
9812
|
+
$ref: "#/components/schemas/APITokenLabel"
|
|
9813
|
+
description: A descriptive label for the API token.
|
|
9742
9814
|
createdAt:
|
|
9743
9815
|
$ref: "#/components/schemas/Timestamp"
|
|
9744
9816
|
description: The API token creation date.
|
|
@@ -10521,6 +10593,11 @@ components:
|
|
|
10521
10593
|
- orange
|
|
10522
10594
|
- yellow
|
|
10523
10595
|
- purple
|
|
10596
|
+
- $primary
|
|
10597
|
+
- $info
|
|
10598
|
+
- $success
|
|
10599
|
+
- $warning
|
|
10600
|
+
- $danger
|
|
10524
10601
|
background:
|
|
10525
10602
|
type: string
|
|
10526
10603
|
enum:
|
|
@@ -10531,6 +10608,11 @@ components:
|
|
|
10531
10608
|
- orange
|
|
10532
10609
|
- yellow
|
|
10533
10610
|
- purple
|
|
10611
|
+
- $primary
|
|
10612
|
+
- $info
|
|
10613
|
+
- $success
|
|
10614
|
+
- $warning
|
|
10615
|
+
- $danger
|
|
10534
10616
|
required:
|
|
10535
10617
|
- text
|
|
10536
10618
|
- background
|
|
@@ -12881,9 +12963,6 @@ components:
|
|
|
12881
12963
|
type: string
|
|
12882
12964
|
description:
|
|
12883
12965
|
type: string
|
|
12884
|
-
documentId:
|
|
12885
|
-
type: string
|
|
12886
|
-
description: ID of the document with the page body. If undefined, the page is empty.
|
|
12887
12966
|
pages:
|
|
12888
12967
|
type: array
|
|
12889
12968
|
items:
|
|
@@ -13031,130 +13110,66 @@ components:
|
|
|
13031
13110
|
type: boolean
|
|
13032
13111
|
required:
|
|
13033
13112
|
- models
|
|
13034
|
-
|
|
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:
|
|
13113
|
+
TranslationRef:
|
|
13099
13114
|
type: object
|
|
13100
13115
|
properties:
|
|
13101
13116
|
kind:
|
|
13102
13117
|
type: string
|
|
13103
13118
|
enum:
|
|
13104
|
-
- translation
|
|
13105
|
-
|
|
13119
|
+
- translation
|
|
13120
|
+
translation:
|
|
13106
13121
|
type: string
|
|
13107
|
-
description: ID of the translation
|
|
13108
|
-
language:
|
|
13109
|
-
$ref: "#/components/schemas/TranslationLanguage"
|
|
13122
|
+
description: ID of the translation sync
|
|
13110
13123
|
required:
|
|
13111
13124
|
- kind
|
|
13112
|
-
-
|
|
13113
|
-
|
|
13114
|
-
TranslationParameters:
|
|
13125
|
+
- translation
|
|
13126
|
+
TranslationResult:
|
|
13115
13127
|
type: object
|
|
13116
|
-
description:
|
|
13128
|
+
description: Result of a translation.
|
|
13117
13129
|
properties:
|
|
13118
|
-
|
|
13130
|
+
space:
|
|
13131
|
+
type: string
|
|
13132
|
+
description: ID of the space containing the result of the translation
|
|
13133
|
+
revision:
|
|
13119
13134
|
type: string
|
|
13120
|
-
description:
|
|
13135
|
+
description: ID of the revision generated by the translation
|
|
13121
13136
|
required:
|
|
13122
|
-
-
|
|
13137
|
+
- space
|
|
13138
|
+
- revision
|
|
13123
13139
|
ComputedContentDependencyTranslation:
|
|
13124
13140
|
type: object
|
|
13125
13141
|
properties:
|
|
13126
13142
|
ref:
|
|
13127
|
-
$ref: "#/components/schemas/
|
|
13143
|
+
$ref: "#/components/schemas/TranslationRef"
|
|
13128
13144
|
value:
|
|
13129
|
-
|
|
13145
|
+
oneOf:
|
|
13146
|
+
- $ref: "#/components/schemas/TranslationResult"
|
|
13147
|
+
- type: string
|
|
13148
|
+
description: Translation has not been run yet
|
|
13149
|
+
nullable: true
|
|
13150
|
+
enum:
|
|
13151
|
+
- null
|
|
13130
13152
|
required:
|
|
13131
13153
|
- ref
|
|
13132
13154
|
- value
|
|
13133
|
-
|
|
13155
|
+
ComputedContentSourceRevisionTranslation:
|
|
13134
13156
|
type: object
|
|
13135
|
-
description:
|
|
13157
|
+
description: Parameters for a translation computed content source
|
|
13136
13158
|
properties:
|
|
13137
13159
|
type:
|
|
13138
13160
|
type: string
|
|
13139
13161
|
enum:
|
|
13140
13162
|
- builtin:translation
|
|
13163
|
+
props:
|
|
13164
|
+
type: object
|
|
13165
|
+
additionalProperties: false
|
|
13166
|
+
properties: {}
|
|
13141
13167
|
dependencies:
|
|
13142
13168
|
type: object
|
|
13143
13169
|
required:
|
|
13144
|
-
-
|
|
13145
|
-
- settings
|
|
13170
|
+
- translation
|
|
13146
13171
|
properties:
|
|
13147
|
-
|
|
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:
|
|
13172
|
+
translation:
|
|
13158
13173
|
oneOf:
|
|
13159
13174
|
- type: object
|
|
13160
13175
|
additionalProperties: false
|
|
@@ -13162,25 +13177,12 @@ components:
|
|
|
13162
13177
|
- ref
|
|
13163
13178
|
properties:
|
|
13164
13179
|
ref:
|
|
13165
|
-
$ref: "#/components/schemas/
|
|
13180
|
+
$ref: "#/components/schemas/TranslationRef"
|
|
13166
13181
|
- $ref: "#/components/schemas/ComputedContentDependencyTranslation"
|
|
13167
13182
|
required:
|
|
13168
13183
|
- type
|
|
13184
|
+
- props
|
|
13169
13185
|
- 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
13186
|
ComputedContentDependency:
|
|
13185
13187
|
type: object
|
|
13186
13188
|
description: Dependency for a computation, before its resolution.
|
|
@@ -13190,18 +13192,43 @@ components:
|
|
|
13190
13192
|
oneOf:
|
|
13191
13193
|
- $ref: "#/components/schemas/ContentRefSpace"
|
|
13192
13194
|
- $ref: "#/components/schemas/ContentRefOpenAPI"
|
|
13193
|
-
- $ref: "#/components/schemas/
|
|
13195
|
+
- $ref: "#/components/schemas/TranslationRef"
|
|
13194
13196
|
required:
|
|
13195
13197
|
- ref
|
|
13196
|
-
|
|
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:
|
|
13198
|
+
ComputedContentDependencySpace:
|
|
13203
13199
|
type: object
|
|
13204
|
-
|
|
13200
|
+
properties:
|
|
13201
|
+
ref:
|
|
13202
|
+
$ref: "#/components/schemas/ContentRefSpace"
|
|
13203
|
+
value:
|
|
13204
|
+
type: object
|
|
13205
|
+
nullable: true
|
|
13206
|
+
description: See `Space` schema component.
|
|
13207
|
+
properties:
|
|
13208
|
+
object:
|
|
13209
|
+
type: string
|
|
13210
|
+
enum:
|
|
13211
|
+
- space
|
|
13212
|
+
id:
|
|
13213
|
+
type: string
|
|
13214
|
+
revision:
|
|
13215
|
+
type: string
|
|
13216
|
+
required:
|
|
13217
|
+
- object
|
|
13218
|
+
- id
|
|
13219
|
+
- revision
|
|
13220
|
+
required:
|
|
13221
|
+
- ref
|
|
13222
|
+
- value
|
|
13223
|
+
ComputedContentDependencyResolved:
|
|
13224
|
+
description: Dependency for a computation, with its resolved value.
|
|
13225
|
+
oneOf:
|
|
13226
|
+
- $ref: "#/components/schemas/ComputedContentDependencySpace"
|
|
13227
|
+
- $ref: "#/components/schemas/ComputedContentDependencyOpenAPI"
|
|
13228
|
+
- $ref: "#/components/schemas/ComputedContentDependencyTranslation"
|
|
13229
|
+
ComputedContentSourceIntegration:
|
|
13230
|
+
type: object
|
|
13231
|
+
description: Parameters for a computed content managed by an integration
|
|
13205
13232
|
properties:
|
|
13206
13233
|
type:
|
|
13207
13234
|
type: string
|
|
@@ -13292,6 +13319,19 @@ components:
|
|
|
13292
13319
|
pagination:
|
|
13293
13320
|
type: boolean
|
|
13294
13321
|
description: Should the pagination be visible?
|
|
13322
|
+
metadata:
|
|
13323
|
+
type: boolean
|
|
13324
|
+
description: Should the page metadata (last modified, author, etc.) be visible?
|
|
13325
|
+
required:
|
|
13326
|
+
- width
|
|
13327
|
+
- cover
|
|
13328
|
+
- coverSize
|
|
13329
|
+
- title
|
|
13330
|
+
- description
|
|
13331
|
+
- tableOfContents
|
|
13332
|
+
- outline
|
|
13333
|
+
- pagination
|
|
13334
|
+
- metadata
|
|
13295
13335
|
RevisionPageDocumentCover:
|
|
13296
13336
|
type: object
|
|
13297
13337
|
properties:
|
|
@@ -13353,22 +13393,26 @@ components:
|
|
|
13353
13393
|
type: string
|
|
13354
13394
|
minLength: 1
|
|
13355
13395
|
ComputedContentSourceDocumentTranslation:
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
|
|
13396
|
+
type: object
|
|
13397
|
+
description: Parameters for a document translation computed content source
|
|
13398
|
+
required:
|
|
13399
|
+
- type
|
|
13400
|
+
- props
|
|
13401
|
+
properties:
|
|
13402
|
+
type:
|
|
13403
|
+
type: string
|
|
13404
|
+
enum:
|
|
13405
|
+
- builtin:translation
|
|
13406
|
+
props:
|
|
13407
|
+
type: object
|
|
13359
13408
|
required:
|
|
13360
|
-
-
|
|
13409
|
+
- space
|
|
13410
|
+
- document
|
|
13361
13411
|
properties:
|
|
13362
|
-
|
|
13363
|
-
type:
|
|
13364
|
-
|
|
13365
|
-
|
|
13366
|
-
- sourceLanguage
|
|
13367
|
-
properties:
|
|
13368
|
-
document:
|
|
13369
|
-
type: string
|
|
13370
|
-
sourceLanguage:
|
|
13371
|
-
$ref: "#/components/schemas/TranslationLanguage"
|
|
13412
|
+
space:
|
|
13413
|
+
type: string
|
|
13414
|
+
document:
|
|
13415
|
+
type: string
|
|
13372
13416
|
ComputedContentSourceDocument:
|
|
13373
13417
|
oneOf:
|
|
13374
13418
|
- $ref: "#/components/schemas/ComputedContentSourceDocumentOpenAPI"
|
|
@@ -13460,19 +13504,35 @@ components:
|
|
|
13460
13504
|
- downloadURL
|
|
13461
13505
|
- size
|
|
13462
13506
|
RevisionReusableContent:
|
|
13463
|
-
|
|
13464
|
-
|
|
13465
|
-
|
|
13466
|
-
|
|
13467
|
-
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13473
|
-
|
|
13474
|
-
|
|
13475
|
-
-
|
|
13507
|
+
allOf:
|
|
13508
|
+
- type: object
|
|
13509
|
+
properties:
|
|
13510
|
+
id:
|
|
13511
|
+
type: string
|
|
13512
|
+
title:
|
|
13513
|
+
type: string
|
|
13514
|
+
git:
|
|
13515
|
+
$ref: "#/components/schemas/GitSyncBlob"
|
|
13516
|
+
required:
|
|
13517
|
+
- id
|
|
13518
|
+
- title
|
|
13519
|
+
- oneOf:
|
|
13520
|
+
- type: object
|
|
13521
|
+
description: Defined when the reusable content was generated by a computed content.
|
|
13522
|
+
properties:
|
|
13523
|
+
computed:
|
|
13524
|
+
$ref: "#/components/schemas/ComputedContentSourceDocument"
|
|
13525
|
+
computedSeed:
|
|
13526
|
+
type: string
|
|
13527
|
+
description: Seed to use for the generation of IDs.
|
|
13528
|
+
required:
|
|
13529
|
+
- computed
|
|
13530
|
+
- computedSeed
|
|
13531
|
+
- type: object
|
|
13532
|
+
properties:
|
|
13533
|
+
document:
|
|
13534
|
+
type: string
|
|
13535
|
+
description: ID of the document with the content body. If undefined, the reusable content is empty.
|
|
13476
13536
|
GitSyncCommit:
|
|
13477
13537
|
type: object
|
|
13478
13538
|
properties:
|
|
@@ -13752,6 +13812,25 @@ components:
|
|
|
13752
13812
|
totalResources:
|
|
13753
13813
|
type: number
|
|
13754
13814
|
description: How many resources were processed
|
|
13815
|
+
SpaceTemplateParams:
|
|
13816
|
+
type: object
|
|
13817
|
+
description: Parameters for a space template
|
|
13818
|
+
properties:
|
|
13819
|
+
contentRefs:
|
|
13820
|
+
type: object
|
|
13821
|
+
additionalProperties:
|
|
13822
|
+
type: object
|
|
13823
|
+
$ref: "#/components/schemas/ContentRef"
|
|
13824
|
+
ApplySpaceTemplate:
|
|
13825
|
+
type: object
|
|
13826
|
+
properties:
|
|
13827
|
+
id:
|
|
13828
|
+
type: string
|
|
13829
|
+
description: The ID of the template to use for the space
|
|
13830
|
+
params:
|
|
13831
|
+
$ref: "#/components/schemas/SpaceTemplateParams"
|
|
13832
|
+
required:
|
|
13833
|
+
- id
|
|
13755
13834
|
OrganizationTitle:
|
|
13756
13835
|
type: string
|
|
13757
13836
|
description: Name of the organization
|
|
@@ -13824,6 +13903,52 @@ components:
|
|
|
13824
13903
|
enum:
|
|
13825
13904
|
- monthly
|
|
13826
13905
|
- yearly
|
|
13906
|
+
OrganizationPricePair:
|
|
13907
|
+
type: object
|
|
13908
|
+
description: Pricing pair for monthly and yearly intervals
|
|
13909
|
+
properties:
|
|
13910
|
+
monthly:
|
|
13911
|
+
type: number
|
|
13912
|
+
description: Monthly price in USD
|
|
13913
|
+
minimum: 0
|
|
13914
|
+
yearly:
|
|
13915
|
+
type: number
|
|
13916
|
+
description: Yearly price in USD (per month)
|
|
13917
|
+
minimum: 0
|
|
13918
|
+
required:
|
|
13919
|
+
- monthly
|
|
13920
|
+
- yearly
|
|
13921
|
+
OrganizationPricing:
|
|
13922
|
+
type: object
|
|
13923
|
+
description: Pricing information for an organization
|
|
13924
|
+
properties:
|
|
13925
|
+
members:
|
|
13926
|
+
type: object
|
|
13927
|
+
description: Pricing for members (organization plan)
|
|
13928
|
+
properties:
|
|
13929
|
+
plus_2024:
|
|
13930
|
+
$ref: "#/components/schemas/OrganizationPricePair"
|
|
13931
|
+
pro_2024:
|
|
13932
|
+
$ref: "#/components/schemas/OrganizationPricePair"
|
|
13933
|
+
required:
|
|
13934
|
+
- plus_2024
|
|
13935
|
+
- pro_2024
|
|
13936
|
+
additionalProperties: false
|
|
13937
|
+
sites:
|
|
13938
|
+
type: object
|
|
13939
|
+
description: Pricing for site types (site plans)
|
|
13940
|
+
properties:
|
|
13941
|
+
premium:
|
|
13942
|
+
$ref: "#/components/schemas/OrganizationPricePair"
|
|
13943
|
+
ultimate:
|
|
13944
|
+
$ref: "#/components/schemas/OrganizationPricePair"
|
|
13945
|
+
required:
|
|
13946
|
+
- premium
|
|
13947
|
+
- ultimate
|
|
13948
|
+
additionalProperties: false
|
|
13949
|
+
required:
|
|
13950
|
+
- members
|
|
13951
|
+
- sites
|
|
13827
13952
|
OrganizationBilling:
|
|
13828
13953
|
type: object
|
|
13829
13954
|
properties:
|
|
@@ -13838,11 +13963,15 @@ components:
|
|
|
13838
13963
|
isScheduledToCancel:
|
|
13839
13964
|
description: If true, the billing is set to cancel at the end of its current period
|
|
13840
13965
|
type: boolean
|
|
13966
|
+
pricing:
|
|
13967
|
+
description: Pricing information for the organization
|
|
13968
|
+
$ref: "#/components/schemas/OrganizationPricing"
|
|
13841
13969
|
required:
|
|
13842
13970
|
- interval
|
|
13843
13971
|
- endDate
|
|
13844
13972
|
- hasPaymentFailed
|
|
13845
13973
|
- isScheduledToCancel
|
|
13974
|
+
- pricing
|
|
13846
13975
|
BillingTrialStatus:
|
|
13847
13976
|
type: string
|
|
13848
13977
|
description: |
|
|
@@ -14281,6 +14410,15 @@ components:
|
|
|
14281
14410
|
- pending
|
|
14282
14411
|
- progress
|
|
14283
14412
|
- complete
|
|
14413
|
+
OpenAPISpecVisibility:
|
|
14414
|
+
type: string
|
|
14415
|
+
description: |
|
|
14416
|
+
The visibility setting of the OpenAPI spec.
|
|
14417
|
+
* `private`: The spec is not publicly available.
|
|
14418
|
+
* `public`: The spec is available to anyone with a public link.
|
|
14419
|
+
enum:
|
|
14420
|
+
- private
|
|
14421
|
+
- public
|
|
14284
14422
|
OpenAPISpecProcessingErrorCode:
|
|
14285
14423
|
description: OpenAPI processing error code
|
|
14286
14424
|
enum:
|
|
@@ -14310,6 +14448,8 @@ components:
|
|
|
14310
14448
|
$ref: "#/components/schemas/URL"
|
|
14311
14449
|
processingState:
|
|
14312
14450
|
$ref: "#/components/schemas/OpenAPISpecProcessingState"
|
|
14451
|
+
visibility:
|
|
14452
|
+
$ref: "#/components/schemas/OpenAPISpecVisibility"
|
|
14313
14453
|
lastVersion:
|
|
14314
14454
|
type: string
|
|
14315
14455
|
description: ID of the latest version of the OpenAPI specification
|
|
@@ -14342,6 +14482,10 @@ components:
|
|
|
14342
14482
|
app:
|
|
14343
14483
|
description: URL of the OpenAPI specification in the application
|
|
14344
14484
|
$ref: "#/components/schemas/URL"
|
|
14485
|
+
published:
|
|
14486
|
+
type: string
|
|
14487
|
+
description: URL of the published spec. Only defined when visibility is "published."
|
|
14488
|
+
format: uri
|
|
14345
14489
|
required:
|
|
14346
14490
|
- app
|
|
14347
14491
|
- location
|
|
@@ -14478,6 +14622,17 @@ components:
|
|
|
14478
14622
|
type: array
|
|
14479
14623
|
items:
|
|
14480
14624
|
$ref: "#/components/schemas/EmojiReaction"
|
|
14625
|
+
TableCellTarget:
|
|
14626
|
+
type: object
|
|
14627
|
+
description: Details about the table cell this comment is attached to, if any.
|
|
14628
|
+
properties:
|
|
14629
|
+
record:
|
|
14630
|
+
type: string
|
|
14631
|
+
definition:
|
|
14632
|
+
type: string
|
|
14633
|
+
required:
|
|
14634
|
+
- record
|
|
14635
|
+
- definition
|
|
14481
14636
|
Comment:
|
|
14482
14637
|
allOf:
|
|
14483
14638
|
- type: object
|
|
@@ -14522,6 +14677,8 @@ components:
|
|
|
14522
14677
|
type: string
|
|
14523
14678
|
required:
|
|
14524
14679
|
- id
|
|
14680
|
+
tableCell:
|
|
14681
|
+
$ref: "#/components/schemas/TableCellTarget"
|
|
14525
14682
|
changeRequest:
|
|
14526
14683
|
description: The change request containing this comment, if the comment was made inside a change request.
|
|
14527
14684
|
type: string
|
|
@@ -14735,6 +14892,8 @@ components:
|
|
|
14735
14892
|
body:
|
|
14736
14893
|
description: The content of the comment.
|
|
14737
14894
|
$ref: "#/components/schemas/Document"
|
|
14895
|
+
tableCell:
|
|
14896
|
+
$ref: "#/components/schemas/TableCellTarget"
|
|
14738
14897
|
required:
|
|
14739
14898
|
- body
|
|
14740
14899
|
UpdateCommentSchema:
|
|
@@ -18304,30 +18463,6 @@ components:
|
|
|
18304
18463
|
$ref: "#/components/schemas/BillingInterval"
|
|
18305
18464
|
changes:
|
|
18306
18465
|
$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
18466
|
reason:
|
|
18332
18467
|
type: string
|
|
18333
18468
|
description: Reason that triggered the billing upgrade
|
|
@@ -18538,6 +18673,37 @@ components:
|
|
|
18538
18673
|
- downgrade
|
|
18539
18674
|
- undo_cancel
|
|
18540
18675
|
- switch_interval
|
|
18676
|
+
BillingMeter:
|
|
18677
|
+
type: string
|
|
18678
|
+
description: Identifier of a billing meter
|
|
18679
|
+
enum:
|
|
18680
|
+
- ai_responses
|
|
18681
|
+
- ai_agent_responses
|
|
18682
|
+
- translation_words
|
|
18683
|
+
BillingMeterUsage:
|
|
18684
|
+
type: object
|
|
18685
|
+
description: Usage metrics for a billing meter
|
|
18686
|
+
properties:
|
|
18687
|
+
total:
|
|
18688
|
+
description: Total usage for the current billing period
|
|
18689
|
+
type: number
|
|
18690
|
+
daily:
|
|
18691
|
+
description: Daily usage for the past 30 days
|
|
18692
|
+
type: array
|
|
18693
|
+
items:
|
|
18694
|
+
type: object
|
|
18695
|
+
properties:
|
|
18696
|
+
date:
|
|
18697
|
+
$ref: "#/components/schemas/Timestamp"
|
|
18698
|
+
value:
|
|
18699
|
+
type: number
|
|
18700
|
+
description: Usage value for the day
|
|
18701
|
+
required:
|
|
18702
|
+
- date
|
|
18703
|
+
- value
|
|
18704
|
+
required:
|
|
18705
|
+
- total
|
|
18706
|
+
- daily
|
|
18541
18707
|
SearchSpaceResult:
|
|
18542
18708
|
type: object
|
|
18543
18709
|
description: Search result representing a space.
|
|
@@ -18555,16 +18721,39 @@ components:
|
|
|
18555
18721
|
- title
|
|
18556
18722
|
- pages
|
|
18557
18723
|
CreateSpace:
|
|
18558
|
-
|
|
18559
|
-
|
|
18560
|
-
|
|
18561
|
-
|
|
18562
|
-
|
|
18563
|
-
|
|
18564
|
-
|
|
18565
|
-
|
|
18566
|
-
|
|
18567
|
-
|
|
18724
|
+
allOf:
|
|
18725
|
+
- type: object
|
|
18726
|
+
properties:
|
|
18727
|
+
title:
|
|
18728
|
+
type: string
|
|
18729
|
+
maxLength: 50
|
|
18730
|
+
emoji:
|
|
18731
|
+
$ref: "#/components/schemas/Emoji"
|
|
18732
|
+
parent:
|
|
18733
|
+
type: string
|
|
18734
|
+
description: ID of a parent collection
|
|
18735
|
+
editMode:
|
|
18736
|
+
$ref: "#/components/schemas/SpaceEditMode"
|
|
18737
|
+
description: The edit mode of the space
|
|
18738
|
+
- anyOf:
|
|
18739
|
+
- type: object
|
|
18740
|
+
properties: {}
|
|
18741
|
+
additionalProperties: true
|
|
18742
|
+
- oneOf:
|
|
18743
|
+
- type: object
|
|
18744
|
+
description: Create a space from a template
|
|
18745
|
+
required:
|
|
18746
|
+
- template
|
|
18747
|
+
properties:
|
|
18748
|
+
template:
|
|
18749
|
+
$ref: "#/components/schemas/ApplySpaceTemplate"
|
|
18750
|
+
- type: object
|
|
18751
|
+
description: Create a space from a computed content source
|
|
18752
|
+
required:
|
|
18753
|
+
- computedSource
|
|
18754
|
+
properties:
|
|
18755
|
+
computedSource:
|
|
18756
|
+
$ref: "#/components/schemas/ComputedContentSourceRevision"
|
|
18568
18757
|
SAMLProviderLabel:
|
|
18569
18758
|
type: string
|
|
18570
18759
|
minLength: 1
|
|
@@ -19348,90 +19537,234 @@ components:
|
|
|
19348
19537
|
- createdAt
|
|
19349
19538
|
- updatedAt
|
|
19350
19539
|
- urls
|
|
19351
|
-
|
|
19540
|
+
TranslationStatus:
|
|
19352
19541
|
type: string
|
|
19353
|
-
|
|
19354
|
-
|
|
19355
|
-
|
|
19356
|
-
|
|
19357
|
-
|
|
19358
|
-
|
|
19359
|
-
|
|
19360
|
-
|
|
19361
|
-
|
|
19362
|
-
|
|
19363
|
-
|
|
19364
|
-
|
|
19365
|
-
|
|
19366
|
-
|
|
19367
|
-
|
|
19368
|
-
|
|
19369
|
-
|
|
19370
|
-
|
|
19371
|
-
|
|
19372
|
-
|
|
19373
|
-
|
|
19374
|
-
|
|
19375
|
-
|
|
19376
|
-
|
|
19377
|
-
|
|
19378
|
-
|
|
19379
|
-
|
|
19380
|
-
|
|
19381
|
-
|
|
19382
|
-
|
|
19383
|
-
|
|
19384
|
-
|
|
19385
|
-
type: boolean
|
|
19386
|
-
description: Whether the user can edit the object
|
|
19387
|
-
required:
|
|
19388
|
-
- view
|
|
19389
|
-
- edit
|
|
19390
|
-
urls:
|
|
19391
|
-
type: object
|
|
19392
|
-
description: URLs associated with the object
|
|
19393
|
-
properties:
|
|
19394
|
-
location:
|
|
19395
|
-
type: string
|
|
19396
|
-
description: URL of the translation settings in the API
|
|
19397
|
-
format: uri
|
|
19398
|
-
required:
|
|
19399
|
-
- location
|
|
19400
|
-
required:
|
|
19401
|
-
- object
|
|
19542
|
+
enum:
|
|
19543
|
+
- pending
|
|
19544
|
+
- running
|
|
19545
|
+
- completed
|
|
19546
|
+
TranslationLanguage:
|
|
19547
|
+
type: string
|
|
19548
|
+
enum:
|
|
19549
|
+
- en
|
|
19550
|
+
- fr
|
|
19551
|
+
- de
|
|
19552
|
+
- es
|
|
19553
|
+
- it
|
|
19554
|
+
- pt
|
|
19555
|
+
- ru
|
|
19556
|
+
- ja
|
|
19557
|
+
- zh
|
|
19558
|
+
- ko
|
|
19559
|
+
- ar
|
|
19560
|
+
- hi
|
|
19561
|
+
- nl
|
|
19562
|
+
- pl
|
|
19563
|
+
- tr
|
|
19564
|
+
- sv
|
|
19565
|
+
- no
|
|
19566
|
+
- da
|
|
19567
|
+
- fi
|
|
19568
|
+
- el
|
|
19569
|
+
- cs
|
|
19570
|
+
- hu
|
|
19571
|
+
- ro
|
|
19572
|
+
- th
|
|
19573
|
+
- vi
|
|
19402
19574
|
- id
|
|
19403
|
-
-
|
|
19404
|
-
-
|
|
19405
|
-
-
|
|
19406
|
-
-
|
|
19407
|
-
-
|
|
19408
|
-
-
|
|
19409
|
-
|
|
19575
|
+
- ms
|
|
19576
|
+
- he
|
|
19577
|
+
- uk
|
|
19578
|
+
- sk
|
|
19579
|
+
- bg
|
|
19580
|
+
- hr
|
|
19581
|
+
- lt
|
|
19582
|
+
- lv
|
|
19583
|
+
- et
|
|
19584
|
+
- sl
|
|
19585
|
+
TranslationSource:
|
|
19586
|
+
type: object
|
|
19587
|
+
required:
|
|
19588
|
+
- space
|
|
19589
|
+
- language
|
|
19590
|
+
properties:
|
|
19591
|
+
space:
|
|
19592
|
+
type: string
|
|
19593
|
+
description: ID of the source space
|
|
19594
|
+
language:
|
|
19595
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
19596
|
+
Translation:
|
|
19410
19597
|
type: object
|
|
19411
19598
|
properties:
|
|
19412
19599
|
object:
|
|
19413
19600
|
type: string
|
|
19414
19601
|
enum:
|
|
19415
|
-
- translation
|
|
19602
|
+
- translation
|
|
19603
|
+
id:
|
|
19604
|
+
type: string
|
|
19605
|
+
description: Unique identifier of the translation sync
|
|
19606
|
+
status:
|
|
19607
|
+
$ref: "#/components/schemas/TranslationStatus"
|
|
19608
|
+
source:
|
|
19609
|
+
$ref: "#/components/schemas/TranslationSource"
|
|
19416
19610
|
language:
|
|
19417
19611
|
$ref: "#/components/schemas/TranslationLanguage"
|
|
19418
19612
|
instructions:
|
|
19419
19613
|
$ref: "#/components/schemas/JSONDocument"
|
|
19614
|
+
result:
|
|
19615
|
+
$ref: "#/components/schemas/TranslationResult"
|
|
19616
|
+
createdAt:
|
|
19617
|
+
type: string
|
|
19618
|
+
format: date-time
|
|
19619
|
+
updatedAt:
|
|
19620
|
+
type: string
|
|
19621
|
+
format: date-time
|
|
19622
|
+
stats:
|
|
19623
|
+
type: object
|
|
19624
|
+
properties:
|
|
19625
|
+
runs:
|
|
19626
|
+
type: integer
|
|
19627
|
+
description: Total number of times the translation has been run
|
|
19628
|
+
totalWords:
|
|
19629
|
+
type: integer
|
|
19630
|
+
description: Total number of words translated
|
|
19631
|
+
totalPages:
|
|
19632
|
+
type: integer
|
|
19633
|
+
description: Total number of unique pages translated
|
|
19634
|
+
totalDuration:
|
|
19635
|
+
type: integer
|
|
19636
|
+
description: Total duration of all runs (in seconds)
|
|
19637
|
+
latestRunDuration:
|
|
19638
|
+
type: integer
|
|
19639
|
+
description: Duration of the latest run (in seconds)
|
|
19640
|
+
latestPages:
|
|
19641
|
+
type: integer
|
|
19642
|
+
description: Number of unique pages translated in the latest run
|
|
19643
|
+
latestWords:
|
|
19644
|
+
type: integer
|
|
19645
|
+
description: Number of words translated in the latest run
|
|
19646
|
+
required:
|
|
19647
|
+
- runs
|
|
19648
|
+
- totalWords
|
|
19649
|
+
- totalPages
|
|
19650
|
+
- totalDuration
|
|
19651
|
+
- latestRunDuration
|
|
19652
|
+
- latestPages
|
|
19653
|
+
- latestWords
|
|
19654
|
+
permissions:
|
|
19655
|
+
type: object
|
|
19656
|
+
properties:
|
|
19657
|
+
view:
|
|
19658
|
+
type: boolean
|
|
19659
|
+
description: Whether the user can view the object
|
|
19660
|
+
edit:
|
|
19661
|
+
type: boolean
|
|
19662
|
+
description: Whether the user can edit the object
|
|
19663
|
+
required:
|
|
19664
|
+
- view
|
|
19665
|
+
- edit
|
|
19420
19666
|
urls:
|
|
19421
19667
|
type: object
|
|
19422
19668
|
description: URLs associated with the object
|
|
19423
19669
|
properties:
|
|
19424
19670
|
location:
|
|
19425
19671
|
type: string
|
|
19426
|
-
description: URL of the translation
|
|
19672
|
+
description: URL of the translation settings in the API
|
|
19427
19673
|
format: uri
|
|
19428
19674
|
required:
|
|
19429
19675
|
- location
|
|
19430
19676
|
required:
|
|
19431
19677
|
- object
|
|
19678
|
+
- id
|
|
19679
|
+
- status
|
|
19680
|
+
- source
|
|
19432
19681
|
- language
|
|
19433
19682
|
- instructions
|
|
19683
|
+
- createdAt
|
|
19684
|
+
- updatedAt
|
|
19685
|
+
- stats
|
|
19686
|
+
- permissions
|
|
19687
|
+
- urls
|
|
19688
|
+
GlossaryTranslations:
|
|
19689
|
+
type: object
|
|
19690
|
+
additionalProperties:
|
|
19691
|
+
type: string
|
|
19692
|
+
minLength: 1
|
|
19693
|
+
maxLength: 255
|
|
19694
|
+
pattern: ^[^\n\r]*$
|
|
19695
|
+
description: Mapping of language codes to translated terms
|
|
19696
|
+
GlossaryEntry:
|
|
19697
|
+
type: object
|
|
19698
|
+
properties:
|
|
19699
|
+
object:
|
|
19700
|
+
type: string
|
|
19701
|
+
enum:
|
|
19702
|
+
- glossary-entry
|
|
19703
|
+
id:
|
|
19704
|
+
type: string
|
|
19705
|
+
description: Unique identifier of the glossary entry
|
|
19706
|
+
translations:
|
|
19707
|
+
$ref: "#/components/schemas/GlossaryTranslations"
|
|
19708
|
+
createdAt:
|
|
19709
|
+
type: string
|
|
19710
|
+
format: date-time
|
|
19711
|
+
updatedAt:
|
|
19712
|
+
type: string
|
|
19713
|
+
format: date-time
|
|
19714
|
+
urls:
|
|
19715
|
+
type: object
|
|
19716
|
+
properties:
|
|
19717
|
+
location:
|
|
19718
|
+
type: string
|
|
19719
|
+
format: uri
|
|
19720
|
+
description: URL of the glossary entry in the API
|
|
19721
|
+
required:
|
|
19722
|
+
- location
|
|
19723
|
+
required:
|
|
19724
|
+
- object
|
|
19725
|
+
- id
|
|
19726
|
+
- translations
|
|
19727
|
+
- createdAt
|
|
19728
|
+
- updatedAt
|
|
19434
19729
|
- urls
|
|
19730
|
+
GlossaryBatchOperation:
|
|
19731
|
+
oneOf:
|
|
19732
|
+
- type: object
|
|
19733
|
+
properties:
|
|
19734
|
+
type:
|
|
19735
|
+
type: string
|
|
19736
|
+
enum:
|
|
19737
|
+
- insert
|
|
19738
|
+
translations:
|
|
19739
|
+
$ref: "#/components/schemas/GlossaryTranslations"
|
|
19740
|
+
required:
|
|
19741
|
+
- type
|
|
19742
|
+
- translations
|
|
19743
|
+
- type: object
|
|
19744
|
+
properties:
|
|
19745
|
+
type:
|
|
19746
|
+
type: string
|
|
19747
|
+
enum:
|
|
19748
|
+
- update
|
|
19749
|
+
id:
|
|
19750
|
+
type: string
|
|
19751
|
+
translations:
|
|
19752
|
+
$ref: "#/components/schemas/GlossaryTranslations"
|
|
19753
|
+
required:
|
|
19754
|
+
- type
|
|
19755
|
+
- id
|
|
19756
|
+
- translations
|
|
19757
|
+
- type: object
|
|
19758
|
+
properties:
|
|
19759
|
+
type:
|
|
19760
|
+
type: string
|
|
19761
|
+
enum:
|
|
19762
|
+
- delete
|
|
19763
|
+
id:
|
|
19764
|
+
type: string
|
|
19765
|
+
required:
|
|
19766
|
+
- type
|
|
19767
|
+
- id
|
|
19435
19768
|
StorageFileMetadata:
|
|
19436
19769
|
type: object
|
|
19437
19770
|
properties:
|
|
@@ -19587,7 +19920,7 @@ components:
|
|
|
19587
19920
|
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
19588
19921
|
required:
|
|
19589
19922
|
- type
|
|
19590
|
-
|
|
19923
|
+
SiteAdaptiveDeterministicJSONSchemaPrimitives:
|
|
19591
19924
|
oneOf:
|
|
19592
19925
|
- type: object
|
|
19593
19926
|
properties:
|
|
@@ -19618,6 +19951,51 @@ components:
|
|
|
19618
19951
|
- enum
|
|
19619
19952
|
- description
|
|
19620
19953
|
additionalProperties: false
|
|
19954
|
+
SiteAdaptiveJSONSchemaPrimitives:
|
|
19955
|
+
oneOf:
|
|
19956
|
+
- $ref: "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaPrimitives"
|
|
19957
|
+
- type: object
|
|
19958
|
+
properties:
|
|
19959
|
+
type:
|
|
19960
|
+
type: string
|
|
19961
|
+
enum:
|
|
19962
|
+
- string
|
|
19963
|
+
description:
|
|
19964
|
+
type: string
|
|
19965
|
+
required:
|
|
19966
|
+
- type
|
|
19967
|
+
- description
|
|
19968
|
+
additionalProperties: false
|
|
19969
|
+
- type: object
|
|
19970
|
+
properties:
|
|
19971
|
+
type:
|
|
19972
|
+
type: string
|
|
19973
|
+
enum:
|
|
19974
|
+
- number
|
|
19975
|
+
description:
|
|
19976
|
+
type: string
|
|
19977
|
+
required:
|
|
19978
|
+
- type
|
|
19979
|
+
- description
|
|
19980
|
+
additionalProperties: false
|
|
19981
|
+
SiteAdaptiveJSONSchemaClaimsProperties:
|
|
19982
|
+
oneOf:
|
|
19983
|
+
- $ref: "#/components/schemas/SiteAdaptiveJSONSchemaPrimitives"
|
|
19984
|
+
- type: object
|
|
19985
|
+
properties:
|
|
19986
|
+
type:
|
|
19987
|
+
type: string
|
|
19988
|
+
enum:
|
|
19989
|
+
- array
|
|
19990
|
+
description:
|
|
19991
|
+
type: string
|
|
19992
|
+
items:
|
|
19993
|
+
$ref: "#/components/schemas/SiteAdaptiveJSONSchemaPrimitives"
|
|
19994
|
+
required:
|
|
19995
|
+
- type
|
|
19996
|
+
- description
|
|
19997
|
+
- items
|
|
19998
|
+
additionalProperties: false
|
|
19621
19999
|
- type: object
|
|
19622
20000
|
properties:
|
|
19623
20001
|
type:
|
|
@@ -19648,8 +20026,6 @@ components:
|
|
|
19648
20026
|
type: string
|
|
19649
20027
|
enum:
|
|
19650
20028
|
- http://json-schema.org/draft-07/schema#
|
|
19651
|
-
$id:
|
|
19652
|
-
type: string
|
|
19653
20029
|
type:
|
|
19654
20030
|
type: string
|
|
19655
20031
|
enum:
|
|
@@ -20125,15 +20501,6 @@ components:
|
|
|
20125
20501
|
description: If true, feedback gathering is enabled
|
|
20126
20502
|
required:
|
|
20127
20503
|
- 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
20504
|
ai:
|
|
20138
20505
|
type: object
|
|
20139
20506
|
properties:
|
|
@@ -20157,6 +20524,18 @@ components:
|
|
|
20157
20524
|
description: Whether the published site should show a link to edit the content on the git provider set up in the Git Sync
|
|
20158
20525
|
required:
|
|
20159
20526
|
- showEditLink
|
|
20527
|
+
pageActions:
|
|
20528
|
+
type: object
|
|
20529
|
+
properties:
|
|
20530
|
+
externalAI:
|
|
20531
|
+
type: boolean
|
|
20532
|
+
description: Whether actions to open ChatGPT, Anthropic, etc. should be available in the page menu.
|
|
20533
|
+
markdown:
|
|
20534
|
+
type: boolean
|
|
20535
|
+
description: Whether the copy and open the markdown version of the page should be available in the page menu.
|
|
20536
|
+
required:
|
|
20537
|
+
- externalAI
|
|
20538
|
+
- markdown
|
|
20160
20539
|
externalLinks:
|
|
20161
20540
|
type: object
|
|
20162
20541
|
properties:
|
|
@@ -20208,12 +20587,12 @@ components:
|
|
|
20208
20587
|
- themes
|
|
20209
20588
|
- pdf
|
|
20210
20589
|
- feedback
|
|
20211
|
-
- aiSearch
|
|
20212
20590
|
- ai
|
|
20213
20591
|
- advancedCustomization
|
|
20214
20592
|
- trademark
|
|
20215
20593
|
- externalLinks
|
|
20216
20594
|
- pagination
|
|
20595
|
+
- pageActions
|
|
20217
20596
|
- git
|
|
20218
20597
|
- privacyPolicy
|
|
20219
20598
|
- socialPreview
|
|
@@ -20682,12 +21061,16 @@ components:
|
|
|
20682
21061
|
spaceId:
|
|
20683
21062
|
type: string
|
|
20684
21063
|
description: The ID of the space being accessed.
|
|
21064
|
+
revisionId:
|
|
21065
|
+
type: string
|
|
21066
|
+
description: The ID of the revision within which the page content is being fetched.
|
|
20685
21067
|
page:
|
|
20686
21068
|
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
20687
21069
|
required:
|
|
20688
21070
|
- tool
|
|
20689
21071
|
- spaceId
|
|
20690
21072
|
- page
|
|
21073
|
+
- revisionId
|
|
20691
21074
|
AIToolCallGetPages:
|
|
20692
21075
|
type: object
|
|
20693
21076
|
properties:
|
|
@@ -20698,9 +21081,13 @@ components:
|
|
|
20698
21081
|
spaceId:
|
|
20699
21082
|
type: string
|
|
20700
21083
|
description: The ID of the space being accessed.
|
|
21084
|
+
revisionId:
|
|
21085
|
+
type: string
|
|
21086
|
+
description: The revision ID of the space.
|
|
20701
21087
|
required:
|
|
20702
21088
|
- tool
|
|
20703
21089
|
- spaceId
|
|
21090
|
+
- revisionId
|
|
20704
21091
|
AIToolCallSearchResult:
|
|
20705
21092
|
type: object
|
|
20706
21093
|
description: Result of a search
|
|
@@ -20711,6 +21098,9 @@ components:
|
|
|
20711
21098
|
pageId:
|
|
20712
21099
|
type: string
|
|
20713
21100
|
description: The ID of the page
|
|
21101
|
+
revisionId:
|
|
21102
|
+
type: string
|
|
21103
|
+
description: The revision ID of the result
|
|
20714
21104
|
anchor:
|
|
20715
21105
|
type: string
|
|
20716
21106
|
description: The anchor of the result
|
|
@@ -20723,6 +21113,7 @@ components:
|
|
|
20723
21113
|
required:
|
|
20724
21114
|
- spaceId
|
|
20725
21115
|
- pageId
|
|
21116
|
+
- revisionId
|
|
20726
21117
|
- title
|
|
20727
21118
|
AIToolCallSearch:
|
|
20728
21119
|
type: object
|
|
@@ -21229,6 +21620,31 @@ components:
|
|
|
21229
21620
|
required:
|
|
21230
21621
|
- type
|
|
21231
21622
|
- query
|
|
21623
|
+
SiteInsightsEventAskRateResponse:
|
|
21624
|
+
allOf:
|
|
21625
|
+
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
21626
|
+
- type: object
|
|
21627
|
+
properties:
|
|
21628
|
+
type:
|
|
21629
|
+
type: string
|
|
21630
|
+
enum:
|
|
21631
|
+
- ask_rate_response
|
|
21632
|
+
query:
|
|
21633
|
+
type: string
|
|
21634
|
+
description: Question asked.
|
|
21635
|
+
rating:
|
|
21636
|
+
type: integer
|
|
21637
|
+
enum:
|
|
21638
|
+
- 1
|
|
21639
|
+
- -1
|
|
21640
|
+
responseId:
|
|
21641
|
+
type: string
|
|
21642
|
+
description: ID of the AI response.
|
|
21643
|
+
required:
|
|
21644
|
+
- type
|
|
21645
|
+
- query
|
|
21646
|
+
- rating
|
|
21647
|
+
- responseId
|
|
21232
21648
|
SiteInsightsLinkPosition:
|
|
21233
21649
|
type: string
|
|
21234
21650
|
enum:
|
|
@@ -21362,6 +21778,7 @@ components:
|
|
|
21362
21778
|
- $ref: "#/components/schemas/SiteInsightsEventPagePostFeedback"
|
|
21363
21779
|
- $ref: "#/components/schemas/SiteInsightsEventPagePostFeedbackComment"
|
|
21364
21780
|
- $ref: "#/components/schemas/SiteInsightsEventAskQuestion"
|
|
21781
|
+
- $ref: "#/components/schemas/SiteInsightsEventAskRateResponse"
|
|
21365
21782
|
- $ref: "#/components/schemas/SiteInsightsEventLinkClick"
|
|
21366
21783
|
- $ref: "#/components/schemas/SiteInsightsEventAPIClientOpen"
|
|
21367
21784
|
- $ref: "#/components/schemas/SiteInsightsEventAPIClientRequest"
|
|
@@ -21591,6 +22008,14 @@ components:
|
|
|
21591
22008
|
type: string
|
|
21592
22009
|
enum:
|
|
21593
22010
|
- eventPageFeedbackComment
|
|
22011
|
+
- type: object
|
|
22012
|
+
required:
|
|
22013
|
+
- column
|
|
22014
|
+
properties:
|
|
22015
|
+
column:
|
|
22016
|
+
type: string
|
|
22017
|
+
enum:
|
|
22018
|
+
- eventAskResponseRating
|
|
21594
22019
|
- type: object
|
|
21595
22020
|
required:
|
|
21596
22021
|
- column
|
|
@@ -21599,6 +22024,14 @@ components:
|
|
|
21599
22024
|
type: string
|
|
21600
22025
|
enum:
|
|
21601
22026
|
- pageFeedbackRating
|
|
22027
|
+
- type: object
|
|
22028
|
+
required:
|
|
22029
|
+
- column
|
|
22030
|
+
properties:
|
|
22031
|
+
column:
|
|
22032
|
+
type: string
|
|
22033
|
+
enum:
|
|
22034
|
+
- askResponseRating
|
|
21602
22035
|
- type: object
|
|
21603
22036
|
required:
|
|
21604
22037
|
- column
|
|
@@ -21708,6 +22141,7 @@ components:
|
|
|
21708
22141
|
- page_post_feedback
|
|
21709
22142
|
- page_post_feedback_comment
|
|
21710
22143
|
- ask_question
|
|
22144
|
+
- ask_rate_response
|
|
21711
22145
|
- link_click
|
|
21712
22146
|
- api_client_open
|
|
21713
22147
|
- api_client_request
|
|
@@ -22166,6 +22600,27 @@ components:
|
|
|
22166
22600
|
type: number
|
|
22167
22601
|
bad:
|
|
22168
22602
|
type: number
|
|
22603
|
+
- type: object
|
|
22604
|
+
required:
|
|
22605
|
+
- column
|
|
22606
|
+
- values
|
|
22607
|
+
properties:
|
|
22608
|
+
column:
|
|
22609
|
+
type: string
|
|
22610
|
+
enum:
|
|
22611
|
+
- askResponseRating
|
|
22612
|
+
values:
|
|
22613
|
+
type: array
|
|
22614
|
+
items:
|
|
22615
|
+
type: object
|
|
22616
|
+
required:
|
|
22617
|
+
- positive
|
|
22618
|
+
- negative
|
|
22619
|
+
properties:
|
|
22620
|
+
positive:
|
|
22621
|
+
type: number
|
|
22622
|
+
negative:
|
|
22623
|
+
type: number
|
|
22169
22624
|
- type: object
|
|
22170
22625
|
required:
|
|
22171
22626
|
- column
|
|
@@ -22179,6 +22634,19 @@ components:
|
|
|
22179
22634
|
type: array
|
|
22180
22635
|
items:
|
|
22181
22636
|
$ref: "#/components/schemas/PageFeedbackRating"
|
|
22637
|
+
- type: object
|
|
22638
|
+
required:
|
|
22639
|
+
- column
|
|
22640
|
+
- values
|
|
22641
|
+
properties:
|
|
22642
|
+
column:
|
|
22643
|
+
type: string
|
|
22644
|
+
enum:
|
|
22645
|
+
- eventAskResponseRating
|
|
22646
|
+
values:
|
|
22647
|
+
type: array
|
|
22648
|
+
items:
|
|
22649
|
+
type: integer
|
|
22182
22650
|
- type: object
|
|
22183
22651
|
required:
|
|
22184
22652
|
- column
|
|
@@ -22338,7 +22806,7 @@ components:
|
|
|
22338
22806
|
properties:
|
|
22339
22807
|
operator:
|
|
22340
22808
|
$ref: "#/components/schemas/SiteInsightsQueryOperator"
|
|
22341
|
-
|
|
22809
|
+
SiteInsightsQueryRangePreset:
|
|
22342
22810
|
type: string
|
|
22343
22811
|
enum:
|
|
22344
22812
|
- lastYear
|
|
@@ -22346,6 +22814,20 @@ components:
|
|
|
22346
22814
|
- last30Days
|
|
22347
22815
|
- last7Days
|
|
22348
22816
|
- last24Hours
|
|
22817
|
+
SiteInsightsQueryRangeCustom:
|
|
22818
|
+
type: object
|
|
22819
|
+
properties:
|
|
22820
|
+
from:
|
|
22821
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22822
|
+
to:
|
|
22823
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22824
|
+
required:
|
|
22825
|
+
- from
|
|
22826
|
+
- to
|
|
22827
|
+
SiteInsightsQueryRange:
|
|
22828
|
+
oneOf:
|
|
22829
|
+
- $ref: "#/components/schemas/SiteInsightsQueryRangePreset"
|
|
22830
|
+
- $ref: "#/components/schemas/SiteInsightsQueryRangeCustom"
|
|
22349
22831
|
SiteInsightsQueryEventsAggregation:
|
|
22350
22832
|
type: object
|
|
22351
22833
|
required:
|
|
@@ -22973,13 +23455,13 @@ components:
|
|
|
22973
23455
|
description: Identifier of the revision being previewed in this URL.
|
|
22974
23456
|
pathname:
|
|
22975
23457
|
type: string
|
|
22976
|
-
description: Path of the content relative to the
|
|
23458
|
+
description: Path of the content relative to the input URL being resolved
|
|
22977
23459
|
basePath:
|
|
22978
23460
|
type: string
|
|
22979
|
-
description: Prefix of the path in the URL
|
|
23461
|
+
description: Prefix of the path in the input URL being resolved
|
|
22980
23462
|
siteBasePath:
|
|
22981
23463
|
type: string
|
|
22982
|
-
description: Prefix of the path in the URL
|
|
23464
|
+
description: Prefix of the site path in the input URL being resolved
|
|
22983
23465
|
apiToken:
|
|
22984
23466
|
type: string
|
|
22985
23467
|
description: Short-lived API token to fetch content related to the space in the context of the URL.
|
|
@@ -23162,6 +23644,65 @@ components:
|
|
|
23162
23644
|
description: Predefined GitBook user identifiers
|
|
23163
23645
|
enum:
|
|
23164
23646
|
- gitbook:agent
|
|
23647
|
+
SpaceTemplate:
|
|
23648
|
+
type: object
|
|
23649
|
+
properties:
|
|
23650
|
+
id:
|
|
23651
|
+
type: string
|
|
23652
|
+
contentId:
|
|
23653
|
+
type: string
|
|
23654
|
+
title:
|
|
23655
|
+
type: string
|
|
23656
|
+
description: A title of the template.
|
|
23657
|
+
subtitle:
|
|
23658
|
+
type: string
|
|
23659
|
+
description: A subtitle for the template.
|
|
23660
|
+
emoji:
|
|
23661
|
+
description: An emoji representing the template.
|
|
23662
|
+
$ref: "#/components/schemas/Emoji"
|
|
23663
|
+
openAPISpec:
|
|
23664
|
+
description: An optional OpenAPI spec to create along with the template.
|
|
23665
|
+
properties:
|
|
23666
|
+
slug:
|
|
23667
|
+
$ref: "#/components/schemas/OpenAPISpecSlug"
|
|
23668
|
+
sourceURL:
|
|
23669
|
+
$ref: "#/components/schemas/URL"
|
|
23670
|
+
required:
|
|
23671
|
+
- slug
|
|
23672
|
+
- sourceURL
|
|
23673
|
+
features:
|
|
23674
|
+
type: array
|
|
23675
|
+
description: A list of features that the template supports.
|
|
23676
|
+
items:
|
|
23677
|
+
type: string
|
|
23678
|
+
description: A feature supported by the template.
|
|
23679
|
+
previewImage:
|
|
23680
|
+
type: object
|
|
23681
|
+
properties:
|
|
23682
|
+
light:
|
|
23683
|
+
$ref: "#/components/schemas/URL"
|
|
23684
|
+
dark:
|
|
23685
|
+
$ref: "#/components/schemas/URL"
|
|
23686
|
+
required:
|
|
23687
|
+
- light
|
|
23688
|
+
- dark
|
|
23689
|
+
urls:
|
|
23690
|
+
type: object
|
|
23691
|
+
description: URLs associated with the object
|
|
23692
|
+
properties:
|
|
23693
|
+
preview:
|
|
23694
|
+
$ref: "#/components/schemas/URL"
|
|
23695
|
+
required:
|
|
23696
|
+
- preview
|
|
23697
|
+
required:
|
|
23698
|
+
- id
|
|
23699
|
+
- contentId
|
|
23700
|
+
- title
|
|
23701
|
+
- subtitle
|
|
23702
|
+
- emoji
|
|
23703
|
+
- features
|
|
23704
|
+
- previewImage
|
|
23705
|
+
- urls
|
|
23165
23706
|
ComputedContentSource:
|
|
23166
23707
|
oneOf:
|
|
23167
23708
|
- $ref: "#/components/schemas/ComputedContentSourceDocument"
|
|
@@ -23989,14 +24530,27 @@ components:
|
|
|
23989
24530
|
required:
|
|
23990
24531
|
- channel
|
|
23991
24532
|
- organization
|
|
23992
|
-
|
|
24533
|
+
OrganizationTranslationsChannel:
|
|
24534
|
+
type: object
|
|
24535
|
+
description: Subscription channel for changes in translations in an organization.
|
|
24536
|
+
properties:
|
|
24537
|
+
channel:
|
|
24538
|
+
type: string
|
|
24539
|
+
enum:
|
|
24540
|
+
- organization-translations
|
|
24541
|
+
organization:
|
|
24542
|
+
type: string
|
|
24543
|
+
required:
|
|
24544
|
+
- channel
|
|
24545
|
+
- organization
|
|
24546
|
+
OrganizationTranslationsGlossaryChannel:
|
|
23993
24547
|
type: object
|
|
23994
|
-
description: Subscription channel for changes in
|
|
24548
|
+
description: Subscription channel for changes in the glossary in an organization.
|
|
23995
24549
|
properties:
|
|
23996
24550
|
channel:
|
|
23997
24551
|
type: string
|
|
23998
24552
|
enum:
|
|
23999
|
-
- organization-
|
|
24553
|
+
- organization-translations-glossary
|
|
24000
24554
|
organization:
|
|
24001
24555
|
type: string
|
|
24002
24556
|
required:
|
|
@@ -24392,18 +24946,6 @@ components:
|
|
|
24392
24946
|
required:
|
|
24393
24947
|
- channel
|
|
24394
24948
|
- 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
24949
|
GitSyncOperationChannel:
|
|
24408
24950
|
type: object
|
|
24409
24951
|
properties:
|
|
@@ -24441,13 +24983,25 @@ components:
|
|
|
24441
24983
|
required:
|
|
24442
24984
|
- channel
|
|
24443
24985
|
- subdomain
|
|
24444
|
-
|
|
24986
|
+
TranslationChannel:
|
|
24445
24987
|
type: object
|
|
24446
24988
|
properties:
|
|
24447
24989
|
channel:
|
|
24448
24990
|
type: string
|
|
24449
24991
|
enum:
|
|
24450
|
-
- translation
|
|
24992
|
+
- translation
|
|
24993
|
+
translation:
|
|
24994
|
+
type: string
|
|
24995
|
+
required:
|
|
24996
|
+
- channel
|
|
24997
|
+
- translation
|
|
24998
|
+
TranslationRunChannel:
|
|
24999
|
+
type: object
|
|
25000
|
+
properties:
|
|
25001
|
+
channel:
|
|
25002
|
+
type: string
|
|
25003
|
+
enum:
|
|
25004
|
+
- translation-run
|
|
24451
25005
|
translation:
|
|
24452
25006
|
type: string
|
|
24453
25007
|
required:
|
|
@@ -24520,7 +25074,8 @@ components:
|
|
|
24520
25074
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
24521
25075
|
- $ref: "#/components/schemas/OrganizationAIIndexationChannel"
|
|
24522
25076
|
- $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
|
|
24523
|
-
- $ref: "#/components/schemas/
|
|
25077
|
+
- $ref: "#/components/schemas/OrganizationTranslationsChannel"
|
|
25078
|
+
- $ref: "#/components/schemas/OrganizationTranslationsGlossaryChannel"
|
|
24524
25079
|
- $ref: "#/components/schemas/OrganizationCustomFontsChannel"
|
|
24525
25080
|
- $ref: "#/components/schemas/SpaceCommentsChannel"
|
|
24526
25081
|
- $ref: "#/components/schemas/ChangeRequestCommentsChannel"
|
|
@@ -24549,15 +25104,39 @@ components:
|
|
|
24549
25104
|
- $ref: "#/components/schemas/SiteMcpServerChannel"
|
|
24550
25105
|
- $ref: "#/components/schemas/SiteSectionChannel"
|
|
24551
25106
|
- $ref: "#/components/schemas/CustomHostnameChannel"
|
|
24552
|
-
- $ref: "#/components/schemas/GitSyncSettingsChannel"
|
|
24553
25107
|
- $ref: "#/components/schemas/GitSyncOperationChannel"
|
|
24554
25108
|
- $ref: "#/components/schemas/OpenAPISpecChannel"
|
|
24555
25109
|
- $ref: "#/components/schemas/SubdomainChannel"
|
|
24556
|
-
- $ref: "#/components/schemas/
|
|
25110
|
+
- $ref: "#/components/schemas/TranslationChannel"
|
|
25111
|
+
- $ref: "#/components/schemas/TranslationRunChannel"
|
|
24557
25112
|
- $ref: "#/components/schemas/AgentTaskChannel"
|
|
24558
25113
|
- $ref: "#/components/schemas/AgentTasksChannel"
|
|
24559
25114
|
discriminator:
|
|
24560
25115
|
propertyName: channel
|
|
25116
|
+
TranslationRunChannelData:
|
|
25117
|
+
type: object
|
|
25118
|
+
properties:
|
|
25119
|
+
channel:
|
|
25120
|
+
type: string
|
|
25121
|
+
enum:
|
|
25122
|
+
- translation-run
|
|
25123
|
+
data:
|
|
25124
|
+
type: object
|
|
25125
|
+
properties:
|
|
25126
|
+
progress:
|
|
25127
|
+
type: number
|
|
25128
|
+
description: The progress of the translation run, between 0 and 100.
|
|
25129
|
+
startedAt:
|
|
25130
|
+
$ref: "#/components/schemas/Timestamp"
|
|
25131
|
+
updatedAt:
|
|
25132
|
+
$ref: "#/components/schemas/Timestamp"
|
|
25133
|
+
required:
|
|
25134
|
+
- progress
|
|
25135
|
+
- startedAt
|
|
25136
|
+
- updatedAt
|
|
25137
|
+
required:
|
|
25138
|
+
- channel
|
|
25139
|
+
- data
|
|
24561
25140
|
GitSyncOperationChannelData:
|
|
24562
25141
|
type: object
|
|
24563
25142
|
properties:
|
|
@@ -24658,9 +25237,35 @@ components:
|
|
|
24658
25237
|
- $ref: "#/components/schemas/SpaceContentRefsChannelData"
|
|
24659
25238
|
- $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
|
|
24660
25239
|
- $ref: "#/components/schemas/OrganizationAIIndexationChannelData"
|
|
25240
|
+
- $ref: "#/components/schemas/TranslationRunChannelData"
|
|
24661
25241
|
- $ref: "#/components/schemas/APIChannelMutationData"
|
|
24662
25242
|
discriminator:
|
|
24663
25243
|
propertyName: channel
|
|
25244
|
+
SiteAdaptiveDeterministicJSONSchemaClaimsProperties:
|
|
25245
|
+
oneOf:
|
|
25246
|
+
- $ref: "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaPrimitives"
|
|
25247
|
+
- type: object
|
|
25248
|
+
properties:
|
|
25249
|
+
type:
|
|
25250
|
+
type: string
|
|
25251
|
+
enum:
|
|
25252
|
+
- object
|
|
25253
|
+
description:
|
|
25254
|
+
type: string
|
|
25255
|
+
properties:
|
|
25256
|
+
type: object
|
|
25257
|
+
additionalProperties:
|
|
25258
|
+
$ref: "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaClaimsProperties"
|
|
25259
|
+
additionalProperties:
|
|
25260
|
+
type: boolean
|
|
25261
|
+
enum:
|
|
25262
|
+
- false
|
|
25263
|
+
required:
|
|
25264
|
+
- type
|
|
25265
|
+
- description
|
|
25266
|
+
- properties
|
|
25267
|
+
- additionalProperties
|
|
25268
|
+
additionalProperties: false
|
|
24664
25269
|
SiteAdsStatus:
|
|
24665
25270
|
type: string
|
|
24666
25271
|
description: The status of ads on the site
|