@gitbook/api 0.91.0 → 0.93.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 +800 -824
- package/dist/index.cjs +161 -153
- package/dist/index.js +160 -153
- package/package.json +1 -1
- package/spec/openapi.json +9260 -9452
- package/spec/openapi.yaml +1908 -2015
package/spec/openapi.yaml
CHANGED
|
@@ -40,6 +40,10 @@ paths:
|
|
|
40
40
|
get:
|
|
41
41
|
operationId: searchContent
|
|
42
42
|
summary: Search content across spaces that is accessible by the currently authenticated target
|
|
43
|
+
deprecated: true
|
|
44
|
+
x-deprecated-error-rate: 0.01
|
|
45
|
+
x-deprecated-sunset: 2025-02-05
|
|
46
|
+
x-deprecated-message: Use the endpoint for sites/organizations instead.
|
|
43
47
|
tags:
|
|
44
48
|
- search
|
|
45
49
|
security:
|
|
@@ -76,6 +80,9 @@ paths:
|
|
|
76
80
|
operationId: askQueryWithGet
|
|
77
81
|
summary: Ask a question to an AI across spaces that is accessible by the currently authenticated target.
|
|
78
82
|
deprecated: true
|
|
83
|
+
x-deprecated-error-rate: 0.1
|
|
84
|
+
x-deprecated-sunset: 2025-02-05
|
|
85
|
+
x-deprecated-message: Use the 'POST' endpoints for sites/organizations instead.
|
|
79
86
|
security:
|
|
80
87
|
- user: []
|
|
81
88
|
parameters:
|
|
@@ -105,6 +112,10 @@ paths:
|
|
|
105
112
|
post:
|
|
106
113
|
operationId: askQuery
|
|
107
114
|
summary: Ask a question to an AI across spaces that is accessible by the currently authenticated target.
|
|
115
|
+
deprecated: true
|
|
116
|
+
x-deprecated-error-rate: 0.1
|
|
117
|
+
x-deprecated-sunset: 2025-02-05
|
|
118
|
+
x-deprecated-message: Use the 'POST' endpoints for sites/organizations instead.
|
|
108
119
|
security:
|
|
109
120
|
- user: []
|
|
110
121
|
parameters:
|
|
@@ -137,6 +148,8 @@ paths:
|
|
|
137
148
|
operationId: getRecommendedQuestions
|
|
138
149
|
summary: Get a list of questions recommended by AI for a list of content. Deprecated, use getRecommendedQuestionsInOrganization instead.
|
|
139
150
|
deprecated: true
|
|
151
|
+
x-deprecated-error-rate: 0.1
|
|
152
|
+
x-deprecated-sunset: 2025-02-05
|
|
140
153
|
security:
|
|
141
154
|
- user: []
|
|
142
155
|
requestBody:
|
|
@@ -491,6 +504,8 @@ paths:
|
|
|
491
504
|
operationId: askQueryInSpaceWithGet
|
|
492
505
|
summary: Ask a question to an AI within the context of the space.
|
|
493
506
|
deprecated: true
|
|
507
|
+
x-deprecated-error-rate: 0.1
|
|
508
|
+
x-deprecated-sunset: 2025-02-05
|
|
494
509
|
parameters:
|
|
495
510
|
- name: query
|
|
496
511
|
in: query
|
|
@@ -575,6 +590,9 @@ paths:
|
|
|
575
590
|
get:
|
|
576
591
|
operationId: getRecommendedQuestionsInSpace
|
|
577
592
|
summary: Get a list of questions that can be asked in a space.
|
|
593
|
+
deprecated: true
|
|
594
|
+
x-deprecated-error-rate: 0.1
|
|
595
|
+
x-deprecated-sunset: 2025-02-05
|
|
578
596
|
parameters:
|
|
579
597
|
- $ref: "#/components/parameters/spaceId"
|
|
580
598
|
responses:
|
|
@@ -590,6 +608,9 @@ paths:
|
|
|
590
608
|
get:
|
|
591
609
|
operationId: streamRecommendedQuestionsInSpace
|
|
592
610
|
summary: Stream a list of questions that can be asked in a space.
|
|
611
|
+
deprecated: true
|
|
612
|
+
x-deprecated-error-rate: 0.1
|
|
613
|
+
x-deprecated-sunset: 2025-02-05
|
|
593
614
|
parameters:
|
|
594
615
|
- $ref: "#/components/parameters/spaceId"
|
|
595
616
|
responses:
|
|
@@ -669,6 +690,9 @@ paths:
|
|
|
669
690
|
get:
|
|
670
691
|
operationId: getContentAnalyticsForSpaceById
|
|
671
692
|
summary: Get content analytics for a given space.
|
|
693
|
+
deprecated: true
|
|
694
|
+
x-deprecated-error-rate: 0.1
|
|
695
|
+
x-deprecated-sunset: 2025-02-05
|
|
672
696
|
tags:
|
|
673
697
|
- analytics
|
|
674
698
|
- spaces
|
|
@@ -689,6 +713,9 @@ paths:
|
|
|
689
713
|
get:
|
|
690
714
|
operationId: getSearchAnalyticsForSpaceById
|
|
691
715
|
summary: Get an overview of the top search queries in a space.
|
|
716
|
+
deprecated: true
|
|
717
|
+
x-deprecated-error-rate: 0.1
|
|
718
|
+
x-deprecated-sunset: 2025-02-05
|
|
692
719
|
tags:
|
|
693
720
|
- analytics
|
|
694
721
|
- spaces
|
|
@@ -715,6 +742,9 @@ paths:
|
|
|
715
742
|
operationId: getTrafficAnalyticsForSpaceById
|
|
716
743
|
summary: Get traffic page views for a given space
|
|
717
744
|
description: Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
|
|
745
|
+
deprecated: true
|
|
746
|
+
x-deprecated-error-rate: 0.1
|
|
747
|
+
x-deprecated-sunset: 2025-02-05
|
|
718
748
|
tags:
|
|
719
749
|
- analytics
|
|
720
750
|
- spaces
|
|
@@ -741,6 +771,9 @@ paths:
|
|
|
741
771
|
operationId: trackViewInSpaceById
|
|
742
772
|
summary: Track a page view in a space
|
|
743
773
|
description: Track a page view in a space.
|
|
774
|
+
deprecated: true
|
|
775
|
+
x-deprecated-error-rate: 0.1
|
|
776
|
+
x-deprecated-sunset: 2025-02-05
|
|
744
777
|
tags:
|
|
745
778
|
- analytics
|
|
746
779
|
- spaces
|
|
@@ -1271,47 +1304,56 @@ paths:
|
|
|
1271
1304
|
default:
|
|
1272
1305
|
$ref: "#/components/responses/UnexpectedError"
|
|
1273
1306
|
"/spaces/{spaceId}/content/computed/document":
|
|
1274
|
-
|
|
1307
|
+
post:
|
|
1275
1308
|
operationId: getComputedDocument
|
|
1276
|
-
summary:
|
|
1309
|
+
summary: Generate a document for a page in a computed content.
|
|
1277
1310
|
security:
|
|
1278
1311
|
- user: []
|
|
1279
1312
|
parameters:
|
|
1280
1313
|
- $ref: "#/components/parameters/spaceId"
|
|
1281
|
-
- $ref: "#/components/parameters/
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1314
|
+
- $ref: "#/components/parameters/documentSchema"
|
|
1315
|
+
requestBody:
|
|
1316
|
+
required: true
|
|
1317
|
+
content:
|
|
1318
|
+
application/json:
|
|
1319
|
+
schema:
|
|
1320
|
+
type: object
|
|
1321
|
+
properties:
|
|
1322
|
+
source:
|
|
1323
|
+
$ref: "#/components/schemas/ComputedContentSource"
|
|
1324
|
+
required:
|
|
1325
|
+
- source
|
|
1288
1326
|
responses:
|
|
1289
1327
|
"200":
|
|
1290
1328
|
description: Document computed
|
|
1291
1329
|
content:
|
|
1292
1330
|
application/json:
|
|
1293
1331
|
schema:
|
|
1294
|
-
$ref: "#/components/schemas/
|
|
1332
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
1295
1333
|
default:
|
|
1296
1334
|
$ref: "#/components/responses/UnexpectedError"
|
|
1297
|
-
"/spaces/{spaceId}/content/computed/
|
|
1298
|
-
|
|
1299
|
-
operationId:
|
|
1300
|
-
summary: Get the computed
|
|
1335
|
+
"/spaces/{spaceId}/content/computed/revision":
|
|
1336
|
+
post:
|
|
1337
|
+
operationId: getComputedRevision
|
|
1338
|
+
summary: Get the computed content for a source in a computed content.
|
|
1301
1339
|
security:
|
|
1302
1340
|
- user: []
|
|
1303
1341
|
parameters:
|
|
1304
1342
|
- $ref: "#/components/parameters/spaceId"
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1343
|
+
requestBody:
|
|
1344
|
+
required: true
|
|
1345
|
+
content:
|
|
1346
|
+
application/json:
|
|
1347
|
+
schema:
|
|
1348
|
+
type: object
|
|
1349
|
+
properties:
|
|
1350
|
+
source:
|
|
1351
|
+
$ref: "#/components/schemas/ComputedContentSource"
|
|
1352
|
+
required:
|
|
1353
|
+
- source
|
|
1312
1354
|
responses:
|
|
1313
1355
|
"200":
|
|
1314
|
-
description: Computed pages and
|
|
1356
|
+
description: Computed pages and files
|
|
1315
1357
|
content:
|
|
1316
1358
|
application/json:
|
|
1317
1359
|
schema:
|
|
@@ -2922,9 +2964,11 @@ paths:
|
|
|
2922
2964
|
$ref: "#/components/responses/UnexpectedError"
|
|
2923
2965
|
"/spaces/{spaceId}/publishing/customization":
|
|
2924
2966
|
get:
|
|
2925
|
-
deprecated: true
|
|
2926
2967
|
operationId: getSpacePublishingCustomizationById
|
|
2927
2968
|
summary: Get the publishing customization configuration for a space.
|
|
2969
|
+
deprecated: true
|
|
2970
|
+
x-deprecated-error-rate: 0.1
|
|
2971
|
+
x-deprecated-sunset: 2025-02-05
|
|
2928
2972
|
tags:
|
|
2929
2973
|
- spaces
|
|
2930
2974
|
security:
|
|
@@ -2943,9 +2987,11 @@ paths:
|
|
|
2943
2987
|
default:
|
|
2944
2988
|
$ref: "#/components/responses/UnexpectedError"
|
|
2945
2989
|
put:
|
|
2946
|
-
deprecated: true
|
|
2947
2990
|
operationId: updateSpacePublishingCustomizationById
|
|
2948
2991
|
summary: Update the publishing customization configuration for a space.
|
|
2992
|
+
deprecated: true
|
|
2993
|
+
x-deprecated-error-rate: 0.1
|
|
2994
|
+
x-deprecated-sunset: 2025-02-05
|
|
2949
2995
|
tags:
|
|
2950
2996
|
- spaces
|
|
2951
2997
|
security:
|
|
@@ -5324,56 +5370,14 @@ paths:
|
|
|
5324
5370
|
content:
|
|
5325
5371
|
application/json:
|
|
5326
5372
|
schema:
|
|
5327
|
-
|
|
5328
|
-
properties:
|
|
5329
|
-
interval:
|
|
5330
|
-
description: The desired billing interval
|
|
5331
|
-
$ref: "#/components/schemas/BillingInterval"
|
|
5332
|
-
product:
|
|
5333
|
-
type: string
|
|
5334
|
-
description: The new product to upgrade to
|
|
5335
|
-
enum:
|
|
5336
|
-
- free_2024
|
|
5337
|
-
- plus_2024
|
|
5338
|
-
- pro_2024
|
|
5339
|
-
changes:
|
|
5340
|
-
type: object
|
|
5341
|
-
description: Changes to apply to the organization and its sites before upgrading
|
|
5342
|
-
minProperties: 1
|
|
5343
|
-
properties:
|
|
5344
|
-
removeMembers:
|
|
5345
|
-
description: A list of member identifiers to be removed
|
|
5346
|
-
type: array
|
|
5347
|
-
items:
|
|
5348
|
-
type: string
|
|
5349
|
-
updateSiteTypes:
|
|
5350
|
-
description: A list of site type updates to be applied before upgrading. If a site is not present in this list, it'll be upgraded to whichever type matches its features and its published status will be unchanged.
|
|
5351
|
-
type: array
|
|
5352
|
-
items:
|
|
5353
|
-
type: object
|
|
5354
|
-
properties:
|
|
5355
|
-
id:
|
|
5356
|
-
description: The site identifier
|
|
5357
|
-
type: string
|
|
5358
|
-
type:
|
|
5359
|
-
description: The new site type
|
|
5360
|
-
type: string
|
|
5361
|
-
enum:
|
|
5362
|
-
- basic
|
|
5363
|
-
- premium
|
|
5364
|
-
- ultimate
|
|
5365
|
-
required:
|
|
5366
|
-
- id
|
|
5367
|
-
- type
|
|
5368
|
-
required:
|
|
5369
|
-
- product
|
|
5370
|
-
- interval
|
|
5373
|
+
$ref: "#/components/schemas/MigrateOrganizationParameters"
|
|
5371
5374
|
responses:
|
|
5372
5375
|
"205":
|
|
5373
5376
|
description: Organization migrated to new pricing
|
|
5374
5377
|
default:
|
|
5375
5378
|
$ref: "#/components/responses/UnexpectedError"
|
|
5376
|
-
|
|
5379
|
+
"/orgs/{organizationId}/billing/migrate/preview":
|
|
5380
|
+
post:
|
|
5377
5381
|
operationId: previewMigrateOrganizationPlan
|
|
5378
5382
|
summary: Preview a migration of an organization to new pricing.
|
|
5379
5383
|
tags:
|
|
@@ -5382,28 +5386,12 @@ paths:
|
|
|
5382
5386
|
- user-internal: []
|
|
5383
5387
|
parameters:
|
|
5384
5388
|
- $ref: "#/components/parameters/organizationId"
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
- name: product
|
|
5392
|
-
in: query
|
|
5393
|
-
required: true
|
|
5394
|
-
description: The new product to upgrade to
|
|
5395
|
-
schema:
|
|
5396
|
-
type: string
|
|
5397
|
-
enum:
|
|
5398
|
-
- free_2024
|
|
5399
|
-
- plus_2024
|
|
5400
|
-
- pro_2024
|
|
5401
|
-
- name: removedMembersCount
|
|
5402
|
-
in: query
|
|
5403
|
-
required: true
|
|
5404
|
-
description: How many members have been deselected by the user
|
|
5405
|
-
schema:
|
|
5406
|
-
type: number
|
|
5389
|
+
requestBody:
|
|
5390
|
+
required: true
|
|
5391
|
+
content:
|
|
5392
|
+
application/json:
|
|
5393
|
+
schema:
|
|
5394
|
+
$ref: "#/components/schemas/MigrateOrganizationParameters"
|
|
5407
5395
|
responses:
|
|
5408
5396
|
"200":
|
|
5409
5397
|
description: OK
|
|
@@ -6358,516 +6346,107 @@ paths:
|
|
|
6358
6346
|
- teamMembers
|
|
6359
6347
|
default:
|
|
6360
6348
|
$ref: "#/components/responses/UnexpectedError"
|
|
6361
|
-
"/orgs/{organizationId}/
|
|
6362
|
-
|
|
6363
|
-
operationId:
|
|
6364
|
-
|
|
6365
|
-
summary: List captures. Deprecated, use listSnippets instead.
|
|
6366
|
-
description: |
|
|
6367
|
-
List captures in an organization, newest first.
|
|
6368
|
-
tags:
|
|
6369
|
-
- organizations
|
|
6349
|
+
"/orgs/{organizationId}/ask":
|
|
6350
|
+
post:
|
|
6351
|
+
operationId: askInOrganization
|
|
6352
|
+
summary: Ask a question.
|
|
6370
6353
|
security:
|
|
6371
6354
|
- user: []
|
|
6372
6355
|
parameters:
|
|
6373
6356
|
- $ref: "#/components/parameters/organizationId"
|
|
6374
6357
|
- $ref: "#/components/parameters/documentFormat"
|
|
6375
|
-
-
|
|
6376
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6377
|
-
- name: context
|
|
6358
|
+
- name: details
|
|
6378
6359
|
in: query
|
|
6379
|
-
description:
|
|
6360
|
+
description: Return query details in the result
|
|
6380
6361
|
schema:
|
|
6381
|
-
type:
|
|
6382
|
-
enum:
|
|
6383
|
-
- walkthrough
|
|
6384
|
-
- thread
|
|
6385
|
-
responses:
|
|
6386
|
-
"200":
|
|
6387
|
-
description: OK
|
|
6388
|
-
content:
|
|
6389
|
-
application/json:
|
|
6390
|
-
schema:
|
|
6391
|
-
allOf:
|
|
6392
|
-
- $ref: "#/components/schemas/List"
|
|
6393
|
-
- type: object
|
|
6394
|
-
required:
|
|
6395
|
-
- items
|
|
6396
|
-
properties:
|
|
6397
|
-
items:
|
|
6398
|
-
type: array
|
|
6399
|
-
items:
|
|
6400
|
-
$ref: "#/components/schemas/Capture"
|
|
6401
|
-
default:
|
|
6402
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6403
|
-
post:
|
|
6404
|
-
operationId: startCapture
|
|
6405
|
-
summary: Start a capture
|
|
6406
|
-
tags:
|
|
6407
|
-
- organizations
|
|
6408
|
-
security:
|
|
6409
|
-
- user: []
|
|
6410
|
-
parameters:
|
|
6411
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6362
|
+
type: boolean
|
|
6412
6363
|
requestBody:
|
|
6364
|
+
required: true
|
|
6413
6365
|
content:
|
|
6414
6366
|
application/json:
|
|
6415
6367
|
schema:
|
|
6416
|
-
|
|
6417
|
-
properties:
|
|
6418
|
-
title:
|
|
6419
|
-
$ref: "#/components/schemas/CaptureTitle"
|
|
6420
|
-
context:
|
|
6421
|
-
$ref: "#/components/schemas/CaptureContext"
|
|
6422
|
-
externalId:
|
|
6423
|
-
type: string
|
|
6424
|
-
description: ID in the original source of the capture.
|
|
6425
|
-
externalURL:
|
|
6426
|
-
type: string
|
|
6427
|
-
format: uri
|
|
6428
|
-
description: URL of the original source of the capture.
|
|
6429
|
-
required:
|
|
6430
|
-
- context
|
|
6368
|
+
$ref: "#/components/schemas/SearchAIQuery"
|
|
6431
6369
|
responses:
|
|
6432
|
-
"
|
|
6433
|
-
description:
|
|
6434
|
-
headers:
|
|
6435
|
-
Location:
|
|
6436
|
-
description: API URL for the newly created capture
|
|
6437
|
-
schema:
|
|
6438
|
-
type: string
|
|
6370
|
+
"200":
|
|
6371
|
+
description: OK
|
|
6439
6372
|
content:
|
|
6440
6373
|
application/json:
|
|
6441
6374
|
schema:
|
|
6442
|
-
|
|
6375
|
+
type: object
|
|
6376
|
+
properties:
|
|
6377
|
+
answer:
|
|
6378
|
+
$ref: "#/components/schemas/SearchAIAnswer"
|
|
6443
6379
|
default:
|
|
6444
6380
|
$ref: "#/components/responses/UnexpectedError"
|
|
6445
|
-
"/orgs/{organizationId}/
|
|
6381
|
+
"/orgs/{organizationId}/ask/questions":
|
|
6446
6382
|
get:
|
|
6447
|
-
operationId:
|
|
6448
|
-
|
|
6449
|
-
summary: Get a capture by its ID. Deprecated, use getSnippet instead.
|
|
6450
|
-
tags:
|
|
6451
|
-
- organizations
|
|
6452
|
-
security:
|
|
6453
|
-
- user: []
|
|
6383
|
+
operationId: getRecommendedQuestionsInOrganization
|
|
6384
|
+
summary: Get a list of questions recommended to be asked in an organization.
|
|
6454
6385
|
parameters:
|
|
6455
6386
|
- $ref: "#/components/parameters/organizationId"
|
|
6456
|
-
|
|
6457
|
-
-
|
|
6387
|
+
security:
|
|
6388
|
+
- user: []
|
|
6458
6389
|
responses:
|
|
6459
6390
|
"200":
|
|
6460
6391
|
description: OK
|
|
6461
6392
|
content:
|
|
6462
6393
|
application/json:
|
|
6463
6394
|
schema:
|
|
6464
|
-
$ref: "#/components/schemas/
|
|
6395
|
+
$ref: "#/components/schemas/SearchAIRecommendedQuestions"
|
|
6465
6396
|
default:
|
|
6466
6397
|
$ref: "#/components/responses/UnexpectedError"
|
|
6467
|
-
"/orgs/{organizationId}/
|
|
6468
|
-
|
|
6469
|
-
operationId:
|
|
6470
|
-
summary:
|
|
6471
|
-
tags:
|
|
6472
|
-
- organizations
|
|
6473
|
-
security:
|
|
6474
|
-
- user: []
|
|
6398
|
+
"/orgs/{organizationId}/ask/questions/stream":
|
|
6399
|
+
get:
|
|
6400
|
+
operationId: streamRecommendedQuestionsInOrganization
|
|
6401
|
+
summary: Stream a list of questions recommended to be asked in an organization.
|
|
6475
6402
|
parameters:
|
|
6476
6403
|
- $ref: "#/components/parameters/organizationId"
|
|
6477
|
-
- $ref: "#/components/parameters/captureId"
|
|
6478
|
-
requestBody:
|
|
6479
|
-
content:
|
|
6480
|
-
application/json:
|
|
6481
|
-
schema:
|
|
6482
|
-
type: object
|
|
6483
|
-
properties:
|
|
6484
|
-
events:
|
|
6485
|
-
type: array
|
|
6486
|
-
items:
|
|
6487
|
-
$ref: "#/components/schemas/CaptureEvent"
|
|
6488
|
-
required:
|
|
6489
|
-
- events
|
|
6490
|
-
responses:
|
|
6491
|
-
"204":
|
|
6492
|
-
description: Events added
|
|
6493
|
-
default:
|
|
6494
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6495
|
-
"/orgs/{organizationId}/captures/{captureId}/stop":
|
|
6496
|
-
post:
|
|
6497
|
-
operationId: stopCapture
|
|
6498
|
-
summary: Stop a capture
|
|
6499
|
-
tags:
|
|
6500
|
-
- organizations
|
|
6501
6404
|
security:
|
|
6502
6405
|
- user: []
|
|
6503
|
-
parameters:
|
|
6504
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6505
|
-
- $ref: "#/components/parameters/captureId"
|
|
6506
|
-
- $ref: "#/components/parameters/documentFormat"
|
|
6507
|
-
requestBody:
|
|
6508
|
-
content:
|
|
6509
|
-
application/json:
|
|
6510
|
-
schema:
|
|
6511
|
-
type: object
|
|
6512
|
-
properties: {}
|
|
6513
6406
|
responses:
|
|
6514
6407
|
"200":
|
|
6515
|
-
description:
|
|
6408
|
+
description: OK
|
|
6516
6409
|
content:
|
|
6517
|
-
|
|
6410
|
+
text/event-stream:
|
|
6518
6411
|
schema:
|
|
6519
|
-
|
|
6520
|
-
properties:
|
|
6521
|
-
capture:
|
|
6522
|
-
$ref: "#/components/schemas/Capture"
|
|
6523
|
-
followupQuestions:
|
|
6524
|
-
description: Example questions that would be answered by the content of this capture.
|
|
6525
|
-
type: array
|
|
6526
|
-
items:
|
|
6527
|
-
type: string
|
|
6528
|
-
required:
|
|
6529
|
-
- capture
|
|
6412
|
+
$ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
|
|
6530
6413
|
default:
|
|
6531
6414
|
$ref: "#/components/responses/UnexpectedError"
|
|
6532
|
-
"/orgs/{organizationId}/
|
|
6415
|
+
"/orgs/{organizationId}/ask/stream":
|
|
6533
6416
|
get:
|
|
6534
|
-
operationId:
|
|
6535
|
-
summary:
|
|
6536
|
-
description: |
|
|
6537
|
-
List snippets in an organization, newest first.
|
|
6538
|
-
tags:
|
|
6539
|
-
- organizations
|
|
6417
|
+
operationId: streamAskInOrganization
|
|
6418
|
+
summary: Ask a question to an AI across spaces that is accessible by the currently authenticated target and stream the answer as a Server-Sent Events URL.
|
|
6540
6419
|
security:
|
|
6541
6420
|
- user: []
|
|
6542
6421
|
parameters:
|
|
6543
6422
|
- $ref: "#/components/parameters/organizationId"
|
|
6544
|
-
-
|
|
6545
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6546
|
-
- name: source
|
|
6423
|
+
- name: query
|
|
6547
6424
|
in: query
|
|
6548
|
-
|
|
6425
|
+
required: true
|
|
6549
6426
|
schema:
|
|
6550
6427
|
type: string
|
|
6428
|
+
- $ref: "#/components/parameters/documentFormat"
|
|
6429
|
+
- name: details
|
|
6430
|
+
in: query
|
|
6431
|
+
description: Return query details in the result
|
|
6432
|
+
schema:
|
|
6433
|
+
type: boolean
|
|
6551
6434
|
responses:
|
|
6552
6435
|
"200":
|
|
6553
6436
|
description: OK
|
|
6554
6437
|
content:
|
|
6555
|
-
|
|
6438
|
+
text/event-stream:
|
|
6556
6439
|
schema:
|
|
6557
|
-
|
|
6558
|
-
- $ref: "#/components/schemas/List"
|
|
6559
|
-
- type: object
|
|
6560
|
-
required:
|
|
6561
|
-
- items
|
|
6562
|
-
properties:
|
|
6563
|
-
items:
|
|
6564
|
-
type: array
|
|
6565
|
-
items:
|
|
6566
|
-
$ref: "#/components/schemas/Snippet"
|
|
6440
|
+
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
6567
6441
|
default:
|
|
6568
6442
|
$ref: "#/components/responses/UnexpectedError"
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6443
|
+
"/orgs/{organizationId}/sites":
|
|
6444
|
+
get:
|
|
6445
|
+
operationId: listSites
|
|
6446
|
+
summary: List all the sites created in an organization
|
|
6572
6447
|
tags:
|
|
6573
|
-
-
|
|
6574
|
-
|
|
6575
|
-
- user: []
|
|
6576
|
-
parameters:
|
|
6577
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6578
|
-
requestBody:
|
|
6579
|
-
content:
|
|
6580
|
-
application/json:
|
|
6581
|
-
schema:
|
|
6582
|
-
type: object
|
|
6583
|
-
responses:
|
|
6584
|
-
"201":
|
|
6585
|
-
description: Snippet created
|
|
6586
|
-
headers:
|
|
6587
|
-
Location:
|
|
6588
|
-
description: API URL for the newly created snippet
|
|
6589
|
-
schema:
|
|
6590
|
-
type: string
|
|
6591
|
-
content:
|
|
6592
|
-
application/json:
|
|
6593
|
-
schema:
|
|
6594
|
-
$ref: "#/components/schemas/Snippet"
|
|
6595
|
-
default:
|
|
6596
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6597
|
-
"/orgs/{organizationId}/snippets/{snippetId}":
|
|
6598
|
-
get:
|
|
6599
|
-
operationId: getSnippet
|
|
6600
|
-
summary: Get a snippet by its ID
|
|
6601
|
-
tags:
|
|
6602
|
-
- organizations
|
|
6603
|
-
security:
|
|
6604
|
-
- user: []
|
|
6605
|
-
parameters:
|
|
6606
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6607
|
-
- $ref: "#/components/parameters/snippetId"
|
|
6608
|
-
responses:
|
|
6609
|
-
"200":
|
|
6610
|
-
description: OK
|
|
6611
|
-
content:
|
|
6612
|
-
application/json:
|
|
6613
|
-
schema:
|
|
6614
|
-
$ref: "#/components/schemas/Snippet"
|
|
6615
|
-
default:
|
|
6616
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6617
|
-
delete:
|
|
6618
|
-
operationId: deleteSnippet
|
|
6619
|
-
summary: Delete a snippet by its ID.
|
|
6620
|
-
tags:
|
|
6621
|
-
- organizations
|
|
6622
|
-
security:
|
|
6623
|
-
- user: []
|
|
6624
|
-
parameters:
|
|
6625
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6626
|
-
- $ref: "#/components/parameters/snippetId"
|
|
6627
|
-
responses:
|
|
6628
|
-
"200":
|
|
6629
|
-
description: OK
|
|
6630
|
-
default:
|
|
6631
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6632
|
-
put:
|
|
6633
|
-
operationId: updateSnippet
|
|
6634
|
-
summary: Update an existing snippet.
|
|
6635
|
-
tags:
|
|
6636
|
-
- organizations
|
|
6637
|
-
security:
|
|
6638
|
-
- user: []
|
|
6639
|
-
parameters:
|
|
6640
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6641
|
-
- $ref: "#/components/parameters/snippetId"
|
|
6642
|
-
- $ref: "#/components/parameters/ifUnmodifiedSince"
|
|
6643
|
-
requestBody:
|
|
6644
|
-
required: true
|
|
6645
|
-
content:
|
|
6646
|
-
application/json:
|
|
6647
|
-
schema:
|
|
6648
|
-
$ref: "#/components/schemas/UpdateSnippetSchema"
|
|
6649
|
-
responses:
|
|
6650
|
-
"200":
|
|
6651
|
-
description: OK
|
|
6652
|
-
content:
|
|
6653
|
-
application/json:
|
|
6654
|
-
schema:
|
|
6655
|
-
$ref: "#/components/schemas/Snippet"
|
|
6656
|
-
default:
|
|
6657
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6658
|
-
"/orgs/{organizationId}/snippets/{snippetId}/move":
|
|
6659
|
-
post:
|
|
6660
|
-
operationId: moveSnippet
|
|
6661
|
-
summary: Move a snippet into a destination. The snippet will be archived in the process.
|
|
6662
|
-
tags:
|
|
6663
|
-
- organizations
|
|
6664
|
-
security:
|
|
6665
|
-
- user: []
|
|
6666
|
-
parameters:
|
|
6667
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6668
|
-
- $ref: "#/components/parameters/snippetId"
|
|
6669
|
-
requestBody:
|
|
6670
|
-
required: true
|
|
6671
|
-
content:
|
|
6672
|
-
application/json:
|
|
6673
|
-
schema:
|
|
6674
|
-
type: object
|
|
6675
|
-
required:
|
|
6676
|
-
- target
|
|
6677
|
-
properties:
|
|
6678
|
-
target:
|
|
6679
|
-
type: object
|
|
6680
|
-
description: Intended destination for the page
|
|
6681
|
-
properties:
|
|
6682
|
-
space:
|
|
6683
|
-
description: The id of the target space
|
|
6684
|
-
type: string
|
|
6685
|
-
position:
|
|
6686
|
-
type: object
|
|
6687
|
-
properties:
|
|
6688
|
-
parent:
|
|
6689
|
-
description: The parent of the page in the target space. If undefined, the page will be inserted at the root of the space.
|
|
6690
|
-
type: string
|
|
6691
|
-
index:
|
|
6692
|
-
description: The index of the page in the parent. If undefined, the page will be inserted at the end of the parent's current children.
|
|
6693
|
-
type: number
|
|
6694
|
-
required:
|
|
6695
|
-
- space
|
|
6696
|
-
responses:
|
|
6697
|
-
"200":
|
|
6698
|
-
description: The snippet was successfully moved.
|
|
6699
|
-
content:
|
|
6700
|
-
application/json:
|
|
6701
|
-
schema:
|
|
6702
|
-
type: object
|
|
6703
|
-
required:
|
|
6704
|
-
- page
|
|
6705
|
-
properties:
|
|
6706
|
-
page:
|
|
6707
|
-
$ref: "#/components/schemas/RevisionPageDocument"
|
|
6708
|
-
changeRequest:
|
|
6709
|
-
$ref: "#/components/schemas/ChangeRequest"
|
|
6710
|
-
default:
|
|
6711
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6712
|
-
get:
|
|
6713
|
-
operationId: getSnippetSuggestedLocations
|
|
6714
|
-
summary: Return possible snippet locations in an organization based on the current user.
|
|
6715
|
-
tags:
|
|
6716
|
-
- organizations
|
|
6717
|
-
security:
|
|
6718
|
-
- user: []
|
|
6719
|
-
parameters:
|
|
6720
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6721
|
-
- $ref: "#/components/parameters/snippetId"
|
|
6722
|
-
- $ref: "#/components/parameters/listPage"
|
|
6723
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6724
|
-
- name: spaceId
|
|
6725
|
-
in: query
|
|
6726
|
-
description: If specified, only locations in the given space will be returned. If not specified, GitBook will suggest spaces.
|
|
6727
|
-
schema:
|
|
6728
|
-
type: string
|
|
6729
|
-
- name: pageId
|
|
6730
|
-
in: query
|
|
6731
|
-
description: If specified, only locations under the given pageId will be returned. You must specify a spaceId too. If pageId is not specified, GitBook will suggest pages at the top level.
|
|
6732
|
-
schema:
|
|
6733
|
-
type: string
|
|
6734
|
-
- name: search
|
|
6735
|
-
in: query
|
|
6736
|
-
description: If specified, only locations matching the search query will be returned.
|
|
6737
|
-
schema:
|
|
6738
|
-
type: string
|
|
6739
|
-
responses:
|
|
6740
|
-
"200":
|
|
6741
|
-
description: A paginated list of suggested snippet locations.
|
|
6742
|
-
content:
|
|
6743
|
-
application/json:
|
|
6744
|
-
schema:
|
|
6745
|
-
allOf:
|
|
6746
|
-
- $ref: "#/components/schemas/List"
|
|
6747
|
-
- type: object
|
|
6748
|
-
required:
|
|
6749
|
-
- items
|
|
6750
|
-
properties:
|
|
6751
|
-
items:
|
|
6752
|
-
type: array
|
|
6753
|
-
items:
|
|
6754
|
-
type: object
|
|
6755
|
-
required:
|
|
6756
|
-
- space
|
|
6757
|
-
properties:
|
|
6758
|
-
aiPowered:
|
|
6759
|
-
type: boolean
|
|
6760
|
-
description: If defined and true, this location was suggested by GitBook AI.
|
|
6761
|
-
space:
|
|
6762
|
-
$ref: "#/components/schemas/Space"
|
|
6763
|
-
parentPage:
|
|
6764
|
-
description: The parent page of the suggested location.
|
|
6765
|
-
oneOf:
|
|
6766
|
-
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
6767
|
-
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
6768
|
-
default:
|
|
6769
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6770
|
-
"/orgs/{organizationId}/ask":
|
|
6771
|
-
post:
|
|
6772
|
-
operationId: askInOrganization
|
|
6773
|
-
summary: Ask a question.
|
|
6774
|
-
security:
|
|
6775
|
-
- user: []
|
|
6776
|
-
parameters:
|
|
6777
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6778
|
-
- $ref: "#/components/parameters/documentFormat"
|
|
6779
|
-
- name: details
|
|
6780
|
-
in: query
|
|
6781
|
-
description: Return query details in the result
|
|
6782
|
-
schema:
|
|
6783
|
-
type: boolean
|
|
6784
|
-
requestBody:
|
|
6785
|
-
required: true
|
|
6786
|
-
content:
|
|
6787
|
-
application/json:
|
|
6788
|
-
schema:
|
|
6789
|
-
$ref: "#/components/schemas/SearchAIQuery"
|
|
6790
|
-
responses:
|
|
6791
|
-
"200":
|
|
6792
|
-
description: OK
|
|
6793
|
-
content:
|
|
6794
|
-
application/json:
|
|
6795
|
-
schema:
|
|
6796
|
-
type: object
|
|
6797
|
-
properties:
|
|
6798
|
-
answer:
|
|
6799
|
-
$ref: "#/components/schemas/SearchAIAnswer"
|
|
6800
|
-
default:
|
|
6801
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6802
|
-
"/orgs/{organizationId}/ask/questions":
|
|
6803
|
-
get:
|
|
6804
|
-
operationId: getRecommendedQuestionsInOrganization
|
|
6805
|
-
summary: Get a list of questions recommended to be asked in an organization.
|
|
6806
|
-
parameters:
|
|
6807
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6808
|
-
security:
|
|
6809
|
-
- user: []
|
|
6810
|
-
responses:
|
|
6811
|
-
"200":
|
|
6812
|
-
description: OK
|
|
6813
|
-
content:
|
|
6814
|
-
application/json:
|
|
6815
|
-
schema:
|
|
6816
|
-
$ref: "#/components/schemas/SearchAIRecommendedQuestions"
|
|
6817
|
-
default:
|
|
6818
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6819
|
-
"/orgs/{organizationId}/ask/questions/stream":
|
|
6820
|
-
get:
|
|
6821
|
-
operationId: streamRecommendedQuestionsInOrganization
|
|
6822
|
-
summary: Stream a list of questions recommended to be asked in an organization.
|
|
6823
|
-
parameters:
|
|
6824
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6825
|
-
security:
|
|
6826
|
-
- user: []
|
|
6827
|
-
responses:
|
|
6828
|
-
"200":
|
|
6829
|
-
description: OK
|
|
6830
|
-
content:
|
|
6831
|
-
text/event-stream:
|
|
6832
|
-
schema:
|
|
6833
|
-
$ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
|
|
6834
|
-
default:
|
|
6835
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6836
|
-
"/orgs/{organizationId}/ask/stream":
|
|
6837
|
-
get:
|
|
6838
|
-
operationId: streamAskInOrganization
|
|
6839
|
-
summary: Ask a question to an AI across spaces that is accessible by the currently authenticated target and stream the answer as a Server-Sent Events URL.
|
|
6840
|
-
security:
|
|
6841
|
-
- user: []
|
|
6842
|
-
parameters:
|
|
6843
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6844
|
-
- name: query
|
|
6845
|
-
in: query
|
|
6846
|
-
required: true
|
|
6847
|
-
schema:
|
|
6848
|
-
type: string
|
|
6849
|
-
- $ref: "#/components/parameters/documentFormat"
|
|
6850
|
-
- name: details
|
|
6851
|
-
in: query
|
|
6852
|
-
description: Return query details in the result
|
|
6853
|
-
schema:
|
|
6854
|
-
type: boolean
|
|
6855
|
-
responses:
|
|
6856
|
-
"200":
|
|
6857
|
-
description: OK
|
|
6858
|
-
content:
|
|
6859
|
-
text/event-stream:
|
|
6860
|
-
schema:
|
|
6861
|
-
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
6862
|
-
default:
|
|
6863
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6864
|
-
"/orgs/{organizationId}/sites":
|
|
6865
|
-
get:
|
|
6866
|
-
operationId: listSites
|
|
6867
|
-
summary: List all the sites created in an organization
|
|
6868
|
-
tags:
|
|
6869
|
-
- sites
|
|
6870
|
-
- critical
|
|
6448
|
+
- sites
|
|
6449
|
+
- critical
|
|
6871
6450
|
security:
|
|
6872
6451
|
- user: []
|
|
6873
6452
|
parameters:
|
|
@@ -7721,9 +7300,9 @@ paths:
|
|
|
7721
7300
|
default:
|
|
7722
7301
|
$ref: "#/components/responses/UnexpectedError"
|
|
7723
7302
|
"/orgs/{organizationId}/sites/{siteId}/section-groups":
|
|
7724
|
-
|
|
7725
|
-
operationId:
|
|
7726
|
-
summary:
|
|
7303
|
+
get:
|
|
7304
|
+
operationId: listSiteSectionGroups
|
|
7305
|
+
summary: List all the section groups under a site in an organization
|
|
7727
7306
|
tags:
|
|
7728
7307
|
- sites
|
|
7729
7308
|
security:
|
|
@@ -7731,22 +7310,59 @@ paths:
|
|
|
7731
7310
|
parameters:
|
|
7732
7311
|
- $ref: "#/components/parameters/organizationId"
|
|
7733
7312
|
- $ref: "#/components/parameters/siteId"
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
type:
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7313
|
+
- $ref: "#/components/parameters/listPage"
|
|
7314
|
+
- $ref: "#/components/parameters/listLimit"
|
|
7315
|
+
responses:
|
|
7316
|
+
"200":
|
|
7317
|
+
description: OK
|
|
7318
|
+
content:
|
|
7319
|
+
application/json:
|
|
7320
|
+
schema:
|
|
7321
|
+
allOf:
|
|
7322
|
+
- $ref: "#/components/schemas/List"
|
|
7323
|
+
- type: object
|
|
7324
|
+
required:
|
|
7325
|
+
- items
|
|
7326
|
+
properties:
|
|
7327
|
+
items:
|
|
7328
|
+
type: array
|
|
7329
|
+
items:
|
|
7330
|
+
$ref: "#/components/schemas/SiteSectionGroup"
|
|
7331
|
+
default:
|
|
7332
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7333
|
+
post:
|
|
7334
|
+
operationId: addSectionGroupToSite
|
|
7335
|
+
summary: Add a section group to a site in an organization
|
|
7336
|
+
tags:
|
|
7337
|
+
- sites
|
|
7338
|
+
security:
|
|
7339
|
+
- user: []
|
|
7340
|
+
parameters:
|
|
7341
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7342
|
+
- $ref: "#/components/parameters/siteId"
|
|
7343
|
+
requestBody:
|
|
7344
|
+
required: true
|
|
7345
|
+
content:
|
|
7346
|
+
application/json:
|
|
7347
|
+
schema:
|
|
7348
|
+
type: object
|
|
7349
|
+
properties:
|
|
7350
|
+
title:
|
|
7351
|
+
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
7352
|
+
icon:
|
|
7353
|
+
oneOf:
|
|
7354
|
+
- $ref: "#/components/schemas/Icon"
|
|
7355
|
+
- type: string
|
|
7356
|
+
nullable: true
|
|
7357
|
+
enum:
|
|
7358
|
+
- null
|
|
7359
|
+
sections:
|
|
7360
|
+
type: array
|
|
7361
|
+
items:
|
|
7362
|
+
type: string
|
|
7363
|
+
description: IDs of the sections to be added to the section group
|
|
7364
|
+
required:
|
|
7365
|
+
- title
|
|
7750
7366
|
responses:
|
|
7751
7367
|
"201":
|
|
7752
7368
|
description: Section group added to the site
|
|
@@ -7814,6 +7430,62 @@ paths:
|
|
|
7814
7430
|
description: Site section group has been deleted
|
|
7815
7431
|
default:
|
|
7816
7432
|
$ref: "#/components/responses/UnexpectedError"
|
|
7433
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections":
|
|
7434
|
+
post:
|
|
7435
|
+
operationId: addSectionToGroup
|
|
7436
|
+
summary: Add a section to a section group
|
|
7437
|
+
tags:
|
|
7438
|
+
- sites
|
|
7439
|
+
security:
|
|
7440
|
+
- user: []
|
|
7441
|
+
parameters:
|
|
7442
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7443
|
+
- $ref: "#/components/parameters/siteId"
|
|
7444
|
+
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
7445
|
+
requestBody:
|
|
7446
|
+
required: true
|
|
7447
|
+
content:
|
|
7448
|
+
application/json:
|
|
7449
|
+
schema:
|
|
7450
|
+
type: object
|
|
7451
|
+
properties:
|
|
7452
|
+
sectionId:
|
|
7453
|
+
type: string
|
|
7454
|
+
description: ID of the section to add to the section group
|
|
7455
|
+
required:
|
|
7456
|
+
- sectionId
|
|
7457
|
+
responses:
|
|
7458
|
+
"201":
|
|
7459
|
+
description: Section added to the section group
|
|
7460
|
+
headers:
|
|
7461
|
+
Location:
|
|
7462
|
+
description: API URL for the newly created site-section-group relationship
|
|
7463
|
+
schema:
|
|
7464
|
+
type: string
|
|
7465
|
+
content:
|
|
7466
|
+
application/json:
|
|
7467
|
+
schema:
|
|
7468
|
+
$ref: "#/components/schemas/SiteSectionGroup"
|
|
7469
|
+
default:
|
|
7470
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7471
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}":
|
|
7472
|
+
delete:
|
|
7473
|
+
operationId: removeSectionFromGroup
|
|
7474
|
+
summary: Remove a section from a section group
|
|
7475
|
+
tags:
|
|
7476
|
+
- sites
|
|
7477
|
+
security:
|
|
7478
|
+
- user: []
|
|
7479
|
+
parameters:
|
|
7480
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7481
|
+
- $ref: "#/components/parameters/siteId"
|
|
7482
|
+
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
7483
|
+
- $ref: "#/components/parameters/siteSectionId"
|
|
7484
|
+
responses:
|
|
7485
|
+
"205":
|
|
7486
|
+
description: Section has been removed from the section group
|
|
7487
|
+
default:
|
|
7488
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7817
7489
|
"/orgs/{organizationId}/sites/{siteId}/sections":
|
|
7818
7490
|
post:
|
|
7819
7491
|
operationId: addSectionToSite
|
|
@@ -7927,6 +7599,13 @@ paths:
|
|
|
7927
7599
|
nullable: true
|
|
7928
7600
|
enum:
|
|
7929
7601
|
- null
|
|
7602
|
+
description:
|
|
7603
|
+
oneOf:
|
|
7604
|
+
- $ref: "#/components/schemas/SiteSectionDescription"
|
|
7605
|
+
- type: string
|
|
7606
|
+
nullable: true
|
|
7607
|
+
enum:
|
|
7608
|
+
- null
|
|
7930
7609
|
responses:
|
|
7931
7610
|
"200":
|
|
7932
7611
|
description: OK
|
|
@@ -8216,7 +7895,7 @@ paths:
|
|
|
8216
7895
|
enum:
|
|
8217
7896
|
- null
|
|
8218
7897
|
tint:
|
|
8219
|
-
description: The tint will
|
|
7898
|
+
description: The tint will color the site’s UI beyond links and buttons, such as header, sidebar and background. By default, the tint colour is the same as your Primary colour, but you can set a custom one too.
|
|
8220
7899
|
oneOf:
|
|
8221
7900
|
- $ref: "#/components/schemas/CustomizationTint"
|
|
8222
7901
|
- type: string
|
|
@@ -8583,6 +8262,42 @@ paths:
|
|
|
8583
8262
|
$ref: "#/components/schemas/PageFeedback"
|
|
8584
8263
|
default:
|
|
8585
8264
|
$ref: "#/components/responses/UnexpectedError"
|
|
8265
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move":
|
|
8266
|
+
post:
|
|
8267
|
+
operationId: moveSiteSectionGroup
|
|
8268
|
+
summary: Move a site section group to a new position in the site.
|
|
8269
|
+
tags:
|
|
8270
|
+
- sites
|
|
8271
|
+
security:
|
|
8272
|
+
- user: []
|
|
8273
|
+
parameters:
|
|
8274
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8275
|
+
- $ref: "#/components/parameters/siteId"
|
|
8276
|
+
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
8277
|
+
requestBody:
|
|
8278
|
+
content:
|
|
8279
|
+
application/json:
|
|
8280
|
+
schema:
|
|
8281
|
+
type: object
|
|
8282
|
+
properties:
|
|
8283
|
+
position:
|
|
8284
|
+
description: The position where to move the site section group. When not provided the site section group is moved at the end of the site.
|
|
8285
|
+
$ref: "#/components/schemas/SiteSectionGroupMovePosition"
|
|
8286
|
+
responses:
|
|
8287
|
+
"200":
|
|
8288
|
+
description: Site section group moved
|
|
8289
|
+
content:
|
|
8290
|
+
application/json:
|
|
8291
|
+
schema:
|
|
8292
|
+
$ref: "#/components/schemas/SiteSectionGroup"
|
|
8293
|
+
"400":
|
|
8294
|
+
description: Invalid move site section group position provided
|
|
8295
|
+
$ref: "#/components/responses/BadRequestError"
|
|
8296
|
+
"404":
|
|
8297
|
+
description: No matching site section group found
|
|
8298
|
+
$ref: "#/components/responses/NotFoundError"
|
|
8299
|
+
default:
|
|
8300
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8586
8301
|
"/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move":
|
|
8587
8302
|
post:
|
|
8588
8303
|
operationId: moveSiteSection
|
|
@@ -8693,6 +8408,8 @@ paths:
|
|
|
8693
8408
|
summary: Track a page view in a site
|
|
8694
8409
|
description: Track a page view in a site.
|
|
8695
8410
|
deprecated: true
|
|
8411
|
+
x-deprecated-error-rate: 0.1
|
|
8412
|
+
x-deprecated-sunset: 2025-02-05
|
|
8696
8413
|
tags:
|
|
8697
8414
|
- analytics
|
|
8698
8415
|
- sites
|
|
@@ -9474,182 +9191,432 @@ paths:
|
|
|
9474
9191
|
$ref: "#/components/responses/NotFoundError"
|
|
9475
9192
|
default:
|
|
9476
9193
|
$ref: "#/components/responses/UnexpectedError"
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9194
|
+
"/orgs/{organizationId}/openapi":
|
|
9195
|
+
get:
|
|
9196
|
+
operationId: listOpenAPISpecs
|
|
9197
|
+
summary: List all the OpenAPI specifications in the organization
|
|
9198
|
+
tags:
|
|
9199
|
+
- openapi
|
|
9200
|
+
security:
|
|
9201
|
+
- user: []
|
|
9202
|
+
parameters:
|
|
9203
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9204
|
+
- $ref: "#/components/parameters/listPage"
|
|
9205
|
+
- $ref: "#/components/parameters/listLimit"
|
|
9206
|
+
responses:
|
|
9207
|
+
"200":
|
|
9208
|
+
description: OK
|
|
9209
|
+
content:
|
|
9210
|
+
application/json:
|
|
9211
|
+
schema:
|
|
9212
|
+
allOf:
|
|
9213
|
+
- $ref: "#/components/schemas/List"
|
|
9214
|
+
- type: object
|
|
9215
|
+
required:
|
|
9216
|
+
- items
|
|
9217
|
+
properties:
|
|
9218
|
+
items:
|
|
9219
|
+
type: array
|
|
9220
|
+
items:
|
|
9221
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
9222
|
+
default:
|
|
9223
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9224
|
+
"/orgs/{organizationId}/openapi/{specSlug}":
|
|
9225
|
+
get:
|
|
9226
|
+
operationId: getOpenAPISpecBySlug
|
|
9227
|
+
summary: Get an organization OpenAPI specification by its slug
|
|
9228
|
+
tags:
|
|
9229
|
+
- openapi
|
|
9230
|
+
security:
|
|
9231
|
+
- user: []
|
|
9232
|
+
parameters:
|
|
9233
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9234
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
9235
|
+
responses:
|
|
9236
|
+
"200":
|
|
9237
|
+
description: OK
|
|
9238
|
+
content:
|
|
9239
|
+
application/json:
|
|
9240
|
+
schema:
|
|
9241
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
9242
|
+
"404":
|
|
9243
|
+
description: No matching OpenAPI specification found
|
|
9244
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9245
|
+
default:
|
|
9246
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9247
|
+
put:
|
|
9248
|
+
operationId: createOrUpdateOpenAPISpecBySlug
|
|
9249
|
+
summary: Create or update an organization OpenAPI specification by its slug
|
|
9250
|
+
tags:
|
|
9251
|
+
- openapi
|
|
9252
|
+
security:
|
|
9253
|
+
- user: []
|
|
9254
|
+
parameters:
|
|
9255
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9256
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
9257
|
+
requestBody:
|
|
9258
|
+
required: true
|
|
9259
|
+
content:
|
|
9260
|
+
application/json:
|
|
9261
|
+
schema:
|
|
9262
|
+
type: object
|
|
9263
|
+
properties:
|
|
9264
|
+
source:
|
|
9265
|
+
oneOf:
|
|
9266
|
+
- description: Create a specification from an URL
|
|
9267
|
+
type: object
|
|
9268
|
+
properties:
|
|
9269
|
+
url:
|
|
9270
|
+
$ref: "#/components/schemas/URL"
|
|
9271
|
+
required:
|
|
9272
|
+
- url
|
|
9273
|
+
- description: Create a specification from a text string
|
|
9274
|
+
type: object
|
|
9275
|
+
properties:
|
|
9276
|
+
text:
|
|
9277
|
+
description: OpenAPI specification as text
|
|
9278
|
+
type: string
|
|
9279
|
+
minLength: 1
|
|
9280
|
+
required:
|
|
9281
|
+
- text
|
|
9282
|
+
required:
|
|
9283
|
+
- source
|
|
9284
|
+
responses:
|
|
9285
|
+
"200":
|
|
9286
|
+
description: OpenAPI specification has been updated
|
|
9287
|
+
content:
|
|
9288
|
+
application/json:
|
|
9289
|
+
schema:
|
|
9290
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
9291
|
+
"201":
|
|
9292
|
+
description: OpenAPI specification has been created
|
|
9293
|
+
content:
|
|
9294
|
+
application/json:
|
|
9295
|
+
schema:
|
|
9296
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
9297
|
+
"400":
|
|
9298
|
+
$ref: "#/components/responses/BadRequestError"
|
|
9299
|
+
default:
|
|
9300
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9301
|
+
delete:
|
|
9302
|
+
operationId: deleteOpenAPISpecBySlug
|
|
9303
|
+
summary: Delete an organization OpenAPI specification by its slug
|
|
9304
|
+
tags:
|
|
9305
|
+
- openapi
|
|
9306
|
+
security:
|
|
9307
|
+
- user: []
|
|
9308
|
+
parameters:
|
|
9309
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9310
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
9311
|
+
responses:
|
|
9312
|
+
"205":
|
|
9313
|
+
description: OpenAPI specification has been deleted
|
|
9314
|
+
default:
|
|
9315
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9316
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions":
|
|
9317
|
+
get:
|
|
9318
|
+
operationId: listOpenAPISpecVersions
|
|
9319
|
+
summary: List all the OpenAPI specification versions
|
|
9320
|
+
tags:
|
|
9321
|
+
- openapi
|
|
9322
|
+
security:
|
|
9323
|
+
- user: []
|
|
9324
|
+
parameters:
|
|
9325
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9326
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
9327
|
+
- $ref: "#/components/parameters/listPage"
|
|
9328
|
+
- $ref: "#/components/parameters/listLimit"
|
|
9329
|
+
responses:
|
|
9330
|
+
"200":
|
|
9331
|
+
description: OK
|
|
9332
|
+
content:
|
|
9333
|
+
application/json:
|
|
9334
|
+
schema:
|
|
9335
|
+
allOf:
|
|
9336
|
+
- $ref: "#/components/schemas/List"
|
|
9337
|
+
- type: object
|
|
9338
|
+
required:
|
|
9339
|
+
- items
|
|
9340
|
+
properties:
|
|
9341
|
+
items:
|
|
9342
|
+
type: array
|
|
9343
|
+
items:
|
|
9344
|
+
$ref: "#/components/schemas/OpenAPISpecVersion"
|
|
9345
|
+
"404":
|
|
9346
|
+
description: No matching OpenAPI specification found
|
|
9347
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9348
|
+
default:
|
|
9349
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9350
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions/latest":
|
|
9351
|
+
get:
|
|
9352
|
+
operationId: getLatestOpenAPISpecVersion
|
|
9353
|
+
summary: Get the latest OpenAPI specification version
|
|
9354
|
+
tags:
|
|
9355
|
+
- openapi
|
|
9356
|
+
security:
|
|
9357
|
+
- user: []
|
|
9358
|
+
parameters:
|
|
9359
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9360
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
9361
|
+
responses:
|
|
9362
|
+
"200":
|
|
9363
|
+
description: OK
|
|
9364
|
+
content:
|
|
9365
|
+
application/json:
|
|
9366
|
+
schema:
|
|
9367
|
+
$ref: "#/components/schemas/OpenAPISpecVersion"
|
|
9368
|
+
"404":
|
|
9369
|
+
description: No matching OpenAPI specification version found
|
|
9370
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9371
|
+
default:
|
|
9372
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9373
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content":
|
|
9374
|
+
get:
|
|
9375
|
+
operationId: getLatestOpenAPISpecVersionContent
|
|
9376
|
+
summary: Get the latest OpenAPI specification version content
|
|
9377
|
+
tags:
|
|
9378
|
+
- openapi
|
|
9379
|
+
security:
|
|
9380
|
+
- user: []
|
|
9381
|
+
parameters:
|
|
9382
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9383
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
9384
|
+
responses:
|
|
9385
|
+
"200":
|
|
9386
|
+
description: OK
|
|
9387
|
+
content:
|
|
9388
|
+
application/json:
|
|
9389
|
+
schema:
|
|
9390
|
+
$ref: "#/components/schemas/OpenAPISpecContent"
|
|
9391
|
+
"404":
|
|
9392
|
+
description: No matching OpenAPI specification version found
|
|
9393
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9394
|
+
default:
|
|
9395
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9396
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}":
|
|
9397
|
+
get:
|
|
9398
|
+
operationId: getOpenAPISpecVersionById
|
|
9399
|
+
summary: Get an OpenAPI specification version by its ID
|
|
9400
|
+
tags:
|
|
9401
|
+
- openapi
|
|
9402
|
+
security:
|
|
9403
|
+
- user: []
|
|
9404
|
+
parameters:
|
|
9405
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9406
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
9407
|
+
- $ref: "#/components/parameters/openapiSpecVersionId"
|
|
9408
|
+
responses:
|
|
9409
|
+
"200":
|
|
9410
|
+
description: OK
|
|
9411
|
+
content:
|
|
9412
|
+
application/json:
|
|
9413
|
+
schema:
|
|
9414
|
+
$ref: "#/components/schemas/OpenAPISpecVersion"
|
|
9415
|
+
"404":
|
|
9416
|
+
description: No matching OpenAPI specification version found
|
|
9417
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9418
|
+
default:
|
|
9419
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9420
|
+
"/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content":
|
|
9421
|
+
get:
|
|
9422
|
+
operationId: getOpenAPISpecVersionContentById
|
|
9423
|
+
summary: Get an OpenAPI specification version content by its ID
|
|
9424
|
+
tags:
|
|
9425
|
+
- openapi
|
|
9426
|
+
security:
|
|
9427
|
+
- user: []
|
|
9428
|
+
parameters:
|
|
9429
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9430
|
+
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
9431
|
+
- $ref: "#/components/parameters/openapiSpecVersionId"
|
|
9432
|
+
responses:
|
|
9433
|
+
"200":
|
|
9434
|
+
description: OK
|
|
9435
|
+
content:
|
|
9436
|
+
application/json:
|
|
9437
|
+
schema:
|
|
9438
|
+
$ref: "#/components/schemas/OpenAPISpecContent"
|
|
9439
|
+
"404":
|
|
9440
|
+
description: No matching OpenAPI specification version found
|
|
9441
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9442
|
+
default:
|
|
9443
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9444
|
+
components:
|
|
9445
|
+
securitySchemes:
|
|
9446
|
+
user:
|
|
9447
|
+
type: http
|
|
9448
|
+
scheme: bearer
|
|
9449
|
+
user-internal:
|
|
9450
|
+
type: http
|
|
9451
|
+
scheme: bearer
|
|
9452
|
+
user-staff:
|
|
9453
|
+
type: http
|
|
9454
|
+
scheme: bearer
|
|
9455
|
+
integration:
|
|
9456
|
+
type: http
|
|
9457
|
+
scheme: bearer
|
|
9458
|
+
integration-installation:
|
|
9459
|
+
type: http
|
|
9460
|
+
scheme: bearer
|
|
9461
|
+
parameters:
|
|
9462
|
+
listPage:
|
|
9463
|
+
name: page
|
|
9612
9464
|
in: query
|
|
9613
|
-
description:
|
|
9465
|
+
description: Identifier of the page results to fetch.
|
|
9614
9466
|
schema:
|
|
9615
9467
|
type: string
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
- asc
|
|
9619
|
-
- desc
|
|
9620
|
-
status:
|
|
9621
|
-
name: status
|
|
9468
|
+
listLimit:
|
|
9469
|
+
name: limit
|
|
9622
9470
|
in: query
|
|
9623
|
-
description:
|
|
9471
|
+
description: The number of results per page
|
|
9624
9472
|
schema:
|
|
9625
|
-
type:
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
- resolved
|
|
9631
|
-
targetPage:
|
|
9632
|
-
name: targetPage
|
|
9473
|
+
type: number
|
|
9474
|
+
minimum: 0
|
|
9475
|
+
maximum: 1000
|
|
9476
|
+
documentFormat:
|
|
9477
|
+
name: format
|
|
9633
9478
|
in: query
|
|
9634
|
-
description:
|
|
9479
|
+
description: Output format for the content.
|
|
9635
9480
|
schema:
|
|
9636
9481
|
type: string
|
|
9637
|
-
|
|
9638
|
-
|
|
9482
|
+
enum:
|
|
9483
|
+
- document
|
|
9484
|
+
- markdown
|
|
9485
|
+
tokenId:
|
|
9486
|
+
name: tokenId
|
|
9639
9487
|
in: path
|
|
9640
9488
|
required: true
|
|
9641
|
-
description: The
|
|
9489
|
+
description: The id of the API token
|
|
9642
9490
|
schema:
|
|
9643
9491
|
type: string
|
|
9644
|
-
|
|
9645
|
-
name:
|
|
9492
|
+
userId:
|
|
9493
|
+
name: userId
|
|
9646
9494
|
in: path
|
|
9647
9495
|
required: true
|
|
9648
|
-
description: The unique
|
|
9496
|
+
description: The unique ID of the User
|
|
9649
9497
|
schema:
|
|
9650
9498
|
type: string
|
|
9651
|
-
|
|
9652
|
-
name:
|
|
9499
|
+
spaceId:
|
|
9500
|
+
name: spaceId
|
|
9501
|
+
in: path
|
|
9502
|
+
required: true
|
|
9503
|
+
description: The unique id of the space
|
|
9504
|
+
schema:
|
|
9505
|
+
type: string
|
|
9506
|
+
siteShareKey:
|
|
9507
|
+
name: shareKey
|
|
9508
|
+
in: query
|
|
9509
|
+
description: For sites published via share-links, the share key is useful to resolve published URLs.
|
|
9510
|
+
schema:
|
|
9511
|
+
type: string
|
|
9512
|
+
teamId:
|
|
9513
|
+
name: teamId
|
|
9514
|
+
in: path
|
|
9515
|
+
required: true
|
|
9516
|
+
description: The unique ID of the Team
|
|
9517
|
+
schema:
|
|
9518
|
+
type: string
|
|
9519
|
+
revisionMetadata:
|
|
9520
|
+
name: metadata
|
|
9521
|
+
in: query
|
|
9522
|
+
description: If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9523
|
+
schema:
|
|
9524
|
+
type: boolean
|
|
9525
|
+
default: true
|
|
9526
|
+
revisionComputed:
|
|
9527
|
+
name: computed
|
|
9528
|
+
in: query
|
|
9529
|
+
description: If `false` is passed, content will not be computed
|
|
9530
|
+
schema:
|
|
9531
|
+
type: boolean
|
|
9532
|
+
default: true
|
|
9533
|
+
fileId:
|
|
9534
|
+
name: fileId
|
|
9535
|
+
in: path
|
|
9536
|
+
required: true
|
|
9537
|
+
description: The unique id of the file
|
|
9538
|
+
schema:
|
|
9539
|
+
type: string
|
|
9540
|
+
pageId:
|
|
9541
|
+
name: pageId
|
|
9542
|
+
in: path
|
|
9543
|
+
required: true
|
|
9544
|
+
description: The unique id of the page
|
|
9545
|
+
schema:
|
|
9546
|
+
type: string
|
|
9547
|
+
pagePath:
|
|
9548
|
+
name: pagePath
|
|
9549
|
+
in: path
|
|
9550
|
+
required: true
|
|
9551
|
+
description: The path of the page in the revision.
|
|
9552
|
+
schema:
|
|
9553
|
+
type: string
|
|
9554
|
+
reusableContentId:
|
|
9555
|
+
name: reusableContentId
|
|
9556
|
+
in: path
|
|
9557
|
+
required: true
|
|
9558
|
+
description: The unique id of the reusable content
|
|
9559
|
+
schema:
|
|
9560
|
+
type: string
|
|
9561
|
+
documentSchema:
|
|
9562
|
+
name: schema
|
|
9563
|
+
in: query
|
|
9564
|
+
description: Version of the schema used for the document.
|
|
9565
|
+
schema:
|
|
9566
|
+
type: string
|
|
9567
|
+
enum:
|
|
9568
|
+
- current
|
|
9569
|
+
- next
|
|
9570
|
+
changeRequestId:
|
|
9571
|
+
name: changeRequestId
|
|
9572
|
+
in: path
|
|
9573
|
+
required: true
|
|
9574
|
+
description: The unique ID of the change request or its number identifier in the space
|
|
9575
|
+
schema:
|
|
9576
|
+
type: string
|
|
9577
|
+
listOrder:
|
|
9578
|
+
name: order
|
|
9579
|
+
in: query
|
|
9580
|
+
description: An order for the items in the list
|
|
9581
|
+
schema:
|
|
9582
|
+
type: string
|
|
9583
|
+
default: desc
|
|
9584
|
+
enum:
|
|
9585
|
+
- asc
|
|
9586
|
+
- desc
|
|
9587
|
+
status:
|
|
9588
|
+
name: status
|
|
9589
|
+
in: query
|
|
9590
|
+
description: When provided, only comments with the given status are returned. Defaults to "all".
|
|
9591
|
+
schema:
|
|
9592
|
+
type: string
|
|
9593
|
+
default: all
|
|
9594
|
+
enum:
|
|
9595
|
+
- all
|
|
9596
|
+
- open
|
|
9597
|
+
- resolved
|
|
9598
|
+
targetPage:
|
|
9599
|
+
name: targetPage
|
|
9600
|
+
in: query
|
|
9601
|
+
description: The target page of the comment
|
|
9602
|
+
schema:
|
|
9603
|
+
type: string
|
|
9604
|
+
commentId:
|
|
9605
|
+
name: commentId
|
|
9606
|
+
in: path
|
|
9607
|
+
required: true
|
|
9608
|
+
description: The unique id of the comment
|
|
9609
|
+
schema:
|
|
9610
|
+
type: string
|
|
9611
|
+
commentReplyId:
|
|
9612
|
+
name: commentReplyId
|
|
9613
|
+
in: path
|
|
9614
|
+
required: true
|
|
9615
|
+
description: The unique id of the comment reply
|
|
9616
|
+
schema:
|
|
9617
|
+
type: string
|
|
9618
|
+
revisionId:
|
|
9619
|
+
name: revisionId
|
|
9653
9620
|
in: path
|
|
9654
9621
|
required: true
|
|
9655
9622
|
description: The unique id of the revision
|
|
@@ -9739,27 +9706,6 @@ components:
|
|
|
9739
9706
|
description: The unique id of the SAML provider
|
|
9740
9707
|
schema:
|
|
9741
9708
|
type: string
|
|
9742
|
-
captureId:
|
|
9743
|
-
name: captureId
|
|
9744
|
-
in: path
|
|
9745
|
-
required: true
|
|
9746
|
-
description: The unique id of a capture
|
|
9747
|
-
schema:
|
|
9748
|
-
type: string
|
|
9749
|
-
snippetId:
|
|
9750
|
-
name: snippetId
|
|
9751
|
-
in: path
|
|
9752
|
-
required: true
|
|
9753
|
-
description: The unique id of a snippet
|
|
9754
|
-
schema:
|
|
9755
|
-
type: string
|
|
9756
|
-
ifUnmodifiedSince:
|
|
9757
|
-
in: header
|
|
9758
|
-
name: If-Unmodified-Since
|
|
9759
|
-
description: If provided, the operation will be rejected if the underlying resource has been modified since the date provided in the header.
|
|
9760
|
-
schema:
|
|
9761
|
-
type: string
|
|
9762
|
-
format: date-time
|
|
9763
9709
|
shareLinkId:
|
|
9764
9710
|
name: shareLinkId
|
|
9765
9711
|
in: path
|
|
@@ -9816,6 +9762,27 @@ components:
|
|
|
9816
9762
|
schema:
|
|
9817
9763
|
type: string
|
|
9818
9764
|
required: true
|
|
9765
|
+
openapiSpecSlug:
|
|
9766
|
+
name: specSlug
|
|
9767
|
+
in: path
|
|
9768
|
+
required: true
|
|
9769
|
+
description: Slug of the OpenAPI specification
|
|
9770
|
+
schema:
|
|
9771
|
+
type: string
|
|
9772
|
+
openapiSpecVersionId:
|
|
9773
|
+
name: versionId
|
|
9774
|
+
in: path
|
|
9775
|
+
required: true
|
|
9776
|
+
description: The unique ID of the OpenAPI specification version
|
|
9777
|
+
schema:
|
|
9778
|
+
type: string
|
|
9779
|
+
ifUnmodifiedSince:
|
|
9780
|
+
in: header
|
|
9781
|
+
name: If-Unmodified-Since
|
|
9782
|
+
description: If provided, the operation will be rejected if the underlying resource has been modified since the date provided in the header.
|
|
9783
|
+
schema:
|
|
9784
|
+
type: string
|
|
9785
|
+
format: date-time
|
|
9819
9786
|
pageFormat:
|
|
9820
9787
|
$ref: "#/components/parameters/documentFormat"
|
|
9821
9788
|
commentStatus:
|
|
@@ -10233,21 +10200,6 @@ components:
|
|
|
10233
10200
|
required:
|
|
10234
10201
|
- kind
|
|
10235
10202
|
- space
|
|
10236
|
-
ContentRefSnippet:
|
|
10237
|
-
type: object
|
|
10238
|
-
properties:
|
|
10239
|
-
kind:
|
|
10240
|
-
type: string
|
|
10241
|
-
enum:
|
|
10242
|
-
- snippet
|
|
10243
|
-
snippet:
|
|
10244
|
-
type: string
|
|
10245
|
-
organization:
|
|
10246
|
-
type: string
|
|
10247
|
-
required:
|
|
10248
|
-
- kind
|
|
10249
|
-
- snippet
|
|
10250
|
-
- organization
|
|
10251
10203
|
ContentRefReusableContent:
|
|
10252
10204
|
type: object
|
|
10253
10205
|
properties:
|
|
@@ -10270,7 +10222,6 @@ components:
|
|
|
10270
10222
|
- $ref: "#/components/schemas/ContentRefUser"
|
|
10271
10223
|
- $ref: "#/components/schemas/ContentRefCollection"
|
|
10272
10224
|
- $ref: "#/components/schemas/ContentRefSpace"
|
|
10273
|
-
- $ref: "#/components/schemas/ContentRefSnippet"
|
|
10274
10225
|
- $ref: "#/components/schemas/ContentRefReusableContent"
|
|
10275
10226
|
DocumentInlineLink:
|
|
10276
10227
|
type: object
|
|
@@ -11747,6 +11698,7 @@ components:
|
|
|
11747
11698
|
ref:
|
|
11748
11699
|
oneOf:
|
|
11749
11700
|
- $ref: "#/components/schemas/ContentRefFile"
|
|
11701
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
11750
11702
|
expanded:
|
|
11751
11703
|
type: boolean
|
|
11752
11704
|
description: If true, the block is opened by default.
|
|
@@ -12106,6 +12058,7 @@ components:
|
|
|
12106
12058
|
URL:
|
|
12107
12059
|
type: string
|
|
12108
12060
|
format: uri
|
|
12061
|
+
maxLength: 2048
|
|
12109
12062
|
GitSyncProvider:
|
|
12110
12063
|
type: string
|
|
12111
12064
|
description: The provider of the Git Sync installation.
|
|
@@ -12682,9 +12635,36 @@ components:
|
|
|
12682
12635
|
- kind
|
|
12683
12636
|
- type
|
|
12684
12637
|
- target
|
|
12685
|
-
|
|
12638
|
+
ComputedContentDependencyRef:
|
|
12686
12639
|
oneOf:
|
|
12687
12640
|
- $ref: "#/components/schemas/ContentRefSpace"
|
|
12641
|
+
ComputedContentDependencyValue:
|
|
12642
|
+
description: Dependency for a computation, with its resolved value.
|
|
12643
|
+
oneOf:
|
|
12644
|
+
- type: object
|
|
12645
|
+
properties:
|
|
12646
|
+
ref:
|
|
12647
|
+
$ref: "#/components/schemas/ContentRefSpace"
|
|
12648
|
+
value:
|
|
12649
|
+
type: object
|
|
12650
|
+
nullable: true
|
|
12651
|
+
description: See `Space` schema component.
|
|
12652
|
+
properties:
|
|
12653
|
+
object:
|
|
12654
|
+
type: string
|
|
12655
|
+
enum:
|
|
12656
|
+
- space
|
|
12657
|
+
id:
|
|
12658
|
+
type: string
|
|
12659
|
+
revision:
|
|
12660
|
+
type: string
|
|
12661
|
+
required:
|
|
12662
|
+
- object
|
|
12663
|
+
- id
|
|
12664
|
+
- revision
|
|
12665
|
+
required:
|
|
12666
|
+
- ref
|
|
12667
|
+
- value
|
|
12688
12668
|
ComputedContentSource:
|
|
12689
12669
|
type: object
|
|
12690
12670
|
description: Parameters for a computed content
|
|
@@ -12698,11 +12678,21 @@ components:
|
|
|
12698
12678
|
props:
|
|
12699
12679
|
description: Properties to be passed to the computation
|
|
12700
12680
|
$ref: "#/components/schemas/PlainObject"
|
|
12701
|
-
|
|
12702
|
-
type:
|
|
12703
|
-
description:
|
|
12704
|
-
|
|
12705
|
-
|
|
12681
|
+
dependencies:
|
|
12682
|
+
type: object
|
|
12683
|
+
description: |
|
|
12684
|
+
Dependencies the computation depends on.
|
|
12685
|
+
The state of the dependencies will be passed to the computation.
|
|
12686
|
+
When the dependency's targets are updated, the computation will be updated.
|
|
12687
|
+
additionalProperties:
|
|
12688
|
+
oneOf:
|
|
12689
|
+
- type: object
|
|
12690
|
+
properties:
|
|
12691
|
+
ref:
|
|
12692
|
+
$ref: "#/components/schemas/ComputedContentDependencyRef"
|
|
12693
|
+
required:
|
|
12694
|
+
- ref
|
|
12695
|
+
- $ref: "#/components/schemas/ComputedContentDependencyValue"
|
|
12706
12696
|
required:
|
|
12707
12697
|
- integration
|
|
12708
12698
|
- source
|
|
@@ -13555,9 +13545,6 @@ components:
|
|
|
13555
13545
|
$ref: "#/components/schemas/OrganizationBlockReason"
|
|
13556
13546
|
required:
|
|
13557
13547
|
- reason
|
|
13558
|
-
internal_isUsingSnippets:
|
|
13559
|
-
type: boolean
|
|
13560
|
-
description: If true, the organization is still using the deprecated snippets feature.
|
|
13561
13548
|
internal_isOnNewTrial:
|
|
13562
13549
|
type: boolean
|
|
13563
13550
|
description: If true, the organization is on the new trial which includes sites and the Pro plan.
|
|
@@ -13805,613 +13792,153 @@ components:
|
|
|
13805
13792
|
- kind
|
|
13806
13793
|
- organization
|
|
13807
13794
|
- space
|
|
13808
|
-
|
|
13809
|
-
type:
|
|
13810
|
-
|
|
13811
|
-
|
|
13812
|
-
|
|
13813
|
-
|
|
13814
|
-
|
|
13815
|
-
|
|
13816
|
-
|
|
13817
|
-
|
|
13818
|
-
|
|
13819
|
-
|
|
13820
|
-
|
|
13821
|
-
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13826
|
-
-
|
|
13827
|
-
- space
|
|
13795
|
+
ContentLocationReusableContent:
|
|
13796
|
+
type: object
|
|
13797
|
+
properties:
|
|
13798
|
+
kind:
|
|
13799
|
+
type: string
|
|
13800
|
+
enum:
|
|
13801
|
+
- reusable-content
|
|
13802
|
+
organization:
|
|
13803
|
+
$ref: "#/components/schemas/Organization"
|
|
13804
|
+
space:
|
|
13805
|
+
$ref: "#/components/schemas/Space"
|
|
13806
|
+
versionContext:
|
|
13807
|
+
oneOf:
|
|
13808
|
+
- $ref: "#/components/schemas/ContentLocationRevisionContext"
|
|
13809
|
+
- $ref: "#/components/schemas/ContentLocationChangeRequestContext"
|
|
13810
|
+
reusableContent:
|
|
13811
|
+
$ref: "#/components/schemas/RevisionReusableContent"
|
|
13812
|
+
required:
|
|
13813
|
+
- kind
|
|
13828
13814
|
- organization
|
|
13829
|
-
|
|
13830
|
-
|
|
13831
|
-
|
|
13832
|
-
|
|
13833
|
-
|
|
13834
|
-
-
|
|
13835
|
-
|
|
13815
|
+
- space
|
|
13816
|
+
- reusableContent
|
|
13817
|
+
ContentLocation:
|
|
13818
|
+
description: An absolute reference to content in GitBook.
|
|
13819
|
+
oneOf:
|
|
13820
|
+
- $ref: "#/components/schemas/ContentLocationFile"
|
|
13821
|
+
- $ref: "#/components/schemas/ContentLocationURL"
|
|
13822
|
+
- $ref: "#/components/schemas/ContentLocationPage"
|
|
13823
|
+
- $ref: "#/components/schemas/ContentLocationUser"
|
|
13824
|
+
- $ref: "#/components/schemas/ContentLocationCollection"
|
|
13825
|
+
- $ref: "#/components/schemas/ContentLocationSpace"
|
|
13826
|
+
- $ref: "#/components/schemas/ContentLocationReusableContent"
|
|
13827
|
+
discriminator:
|
|
13828
|
+
propertyName: kind
|
|
13829
|
+
ContentReferenceStatus:
|
|
13836
13830
|
type: string
|
|
13837
13831
|
enum:
|
|
13838
|
-
-
|
|
13839
|
-
-
|
|
13840
|
-
-
|
|
13841
|
-
|
|
13842
|
-
|
|
13843
|
-
-
|
|
13844
|
-
-
|
|
13845
|
-
-
|
|
13846
|
-
|
|
13847
|
-
|
|
13848
|
-
|
|
13849
|
-
|
|
13850
|
-
|
|
13851
|
-
|
|
13852
|
-
|
|
13853
|
-
|
|
13854
|
-
|
|
13855
|
-
|
|
13856
|
-
|
|
13857
|
-
|
|
13858
|
-
|
|
13859
|
-
|
|
13832
|
+
- ok
|
|
13833
|
+
- broken
|
|
13834
|
+
- in-app
|
|
13835
|
+
description: |
|
|
13836
|
+
Text to display to represent the reference. Possible values include:
|
|
13837
|
+
- `ok` - No problems detected for this content reference.
|
|
13838
|
+
- `broken` - The target does not exist in the revision.
|
|
13839
|
+
- `in-app` - The target is a URL link pointing to an internal location in the app.
|
|
13840
|
+
ContentReferencesStats:
|
|
13841
|
+
type: object
|
|
13842
|
+
properties:
|
|
13843
|
+
total:
|
|
13844
|
+
description: Total count of links
|
|
13845
|
+
type: number
|
|
13846
|
+
broken:
|
|
13847
|
+
type: object
|
|
13848
|
+
properties:
|
|
13849
|
+
total:
|
|
13850
|
+
description: Count of broken links
|
|
13851
|
+
type: number
|
|
13852
|
+
changeRequest:
|
|
13853
|
+
description: Count of broken links that were broken in current change request, if applicable.
|
|
13854
|
+
type: number
|
|
13855
|
+
required:
|
|
13856
|
+
- total
|
|
13857
|
+
required:
|
|
13858
|
+
- total
|
|
13859
|
+
- broken
|
|
13860
|
+
ContentReferenceRelation:
|
|
13860
13861
|
type: string
|
|
13861
13862
|
enum:
|
|
13862
|
-
-
|
|
13863
|
-
-
|
|
13864
|
-
|
|
13865
|
-
|
|
13866
|
-
-
|
|
13867
|
-
-
|
|
13868
|
-
|
|
13869
|
-
- other
|
|
13870
|
-
IntegrationCategories:
|
|
13871
|
-
type: array
|
|
13872
|
-
description: Categories for which the integration is listed in the marketplace
|
|
13873
|
-
items:
|
|
13874
|
-
$ref: "#/components/schemas/IntegrationCategory"
|
|
13875
|
-
IntegrationBlocks:
|
|
13876
|
-
type: array
|
|
13877
|
-
description: Custom blocks defined by this integration.
|
|
13878
|
-
items:
|
|
13879
|
-
$ref: "#/components/schemas/IntegrationBlock"
|
|
13880
|
-
IntegrationConfigurationComponent:
|
|
13863
|
+
- reference
|
|
13864
|
+
- dependsOn
|
|
13865
|
+
description: |
|
|
13866
|
+
Indicator of the relationship with the content ref target.
|
|
13867
|
+
- `reference` - The content soft-references the ref target
|
|
13868
|
+
- `dependsOn` - The content depends on the ref target
|
|
13869
|
+
ContentReferenceUsage:
|
|
13881
13870
|
type: object
|
|
13882
|
-
description: ContentKit component for configuration
|
|
13883
13871
|
properties:
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
|
|
13872
|
+
status:
|
|
13873
|
+
$ref: "#/components/schemas/ContentReferenceStatus"
|
|
13874
|
+
relation:
|
|
13875
|
+
$ref: "#/components/schemas/ContentReferenceRelation"
|
|
13876
|
+
targetReference:
|
|
13877
|
+
description: The reference target where a list of pages are pointing at
|
|
13878
|
+
$ref: "#/components/schemas/ContentLocation"
|
|
13879
|
+
locationReferences:
|
|
13880
|
+
description: Pages locations where a link to the target is found.
|
|
13881
|
+
type: array
|
|
13882
|
+
items:
|
|
13883
|
+
$ref: "#/components/schemas/ContentLocation"
|
|
13887
13884
|
required:
|
|
13888
|
-
-
|
|
13889
|
-
|
|
13885
|
+
- relation
|
|
13886
|
+
- status
|
|
13887
|
+
- locationReferences
|
|
13888
|
+
CreateChangeRequest:
|
|
13890
13889
|
type: object
|
|
13891
|
-
description: Definition of a content source provided by the integration.
|
|
13892
13890
|
properties:
|
|
13893
|
-
|
|
13894
|
-
type: string
|
|
13895
|
-
description: Unique ID in the integration for the source.
|
|
13896
|
-
title:
|
|
13897
|
-
type: string
|
|
13898
|
-
description: Short descriptive title for the source.
|
|
13899
|
-
minLength: 2
|
|
13900
|
-
maxLength: 40
|
|
13901
|
-
description:
|
|
13902
|
-
type: string
|
|
13903
|
-
description: Long descriptive text for the source.
|
|
13904
|
-
minLength: 0
|
|
13905
|
-
maxLength: 150
|
|
13906
|
-
icon:
|
|
13891
|
+
subject:
|
|
13907
13892
|
type: string
|
|
13908
|
-
description:
|
|
13909
|
-
|
|
13910
|
-
|
|
13911
|
-
|
|
13912
|
-
|
|
13913
|
-
-
|
|
13914
|
-
|
|
13893
|
+
description: Subject of the change-request
|
|
13894
|
+
ChangeRequestReviewStatus:
|
|
13895
|
+
type: string
|
|
13896
|
+
description: Status of a change request review.
|
|
13897
|
+
enum:
|
|
13898
|
+
- changes-requested
|
|
13899
|
+
- approved
|
|
13900
|
+
EmojiReaction:
|
|
13915
13901
|
type: object
|
|
13916
|
-
description:
|
|
13902
|
+
description: An emoji reaction by one or many users
|
|
13917
13903
|
properties:
|
|
13918
|
-
|
|
13919
|
-
type:
|
|
13920
|
-
|
|
13921
|
-
|
|
13922
|
-
|
|
13923
|
-
|
|
13924
|
-
|
|
13925
|
-
type: string
|
|
13926
|
-
maxLength: 30
|
|
13927
|
-
description:
|
|
13928
|
-
type: string
|
|
13929
|
-
maxLength: 100
|
|
13930
|
-
- oneOf:
|
|
13931
|
-
- type: object
|
|
13932
|
-
properties:
|
|
13933
|
-
type:
|
|
13934
|
-
type: string
|
|
13935
|
-
enum:
|
|
13936
|
-
- string
|
|
13937
|
-
default:
|
|
13938
|
-
type: string
|
|
13939
|
-
required:
|
|
13940
|
-
- type
|
|
13941
|
-
- type: object
|
|
13942
|
-
properties:
|
|
13943
|
-
type:
|
|
13944
|
-
type: string
|
|
13945
|
-
enum:
|
|
13946
|
-
- number
|
|
13947
|
-
default:
|
|
13948
|
-
type: number
|
|
13949
|
-
required:
|
|
13950
|
-
- type
|
|
13951
|
-
- type: object
|
|
13952
|
-
properties:
|
|
13953
|
-
type:
|
|
13954
|
-
type: string
|
|
13955
|
-
enum:
|
|
13956
|
-
- boolean
|
|
13957
|
-
default:
|
|
13958
|
-
type: boolean
|
|
13959
|
-
required:
|
|
13960
|
-
- type
|
|
13961
|
-
- type: object
|
|
13962
|
-
properties:
|
|
13963
|
-
type:
|
|
13964
|
-
type: string
|
|
13965
|
-
enum:
|
|
13966
|
-
- button
|
|
13967
|
-
callback_url:
|
|
13968
|
-
type: string
|
|
13969
|
-
button_text:
|
|
13970
|
-
type: string
|
|
13971
|
-
required:
|
|
13972
|
-
- type
|
|
13973
|
-
- callback_url
|
|
13974
|
-
- button_text
|
|
13975
|
-
required:
|
|
13904
|
+
emoji:
|
|
13905
|
+
type: string
|
|
13906
|
+
description: The Emoji of the reaction
|
|
13907
|
+
count:
|
|
13908
|
+
type: number
|
|
13909
|
+
description: The number of users who reacted with this emoji
|
|
13910
|
+
users:
|
|
13976
13911
|
type: array
|
|
13977
|
-
|
|
13912
|
+
description: The users who reacted with this emoji
|
|
13978
13913
|
items:
|
|
13979
|
-
type:
|
|
13914
|
+
type: object
|
|
13915
|
+
properties:
|
|
13916
|
+
user:
|
|
13917
|
+
$ref: "#/components/schemas/User"
|
|
13918
|
+
reactedAt:
|
|
13919
|
+
$ref: "#/components/schemas/Timestamp"
|
|
13920
|
+
required:
|
|
13921
|
+
- user
|
|
13922
|
+
- reactedAt
|
|
13980
13923
|
required:
|
|
13981
|
-
-
|
|
13982
|
-
|
|
13983
|
-
|
|
13984
|
-
|
|
13985
|
-
- $ref: "#/components/schemas/IntegrationConfigurationComponent"
|
|
13986
|
-
IntegrationConfigurations:
|
|
13987
|
-
type: object
|
|
13988
|
-
properties:
|
|
13989
|
-
account:
|
|
13990
|
-
$ref: "#/components/schemas/IntegrationConfiguration"
|
|
13991
|
-
space:
|
|
13992
|
-
$ref: "#/components/schemas/IntegrationConfiguration"
|
|
13993
|
-
site:
|
|
13994
|
-
$ref: "#/components/schemas/IntegrationConfiguration"
|
|
13995
|
-
IntegrationExternalLinks:
|
|
13924
|
+
- emoji
|
|
13925
|
+
- count
|
|
13926
|
+
- users
|
|
13927
|
+
EmojiReactions:
|
|
13996
13928
|
type: array
|
|
13997
|
-
description: External urls configured by the developer of the integration
|
|
13998
|
-
maxItems: 5
|
|
13999
13929
|
items:
|
|
14000
|
-
|
|
14001
|
-
|
|
14002
|
-
|
|
14003
|
-
$ref: "#/components/schemas/URL"
|
|
14004
|
-
label:
|
|
14005
|
-
type: string
|
|
14006
|
-
required:
|
|
14007
|
-
- url
|
|
14008
|
-
- label
|
|
14009
|
-
IntegrationContentSecurityPolicy:
|
|
14010
|
-
description: |
|
|
14011
|
-
Security policy to validate the content of the integrations scripts and Contentkit. Will be sent as
|
|
14012
|
-
headers when processing the script fetch event and the blocks fetch events.
|
|
14013
|
-
oneOf:
|
|
14014
|
-
- type: string
|
|
13930
|
+
$ref: "#/components/schemas/EmojiReaction"
|
|
13931
|
+
Comment:
|
|
13932
|
+
allOf:
|
|
14015
13933
|
- type: object
|
|
14016
13934
|
properties:
|
|
14017
|
-
|
|
14018
|
-
type: string
|
|
14019
|
-
block-all-mixed-content:
|
|
14020
|
-
type: string
|
|
14021
|
-
child-src:
|
|
14022
|
-
type: string
|
|
14023
|
-
connect-src:
|
|
13935
|
+
object:
|
|
14024
13936
|
type: string
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
14028
|
-
|
|
14029
|
-
|
|
14030
|
-
type: string
|
|
14031
|
-
frame-ancestors:
|
|
14032
|
-
type: string
|
|
14033
|
-
frame-src:
|
|
14034
|
-
type: string
|
|
14035
|
-
img-src:
|
|
14036
|
-
type: string
|
|
14037
|
-
manifest-src:
|
|
14038
|
-
type: string
|
|
14039
|
-
media-src:
|
|
14040
|
-
type: string
|
|
14041
|
-
navigate-to:
|
|
14042
|
-
type: string
|
|
14043
|
-
object-src:
|
|
14044
|
-
type: string
|
|
14045
|
-
plugin-types:
|
|
14046
|
-
type: string
|
|
14047
|
-
prefetch-src:
|
|
14048
|
-
type: string
|
|
14049
|
-
referrer:
|
|
14050
|
-
type: string
|
|
14051
|
-
report-to:
|
|
14052
|
-
type: string
|
|
14053
|
-
report-uri:
|
|
14054
|
-
type: string
|
|
14055
|
-
require-sri-for:
|
|
14056
|
-
type: string
|
|
14057
|
-
require-trusted-types-for:
|
|
14058
|
-
type: string
|
|
14059
|
-
sandbox:
|
|
14060
|
-
type: string
|
|
14061
|
-
script-src:
|
|
14062
|
-
type: string
|
|
14063
|
-
script-src-attr:
|
|
14064
|
-
type: string
|
|
14065
|
-
script-src-elem:
|
|
14066
|
-
type: string
|
|
14067
|
-
style-src:
|
|
14068
|
-
type: string
|
|
14069
|
-
style-src-attr:
|
|
14070
|
-
type: string
|
|
14071
|
-
style-src-elem:
|
|
14072
|
-
type: string
|
|
14073
|
-
trusted-types:
|
|
14074
|
-
type: string
|
|
14075
|
-
upgrade-insecure-requests:
|
|
14076
|
-
type: string
|
|
14077
|
-
worker-src:
|
|
14078
|
-
type: string
|
|
14079
|
-
Integration:
|
|
14080
|
-
type: object
|
|
14081
|
-
properties:
|
|
14082
|
-
object:
|
|
14083
|
-
type: string
|
|
14084
|
-
enum:
|
|
14085
|
-
- integration
|
|
14086
|
-
name:
|
|
14087
|
-
type: string
|
|
14088
|
-
description: Unique named identifier for the integration
|
|
14089
|
-
version:
|
|
14090
|
-
type: number
|
|
14091
|
-
description: Version of the integration
|
|
14092
|
-
title:
|
|
14093
|
-
$ref: "#/components/schemas/IntegrationTitle"
|
|
14094
|
-
description:
|
|
14095
|
-
$ref: "#/components/schemas/IntegrationDescription"
|
|
14096
|
-
summary:
|
|
14097
|
-
$ref: "#/components/schemas/IntegrationSummary"
|
|
14098
|
-
previewImages:
|
|
14099
|
-
type: array
|
|
14100
|
-
description: URLs of images to showcase the integration
|
|
14101
|
-
maxItems: 3
|
|
14102
|
-
items:
|
|
14103
|
-
type: string
|
|
14104
|
-
target:
|
|
14105
|
-
$ref: "#/components/schemas/IntegrationTarget"
|
|
14106
|
-
verified:
|
|
14107
|
-
type: boolean
|
|
14108
|
-
description: If true, the integration has been verified by the GitBook team
|
|
14109
|
-
visibility:
|
|
14110
|
-
$ref: "#/components/schemas/IntegrationVisibility"
|
|
14111
|
-
scopes:
|
|
14112
|
-
$ref: "#/components/schemas/IntegrationScopes"
|
|
14113
|
-
categories:
|
|
14114
|
-
$ref: "#/components/schemas/IntegrationCategories"
|
|
14115
|
-
blocks:
|
|
14116
|
-
$ref: "#/components/schemas/IntegrationBlocks"
|
|
14117
|
-
contentSources:
|
|
14118
|
-
type: array
|
|
14119
|
-
items:
|
|
14120
|
-
$ref: "#/components/schemas/IntegrationContentSource"
|
|
14121
|
-
configurations:
|
|
14122
|
-
$ref: "#/components/schemas/IntegrationConfigurations"
|
|
14123
|
-
externalLinks:
|
|
14124
|
-
$ref: "#/components/schemas/IntegrationExternalLinks"
|
|
14125
|
-
owner:
|
|
14126
|
-
$ref: "#/components/schemas/Organization"
|
|
14127
|
-
urls:
|
|
14128
|
-
type: object
|
|
14129
|
-
description: URLs associated with the object
|
|
14130
|
-
properties:
|
|
14131
|
-
location:
|
|
14132
|
-
type: string
|
|
14133
|
-
description: URL of the integration in the API
|
|
14134
|
-
format: uri
|
|
14135
|
-
icon:
|
|
14136
|
-
type: string
|
|
14137
|
-
description: URL of the icon associated to the integration
|
|
14138
|
-
format: uri
|
|
14139
|
-
app:
|
|
14140
|
-
type: string
|
|
14141
|
-
description: URL of the integration in the application
|
|
14142
|
-
format: uri
|
|
14143
|
-
assets:
|
|
14144
|
-
type: string
|
|
14145
|
-
description: URL of the integration's assets.
|
|
14146
|
-
format: uri
|
|
14147
|
-
publicEndpoint:
|
|
14148
|
-
type: string
|
|
14149
|
-
description: Public HTTP endpoint for the integration
|
|
14150
|
-
format: uri
|
|
14151
|
-
required:
|
|
14152
|
-
- location
|
|
14153
|
-
- app
|
|
14154
|
-
- assets
|
|
14155
|
-
- publicEndpoint
|
|
14156
|
-
permissions:
|
|
14157
|
-
type: object
|
|
14158
|
-
description: The set of permissions for the integration
|
|
14159
|
-
properties:
|
|
14160
|
-
admin:
|
|
14161
|
-
type: boolean
|
|
14162
|
-
required:
|
|
14163
|
-
- admin
|
|
14164
|
-
contentSecurityPolicy:
|
|
14165
|
-
$ref: "#/components/schemas/IntegrationContentSecurityPolicy"
|
|
14166
|
-
required:
|
|
14167
|
-
- object
|
|
14168
|
-
- name
|
|
14169
|
-
- version
|
|
14170
|
-
- title
|
|
14171
|
-
- scopes
|
|
14172
|
-
- categories
|
|
14173
|
-
- visibility
|
|
14174
|
-
- target
|
|
14175
|
-
- verified
|
|
14176
|
-
- previewImages
|
|
14177
|
-
- externalLinks
|
|
14178
|
-
- owner
|
|
14179
|
-
- permissions
|
|
14180
|
-
- urls
|
|
14181
|
-
Snippet:
|
|
14182
|
-
type: object
|
|
14183
|
-
properties:
|
|
14184
|
-
id:
|
|
14185
|
-
type: string
|
|
14186
|
-
description: Unique identifier for the snippet
|
|
14187
|
-
organization:
|
|
14188
|
-
type: string
|
|
14189
|
-
description: ID of the organization owning this snippet
|
|
14190
|
-
createdAt:
|
|
14191
|
-
type: string
|
|
14192
|
-
format: date-time
|
|
14193
|
-
editedAt:
|
|
14194
|
-
type: string
|
|
14195
|
-
format: date-time
|
|
14196
|
-
description: Timestamp of when the snippet was last edited, if it has been edited since its creation.
|
|
14197
|
-
archived:
|
|
14198
|
-
type: boolean
|
|
14199
|
-
description: Whether the snippet is archived. Archived snippets don't appear in search results or in the app.
|
|
14200
|
-
title:
|
|
14201
|
-
type: string
|
|
14202
|
-
description: Title describing the snippet.
|
|
14203
|
-
maxLength: 100
|
|
14204
|
-
source:
|
|
14205
|
-
description: The source of the snippet.
|
|
14206
|
-
type: object
|
|
14207
|
-
properties:
|
|
14208
|
-
sourceId:
|
|
14209
|
-
type: string
|
|
14210
|
-
description: An ID identifying the source, unique across all sources.
|
|
14211
|
-
name:
|
|
14212
|
-
type: string
|
|
14213
|
-
description: A display name for the source.
|
|
14214
|
-
externalId:
|
|
14215
|
-
type: string
|
|
14216
|
-
description: An ID identifying the snippet in the source system, if available.
|
|
14217
|
-
externalUrl:
|
|
14218
|
-
description: URL of the snippet in the source system, if available.
|
|
14219
|
-
$ref: "#/components/schemas/URL"
|
|
14220
|
-
required:
|
|
14221
|
-
- sourceId
|
|
14222
|
-
- name
|
|
14223
|
-
contributors:
|
|
14224
|
-
description: An array of contributors to the snippet, which can be either users or integrations. The first contributor is the one who created the snippet.
|
|
14225
|
-
type: array
|
|
14226
|
-
minItems: 1
|
|
14227
|
-
items:
|
|
14228
|
-
oneOf:
|
|
14229
|
-
- $ref: "#/components/schemas/Integration"
|
|
14230
|
-
- $ref: "#/components/schemas/User"
|
|
14231
|
-
urls:
|
|
14232
|
-
type: object
|
|
14233
|
-
description: URLs associated with the object
|
|
14234
|
-
properties:
|
|
14235
|
-
location:
|
|
14236
|
-
description: URL of the snippet in the API
|
|
14237
|
-
$ref: "#/components/schemas/URL"
|
|
14238
|
-
app:
|
|
14239
|
-
description: URL of the snippet in the app
|
|
14240
|
-
$ref: "#/components/schemas/URL"
|
|
14241
|
-
required:
|
|
14242
|
-
- location
|
|
14243
|
-
- app
|
|
14244
|
-
required:
|
|
14245
|
-
- id
|
|
14246
|
-
- organization
|
|
14247
|
-
- source
|
|
14248
|
-
- createdAt
|
|
14249
|
-
- archived
|
|
14250
|
-
- contributors
|
|
14251
|
-
- urls
|
|
14252
|
-
ContentLocationSnippet:
|
|
14253
|
-
type: object
|
|
14254
|
-
properties:
|
|
14255
|
-
kind:
|
|
14256
|
-
type: string
|
|
14257
|
-
enum:
|
|
14258
|
-
- snippet
|
|
14259
|
-
organization:
|
|
14260
|
-
$ref: "#/components/schemas/Organization"
|
|
14261
|
-
snippet:
|
|
14262
|
-
$ref: "#/components/schemas/Snippet"
|
|
14263
|
-
required:
|
|
14264
|
-
- kind
|
|
14265
|
-
- organization
|
|
14266
|
-
- snippet
|
|
14267
|
-
ContentLocationReusableContent:
|
|
14268
|
-
type: object
|
|
14269
|
-
properties:
|
|
14270
|
-
kind:
|
|
14271
|
-
type: string
|
|
14272
|
-
enum:
|
|
14273
|
-
- reusable-content
|
|
14274
|
-
organization:
|
|
14275
|
-
$ref: "#/components/schemas/Organization"
|
|
14276
|
-
space:
|
|
14277
|
-
$ref: "#/components/schemas/Space"
|
|
14278
|
-
versionContext:
|
|
14279
|
-
oneOf:
|
|
14280
|
-
- $ref: "#/components/schemas/ContentLocationRevisionContext"
|
|
14281
|
-
- $ref: "#/components/schemas/ContentLocationChangeRequestContext"
|
|
14282
|
-
reusableContent:
|
|
14283
|
-
$ref: "#/components/schemas/RevisionReusableContent"
|
|
14284
|
-
required:
|
|
14285
|
-
- kind
|
|
14286
|
-
- organization
|
|
14287
|
-
- space
|
|
14288
|
-
- reusableContent
|
|
14289
|
-
ContentLocation:
|
|
14290
|
-
description: An absolute reference to content in GitBook.
|
|
14291
|
-
oneOf:
|
|
14292
|
-
- $ref: "#/components/schemas/ContentLocationFile"
|
|
14293
|
-
- $ref: "#/components/schemas/ContentLocationURL"
|
|
14294
|
-
- $ref: "#/components/schemas/ContentLocationPage"
|
|
14295
|
-
- $ref: "#/components/schemas/ContentLocationUser"
|
|
14296
|
-
- $ref: "#/components/schemas/ContentLocationCollection"
|
|
14297
|
-
- $ref: "#/components/schemas/ContentLocationSpace"
|
|
14298
|
-
- $ref: "#/components/schemas/ContentLocationSnippet"
|
|
14299
|
-
- $ref: "#/components/schemas/ContentLocationReusableContent"
|
|
14300
|
-
discriminator:
|
|
14301
|
-
propertyName: kind
|
|
14302
|
-
ContentReferenceStatus:
|
|
14303
|
-
type: string
|
|
14304
|
-
enum:
|
|
14305
|
-
- ok
|
|
14306
|
-
- broken
|
|
14307
|
-
- in-app
|
|
14308
|
-
description: |
|
|
14309
|
-
Text to display to represent the reference. Possible values include:
|
|
14310
|
-
- `ok` - No problems detected for this content reference.
|
|
14311
|
-
- `broken` - The target does not exist in the revision.
|
|
14312
|
-
- `in-app` - The target is a URL link pointing to an internal location in the app.
|
|
14313
|
-
ContentReferencesStats:
|
|
14314
|
-
type: object
|
|
14315
|
-
properties:
|
|
14316
|
-
total:
|
|
14317
|
-
description: Total count of links
|
|
14318
|
-
type: number
|
|
14319
|
-
broken:
|
|
14320
|
-
type: object
|
|
14321
|
-
properties:
|
|
14322
|
-
total:
|
|
14323
|
-
description: Count of broken links
|
|
14324
|
-
type: number
|
|
14325
|
-
changeRequest:
|
|
14326
|
-
description: Count of broken links that were broken in current change request, if applicable.
|
|
14327
|
-
type: number
|
|
14328
|
-
required:
|
|
14329
|
-
- total
|
|
14330
|
-
required:
|
|
14331
|
-
- total
|
|
14332
|
-
- broken
|
|
14333
|
-
ContentReferenceRelation:
|
|
14334
|
-
type: string
|
|
14335
|
-
enum:
|
|
14336
|
-
- reference
|
|
14337
|
-
- dependsOn
|
|
14338
|
-
description: |
|
|
14339
|
-
Indicator of the relationship with the content ref target.
|
|
14340
|
-
- `reference` - The content soft-references the ref target
|
|
14341
|
-
- `dependsOn` - The content depends on the ref target
|
|
14342
|
-
ContentReferenceUsage:
|
|
14343
|
-
type: object
|
|
14344
|
-
properties:
|
|
14345
|
-
status:
|
|
14346
|
-
$ref: "#/components/schemas/ContentReferenceStatus"
|
|
14347
|
-
relation:
|
|
14348
|
-
$ref: "#/components/schemas/ContentReferenceRelation"
|
|
14349
|
-
targetReference:
|
|
14350
|
-
description: The reference target where a list of pages are pointing at
|
|
14351
|
-
$ref: "#/components/schemas/ContentLocation"
|
|
14352
|
-
locationReferences:
|
|
14353
|
-
description: Pages locations where a link to the target is found.
|
|
14354
|
-
type: array
|
|
14355
|
-
items:
|
|
14356
|
-
$ref: "#/components/schemas/ContentLocation"
|
|
14357
|
-
required:
|
|
14358
|
-
- relation
|
|
14359
|
-
- status
|
|
14360
|
-
- locationReferences
|
|
14361
|
-
CreateChangeRequest:
|
|
14362
|
-
type: object
|
|
14363
|
-
properties:
|
|
14364
|
-
subject:
|
|
14365
|
-
type: string
|
|
14366
|
-
description: Subject of the change-request
|
|
14367
|
-
ChangeRequestReviewStatus:
|
|
14368
|
-
type: string
|
|
14369
|
-
description: Status of a change request review.
|
|
14370
|
-
enum:
|
|
14371
|
-
- changes-requested
|
|
14372
|
-
- approved
|
|
14373
|
-
EmojiReaction:
|
|
14374
|
-
type: object
|
|
14375
|
-
description: An emoji reaction by one or many users
|
|
14376
|
-
properties:
|
|
14377
|
-
emoji:
|
|
14378
|
-
type: string
|
|
14379
|
-
description: The Emoji of the reaction
|
|
14380
|
-
count:
|
|
14381
|
-
type: number
|
|
14382
|
-
description: The number of users who reacted with this emoji
|
|
14383
|
-
users:
|
|
14384
|
-
type: array
|
|
14385
|
-
description: The users who reacted with this emoji
|
|
14386
|
-
items:
|
|
14387
|
-
type: object
|
|
14388
|
-
properties:
|
|
14389
|
-
user:
|
|
14390
|
-
$ref: "#/components/schemas/User"
|
|
14391
|
-
reactedAt:
|
|
14392
|
-
$ref: "#/components/schemas/Timestamp"
|
|
14393
|
-
required:
|
|
14394
|
-
- user
|
|
14395
|
-
- reactedAt
|
|
14396
|
-
required:
|
|
14397
|
-
- emoji
|
|
14398
|
-
- count
|
|
14399
|
-
- users
|
|
14400
|
-
EmojiReactions:
|
|
14401
|
-
type: array
|
|
14402
|
-
items:
|
|
14403
|
-
$ref: "#/components/schemas/EmojiReaction"
|
|
14404
|
-
Comment:
|
|
14405
|
-
allOf:
|
|
14406
|
-
- type: object
|
|
14407
|
-
properties:
|
|
14408
|
-
object:
|
|
14409
|
-
type: string
|
|
14410
|
-
description: Type of Object, always equals to "comment"
|
|
14411
|
-
enum:
|
|
14412
|
-
- comment
|
|
14413
|
-
id:
|
|
14414
|
-
description: Unique identifier for the comment.
|
|
13937
|
+
description: Type of Object, always equals to "comment"
|
|
13938
|
+
enum:
|
|
13939
|
+
- comment
|
|
13940
|
+
id:
|
|
13941
|
+
description: Unique identifier for the comment.
|
|
14415
13942
|
type: string
|
|
14416
13943
|
postedBy:
|
|
14417
13944
|
description: The user who posted the comment.
|
|
@@ -15344,319 +14871,689 @@ components:
|
|
|
15344
14871
|
type: number
|
|
15345
14872
|
description: How many changes were omitted because above the result limit
|
|
15346
14873
|
required:
|
|
15347
|
-
- changes
|
|
15348
|
-
UpdateCommentReplySchema:
|
|
15349
|
-
type: object
|
|
15350
|
-
properties:
|
|
15351
|
-
body:
|
|
15352
|
-
description: Content of the comment.
|
|
15353
|
-
$ref: "#/components/schemas/Document"
|
|
15354
|
-
addedReactions:
|
|
15355
|
-
type: array
|
|
15356
|
-
description: Reactions to add to the comment.
|
|
15357
|
-
items:
|
|
15358
|
-
type: string
|
|
15359
|
-
removedReactions:
|
|
15360
|
-
type: array
|
|
15361
|
-
description: Reactions to remove from the comment.
|
|
15362
|
-
items:
|
|
15363
|
-
type: string
|
|
15364
|
-
Color:
|
|
14874
|
+
- changes
|
|
14875
|
+
UpdateCommentReplySchema:
|
|
14876
|
+
type: object
|
|
14877
|
+
properties:
|
|
14878
|
+
body:
|
|
14879
|
+
description: Content of the comment.
|
|
14880
|
+
$ref: "#/components/schemas/Document"
|
|
14881
|
+
addedReactions:
|
|
14882
|
+
type: array
|
|
14883
|
+
description: Reactions to add to the comment.
|
|
14884
|
+
items:
|
|
14885
|
+
type: string
|
|
14886
|
+
removedReactions:
|
|
14887
|
+
type: array
|
|
14888
|
+
description: Reactions to remove from the comment.
|
|
14889
|
+
items:
|
|
14890
|
+
type: string
|
|
14891
|
+
Color:
|
|
14892
|
+
type: string
|
|
14893
|
+
pattern: ^#(?:[0-9a-fA-F]{3}){1,2}$
|
|
14894
|
+
CustomizationThemedColor:
|
|
14895
|
+
type: object
|
|
14896
|
+
properties:
|
|
14897
|
+
light:
|
|
14898
|
+
$ref: "#/components/schemas/Color"
|
|
14899
|
+
dark:
|
|
14900
|
+
$ref: "#/components/schemas/Color"
|
|
14901
|
+
required:
|
|
14902
|
+
- light
|
|
14903
|
+
- dark
|
|
14904
|
+
CustomizationCorners:
|
|
14905
|
+
type: string
|
|
14906
|
+
enum:
|
|
14907
|
+
- straight
|
|
14908
|
+
- rounded
|
|
14909
|
+
CustomizationFont:
|
|
14910
|
+
type: string
|
|
14911
|
+
enum:
|
|
14912
|
+
- ABCFavorit
|
|
14913
|
+
- Inter
|
|
14914
|
+
- Roboto
|
|
14915
|
+
- RobotoSlab
|
|
14916
|
+
- OpenSans
|
|
14917
|
+
- SourceSansPro
|
|
14918
|
+
- Lato
|
|
14919
|
+
- Ubuntu
|
|
14920
|
+
- Raleway
|
|
14921
|
+
- Merriweather
|
|
14922
|
+
- Overpass
|
|
14923
|
+
- NotoSans
|
|
14924
|
+
- IBMPlexSerif
|
|
14925
|
+
- Poppins
|
|
14926
|
+
- FiraSans
|
|
14927
|
+
CustomizationBackground:
|
|
14928
|
+
type: string
|
|
14929
|
+
enum:
|
|
14930
|
+
- plain
|
|
14931
|
+
- match
|
|
14932
|
+
deprecated: true
|
|
14933
|
+
description: The background style has been deprecated and will be removed in a future release. Use the `tint` settings instead.
|
|
14934
|
+
CustomizationLocale:
|
|
14935
|
+
type: string
|
|
14936
|
+
description: Language for the UI element
|
|
14937
|
+
enum:
|
|
14938
|
+
- en
|
|
14939
|
+
- fr
|
|
14940
|
+
- es
|
|
14941
|
+
- zh
|
|
14942
|
+
- ja
|
|
14943
|
+
- de
|
|
14944
|
+
- nl
|
|
14945
|
+
- no
|
|
14946
|
+
- pt-br
|
|
14947
|
+
CustomizationThemedURL:
|
|
14948
|
+
type: object
|
|
14949
|
+
properties:
|
|
14950
|
+
light:
|
|
14951
|
+
$ref: "#/components/schemas/URL"
|
|
14952
|
+
dark:
|
|
14953
|
+
$ref: "#/components/schemas/URL"
|
|
14954
|
+
required:
|
|
14955
|
+
- light
|
|
14956
|
+
- dark
|
|
14957
|
+
CustomizationHeaderPreset:
|
|
14958
|
+
type: string
|
|
14959
|
+
enum:
|
|
14960
|
+
- default
|
|
14961
|
+
- bold
|
|
14962
|
+
- contrast
|
|
14963
|
+
- custom
|
|
14964
|
+
- none
|
|
14965
|
+
CustomizationContentLink:
|
|
14966
|
+
type: object
|
|
14967
|
+
properties:
|
|
14968
|
+
title:
|
|
14969
|
+
type: string
|
|
14970
|
+
to:
|
|
14971
|
+
$ref: "#/components/schemas/ContentRef"
|
|
14972
|
+
required:
|
|
14973
|
+
- title
|
|
14974
|
+
- to
|
|
14975
|
+
CustomizationHeaderItem:
|
|
14976
|
+
type: object
|
|
14977
|
+
properties:
|
|
14978
|
+
title:
|
|
14979
|
+
type: string
|
|
14980
|
+
style:
|
|
14981
|
+
type: string
|
|
14982
|
+
enum:
|
|
14983
|
+
- link
|
|
14984
|
+
- button-primary
|
|
14985
|
+
- button-secondary
|
|
14986
|
+
to:
|
|
14987
|
+
oneOf:
|
|
14988
|
+
- $ref: "#/components/schemas/ContentRef"
|
|
14989
|
+
- type: string
|
|
14990
|
+
nullable: true
|
|
14991
|
+
enum:
|
|
14992
|
+
- null
|
|
14993
|
+
links:
|
|
14994
|
+
type: array
|
|
14995
|
+
items:
|
|
14996
|
+
$ref: "#/components/schemas/CustomizationContentLink"
|
|
14997
|
+
required:
|
|
14998
|
+
- title
|
|
14999
|
+
- links
|
|
15000
|
+
- to
|
|
15001
|
+
CustomizationFooterGroup:
|
|
15002
|
+
type: object
|
|
15003
|
+
properties:
|
|
15004
|
+
title:
|
|
15005
|
+
type: string
|
|
15006
|
+
links:
|
|
15007
|
+
type: array
|
|
15008
|
+
items:
|
|
15009
|
+
$ref: "#/components/schemas/CustomizationContentLink"
|
|
15010
|
+
required:
|
|
15011
|
+
- title
|
|
15012
|
+
- links
|
|
15013
|
+
CustomizationThemeMode:
|
|
15014
|
+
type: string
|
|
15015
|
+
enum:
|
|
15016
|
+
- light
|
|
15017
|
+
- dark
|
|
15018
|
+
CustomizationSettings:
|
|
15019
|
+
type: object
|
|
15020
|
+
properties:
|
|
15021
|
+
inherit:
|
|
15022
|
+
type: boolean
|
|
15023
|
+
description: Inherit customization settings from the parent collection.
|
|
15024
|
+
title:
|
|
15025
|
+
type: string
|
|
15026
|
+
description: Title to use for the published content. If not defined, it'll fallback to the content title.
|
|
15027
|
+
styling:
|
|
15028
|
+
type: object
|
|
15029
|
+
properties:
|
|
15030
|
+
primaryColor:
|
|
15031
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
15032
|
+
corners:
|
|
15033
|
+
$ref: "#/components/schemas/CustomizationCorners"
|
|
15034
|
+
font:
|
|
15035
|
+
$ref: "#/components/schemas/CustomizationFont"
|
|
15036
|
+
background:
|
|
15037
|
+
$ref: "#/components/schemas/CustomizationBackground"
|
|
15038
|
+
required:
|
|
15039
|
+
- primaryColor
|
|
15040
|
+
- corners
|
|
15041
|
+
- font
|
|
15042
|
+
internationalization:
|
|
15043
|
+
type: object
|
|
15044
|
+
properties:
|
|
15045
|
+
locale:
|
|
15046
|
+
$ref: "#/components/schemas/CustomizationLocale"
|
|
15047
|
+
inherit:
|
|
15048
|
+
type: boolean
|
|
15049
|
+
description: Inherit locale from the parent collection.
|
|
15050
|
+
required:
|
|
15051
|
+
- locale
|
|
15052
|
+
- inherit
|
|
15053
|
+
favicon:
|
|
15054
|
+
oneOf:
|
|
15055
|
+
- type: object
|
|
15056
|
+
properties:
|
|
15057
|
+
icon:
|
|
15058
|
+
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
15059
|
+
required:
|
|
15060
|
+
- icon
|
|
15061
|
+
- type: object
|
|
15062
|
+
properties:
|
|
15063
|
+
emoji:
|
|
15064
|
+
$ref: "#/components/schemas/Emoji"
|
|
15065
|
+
required:
|
|
15066
|
+
- emoji
|
|
15067
|
+
- type: object
|
|
15068
|
+
properties: {}
|
|
15069
|
+
additionalProperties: false
|
|
15070
|
+
header:
|
|
15071
|
+
type: object
|
|
15072
|
+
properties:
|
|
15073
|
+
preset:
|
|
15074
|
+
$ref: "#/components/schemas/CustomizationHeaderPreset"
|
|
15075
|
+
logo:
|
|
15076
|
+
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
15077
|
+
backgroundColor:
|
|
15078
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
15079
|
+
linkColor:
|
|
15080
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
15081
|
+
links:
|
|
15082
|
+
type: array
|
|
15083
|
+
items:
|
|
15084
|
+
$ref: "#/components/schemas/CustomizationHeaderItem"
|
|
15085
|
+
required:
|
|
15086
|
+
- preset
|
|
15087
|
+
- links
|
|
15088
|
+
footer:
|
|
15089
|
+
type: object
|
|
15090
|
+
properties:
|
|
15091
|
+
logo:
|
|
15092
|
+
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
15093
|
+
groups:
|
|
15094
|
+
type: array
|
|
15095
|
+
items:
|
|
15096
|
+
$ref: "#/components/schemas/CustomizationFooterGroup"
|
|
15097
|
+
copyright:
|
|
15098
|
+
type: string
|
|
15099
|
+
maxLength: 300
|
|
15100
|
+
required:
|
|
15101
|
+
- groups
|
|
15102
|
+
themes:
|
|
15103
|
+
type: object
|
|
15104
|
+
properties:
|
|
15105
|
+
default:
|
|
15106
|
+
$ref: "#/components/schemas/CustomizationThemeMode"
|
|
15107
|
+
toggeable:
|
|
15108
|
+
description: Should the reader be able to switch between dark and light mode
|
|
15109
|
+
type: boolean
|
|
15110
|
+
required:
|
|
15111
|
+
- default
|
|
15112
|
+
- toggeable
|
|
15113
|
+
pdf:
|
|
15114
|
+
type: object
|
|
15115
|
+
properties:
|
|
15116
|
+
enabled:
|
|
15117
|
+
type: boolean
|
|
15118
|
+
description: If true, PDF export is enabled for the published content.
|
|
15119
|
+
required:
|
|
15120
|
+
- enabled
|
|
15121
|
+
feedback:
|
|
15122
|
+
type: object
|
|
15123
|
+
properties:
|
|
15124
|
+
enabled:
|
|
15125
|
+
type: boolean
|
|
15126
|
+
description: If true, feedback gathering is enabled
|
|
15127
|
+
required:
|
|
15128
|
+
- enabled
|
|
15129
|
+
aiSearch:
|
|
15130
|
+
type: object
|
|
15131
|
+
properties:
|
|
15132
|
+
enabled:
|
|
15133
|
+
type: boolean
|
|
15134
|
+
description: If true, AI search is enabled
|
|
15135
|
+
required:
|
|
15136
|
+
- enabled
|
|
15137
|
+
git:
|
|
15138
|
+
type: object
|
|
15139
|
+
properties:
|
|
15140
|
+
showEditLink:
|
|
15141
|
+
type: boolean
|
|
15142
|
+
description: Whether the public content should show a link to edit the content on the git provider set up in the GitSync
|
|
15143
|
+
required:
|
|
15144
|
+
- showEditLink
|
|
15145
|
+
pagination:
|
|
15146
|
+
type: object
|
|
15147
|
+
properties:
|
|
15148
|
+
enabled:
|
|
15149
|
+
type: boolean
|
|
15150
|
+
description: Whether the pagination navigation should be displayed on pages.
|
|
15151
|
+
required:
|
|
15152
|
+
- enabled
|
|
15153
|
+
trademark:
|
|
15154
|
+
type: object
|
|
15155
|
+
properties:
|
|
15156
|
+
enabled:
|
|
15157
|
+
type: boolean
|
|
15158
|
+
description: Whether the GitBook trademark ("Powered by GitBook") should be visible
|
|
15159
|
+
required:
|
|
15160
|
+
- enabled
|
|
15161
|
+
privacyPolicy:
|
|
15162
|
+
type: object
|
|
15163
|
+
properties:
|
|
15164
|
+
url:
|
|
15165
|
+
$ref: "#/components/schemas/URL"
|
|
15166
|
+
socialPreview:
|
|
15167
|
+
type: object
|
|
15168
|
+
properties:
|
|
15169
|
+
url:
|
|
15170
|
+
$ref: "#/components/schemas/URL"
|
|
15171
|
+
required:
|
|
15172
|
+
- inherit
|
|
15173
|
+
- styling
|
|
15174
|
+
- internationalization
|
|
15175
|
+
- favicon
|
|
15176
|
+
- header
|
|
15177
|
+
- footer
|
|
15178
|
+
- themes
|
|
15179
|
+
- pdf
|
|
15180
|
+
- feedback
|
|
15181
|
+
- aiSearch
|
|
15182
|
+
- trademark
|
|
15183
|
+
- pagination
|
|
15184
|
+
- git
|
|
15185
|
+
- privacyPolicy
|
|
15186
|
+
- socialPreview
|
|
15187
|
+
IntegrationTitle:
|
|
15365
15188
|
type: string
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
light:
|
|
15371
|
-
$ref: "#/components/schemas/Color"
|
|
15372
|
-
dark:
|
|
15373
|
-
$ref: "#/components/schemas/Color"
|
|
15374
|
-
required:
|
|
15375
|
-
- light
|
|
15376
|
-
- dark
|
|
15377
|
-
CustomizationCorners:
|
|
15189
|
+
description: Title of the integration
|
|
15190
|
+
minLength: 2
|
|
15191
|
+
maxLength: 30
|
|
15192
|
+
IntegrationDescription:
|
|
15378
15193
|
type: string
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
|
|
15382
|
-
CustomizationFont:
|
|
15194
|
+
description: Description of the integration
|
|
15195
|
+
maxLength: 100
|
|
15196
|
+
IntegrationSummary:
|
|
15383
15197
|
type: string
|
|
15198
|
+
description: Long form markdown summary of the integration
|
|
15199
|
+
maxLength: 2048
|
|
15200
|
+
IntegrationTarget:
|
|
15201
|
+
type: string
|
|
15202
|
+
description: The target on which the integration can operate and needs to be configured for
|
|
15384
15203
|
enum:
|
|
15385
|
-
-
|
|
15386
|
-
-
|
|
15387
|
-
-
|
|
15388
|
-
-
|
|
15389
|
-
|
|
15390
|
-
- SourceSansPro
|
|
15391
|
-
- Lato
|
|
15392
|
-
- Ubuntu
|
|
15393
|
-
- Raleway
|
|
15394
|
-
- Merriweather
|
|
15395
|
-
- Overpass
|
|
15396
|
-
- NotoSans
|
|
15397
|
-
- IBMPlexSerif
|
|
15398
|
-
- Poppins
|
|
15399
|
-
- FiraSans
|
|
15400
|
-
CustomizationBackground:
|
|
15204
|
+
- all
|
|
15205
|
+
- site
|
|
15206
|
+
- space
|
|
15207
|
+
- organization
|
|
15208
|
+
IntegrationVisibility:
|
|
15401
15209
|
type: string
|
|
15402
15210
|
enum:
|
|
15403
|
-
-
|
|
15404
|
-
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
CustomizationLocale:
|
|
15211
|
+
- public
|
|
15212
|
+
- private
|
|
15213
|
+
- unlisted
|
|
15214
|
+
IntegrationScope:
|
|
15408
15215
|
type: string
|
|
15409
|
-
description: Language for the UI element
|
|
15410
15216
|
enum:
|
|
15411
|
-
-
|
|
15412
|
-
-
|
|
15413
|
-
-
|
|
15414
|
-
-
|
|
15415
|
-
-
|
|
15416
|
-
-
|
|
15417
|
-
-
|
|
15418
|
-
-
|
|
15419
|
-
-
|
|
15420
|
-
|
|
15421
|
-
|
|
15422
|
-
|
|
15423
|
-
|
|
15424
|
-
|
|
15425
|
-
|
|
15426
|
-
|
|
15427
|
-
|
|
15428
|
-
|
|
15429
|
-
|
|
15430
|
-
|
|
15217
|
+
- space:views:read
|
|
15218
|
+
- space:content:read
|
|
15219
|
+
- space:content:write
|
|
15220
|
+
- space:metadata:read
|
|
15221
|
+
- space:metadata:write
|
|
15222
|
+
- space:script:inject
|
|
15223
|
+
- space:script:cookies
|
|
15224
|
+
- space:git:sync
|
|
15225
|
+
- space:visitor:auth
|
|
15226
|
+
- site:metadata:read
|
|
15227
|
+
- site:views:read
|
|
15228
|
+
- site:script:inject
|
|
15229
|
+
- site:script:cookies
|
|
15230
|
+
- site:visitor:auth
|
|
15231
|
+
IntegrationScopes:
|
|
15232
|
+
type: array
|
|
15233
|
+
description: Permissions that should be granted to the integration
|
|
15234
|
+
items:
|
|
15235
|
+
$ref: "#/components/schemas/IntegrationScope"
|
|
15236
|
+
IntegrationCategory:
|
|
15431
15237
|
type: string
|
|
15432
15238
|
enum:
|
|
15433
|
-
-
|
|
15434
|
-
-
|
|
15435
|
-
-
|
|
15436
|
-
-
|
|
15437
|
-
-
|
|
15438
|
-
|
|
15239
|
+
- analytics
|
|
15240
|
+
- collaboration
|
|
15241
|
+
- content
|
|
15242
|
+
- gitsync
|
|
15243
|
+
- marketing
|
|
15244
|
+
- visitor-auth
|
|
15245
|
+
- other
|
|
15246
|
+
IntegrationCategories:
|
|
15247
|
+
type: array
|
|
15248
|
+
description: Categories for which the integration is listed in the marketplace
|
|
15249
|
+
items:
|
|
15250
|
+
$ref: "#/components/schemas/IntegrationCategory"
|
|
15251
|
+
IntegrationBlocks:
|
|
15252
|
+
type: array
|
|
15253
|
+
description: Custom blocks defined by this integration.
|
|
15254
|
+
items:
|
|
15255
|
+
$ref: "#/components/schemas/IntegrationBlock"
|
|
15256
|
+
IntegrationConfigurationComponent:
|
|
15439
15257
|
type: object
|
|
15258
|
+
description: ContentKit component for configuration
|
|
15440
15259
|
properties:
|
|
15441
|
-
|
|
15260
|
+
componentId:
|
|
15442
15261
|
type: string
|
|
15443
|
-
|
|
15444
|
-
$ref: "#/components/schemas/ContentRef"
|
|
15262
|
+
description: ID of the ContentKit component defined in the integration
|
|
15445
15263
|
required:
|
|
15446
|
-
-
|
|
15447
|
-
|
|
15448
|
-
CustomizationHeaderItem:
|
|
15264
|
+
- componentId
|
|
15265
|
+
IntegrationContentSource:
|
|
15449
15266
|
type: object
|
|
15267
|
+
description: Definition of a content source provided by the integration.
|
|
15450
15268
|
properties:
|
|
15269
|
+
id:
|
|
15270
|
+
type: string
|
|
15271
|
+
description: Unique ID in the integration for the source.
|
|
15451
15272
|
title:
|
|
15452
15273
|
type: string
|
|
15453
|
-
|
|
15274
|
+
description: Short descriptive title for the source.
|
|
15275
|
+
minLength: 2
|
|
15276
|
+
maxLength: 40
|
|
15277
|
+
description:
|
|
15278
|
+
type: string
|
|
15279
|
+
description: Long descriptive text for the source.
|
|
15280
|
+
minLength: 0
|
|
15281
|
+
maxLength: 150
|
|
15282
|
+
icon:
|
|
15454
15283
|
type: string
|
|
15455
|
-
|
|
15456
|
-
|
|
15457
|
-
|
|
15458
|
-
- button-secondary
|
|
15459
|
-
to:
|
|
15460
|
-
oneOf:
|
|
15461
|
-
- $ref: "#/components/schemas/ContentRef"
|
|
15462
|
-
- type: string
|
|
15463
|
-
nullable: true
|
|
15464
|
-
enum:
|
|
15465
|
-
- null
|
|
15466
|
-
links:
|
|
15467
|
-
type: array
|
|
15468
|
-
items:
|
|
15469
|
-
$ref: "#/components/schemas/CustomizationContentLink"
|
|
15284
|
+
description: URL of the icon to represent this source.
|
|
15285
|
+
configuration:
|
|
15286
|
+
$ref: "#/components/schemas/IntegrationConfigurationComponent"
|
|
15470
15287
|
required:
|
|
15288
|
+
- id
|
|
15471
15289
|
- title
|
|
15472
|
-
|
|
15473
|
-
- to
|
|
15474
|
-
CustomizationFooterGroup:
|
|
15290
|
+
IntegrationConfigurationSchema:
|
|
15475
15291
|
type: object
|
|
15292
|
+
description: Schema for a configuration
|
|
15476
15293
|
properties:
|
|
15477
|
-
|
|
15478
|
-
type:
|
|
15479
|
-
|
|
15294
|
+
properties:
|
|
15295
|
+
type: object
|
|
15296
|
+
additionalProperties:
|
|
15297
|
+
allOf:
|
|
15298
|
+
- type: object
|
|
15299
|
+
properties:
|
|
15300
|
+
title:
|
|
15301
|
+
type: string
|
|
15302
|
+
maxLength: 30
|
|
15303
|
+
description:
|
|
15304
|
+
type: string
|
|
15305
|
+
maxLength: 100
|
|
15306
|
+
- oneOf:
|
|
15307
|
+
- type: object
|
|
15308
|
+
properties:
|
|
15309
|
+
type:
|
|
15310
|
+
type: string
|
|
15311
|
+
enum:
|
|
15312
|
+
- string
|
|
15313
|
+
default:
|
|
15314
|
+
type: string
|
|
15315
|
+
required:
|
|
15316
|
+
- type
|
|
15317
|
+
- type: object
|
|
15318
|
+
properties:
|
|
15319
|
+
type:
|
|
15320
|
+
type: string
|
|
15321
|
+
enum:
|
|
15322
|
+
- number
|
|
15323
|
+
default:
|
|
15324
|
+
type: number
|
|
15325
|
+
required:
|
|
15326
|
+
- type
|
|
15327
|
+
- type: object
|
|
15328
|
+
properties:
|
|
15329
|
+
type:
|
|
15330
|
+
type: string
|
|
15331
|
+
enum:
|
|
15332
|
+
- boolean
|
|
15333
|
+
default:
|
|
15334
|
+
type: boolean
|
|
15335
|
+
required:
|
|
15336
|
+
- type
|
|
15337
|
+
- type: object
|
|
15338
|
+
properties:
|
|
15339
|
+
type:
|
|
15340
|
+
type: string
|
|
15341
|
+
enum:
|
|
15342
|
+
- button
|
|
15343
|
+
callback_url:
|
|
15344
|
+
type: string
|
|
15345
|
+
button_text:
|
|
15346
|
+
type: string
|
|
15347
|
+
required:
|
|
15348
|
+
- type
|
|
15349
|
+
- callback_url
|
|
15350
|
+
- button_text
|
|
15351
|
+
required:
|
|
15480
15352
|
type: array
|
|
15353
|
+
uniqueItems: true
|
|
15481
15354
|
items:
|
|
15482
|
-
|
|
15355
|
+
type: string
|
|
15483
15356
|
required:
|
|
15484
|
-
-
|
|
15485
|
-
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
15489
|
-
|
|
15490
|
-
- dark
|
|
15491
|
-
CustomizationSettings:
|
|
15357
|
+
- properties
|
|
15358
|
+
IntegrationConfiguration:
|
|
15359
|
+
oneOf:
|
|
15360
|
+
- $ref: "#/components/schemas/IntegrationConfigurationSchema"
|
|
15361
|
+
- $ref: "#/components/schemas/IntegrationConfigurationComponent"
|
|
15362
|
+
IntegrationConfigurations:
|
|
15492
15363
|
type: object
|
|
15493
15364
|
properties:
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
15497
|
-
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
|
|
15503
|
-
|
|
15504
|
-
|
|
15505
|
-
|
|
15506
|
-
|
|
15507
|
-
|
|
15508
|
-
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
15512
|
-
|
|
15513
|
-
|
|
15514
|
-
|
|
15515
|
-
|
|
15516
|
-
|
|
15517
|
-
|
|
15518
|
-
|
|
15519
|
-
|
|
15520
|
-
|
|
15521
|
-
type: boolean
|
|
15522
|
-
description: Inherit locale from the parent collection.
|
|
15523
|
-
required:
|
|
15524
|
-
- locale
|
|
15525
|
-
- inherit
|
|
15526
|
-
favicon:
|
|
15527
|
-
oneOf:
|
|
15528
|
-
- type: object
|
|
15529
|
-
properties:
|
|
15530
|
-
icon:
|
|
15531
|
-
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
15532
|
-
required:
|
|
15533
|
-
- icon
|
|
15534
|
-
- type: object
|
|
15535
|
-
properties:
|
|
15536
|
-
emoji:
|
|
15537
|
-
$ref: "#/components/schemas/Emoji"
|
|
15538
|
-
required:
|
|
15539
|
-
- emoji
|
|
15540
|
-
- type: object
|
|
15541
|
-
properties: {}
|
|
15542
|
-
additionalProperties: false
|
|
15543
|
-
header:
|
|
15544
|
-
type: object
|
|
15545
|
-
properties:
|
|
15546
|
-
preset:
|
|
15547
|
-
$ref: "#/components/schemas/CustomizationHeaderPreset"
|
|
15548
|
-
logo:
|
|
15549
|
-
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
15550
|
-
backgroundColor:
|
|
15551
|
-
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
15552
|
-
linkColor:
|
|
15553
|
-
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
15554
|
-
links:
|
|
15555
|
-
type: array
|
|
15556
|
-
items:
|
|
15557
|
-
$ref: "#/components/schemas/CustomizationHeaderItem"
|
|
15558
|
-
required:
|
|
15559
|
-
- preset
|
|
15560
|
-
- links
|
|
15561
|
-
footer:
|
|
15562
|
-
type: object
|
|
15365
|
+
account:
|
|
15366
|
+
$ref: "#/components/schemas/IntegrationConfiguration"
|
|
15367
|
+
space:
|
|
15368
|
+
$ref: "#/components/schemas/IntegrationConfiguration"
|
|
15369
|
+
site:
|
|
15370
|
+
$ref: "#/components/schemas/IntegrationConfiguration"
|
|
15371
|
+
IntegrationExternalLinks:
|
|
15372
|
+
type: array
|
|
15373
|
+
description: External urls configured by the developer of the integration
|
|
15374
|
+
maxItems: 5
|
|
15375
|
+
items:
|
|
15376
|
+
type: object
|
|
15377
|
+
properties:
|
|
15378
|
+
url:
|
|
15379
|
+
$ref: "#/components/schemas/URL"
|
|
15380
|
+
label:
|
|
15381
|
+
type: string
|
|
15382
|
+
required:
|
|
15383
|
+
- url
|
|
15384
|
+
- label
|
|
15385
|
+
IntegrationContentSecurityPolicy:
|
|
15386
|
+
description: |
|
|
15387
|
+
Security policy to validate the content of the integrations scripts and Contentkit. Will be sent as
|
|
15388
|
+
headers when processing the script fetch event and the blocks fetch events.
|
|
15389
|
+
oneOf:
|
|
15390
|
+
- type: string
|
|
15391
|
+
- type: object
|
|
15563
15392
|
properties:
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
|
|
15567
|
-
type:
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
|
-
|
|
15393
|
+
base-uri:
|
|
15394
|
+
type: string
|
|
15395
|
+
block-all-mixed-content:
|
|
15396
|
+
type: string
|
|
15397
|
+
child-src:
|
|
15398
|
+
type: string
|
|
15399
|
+
connect-src:
|
|
15400
|
+
type: string
|
|
15401
|
+
default-src:
|
|
15402
|
+
type: string
|
|
15403
|
+
font-src:
|
|
15404
|
+
type: string
|
|
15405
|
+
form-action:
|
|
15406
|
+
type: string
|
|
15407
|
+
frame-ancestors:
|
|
15408
|
+
type: string
|
|
15409
|
+
frame-src:
|
|
15410
|
+
type: string
|
|
15411
|
+
img-src:
|
|
15412
|
+
type: string
|
|
15413
|
+
manifest-src:
|
|
15414
|
+
type: string
|
|
15415
|
+
media-src:
|
|
15416
|
+
type: string
|
|
15417
|
+
navigate-to:
|
|
15418
|
+
type: string
|
|
15419
|
+
object-src:
|
|
15420
|
+
type: string
|
|
15421
|
+
plugin-types:
|
|
15422
|
+
type: string
|
|
15423
|
+
prefetch-src:
|
|
15424
|
+
type: string
|
|
15425
|
+
referrer:
|
|
15426
|
+
type: string
|
|
15427
|
+
report-to:
|
|
15428
|
+
type: string
|
|
15429
|
+
report-uri:
|
|
15430
|
+
type: string
|
|
15431
|
+
require-sri-for:
|
|
15432
|
+
type: string
|
|
15433
|
+
require-trusted-types-for:
|
|
15434
|
+
type: string
|
|
15435
|
+
sandbox:
|
|
15436
|
+
type: string
|
|
15437
|
+
script-src:
|
|
15438
|
+
type: string
|
|
15439
|
+
script-src-attr:
|
|
15571
15440
|
type: string
|
|
15572
|
-
|
|
15573
|
-
|
|
15574
|
-
-
|
|
15575
|
-
|
|
15576
|
-
|
|
15577
|
-
|
|
15578
|
-
|
|
15579
|
-
|
|
15580
|
-
|
|
15581
|
-
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
-
|
|
15585
|
-
|
|
15586
|
-
|
|
15587
|
-
|
|
15588
|
-
|
|
15589
|
-
|
|
15590
|
-
|
|
15591
|
-
|
|
15592
|
-
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
|
|
15596
|
-
|
|
15597
|
-
|
|
15598
|
-
|
|
15599
|
-
|
|
15600
|
-
|
|
15601
|
-
|
|
15602
|
-
|
|
15603
|
-
|
|
15604
|
-
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
15610
|
-
|
|
15611
|
-
|
|
15612
|
-
|
|
15613
|
-
|
|
15614
|
-
|
|
15615
|
-
|
|
15616
|
-
|
|
15617
|
-
|
|
15618
|
-
|
|
15441
|
+
script-src-elem:
|
|
15442
|
+
type: string
|
|
15443
|
+
style-src:
|
|
15444
|
+
type: string
|
|
15445
|
+
style-src-attr:
|
|
15446
|
+
type: string
|
|
15447
|
+
style-src-elem:
|
|
15448
|
+
type: string
|
|
15449
|
+
trusted-types:
|
|
15450
|
+
type: string
|
|
15451
|
+
upgrade-insecure-requests:
|
|
15452
|
+
type: string
|
|
15453
|
+
worker-src:
|
|
15454
|
+
type: string
|
|
15455
|
+
Integration:
|
|
15456
|
+
type: object
|
|
15457
|
+
properties:
|
|
15458
|
+
object:
|
|
15459
|
+
type: string
|
|
15460
|
+
enum:
|
|
15461
|
+
- integration
|
|
15462
|
+
name:
|
|
15463
|
+
type: string
|
|
15464
|
+
description: Unique named identifier for the integration
|
|
15465
|
+
version:
|
|
15466
|
+
type: number
|
|
15467
|
+
description: Version of the integration
|
|
15468
|
+
title:
|
|
15469
|
+
$ref: "#/components/schemas/IntegrationTitle"
|
|
15470
|
+
description:
|
|
15471
|
+
$ref: "#/components/schemas/IntegrationDescription"
|
|
15472
|
+
summary:
|
|
15473
|
+
$ref: "#/components/schemas/IntegrationSummary"
|
|
15474
|
+
previewImages:
|
|
15475
|
+
type: array
|
|
15476
|
+
description: URLs of images to showcase the integration
|
|
15477
|
+
maxItems: 3
|
|
15478
|
+
items:
|
|
15479
|
+
type: string
|
|
15480
|
+
target:
|
|
15481
|
+
$ref: "#/components/schemas/IntegrationTarget"
|
|
15482
|
+
verified:
|
|
15483
|
+
type: boolean
|
|
15484
|
+
description: If true, the integration has been verified by the GitBook team
|
|
15485
|
+
visibility:
|
|
15486
|
+
$ref: "#/components/schemas/IntegrationVisibility"
|
|
15487
|
+
scopes:
|
|
15488
|
+
$ref: "#/components/schemas/IntegrationScopes"
|
|
15489
|
+
categories:
|
|
15490
|
+
$ref: "#/components/schemas/IntegrationCategories"
|
|
15491
|
+
blocks:
|
|
15492
|
+
$ref: "#/components/schemas/IntegrationBlocks"
|
|
15493
|
+
contentSources:
|
|
15494
|
+
type: array
|
|
15495
|
+
items:
|
|
15496
|
+
$ref: "#/components/schemas/IntegrationContentSource"
|
|
15497
|
+
configurations:
|
|
15498
|
+
$ref: "#/components/schemas/IntegrationConfigurations"
|
|
15499
|
+
externalLinks:
|
|
15500
|
+
$ref: "#/components/schemas/IntegrationExternalLinks"
|
|
15501
|
+
owner:
|
|
15502
|
+
$ref: "#/components/schemas/Organization"
|
|
15503
|
+
urls:
|
|
15619
15504
|
type: object
|
|
15505
|
+
description: URLs associated with the object
|
|
15620
15506
|
properties:
|
|
15621
|
-
|
|
15622
|
-
type:
|
|
15623
|
-
description:
|
|
15507
|
+
location:
|
|
15508
|
+
type: string
|
|
15509
|
+
description: URL of the integration in the API
|
|
15510
|
+
format: uri
|
|
15511
|
+
icon:
|
|
15512
|
+
type: string
|
|
15513
|
+
description: URL of the icon associated to the integration
|
|
15514
|
+
format: uri
|
|
15515
|
+
app:
|
|
15516
|
+
type: string
|
|
15517
|
+
description: URL of the integration in the application
|
|
15518
|
+
format: uri
|
|
15519
|
+
assets:
|
|
15520
|
+
type: string
|
|
15521
|
+
description: URL of the integration's assets.
|
|
15522
|
+
format: uri
|
|
15523
|
+
publicEndpoint:
|
|
15524
|
+
type: string
|
|
15525
|
+
description: Public HTTP endpoint for the integration
|
|
15526
|
+
format: uri
|
|
15624
15527
|
required:
|
|
15625
|
-
-
|
|
15626
|
-
|
|
15528
|
+
- location
|
|
15529
|
+
- app
|
|
15530
|
+
- assets
|
|
15531
|
+
- publicEndpoint
|
|
15532
|
+
permissions:
|
|
15627
15533
|
type: object
|
|
15534
|
+
description: The set of permissions for the integration
|
|
15628
15535
|
properties:
|
|
15629
|
-
|
|
15536
|
+
admin:
|
|
15630
15537
|
type: boolean
|
|
15631
|
-
description: Whether the GitBook trademark ("Powered by GitBook") should be visible
|
|
15632
15538
|
required:
|
|
15633
|
-
-
|
|
15634
|
-
|
|
15635
|
-
|
|
15636
|
-
properties:
|
|
15637
|
-
url:
|
|
15638
|
-
$ref: "#/components/schemas/URL"
|
|
15639
|
-
socialPreview:
|
|
15640
|
-
type: object
|
|
15641
|
-
properties:
|
|
15642
|
-
url:
|
|
15643
|
-
$ref: "#/components/schemas/URL"
|
|
15539
|
+
- admin
|
|
15540
|
+
contentSecurityPolicy:
|
|
15541
|
+
$ref: "#/components/schemas/IntegrationContentSecurityPolicy"
|
|
15644
15542
|
required:
|
|
15645
|
-
-
|
|
15646
|
-
-
|
|
15647
|
-
-
|
|
15648
|
-
-
|
|
15649
|
-
-
|
|
15650
|
-
-
|
|
15651
|
-
-
|
|
15652
|
-
-
|
|
15653
|
-
-
|
|
15654
|
-
-
|
|
15655
|
-
-
|
|
15656
|
-
-
|
|
15657
|
-
-
|
|
15658
|
-
-
|
|
15659
|
-
- socialPreview
|
|
15543
|
+
- object
|
|
15544
|
+
- name
|
|
15545
|
+
- version
|
|
15546
|
+
- title
|
|
15547
|
+
- scopes
|
|
15548
|
+
- categories
|
|
15549
|
+
- visibility
|
|
15550
|
+
- target
|
|
15551
|
+
- verified
|
|
15552
|
+
- previewImages
|
|
15553
|
+
- externalLinks
|
|
15554
|
+
- owner
|
|
15555
|
+
- permissions
|
|
15556
|
+
- urls
|
|
15660
15557
|
SpaceIntegrationBlocks:
|
|
15661
15558
|
type: array
|
|
15662
15559
|
items:
|
|
@@ -16572,9 +16469,15 @@ components:
|
|
|
16572
16469
|
props:
|
|
16573
16470
|
description: Properties passed to the rendering.
|
|
16574
16471
|
$ref: "#/components/schemas/PlainObject"
|
|
16472
|
+
dependencies:
|
|
16473
|
+
description: Dependencies of the computation.
|
|
16474
|
+
type: object
|
|
16475
|
+
additionalProperties:
|
|
16476
|
+
$ref: "#/components/schemas/ComputedContentDependencyValue"
|
|
16575
16477
|
required:
|
|
16576
16478
|
- sourceId
|
|
16577
16479
|
- props
|
|
16480
|
+
- dependencies
|
|
16578
16481
|
ContentComputeDocumentEvent:
|
|
16579
16482
|
allOf:
|
|
16580
16483
|
- $ref: "#/components/schemas/ContentComputeEvent"
|
|
@@ -17794,6 +17697,11 @@ components:
|
|
|
17794
17697
|
description: Title of the site section
|
|
17795
17698
|
minLength: 2
|
|
17796
17699
|
maxLength: 128
|
|
17700
|
+
SiteSectionDescription:
|
|
17701
|
+
type: string
|
|
17702
|
+
description: Description of the site section
|
|
17703
|
+
minLength: 0
|
|
17704
|
+
maxLength: 256
|
|
17797
17705
|
SiteSectionPath:
|
|
17798
17706
|
type: string
|
|
17799
17707
|
description: Path to the section on the site
|
|
@@ -17867,6 +17775,8 @@ components:
|
|
|
17867
17775
|
description: Unique identifier of the site section
|
|
17868
17776
|
title:
|
|
17869
17777
|
$ref: "#/components/schemas/SiteSectionTitle"
|
|
17778
|
+
description:
|
|
17779
|
+
$ref: "#/components/schemas/SiteSectionDescription"
|
|
17870
17780
|
default:
|
|
17871
17781
|
type: boolean
|
|
17872
17782
|
description: Whether this is the default section for the site
|
|
@@ -17901,6 +17811,36 @@ components:
|
|
|
17901
17811
|
- path
|
|
17902
17812
|
- siteSpaces
|
|
17903
17813
|
- urls
|
|
17814
|
+
SiteSectionGroupTitle:
|
|
17815
|
+
type: string
|
|
17816
|
+
description: Title of the site section group
|
|
17817
|
+
minLength: 1
|
|
17818
|
+
maxLength: 100
|
|
17819
|
+
SiteSectionGroup:
|
|
17820
|
+
type: object
|
|
17821
|
+
properties:
|
|
17822
|
+
object:
|
|
17823
|
+
type: string
|
|
17824
|
+
description: The object type, which is always "site-section-group"
|
|
17825
|
+
enum:
|
|
17826
|
+
- site-section-group
|
|
17827
|
+
id:
|
|
17828
|
+
type: string
|
|
17829
|
+
description: Unique identifier of the site section group
|
|
17830
|
+
title:
|
|
17831
|
+
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
17832
|
+
sections:
|
|
17833
|
+
type: array
|
|
17834
|
+
description: List of site section ids that are members of the group
|
|
17835
|
+
items:
|
|
17836
|
+
$ref: "#/components/schemas/SiteSection"
|
|
17837
|
+
icon:
|
|
17838
|
+
$ref: "#/components/schemas/Icon"
|
|
17839
|
+
required:
|
|
17840
|
+
- object
|
|
17841
|
+
- id
|
|
17842
|
+
- title
|
|
17843
|
+
- sections
|
|
17904
17844
|
SiteStructure:
|
|
17905
17845
|
oneOf:
|
|
17906
17846
|
- type: object
|
|
@@ -17912,7 +17852,9 @@ components:
|
|
|
17912
17852
|
structure:
|
|
17913
17853
|
type: array
|
|
17914
17854
|
items:
|
|
17915
|
-
|
|
17855
|
+
oneOf:
|
|
17856
|
+
- $ref: "#/components/schemas/SiteSection"
|
|
17857
|
+
- $ref: "#/components/schemas/SiteSectionGroup"
|
|
17916
17858
|
required:
|
|
17917
17859
|
- type
|
|
17918
17860
|
- structure
|
|
@@ -18354,7 +18296,66 @@ components:
|
|
|
18354
18296
|
enum:
|
|
18355
18297
|
- interval_changed
|
|
18356
18298
|
required:
|
|
18357
|
-
- result
|
|
18299
|
+
- result
|
|
18300
|
+
MigrateOrganizationParameters:
|
|
18301
|
+
type: object
|
|
18302
|
+
properties:
|
|
18303
|
+
interval:
|
|
18304
|
+
description: The desired billing interval
|
|
18305
|
+
$ref: "#/components/schemas/BillingInterval"
|
|
18306
|
+
product:
|
|
18307
|
+
type: string
|
|
18308
|
+
description: The new product to upgrade to
|
|
18309
|
+
enum:
|
|
18310
|
+
- free_2024
|
|
18311
|
+
- plus_2024
|
|
18312
|
+
- pro_2024
|
|
18313
|
+
changes:
|
|
18314
|
+
type: object
|
|
18315
|
+
description: Changes to apply to the organization and its sites before upgrading
|
|
18316
|
+
properties:
|
|
18317
|
+
removeMembers:
|
|
18318
|
+
description: A list of member identifiers to be removed
|
|
18319
|
+
type: array
|
|
18320
|
+
items:
|
|
18321
|
+
type: string
|
|
18322
|
+
updateSites:
|
|
18323
|
+
description: |
|
|
18324
|
+
A list of site updates to be applied before upgrading. If a site is not present in this list, it'll be upgraded to whichever type matches its features and its published status will be unchanged. When downgrading to a lower type all relevant paid features will be disabled before applying the new type.
|
|
18325
|
+
type: array
|
|
18326
|
+
items:
|
|
18327
|
+
oneOf:
|
|
18328
|
+
- type: object
|
|
18329
|
+
properties:
|
|
18330
|
+
id:
|
|
18331
|
+
description: The site identifier
|
|
18332
|
+
type: string
|
|
18333
|
+
type:
|
|
18334
|
+
description: The site type to migrate to
|
|
18335
|
+
$ref: "#/components/schemas/SiteType"
|
|
18336
|
+
required:
|
|
18337
|
+
- id
|
|
18338
|
+
- type
|
|
18339
|
+
- type: object
|
|
18340
|
+
properties:
|
|
18341
|
+
id:
|
|
18342
|
+
description: The site identifier
|
|
18343
|
+
type: string
|
|
18344
|
+
isPublished:
|
|
18345
|
+
description: Can be set to `false` to unpublish a site
|
|
18346
|
+
type: boolean
|
|
18347
|
+
enum:
|
|
18348
|
+
- false
|
|
18349
|
+
required:
|
|
18350
|
+
- id
|
|
18351
|
+
- isPublished
|
|
18352
|
+
required:
|
|
18353
|
+
- removeMembers
|
|
18354
|
+
- updateSites
|
|
18355
|
+
required:
|
|
18356
|
+
- product
|
|
18357
|
+
- interval
|
|
18358
|
+
- changes
|
|
18358
18359
|
SiteToMigrateFeature:
|
|
18359
18360
|
type: string
|
|
18360
18361
|
description: These are all the features we check to determine the new pricing site type.
|
|
@@ -18549,344 +18550,114 @@ components:
|
|
|
18549
18550
|
total:
|
|
18550
18551
|
description: Count of all sites
|
|
18551
18552
|
type: number
|
|
18552
|
-
basic:
|
|
18553
|
-
description: Count of all basic sites
|
|
18554
|
-
type: number
|
|
18555
|
-
premium:
|
|
18556
|
-
description: Count of all premium sites
|
|
18557
|
-
type: number
|
|
18558
|
-
ultimate:
|
|
18559
|
-
description: Count of all ultimate sites
|
|
18560
|
-
type: number
|
|
18561
|
-
sponsored:
|
|
18562
|
-
description: Count of all sponsored sites
|
|
18563
|
-
type: number
|
|
18564
|
-
required:
|
|
18565
|
-
- total
|
|
18566
|
-
- basic
|
|
18567
|
-
- premium
|
|
18568
|
-
- ultimate
|
|
18569
|
-
- sponsored
|
|
18570
|
-
OrganizationUsageTeams:
|
|
18571
|
-
type: object
|
|
18572
|
-
description: Team members usage metrics of an organization
|
|
18573
|
-
properties:
|
|
18574
|
-
total:
|
|
18575
|
-
description: Count of all teams
|
|
18576
|
-
type: number
|
|
18577
|
-
required:
|
|
18578
|
-
- total
|
|
18579
|
-
OrganizationUsageMembers:
|
|
18580
|
-
type: object
|
|
18581
|
-
description: Members usage metrics of an organization
|
|
18582
|
-
properties:
|
|
18583
|
-
total:
|
|
18584
|
-
description: Count of all members
|
|
18585
|
-
type: number
|
|
18586
|
-
seats:
|
|
18587
|
-
description: Count of all paid seats
|
|
18588
|
-
type: number
|
|
18589
|
-
admin:
|
|
18590
|
-
description: Count of all admins
|
|
18591
|
-
type: number
|
|
18592
|
-
create:
|
|
18593
|
-
description: Count of all creators
|
|
18594
|
-
type: number
|
|
18595
|
-
edit:
|
|
18596
|
-
description: Count of all editors
|
|
18597
|
-
type: number
|
|
18598
|
-
review:
|
|
18599
|
-
description: Count of all reviewers
|
|
18600
|
-
type: number
|
|
18601
|
-
comment:
|
|
18602
|
-
description: Count of all commenters
|
|
18603
|
-
type: number
|
|
18604
|
-
read:
|
|
18605
|
-
description: Count of all readers
|
|
18606
|
-
type: number
|
|
18607
|
-
guest:
|
|
18608
|
-
description: Count of all guests
|
|
18609
|
-
type: number
|
|
18610
|
-
required:
|
|
18611
|
-
- total
|
|
18612
|
-
- seats
|
|
18613
|
-
- admin
|
|
18614
|
-
- create
|
|
18615
|
-
- edit
|
|
18616
|
-
- review
|
|
18617
|
-
- comment
|
|
18618
|
-
- read
|
|
18619
|
-
- guest
|
|
18620
|
-
OrganizationUsageTeamMembers:
|
|
18621
|
-
type: object
|
|
18622
|
-
description: Team members usage metrics of an organization
|
|
18623
|
-
properties:
|
|
18624
|
-
total:
|
|
18625
|
-
description: Count of all organization members in a team
|
|
18626
|
-
type: number
|
|
18627
|
-
owner:
|
|
18628
|
-
description: Count of all team owners
|
|
18629
|
-
type: number
|
|
18630
|
-
member:
|
|
18631
|
-
description: Count of all team members
|
|
18632
|
-
type: number
|
|
18633
|
-
required:
|
|
18634
|
-
- total
|
|
18635
|
-
- owner
|
|
18636
|
-
- member
|
|
18637
|
-
OrganizationUsage:
|
|
18638
|
-
type: object
|
|
18639
|
-
description: All usage metrics of an organization
|
|
18640
|
-
properties:
|
|
18641
|
-
spaces:
|
|
18642
|
-
$ref: "#/components/schemas/OrganizationUsageSpaces"
|
|
18643
|
-
collections:
|
|
18644
|
-
$ref: "#/components/schemas/OrganizationUsageCollections"
|
|
18645
|
-
sites:
|
|
18646
|
-
$ref: "#/components/schemas/OrganizationUsageSites"
|
|
18647
|
-
teams:
|
|
18648
|
-
$ref: "#/components/schemas/OrganizationUsageTeams"
|
|
18649
|
-
members:
|
|
18650
|
-
$ref: "#/components/schemas/OrganizationUsageMembers"
|
|
18651
|
-
teamMembers:
|
|
18652
|
-
$ref: "#/components/schemas/OrganizationUsageTeamMembers"
|
|
18653
|
-
required:
|
|
18654
|
-
- spaces
|
|
18655
|
-
- collections
|
|
18656
|
-
- sites
|
|
18657
|
-
- teams
|
|
18658
|
-
- members
|
|
18659
|
-
- teamMembers
|
|
18660
|
-
CaptureTitle:
|
|
18661
|
-
type: string
|
|
18662
|
-
description: Optional title describing the capture
|
|
18663
|
-
maxLength: 100
|
|
18664
|
-
CaptureContext:
|
|
18665
|
-
oneOf:
|
|
18666
|
-
- type: string
|
|
18667
|
-
enum:
|
|
18668
|
-
- thread
|
|
18669
|
-
- walkthrough
|
|
18670
|
-
- document
|
|
18671
|
-
Capture:
|
|
18672
|
-
type: object
|
|
18673
|
-
properties:
|
|
18674
|
-
id:
|
|
18675
|
-
type: string
|
|
18676
|
-
description: Unique identifier for the capture
|
|
18677
|
-
title:
|
|
18678
|
-
$ref: "#/components/schemas/CaptureTitle"
|
|
18679
|
-
context:
|
|
18680
|
-
$ref: "#/components/schemas/CaptureContext"
|
|
18681
|
-
externalId:
|
|
18682
|
-
type: string
|
|
18683
|
-
description: ID in the original source of the capture.
|
|
18684
|
-
externalURL:
|
|
18685
|
-
type: string
|
|
18686
|
-
format: uri
|
|
18687
|
-
description: URL of the source from which the capture originated
|
|
18688
|
-
createdAt:
|
|
18689
|
-
type: string
|
|
18690
|
-
format: date-time
|
|
18691
|
-
stoppedAt:
|
|
18692
|
-
type: string
|
|
18693
|
-
format: date-time
|
|
18694
|
-
editedAt:
|
|
18695
|
-
type: string
|
|
18696
|
-
format: date-time
|
|
18697
|
-
events:
|
|
18698
|
-
description: Count of events recorded.
|
|
18699
|
-
properties:
|
|
18700
|
-
terminal.command:
|
|
18701
|
-
type: integer
|
|
18702
|
-
speech:
|
|
18703
|
-
type: integer
|
|
18704
|
-
thread.message:
|
|
18705
|
-
type: integer
|
|
18706
|
-
contributors:
|
|
18707
|
-
description: An array of contributors to the capture. The first contributor is the one who triggered the capture (either a user or an integration).
|
|
18708
|
-
type: array
|
|
18709
|
-
minItems: 1
|
|
18710
|
-
items:
|
|
18711
|
-
oneOf:
|
|
18712
|
-
- $ref: "#/components/schemas/Integration"
|
|
18713
|
-
- $ref: "#/components/schemas/User"
|
|
18714
|
-
output:
|
|
18715
|
-
description: Output document for the capture. Is not set when capture is not finished.
|
|
18716
|
-
$ref: "#/components/schemas/Document"
|
|
18717
|
-
urls:
|
|
18718
|
-
type: object
|
|
18719
|
-
description: URLs associated with the object
|
|
18720
|
-
properties:
|
|
18721
|
-
location:
|
|
18722
|
-
type: string
|
|
18723
|
-
description: URL of the capture in the API
|
|
18724
|
-
format: uri
|
|
18725
|
-
app:
|
|
18726
|
-
type: string
|
|
18727
|
-
description: URL of the capture in the app
|
|
18728
|
-
format: uri
|
|
18729
|
-
required:
|
|
18730
|
-
- location
|
|
18731
|
-
- app
|
|
18732
|
-
required:
|
|
18733
|
-
- object
|
|
18734
|
-
- id
|
|
18735
|
-
- title
|
|
18736
|
-
- context
|
|
18737
|
-
- events
|
|
18738
|
-
- createdAt
|
|
18739
|
-
- contributors
|
|
18740
|
-
- urls
|
|
18741
|
-
BaseCaptureEvent:
|
|
18742
|
-
type: object
|
|
18743
|
-
properties:
|
|
18744
|
-
type:
|
|
18745
|
-
type: string
|
|
18746
|
-
description: The type of event
|
|
18747
|
-
timestamp:
|
|
18748
|
-
type: string
|
|
18749
|
-
format: date-time
|
|
18750
|
-
description: When the event happened
|
|
18751
|
-
source:
|
|
18752
|
-
type: string
|
|
18753
|
-
description: Optionally, provide the source of the event. GitBook may use this to improve the generated content.
|
|
18754
|
-
maxLength: 50
|
|
18755
|
-
actor:
|
|
18756
|
-
type: object
|
|
18757
|
-
description: Optionally, provide the actor of the event, in the context of multiple people contributing to the capture.
|
|
18758
|
-
properties:
|
|
18759
|
-
name:
|
|
18760
|
-
type: string
|
|
18761
|
-
required:
|
|
18762
|
-
- name
|
|
18763
|
-
required:
|
|
18764
|
-
- type
|
|
18765
|
-
- timestamp
|
|
18766
|
-
CaptureTerminalCommandEvent:
|
|
18767
|
-
allOf:
|
|
18768
|
-
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
18769
|
-
- type: object
|
|
18770
|
-
properties:
|
|
18771
|
-
type:
|
|
18772
|
-
type: string
|
|
18773
|
-
enum:
|
|
18774
|
-
- terminal.command
|
|
18775
|
-
command:
|
|
18776
|
-
type: string
|
|
18777
|
-
stdout:
|
|
18778
|
-
type: string
|
|
18779
|
-
required:
|
|
18780
|
-
- type
|
|
18781
|
-
- command
|
|
18782
|
-
- stdout
|
|
18783
|
-
CaptureSpeechEvent:
|
|
18784
|
-
allOf:
|
|
18785
|
-
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
18786
|
-
- type: object
|
|
18787
|
-
properties:
|
|
18788
|
-
type:
|
|
18789
|
-
type: string
|
|
18790
|
-
enum:
|
|
18791
|
-
- speech
|
|
18792
|
-
required:
|
|
18793
|
-
- type
|
|
18794
|
-
- oneOf:
|
|
18795
|
-
- type: object
|
|
18796
|
-
properties:
|
|
18797
|
-
audio:
|
|
18798
|
-
description: WAV audio file, encoded as base64
|
|
18799
|
-
type: string
|
|
18800
|
-
required:
|
|
18801
|
-
- audio
|
|
18802
|
-
- type: object
|
|
18803
|
-
properties:
|
|
18804
|
-
transcript:
|
|
18805
|
-
description: Transcript of the speech
|
|
18806
|
-
type: string
|
|
18807
|
-
required:
|
|
18808
|
-
- transcript
|
|
18809
|
-
CaptureThreadMessageEvent:
|
|
18810
|
-
allOf:
|
|
18811
|
-
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
18812
|
-
- type: object
|
|
18813
|
-
properties:
|
|
18814
|
-
type:
|
|
18815
|
-
type: string
|
|
18816
|
-
enum:
|
|
18817
|
-
- thread.message
|
|
18818
|
-
isFirst:
|
|
18819
|
-
type: boolean
|
|
18820
|
-
text:
|
|
18821
|
-
type: string
|
|
18822
|
-
required:
|
|
18823
|
-
- type
|
|
18824
|
-
- text
|
|
18825
|
-
CaptureFileAddedEvent:
|
|
18826
|
-
allOf:
|
|
18827
|
-
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
18828
|
-
- type: object
|
|
18829
|
-
properties:
|
|
18830
|
-
type:
|
|
18831
|
-
type: string
|
|
18832
|
-
enum:
|
|
18833
|
-
- file.added
|
|
18834
|
-
filename:
|
|
18835
|
-
type: string
|
|
18836
|
-
fileSnapshot:
|
|
18837
|
-
type: string
|
|
18838
|
-
required:
|
|
18839
|
-
- type
|
|
18840
|
-
- filename
|
|
18841
|
-
- fileSnapshot
|
|
18842
|
-
CaptureFileChangedEvent:
|
|
18843
|
-
allOf:
|
|
18844
|
-
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
18845
|
-
- type: object
|
|
18846
|
-
properties:
|
|
18847
|
-
type:
|
|
18848
|
-
type: string
|
|
18849
|
-
enum:
|
|
18850
|
-
- file.changed
|
|
18851
|
-
filename:
|
|
18852
|
-
type: string
|
|
18853
|
-
fileDiff:
|
|
18854
|
-
type: string
|
|
18855
|
-
required:
|
|
18856
|
-
- type
|
|
18857
|
-
- filename
|
|
18858
|
-
- fileDiff
|
|
18859
|
-
CaptureFileRemovedEvent:
|
|
18860
|
-
allOf:
|
|
18861
|
-
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
18862
|
-
- type: object
|
|
18863
|
-
properties:
|
|
18864
|
-
type:
|
|
18865
|
-
type: string
|
|
18866
|
-
enum:
|
|
18867
|
-
- file.removed
|
|
18868
|
-
filename:
|
|
18869
|
-
type: string
|
|
18870
|
-
fileSnapshot:
|
|
18871
|
-
type: string
|
|
18553
|
+
basic:
|
|
18554
|
+
description: Count of all basic sites
|
|
18555
|
+
type: number
|
|
18556
|
+
premium:
|
|
18557
|
+
description: Count of all premium sites
|
|
18558
|
+
type: number
|
|
18559
|
+
ultimate:
|
|
18560
|
+
description: Count of all ultimate sites
|
|
18561
|
+
type: number
|
|
18562
|
+
sponsored:
|
|
18563
|
+
description: Count of all sponsored sites
|
|
18564
|
+
type: number
|
|
18872
18565
|
required:
|
|
18873
|
-
-
|
|
18874
|
-
-
|
|
18875
|
-
-
|
|
18876
|
-
|
|
18877
|
-
|
|
18878
|
-
|
|
18879
|
-
- $ref: "#/components/schemas/CaptureSpeechEvent"
|
|
18880
|
-
- $ref: "#/components/schemas/CaptureThreadMessageEvent"
|
|
18881
|
-
- $ref: "#/components/schemas/CaptureFileAddedEvent"
|
|
18882
|
-
- $ref: "#/components/schemas/CaptureFileChangedEvent"
|
|
18883
|
-
- $ref: "#/components/schemas/CaptureFileRemovedEvent"
|
|
18884
|
-
UpdateSnippetSchema:
|
|
18566
|
+
- total
|
|
18567
|
+
- basic
|
|
18568
|
+
- premium
|
|
18569
|
+
- ultimate
|
|
18570
|
+
- sponsored
|
|
18571
|
+
OrganizationUsageTeams:
|
|
18885
18572
|
type: object
|
|
18573
|
+
description: Team members usage metrics of an organization
|
|
18886
18574
|
properties:
|
|
18887
|
-
|
|
18888
|
-
|
|
18889
|
-
|
|
18575
|
+
total:
|
|
18576
|
+
description: Count of all teams
|
|
18577
|
+
type: number
|
|
18578
|
+
required:
|
|
18579
|
+
- total
|
|
18580
|
+
OrganizationUsageMembers:
|
|
18581
|
+
type: object
|
|
18582
|
+
description: Members usage metrics of an organization
|
|
18583
|
+
properties:
|
|
18584
|
+
total:
|
|
18585
|
+
description: Count of all members
|
|
18586
|
+
type: number
|
|
18587
|
+
seats:
|
|
18588
|
+
description: Count of all paid seats
|
|
18589
|
+
type: number
|
|
18590
|
+
admin:
|
|
18591
|
+
description: Count of all admins
|
|
18592
|
+
type: number
|
|
18593
|
+
create:
|
|
18594
|
+
description: Count of all creators
|
|
18595
|
+
type: number
|
|
18596
|
+
edit:
|
|
18597
|
+
description: Count of all editors
|
|
18598
|
+
type: number
|
|
18599
|
+
review:
|
|
18600
|
+
description: Count of all reviewers
|
|
18601
|
+
type: number
|
|
18602
|
+
comment:
|
|
18603
|
+
description: Count of all commenters
|
|
18604
|
+
type: number
|
|
18605
|
+
read:
|
|
18606
|
+
description: Count of all readers
|
|
18607
|
+
type: number
|
|
18608
|
+
guest:
|
|
18609
|
+
description: Count of all guests
|
|
18610
|
+
type: number
|
|
18611
|
+
required:
|
|
18612
|
+
- total
|
|
18613
|
+
- seats
|
|
18614
|
+
- admin
|
|
18615
|
+
- create
|
|
18616
|
+
- edit
|
|
18617
|
+
- review
|
|
18618
|
+
- comment
|
|
18619
|
+
- read
|
|
18620
|
+
- guest
|
|
18621
|
+
OrganizationUsageTeamMembers:
|
|
18622
|
+
type: object
|
|
18623
|
+
description: Team members usage metrics of an organization
|
|
18624
|
+
properties:
|
|
18625
|
+
total:
|
|
18626
|
+
description: Count of all organization members in a team
|
|
18627
|
+
type: number
|
|
18628
|
+
owner:
|
|
18629
|
+
description: Count of all team owners
|
|
18630
|
+
type: number
|
|
18631
|
+
member:
|
|
18632
|
+
description: Count of all team members
|
|
18633
|
+
type: number
|
|
18634
|
+
required:
|
|
18635
|
+
- total
|
|
18636
|
+
- owner
|
|
18637
|
+
- member
|
|
18638
|
+
OrganizationUsage:
|
|
18639
|
+
type: object
|
|
18640
|
+
description: All usage metrics of an organization
|
|
18641
|
+
properties:
|
|
18642
|
+
spaces:
|
|
18643
|
+
$ref: "#/components/schemas/OrganizationUsageSpaces"
|
|
18644
|
+
collections:
|
|
18645
|
+
$ref: "#/components/schemas/OrganizationUsageCollections"
|
|
18646
|
+
sites:
|
|
18647
|
+
$ref: "#/components/schemas/OrganizationUsageSites"
|
|
18648
|
+
teams:
|
|
18649
|
+
$ref: "#/components/schemas/OrganizationUsageTeams"
|
|
18650
|
+
members:
|
|
18651
|
+
$ref: "#/components/schemas/OrganizationUsageMembers"
|
|
18652
|
+
teamMembers:
|
|
18653
|
+
$ref: "#/components/schemas/OrganizationUsageTeamMembers"
|
|
18654
|
+
required:
|
|
18655
|
+
- spaces
|
|
18656
|
+
- collections
|
|
18657
|
+
- sites
|
|
18658
|
+
- teams
|
|
18659
|
+
- members
|
|
18660
|
+
- teamMembers
|
|
18890
18661
|
BillingOperationPreviewResponse:
|
|
18891
18662
|
description: |
|
|
18892
18663
|
A response to a request to preview a paid operation or action. A user might preview an operation before executing it to see which billing steps would be required (if any). This schema defines the response of that preview request.
|
|
@@ -18985,7 +18756,7 @@ components:
|
|
|
18985
18756
|
description: |
|
|
18986
18757
|
- `default`: Simple list items without special styling, groups are inset with a line.
|
|
18987
18758
|
- `pill`: Rounded capsule shape around selected/active items.
|
|
18988
|
-
- `line`: Continuous line next to all items, with
|
|
18759
|
+
- `line`: Continuous line next to all items, with colored line part for selected/active items.
|
|
18989
18760
|
enum:
|
|
18990
18761
|
- default
|
|
18991
18762
|
- pill
|
|
@@ -19303,36 +19074,6 @@ components:
|
|
|
19303
19074
|
type: string
|
|
19304
19075
|
format: uri
|
|
19305
19076
|
description: A fallback URL that will be used if authentication fails.
|
|
19306
|
-
SiteSectionGroupTitle:
|
|
19307
|
-
type: string
|
|
19308
|
-
description: Title of the site section group
|
|
19309
|
-
minLength: 1
|
|
19310
|
-
maxLength: 100
|
|
19311
|
-
SiteSectionGroup:
|
|
19312
|
-
type: object
|
|
19313
|
-
properties:
|
|
19314
|
-
object:
|
|
19315
|
-
type: string
|
|
19316
|
-
description: The object type, which is always "site-section-group"
|
|
19317
|
-
enum:
|
|
19318
|
-
- site-section-group
|
|
19319
|
-
id:
|
|
19320
|
-
type: string
|
|
19321
|
-
description: Unique identifier of the site section group
|
|
19322
|
-
title:
|
|
19323
|
-
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
19324
|
-
sections:
|
|
19325
|
-
type: array
|
|
19326
|
-
description: List of site section ids that are members of the group
|
|
19327
|
-
items:
|
|
19328
|
-
$ref: "#/components/schemas/SiteSection"
|
|
19329
|
-
icon:
|
|
19330
|
-
$ref: "#/components/schemas/Icon"
|
|
19331
|
-
required:
|
|
19332
|
-
- object
|
|
19333
|
-
- id
|
|
19334
|
-
- title
|
|
19335
|
-
- sections
|
|
19336
19077
|
SiteSearchScope:
|
|
19337
19078
|
oneOf:
|
|
19338
19079
|
- type: object
|
|
@@ -19383,6 +19124,28 @@ components:
|
|
|
19383
19124
|
description: Indicates whether the site customization settings have been overridden.
|
|
19384
19125
|
required:
|
|
19385
19126
|
- hasOverrides
|
|
19127
|
+
SiteSectionGroupPointer:
|
|
19128
|
+
type: object
|
|
19129
|
+
properties:
|
|
19130
|
+
type:
|
|
19131
|
+
type: string
|
|
19132
|
+
enum:
|
|
19133
|
+
- site-section
|
|
19134
|
+
- site-section-group
|
|
19135
|
+
id:
|
|
19136
|
+
type: string
|
|
19137
|
+
description: Unique identifier for the site section
|
|
19138
|
+
required:
|
|
19139
|
+
- type
|
|
19140
|
+
- id
|
|
19141
|
+
SiteSectionGroupMovePosition:
|
|
19142
|
+
type: object
|
|
19143
|
+
description: Position at which to move the site section group.
|
|
19144
|
+
properties:
|
|
19145
|
+
before:
|
|
19146
|
+
$ref: "#/components/schemas/SiteSectionGroupPointer"
|
|
19147
|
+
after:
|
|
19148
|
+
$ref: "#/components/schemas/SiteSectionGroupPointer"
|
|
19386
19149
|
SiteSectionPointer:
|
|
19387
19150
|
type: object
|
|
19388
19151
|
properties:
|
|
@@ -21528,6 +21291,111 @@ components:
|
|
|
21528
21291
|
- target
|
|
21529
21292
|
- redirect
|
|
21530
21293
|
- $ref: "#/components/schemas/PublishedSiteContent"
|
|
21294
|
+
OpenAPISpecSlug:
|
|
21295
|
+
description: Slug used as reference
|
|
21296
|
+
type: string
|
|
21297
|
+
minLength: 1
|
|
21298
|
+
maxLength: 100
|
|
21299
|
+
OpenAPISpecProcessingState:
|
|
21300
|
+
description: Processing state
|
|
21301
|
+
enum:
|
|
21302
|
+
- pending
|
|
21303
|
+
- progress
|
|
21304
|
+
- complete
|
|
21305
|
+
OpenAPISpec:
|
|
21306
|
+
type: object
|
|
21307
|
+
properties:
|
|
21308
|
+
object:
|
|
21309
|
+
description: The object type, which is always "openapi-spec"
|
|
21310
|
+
type: string
|
|
21311
|
+
enum:
|
|
21312
|
+
- openapi-spec
|
|
21313
|
+
id:
|
|
21314
|
+
description: Unique identifier
|
|
21315
|
+
type: string
|
|
21316
|
+
createdAt:
|
|
21317
|
+
description: Date of creation
|
|
21318
|
+
$ref: "#/components/schemas/Timestamp"
|
|
21319
|
+
updatedAt:
|
|
21320
|
+
description: Date of the last update
|
|
21321
|
+
$ref: "#/components/schemas/Timestamp"
|
|
21322
|
+
slug:
|
|
21323
|
+
$ref: "#/components/schemas/OpenAPISpecSlug"
|
|
21324
|
+
sourceURL:
|
|
21325
|
+
$ref: "#/components/schemas/URL"
|
|
21326
|
+
processingState:
|
|
21327
|
+
$ref: "#/components/schemas/OpenAPISpecProcessingState"
|
|
21328
|
+
lastProcessedAt:
|
|
21329
|
+
description: Date of the last processing
|
|
21330
|
+
$ref: "#/components/schemas/Timestamp"
|
|
21331
|
+
urls:
|
|
21332
|
+
type: object
|
|
21333
|
+
description: URLs associated with the object
|
|
21334
|
+
properties:
|
|
21335
|
+
location:
|
|
21336
|
+
description: URL of the OpenAPI specification in the API
|
|
21337
|
+
$ref: "#/components/schemas/URL"
|
|
21338
|
+
app:
|
|
21339
|
+
description: URL of the OpenAPI specification in the application
|
|
21340
|
+
$ref: "#/components/schemas/URL"
|
|
21341
|
+
required:
|
|
21342
|
+
- app
|
|
21343
|
+
- location
|
|
21344
|
+
required:
|
|
21345
|
+
- object
|
|
21346
|
+
- id
|
|
21347
|
+
- createdAt
|
|
21348
|
+
- updatedAt
|
|
21349
|
+
- slug
|
|
21350
|
+
- processingState
|
|
21351
|
+
- urls
|
|
21352
|
+
OpenAPISpecVersion:
|
|
21353
|
+
type: object
|
|
21354
|
+
properties:
|
|
21355
|
+
object:
|
|
21356
|
+
description: The object type, which is always "openapi-spec-version"
|
|
21357
|
+
type: string
|
|
21358
|
+
enum:
|
|
21359
|
+
- openapi-spec-version
|
|
21360
|
+
id:
|
|
21361
|
+
description: Unique identifier
|
|
21362
|
+
type: string
|
|
21363
|
+
createdAt:
|
|
21364
|
+
description: Date of creation
|
|
21365
|
+
$ref: "#/components/schemas/Timestamp"
|
|
21366
|
+
sourceURL:
|
|
21367
|
+
description: URL poiting to the source of the specification
|
|
21368
|
+
$ref: "#/components/schemas/URL"
|
|
21369
|
+
contentURL:
|
|
21370
|
+
description: URL pointing to the processed specification
|
|
21371
|
+
$ref: "#/components/schemas/URL"
|
|
21372
|
+
urls:
|
|
21373
|
+
type: object
|
|
21374
|
+
description: URLs associated with the object
|
|
21375
|
+
properties:
|
|
21376
|
+
location:
|
|
21377
|
+
description: URL of the OpenAPI specification version in the API
|
|
21378
|
+
$ref: "#/components/schemas/URL"
|
|
21379
|
+
app:
|
|
21380
|
+
description: URL of the OpenAPI specification version in the application
|
|
21381
|
+
$ref: "#/components/schemas/URL"
|
|
21382
|
+
required:
|
|
21383
|
+
- app
|
|
21384
|
+
- location
|
|
21385
|
+
required:
|
|
21386
|
+
- object
|
|
21387
|
+
- id
|
|
21388
|
+
- sourceURL
|
|
21389
|
+
- contentURL
|
|
21390
|
+
- contentHash
|
|
21391
|
+
- urls
|
|
21392
|
+
OpenAPISpecContent:
|
|
21393
|
+
description: Content of OpenAPI specification
|
|
21394
|
+
type: object
|
|
21395
|
+
SHA256:
|
|
21396
|
+
type: string
|
|
21397
|
+
minLength: 64
|
|
21398
|
+
maxLength: 64
|
|
21531
21399
|
UpdateContentPublishingAuth:
|
|
21532
21400
|
type: object
|
|
21533
21401
|
properties:
|
|
@@ -21599,6 +21467,14 @@ components:
|
|
|
21599
21467
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
21600
21468
|
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
21601
21469
|
- $ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
21470
|
+
ComputedContentDependency:
|
|
21471
|
+
type: object
|
|
21472
|
+
description: Dependency for a computation, before its resolution.
|
|
21473
|
+
properties:
|
|
21474
|
+
ref:
|
|
21475
|
+
$ref: "#/components/schemas/ComputedContentDependencyRef"
|
|
21476
|
+
required:
|
|
21477
|
+
- ref
|
|
21602
21478
|
InputPageBase:
|
|
21603
21479
|
allOf:
|
|
21604
21480
|
- type: object
|
|
@@ -22401,18 +22277,6 @@ components:
|
|
|
22401
22277
|
required:
|
|
22402
22278
|
- channel
|
|
22403
22279
|
- organization
|
|
22404
|
-
OrganizationCapturesChannel:
|
|
22405
|
-
type: object
|
|
22406
|
-
properties:
|
|
22407
|
-
channel:
|
|
22408
|
-
type: string
|
|
22409
|
-
enum:
|
|
22410
|
-
- organization-captures
|
|
22411
|
-
organization:
|
|
22412
|
-
type: string
|
|
22413
|
-
required:
|
|
22414
|
-
- channel
|
|
22415
|
-
- organization
|
|
22416
22280
|
OrganizationIntegrationsChannel:
|
|
22417
22281
|
type: object
|
|
22418
22282
|
properties:
|
|
@@ -22463,6 +22327,19 @@ components:
|
|
|
22463
22327
|
required:
|
|
22464
22328
|
- channel
|
|
22465
22329
|
- organization
|
|
22330
|
+
OrganizationOpenAPISpecsChannel:
|
|
22331
|
+
type: object
|
|
22332
|
+
description: Subscription channel for changes in OpenAPI specifications in an organization.
|
|
22333
|
+
properties:
|
|
22334
|
+
channel:
|
|
22335
|
+
type: string
|
|
22336
|
+
enum:
|
|
22337
|
+
- organization-openapi-specs
|
|
22338
|
+
organization:
|
|
22339
|
+
type: string
|
|
22340
|
+
required:
|
|
22341
|
+
- channel
|
|
22342
|
+
- organization
|
|
22466
22343
|
SpaceCommentsChannel:
|
|
22467
22344
|
type: object
|
|
22468
22345
|
properties:
|
|
@@ -22825,6 +22702,19 @@ components:
|
|
|
22825
22702
|
required:
|
|
22826
22703
|
- channel
|
|
22827
22704
|
- space
|
|
22705
|
+
OpenAPISpecVersionsChannel:
|
|
22706
|
+
type: object
|
|
22707
|
+
description: Subscription channel for changes in OpenAPI specification versions.
|
|
22708
|
+
properties:
|
|
22709
|
+
channel:
|
|
22710
|
+
type: string
|
|
22711
|
+
enum:
|
|
22712
|
+
- openapi-spec-versions
|
|
22713
|
+
openAPISpec:
|
|
22714
|
+
type: string
|
|
22715
|
+
required:
|
|
22716
|
+
- channel
|
|
22717
|
+
- openAPISpec
|
|
22828
22718
|
SubscriptionChannel:
|
|
22829
22719
|
description: Channel to subscribe to for realtime updates.
|
|
22830
22720
|
oneOf:
|
|
@@ -22857,11 +22747,11 @@ components:
|
|
|
22857
22747
|
- $ref: "#/components/schemas/OrganizationTeamMemberChannel"
|
|
22858
22748
|
- $ref: "#/components/schemas/OrganizationSpacesChannel"
|
|
22859
22749
|
- $ref: "#/components/schemas/OrganizationCollectionsChannel"
|
|
22860
|
-
- $ref: "#/components/schemas/OrganizationCapturesChannel"
|
|
22861
22750
|
- $ref: "#/components/schemas/OrganizationIntegrationsChannel"
|
|
22862
22751
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
22863
22752
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
22864
22753
|
- $ref: "#/components/schemas/OrganizationAIIndexationChannel"
|
|
22754
|
+
- $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
|
|
22865
22755
|
- $ref: "#/components/schemas/SpaceCommentsChannel"
|
|
22866
22756
|
- $ref: "#/components/schemas/ChangeRequestCommentsChannel"
|
|
22867
22757
|
- $ref: "#/components/schemas/CommentInfoChannel"
|
|
@@ -22888,6 +22778,7 @@ components:
|
|
|
22888
22778
|
- $ref: "#/components/schemas/CustomHostnameChannel"
|
|
22889
22779
|
- $ref: "#/components/schemas/GitSyncSettingsChannel"
|
|
22890
22780
|
- $ref: "#/components/schemas/GitSyncOperationChannel"
|
|
22781
|
+
- $ref: "#/components/schemas/OpenAPISpecVersionsChannel"
|
|
22891
22782
|
discriminator:
|
|
22892
22783
|
propertyName: channel
|
|
22893
22784
|
GitSyncOperationChannelData:
|
|
@@ -23073,6 +22964,8 @@ components:
|
|
|
23073
22964
|
$ref: "#/components/schemas/_index"
|
|
23074
22965
|
SiteRedirectDestinationSpace:
|
|
23075
22966
|
$ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
22967
|
+
OpenAPISpecSourceURL:
|
|
22968
|
+
$ref: "#/components/schemas/URL"
|
|
23076
22969
|
responses:
|
|
23077
22970
|
UnexpectedError:
|
|
23078
22971
|
description: Unexpected Error
|