@gitbook/api 0.159.0 → 0.160.1
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 +401 -17
- package/dist/constants.d.ts +9 -2
- package/dist/index.cjs +127 -8
- package/dist/index.js +118 -8
- package/package.json +5 -1
- package/spec/openapi.json +1173 -14
- package/spec/openapi.yaml +734 -11
package/spec/openapi.yaml
CHANGED
|
@@ -185,6 +185,16 @@ tags:
|
|
|
185
185
|
x-parent: sites
|
|
186
186
|
description: |
|
|
187
187
|
Give your users a way to ask content-aware AI queries that are scoped entirely to the site's published documents.
|
|
188
|
+
- name: site-context
|
|
189
|
+
x-page-title: Site context
|
|
190
|
+
x-page-description: Manage context records, connections, and topics for a docs site.
|
|
191
|
+
x-parent: sites
|
|
192
|
+
description: |
|
|
193
|
+
Manage the contextual records and topics used by your site to power AI experiences and insights.
|
|
194
|
+
|
|
195
|
+
{% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,ContextTopic" grouped="false" %}
|
|
196
|
+
The Site Context objects
|
|
197
|
+
{% endopenapi-schemas %}
|
|
188
198
|
- name: collections
|
|
189
199
|
x-page-icon: folder
|
|
190
200
|
x-page-title: Collections
|
|
@@ -504,6 +514,7 @@ paths:
|
|
|
504
514
|
summary: Get profile of authenticated user
|
|
505
515
|
tags:
|
|
506
516
|
- users
|
|
517
|
+
- critical
|
|
507
518
|
security:
|
|
508
519
|
- user: []
|
|
509
520
|
description: |
|
|
@@ -6551,6 +6562,11 @@ paths:
|
|
|
6551
6562
|
- $ref: "#/components/parameters/organizationId"
|
|
6552
6563
|
- $ref: "#/components/parameters/listPage"
|
|
6553
6564
|
- $ref: "#/components/parameters/listLimit"
|
|
6565
|
+
- name: orderBy
|
|
6566
|
+
in: query
|
|
6567
|
+
description: Sort results by language key
|
|
6568
|
+
schema:
|
|
6569
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
6554
6570
|
responses:
|
|
6555
6571
|
"200":
|
|
6556
6572
|
description: OK
|
|
@@ -8148,6 +8164,273 @@ paths:
|
|
|
8148
8164
|
text/event-stream:
|
|
8149
8165
|
schema:
|
|
8150
8166
|
$ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
|
|
8167
|
+
"/orgs/{organizationId}/sites/{siteId}/context-records":
|
|
8168
|
+
get:
|
|
8169
|
+
operationId: listSiteContextRecords
|
|
8170
|
+
summary: List all context records
|
|
8171
|
+
tags:
|
|
8172
|
+
- site-context
|
|
8173
|
+
security:
|
|
8174
|
+
- user: []
|
|
8175
|
+
parameters:
|
|
8176
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8177
|
+
- $ref: "#/components/parameters/siteId"
|
|
8178
|
+
- $ref: "#/components/parameters/listPage"
|
|
8179
|
+
- $ref: "#/components/parameters/listLimit"
|
|
8180
|
+
- name: type
|
|
8181
|
+
in: query
|
|
8182
|
+
description: Filter context records by type.
|
|
8183
|
+
schema:
|
|
8184
|
+
$ref: "#/components/schemas/ContextRecordType"
|
|
8185
|
+
- name: connector
|
|
8186
|
+
in: query
|
|
8187
|
+
description: Filter context records by connector type.
|
|
8188
|
+
schema:
|
|
8189
|
+
$ref: "#/components/schemas/ContextConnector"
|
|
8190
|
+
- name: connection
|
|
8191
|
+
in: query
|
|
8192
|
+
description: Filter context records by connection id.
|
|
8193
|
+
schema:
|
|
8194
|
+
type: string
|
|
8195
|
+
responses:
|
|
8196
|
+
"200":
|
|
8197
|
+
description: OK
|
|
8198
|
+
content:
|
|
8199
|
+
application/json:
|
|
8200
|
+
schema:
|
|
8201
|
+
allOf:
|
|
8202
|
+
- $ref: "#/components/schemas/List"
|
|
8203
|
+
- type: object
|
|
8204
|
+
required:
|
|
8205
|
+
- items
|
|
8206
|
+
properties:
|
|
8207
|
+
items:
|
|
8208
|
+
type: array
|
|
8209
|
+
items:
|
|
8210
|
+
$ref: "#/components/schemas/ContextRecord"
|
|
8211
|
+
put:
|
|
8212
|
+
operationId: upsertSiteContextRecords
|
|
8213
|
+
summary: Create or update context records
|
|
8214
|
+
tags:
|
|
8215
|
+
- site-context
|
|
8216
|
+
security:
|
|
8217
|
+
- user: []
|
|
8218
|
+
parameters:
|
|
8219
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8220
|
+
- $ref: "#/components/parameters/siteId"
|
|
8221
|
+
requestBody:
|
|
8222
|
+
required: true
|
|
8223
|
+
content:
|
|
8224
|
+
application/json:
|
|
8225
|
+
schema:
|
|
8226
|
+
type: array
|
|
8227
|
+
items:
|
|
8228
|
+
$ref: "#/components/schemas/ContextRecordInput"
|
|
8229
|
+
responses:
|
|
8230
|
+
"204":
|
|
8231
|
+
description: The context records have been created or updated
|
|
8232
|
+
"/orgs/{organizationId}/sites/{siteId}/context-connections":
|
|
8233
|
+
get:
|
|
8234
|
+
operationId: listSiteContextConnections
|
|
8235
|
+
summary: List all context connections
|
|
8236
|
+
tags:
|
|
8237
|
+
- site-context
|
|
8238
|
+
security:
|
|
8239
|
+
- user: []
|
|
8240
|
+
parameters:
|
|
8241
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8242
|
+
- $ref: "#/components/parameters/siteId"
|
|
8243
|
+
- $ref: "#/components/parameters/listPage"
|
|
8244
|
+
- $ref: "#/components/parameters/listLimit"
|
|
8245
|
+
responses:
|
|
8246
|
+
"200":
|
|
8247
|
+
description: OK
|
|
8248
|
+
content:
|
|
8249
|
+
application/json:
|
|
8250
|
+
schema:
|
|
8251
|
+
allOf:
|
|
8252
|
+
- $ref: "#/components/schemas/List"
|
|
8253
|
+
- type: object
|
|
8254
|
+
required:
|
|
8255
|
+
- items
|
|
8256
|
+
properties:
|
|
8257
|
+
items:
|
|
8258
|
+
type: array
|
|
8259
|
+
items:
|
|
8260
|
+
$ref: "#/components/schemas/ContextConnection"
|
|
8261
|
+
post:
|
|
8262
|
+
operationId: createSiteContextConnection
|
|
8263
|
+
summary: Create a context connection
|
|
8264
|
+
tags:
|
|
8265
|
+
- site-context
|
|
8266
|
+
security:
|
|
8267
|
+
- user: []
|
|
8268
|
+
parameters:
|
|
8269
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8270
|
+
- $ref: "#/components/parameters/siteId"
|
|
8271
|
+
requestBody:
|
|
8272
|
+
required: true
|
|
8273
|
+
content:
|
|
8274
|
+
application/json:
|
|
8275
|
+
schema:
|
|
8276
|
+
allOf:
|
|
8277
|
+
- $ref: "#/components/schemas/ContextConnectorSetup"
|
|
8278
|
+
- type: object
|
|
8279
|
+
properties:
|
|
8280
|
+
usageSettings:
|
|
8281
|
+
$ref: "#/components/schemas/ContextUsageSettings"
|
|
8282
|
+
responses:
|
|
8283
|
+
"201":
|
|
8284
|
+
description: Created connection
|
|
8285
|
+
content:
|
|
8286
|
+
application/json:
|
|
8287
|
+
schema:
|
|
8288
|
+
$ref: "#/components/schemas/ContextConnection"
|
|
8289
|
+
"/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}":
|
|
8290
|
+
get:
|
|
8291
|
+
operationId: getSiteContextConnectionById
|
|
8292
|
+
summary: Get a context connection
|
|
8293
|
+
tags:
|
|
8294
|
+
- site-context
|
|
8295
|
+
security:
|
|
8296
|
+
- user: []
|
|
8297
|
+
parameters:
|
|
8298
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8299
|
+
- $ref: "#/components/parameters/siteId"
|
|
8300
|
+
- $ref: "#/components/parameters/siteContextConnectionId"
|
|
8301
|
+
responses:
|
|
8302
|
+
"200":
|
|
8303
|
+
description: OK
|
|
8304
|
+
content:
|
|
8305
|
+
application/json:
|
|
8306
|
+
schema:
|
|
8307
|
+
$ref: "#/components/schemas/ContextConnection"
|
|
8308
|
+
patch:
|
|
8309
|
+
operationId: updateSiteContextConnectionById
|
|
8310
|
+
summary: Update a context connection
|
|
8311
|
+
tags:
|
|
8312
|
+
- site-context
|
|
8313
|
+
security:
|
|
8314
|
+
- user: []
|
|
8315
|
+
parameters:
|
|
8316
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8317
|
+
- $ref: "#/components/parameters/siteId"
|
|
8318
|
+
- $ref: "#/components/parameters/siteContextConnectionId"
|
|
8319
|
+
requestBody:
|
|
8320
|
+
required: true
|
|
8321
|
+
content:
|
|
8322
|
+
application/json:
|
|
8323
|
+
schema:
|
|
8324
|
+
anyOf:
|
|
8325
|
+
- $ref: "#/components/schemas/ContextConnectorSetup"
|
|
8326
|
+
- type: object
|
|
8327
|
+
properties:
|
|
8328
|
+
usageSettings:
|
|
8329
|
+
$ref: "#/components/schemas/ContextUsageSettings"
|
|
8330
|
+
label:
|
|
8331
|
+
$ref: "#/components/schemas/ContextConnectionLabel"
|
|
8332
|
+
responses:
|
|
8333
|
+
"200":
|
|
8334
|
+
description: OK
|
|
8335
|
+
content:
|
|
8336
|
+
application/json:
|
|
8337
|
+
schema:
|
|
8338
|
+
$ref: "#/components/schemas/ContextConnection"
|
|
8339
|
+
"/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}/sync":
|
|
8340
|
+
post:
|
|
8341
|
+
operationId: syncSiteContextConnection
|
|
8342
|
+
summary: Trigger a sync for a context connection
|
|
8343
|
+
tags:
|
|
8344
|
+
- site-context
|
|
8345
|
+
security:
|
|
8346
|
+
- user: []
|
|
8347
|
+
parameters:
|
|
8348
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8349
|
+
- $ref: "#/components/parameters/siteId"
|
|
8350
|
+
- $ref: "#/components/parameters/siteContextConnectionId"
|
|
8351
|
+
responses:
|
|
8352
|
+
"204":
|
|
8353
|
+
description: Sync started
|
|
8354
|
+
"400":
|
|
8355
|
+
description: Connection was synced less than an hour ago or invalid connector
|
|
8356
|
+
$ref: "#/components/responses/BadRequestError"
|
|
8357
|
+
"/orgs/{organizationId}/sites/{siteId}/context-topics":
|
|
8358
|
+
get:
|
|
8359
|
+
operationId: listSiteContextTopics
|
|
8360
|
+
summary: List all context topics
|
|
8361
|
+
tags:
|
|
8362
|
+
- site-context
|
|
8363
|
+
security:
|
|
8364
|
+
- user: []
|
|
8365
|
+
parameters:
|
|
8366
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8367
|
+
- $ref: "#/components/parameters/siteId"
|
|
8368
|
+
- $ref: "#/components/parameters/listPage"
|
|
8369
|
+
- $ref: "#/components/parameters/listLimit"
|
|
8370
|
+
responses:
|
|
8371
|
+
"200":
|
|
8372
|
+
description: OK
|
|
8373
|
+
content:
|
|
8374
|
+
application/json:
|
|
8375
|
+
schema:
|
|
8376
|
+
allOf:
|
|
8377
|
+
- $ref: "#/components/schemas/List"
|
|
8378
|
+
- type: object
|
|
8379
|
+
required:
|
|
8380
|
+
- items
|
|
8381
|
+
properties:
|
|
8382
|
+
items:
|
|
8383
|
+
type: array
|
|
8384
|
+
items:
|
|
8385
|
+
$ref: "#/components/schemas/ContextTopic"
|
|
8386
|
+
"/orgs/{organizationId}/sites/{siteId}/context-topics/{siteContextTopicId}":
|
|
8387
|
+
get:
|
|
8388
|
+
operationId: getSiteContextTopicById
|
|
8389
|
+
summary: Get a context topic
|
|
8390
|
+
tags:
|
|
8391
|
+
- site-context
|
|
8392
|
+
security:
|
|
8393
|
+
- user: []
|
|
8394
|
+
parameters:
|
|
8395
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8396
|
+
- $ref: "#/components/parameters/siteId"
|
|
8397
|
+
- $ref: "#/components/parameters/siteContextTopicId"
|
|
8398
|
+
responses:
|
|
8399
|
+
"200":
|
|
8400
|
+
description: OK
|
|
8401
|
+
content:
|
|
8402
|
+
application/json:
|
|
8403
|
+
schema:
|
|
8404
|
+
$ref: "#/components/schemas/ContextTopic"
|
|
8405
|
+
patch:
|
|
8406
|
+
operationId: updateSiteContextTopicById
|
|
8407
|
+
summary: Update a context topic
|
|
8408
|
+
tags:
|
|
8409
|
+
- site-context
|
|
8410
|
+
security:
|
|
8411
|
+
- user: []
|
|
8412
|
+
parameters:
|
|
8413
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8414
|
+
- $ref: "#/components/parameters/siteId"
|
|
8415
|
+
- $ref: "#/components/parameters/siteContextTopicId"
|
|
8416
|
+
requestBody:
|
|
8417
|
+
required: true
|
|
8418
|
+
content:
|
|
8419
|
+
application/json:
|
|
8420
|
+
schema:
|
|
8421
|
+
type: object
|
|
8422
|
+
properties:
|
|
8423
|
+
usageSettings:
|
|
8424
|
+
$ref: "#/components/schemas/ContextUsageSettings"
|
|
8425
|
+
required:
|
|
8426
|
+
- usageSettings
|
|
8427
|
+
responses:
|
|
8428
|
+
"200":
|
|
8429
|
+
description: OK
|
|
8430
|
+
content:
|
|
8431
|
+
application/json:
|
|
8432
|
+
schema:
|
|
8433
|
+
$ref: "#/components/schemas/ContextTopic"
|
|
8151
8434
|
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}":
|
|
8152
8435
|
patch:
|
|
8153
8436
|
operationId: updateSiteSpaceById
|
|
@@ -9986,6 +10269,20 @@ components:
|
|
|
9986
10269
|
description: The unique id of the section within a site
|
|
9987
10270
|
schema:
|
|
9988
10271
|
type: string
|
|
10272
|
+
siteContextConnectionId:
|
|
10273
|
+
name: siteContextConnectionId
|
|
10274
|
+
in: path
|
|
10275
|
+
required: true
|
|
10276
|
+
description: The unique id of the context connection
|
|
10277
|
+
schema:
|
|
10278
|
+
type: string
|
|
10279
|
+
siteContextTopicId:
|
|
10280
|
+
name: siteContextTopicId
|
|
10281
|
+
in: path
|
|
10282
|
+
required: true
|
|
10283
|
+
description: The unique id of the context topic
|
|
10284
|
+
schema:
|
|
10285
|
+
type: string
|
|
9989
10286
|
siteSpaceId:
|
|
9990
10287
|
name: siteSpaceId
|
|
9991
10288
|
in: path
|
|
@@ -10810,6 +11107,7 @@ components:
|
|
|
10810
11107
|
repoCacheID:
|
|
10811
11108
|
type: string
|
|
10812
11109
|
description: Unique identifier to use to cache the Git repository across multiple operations.
|
|
11110
|
+
deprecated: true
|
|
10813
11111
|
repoTreeURL:
|
|
10814
11112
|
type: string
|
|
10815
11113
|
description: URL to use as a prefix for external file references.
|
|
@@ -10849,6 +11147,7 @@ components:
|
|
|
10849
11147
|
repoCacheID:
|
|
10850
11148
|
type: string
|
|
10851
11149
|
description: Unique identifier to use to cache the Git repository across multiple operations.
|
|
11150
|
+
deprecated: true
|
|
10852
11151
|
repoTreeURL:
|
|
10853
11152
|
type: string
|
|
10854
11153
|
description: URL to use as a prefix for external file references.
|
|
@@ -12670,7 +12969,9 @@ components:
|
|
|
12670
12969
|
- true
|
|
12671
12970
|
data:
|
|
12672
12971
|
type: object
|
|
12673
|
-
properties:
|
|
12972
|
+
properties:
|
|
12973
|
+
defaultExpanded:
|
|
12974
|
+
type: boolean
|
|
12674
12975
|
additionalProperties: false
|
|
12675
12976
|
fragments:
|
|
12676
12977
|
type: array
|
|
@@ -13348,6 +13649,22 @@ components:
|
|
|
13348
13649
|
- data
|
|
13349
13650
|
- nodes
|
|
13350
13651
|
- isVoid
|
|
13652
|
+
ContentRefTag:
|
|
13653
|
+
type: object
|
|
13654
|
+
properties:
|
|
13655
|
+
kind:
|
|
13656
|
+
type: string
|
|
13657
|
+
enum:
|
|
13658
|
+
- tag
|
|
13659
|
+
tag:
|
|
13660
|
+
type: string
|
|
13661
|
+
description: The slug of the tag, also used as the ID, and references the tags defined on a revision.
|
|
13662
|
+
space:
|
|
13663
|
+
type: string
|
|
13664
|
+
description: The space in which the tag is defined. If undefined, the tag is assumed to be in the same space as the content reference.
|
|
13665
|
+
required:
|
|
13666
|
+
- kind
|
|
13667
|
+
- tag
|
|
13351
13668
|
DocumentBlockUpdate:
|
|
13352
13669
|
type: object
|
|
13353
13670
|
properties:
|
|
@@ -13385,8 +13702,9 @@ components:
|
|
|
13385
13702
|
$ref: "#/components/schemas/Timestamp"
|
|
13386
13703
|
tags:
|
|
13387
13704
|
type: array
|
|
13705
|
+
description: Array of tags. Each tag is id'ed by its slug.
|
|
13388
13706
|
items:
|
|
13389
|
-
|
|
13707
|
+
$ref: "#/components/schemas/ContentRefTag"
|
|
13390
13708
|
required:
|
|
13391
13709
|
- date
|
|
13392
13710
|
isVoid:
|
|
@@ -13688,6 +14006,11 @@ components:
|
|
|
13688
14006
|
metaLinks:
|
|
13689
14007
|
description: Meta links associated with the page.
|
|
13690
14008
|
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
14009
|
+
tags:
|
|
14010
|
+
type: array
|
|
14011
|
+
description: A list of all the tags added to this page
|
|
14012
|
+
items:
|
|
14013
|
+
$ref: "#/components/schemas/RevisionPageTag"
|
|
13691
14014
|
required:
|
|
13692
14015
|
- kind
|
|
13693
14016
|
- type
|
|
@@ -13739,6 +14062,15 @@ components:
|
|
|
13739
14062
|
- kind
|
|
13740
14063
|
- type
|
|
13741
14064
|
- target
|
|
14065
|
+
OpenAPISpecVisibility:
|
|
14066
|
+
type: string
|
|
14067
|
+
description: |
|
|
14068
|
+
The visibility setting of the OpenAPI spec.
|
|
14069
|
+
* `private`: The spec is not publicly available.
|
|
14070
|
+
* `public`: The spec is available to anyone with a public link.
|
|
14071
|
+
enum:
|
|
14072
|
+
- private
|
|
14073
|
+
- public
|
|
13742
14074
|
ComputedContentDependencyOpenAPI:
|
|
13743
14075
|
type: object
|
|
13744
14076
|
properties:
|
|
@@ -13759,6 +14091,8 @@ components:
|
|
|
13759
14091
|
type: string
|
|
13760
14092
|
lastVersion:
|
|
13761
14093
|
type: string
|
|
14094
|
+
visibility:
|
|
14095
|
+
$ref: "#/components/schemas/OpenAPISpecVisibility"
|
|
13762
14096
|
required:
|
|
13763
14097
|
- object
|
|
13764
14098
|
- id
|
|
@@ -14080,6 +14414,17 @@ components:
|
|
|
14080
14414
|
type: array
|
|
14081
14415
|
items:
|
|
14082
14416
|
$ref: "#/components/schemas/RevisionPageMetaLinkTarget"
|
|
14417
|
+
RevisionPageTag:
|
|
14418
|
+
type: object
|
|
14419
|
+
description: A reference to a tag with optional primary flag for page-level tags.
|
|
14420
|
+
properties:
|
|
14421
|
+
tag:
|
|
14422
|
+
$ref: "#/components/schemas/ContentRefTag"
|
|
14423
|
+
primary:
|
|
14424
|
+
type: boolean
|
|
14425
|
+
description: Whether this is the primary tag for display in table of contents.
|
|
14426
|
+
required:
|
|
14427
|
+
- tag
|
|
14083
14428
|
ComputedContentSourceDocumentOpenAPI:
|
|
14084
14429
|
allOf:
|
|
14085
14430
|
- $ref: "#/components/schemas/ComputedContentSourceOpenAPIBase"
|
|
@@ -14252,6 +14597,19 @@ components:
|
|
|
14252
14597
|
document:
|
|
14253
14598
|
type: string
|
|
14254
14599
|
description: ID of the document with the content body. If undefined, the reusable content is empty.
|
|
14600
|
+
RevisionTag:
|
|
14601
|
+
type: object
|
|
14602
|
+
description: A reusable tag that different types of content can be associated to (e.g. pages, update entries)
|
|
14603
|
+
properties:
|
|
14604
|
+
slug:
|
|
14605
|
+
type: string
|
|
14606
|
+
description: The slug identifier for the tag, immutable after creation.
|
|
14607
|
+
label:
|
|
14608
|
+
type: string
|
|
14609
|
+
description: Display label for the tag. Can be renamed and differ from the slug.
|
|
14610
|
+
required:
|
|
14611
|
+
- slug
|
|
14612
|
+
- label
|
|
14255
14613
|
GitSyncCommit:
|
|
14256
14614
|
type: object
|
|
14257
14615
|
properties:
|
|
@@ -14302,6 +14660,11 @@ components:
|
|
|
14302
14660
|
type: array
|
|
14303
14661
|
items:
|
|
14304
14662
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
14663
|
+
tags:
|
|
14664
|
+
type: array
|
|
14665
|
+
description: List of available tags within this revision
|
|
14666
|
+
items:
|
|
14667
|
+
$ref: "#/components/schemas/RevisionTag"
|
|
14305
14668
|
variables:
|
|
14306
14669
|
$ref: "#/components/schemas/Variables"
|
|
14307
14670
|
createdAt:
|
|
@@ -14819,6 +15182,9 @@ components:
|
|
|
14819
15182
|
view:
|
|
14820
15183
|
type: boolean
|
|
14821
15184
|
description: Can the user view the organization.
|
|
15185
|
+
access:
|
|
15186
|
+
type: boolean
|
|
15187
|
+
description: Can the user view the organization in the application.
|
|
14822
15188
|
admin:
|
|
14823
15189
|
type: boolean
|
|
14824
15190
|
description: Can the user manage the title, members, etc.
|
|
@@ -14854,6 +15220,7 @@ components:
|
|
|
14854
15220
|
description: Can the user install integrations in the organization.
|
|
14855
15221
|
required:
|
|
14856
15222
|
- view
|
|
15223
|
+
- access
|
|
14857
15224
|
- admin
|
|
14858
15225
|
- ownTeam
|
|
14859
15226
|
- createContent
|
|
@@ -15140,15 +15507,6 @@ components:
|
|
|
15140
15507
|
- pending
|
|
15141
15508
|
- progress
|
|
15142
15509
|
- complete
|
|
15143
|
-
OpenAPISpecVisibility:
|
|
15144
|
-
type: string
|
|
15145
|
-
description: |
|
|
15146
|
-
The visibility setting of the OpenAPI spec.
|
|
15147
|
-
* `private`: The spec is not publicly available.
|
|
15148
|
-
* `public`: The spec is available to anyone with a public link.
|
|
15149
|
-
enum:
|
|
15150
|
-
- private
|
|
15151
|
-
- public
|
|
15152
15510
|
OpenAPISpecProcessingErrorCode:
|
|
15153
15511
|
description: OpenAPI processing error code
|
|
15154
15512
|
enum:
|
|
@@ -16117,6 +16475,61 @@ components:
|
|
|
16117
16475
|
- type
|
|
16118
16476
|
- reusableContent
|
|
16119
16477
|
- attributes
|
|
16478
|
+
ChangedRevisionTag:
|
|
16479
|
+
type: object
|
|
16480
|
+
properties:
|
|
16481
|
+
slug:
|
|
16482
|
+
type: string
|
|
16483
|
+
label:
|
|
16484
|
+
type: string
|
|
16485
|
+
required:
|
|
16486
|
+
- slug
|
|
16487
|
+
- label
|
|
16488
|
+
RevisionSemanticChangeTagCreated:
|
|
16489
|
+
type: object
|
|
16490
|
+
properties:
|
|
16491
|
+
type:
|
|
16492
|
+
type: string
|
|
16493
|
+
enum:
|
|
16494
|
+
- tag_created
|
|
16495
|
+
tag:
|
|
16496
|
+
$ref: "#/components/schemas/ChangedRevisionTag"
|
|
16497
|
+
required:
|
|
16498
|
+
- type
|
|
16499
|
+
- tag
|
|
16500
|
+
RevisionSemanticChangeTagDeleted:
|
|
16501
|
+
type: object
|
|
16502
|
+
properties:
|
|
16503
|
+
type:
|
|
16504
|
+
type: string
|
|
16505
|
+
enum:
|
|
16506
|
+
- tag_deleted
|
|
16507
|
+
tag:
|
|
16508
|
+
$ref: "#/components/schemas/ChangedRevisionTag"
|
|
16509
|
+
required:
|
|
16510
|
+
- type
|
|
16511
|
+
- tag
|
|
16512
|
+
RevisionTagChangeAttributes:
|
|
16513
|
+
type: object
|
|
16514
|
+
minProperties: 1
|
|
16515
|
+
properties:
|
|
16516
|
+
label:
|
|
16517
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
16518
|
+
RevisionSemanticChangeTagEdited:
|
|
16519
|
+
type: object
|
|
16520
|
+
properties:
|
|
16521
|
+
type:
|
|
16522
|
+
type: string
|
|
16523
|
+
enum:
|
|
16524
|
+
- tag_edited
|
|
16525
|
+
tag:
|
|
16526
|
+
$ref: "#/components/schemas/ChangedRevisionTag"
|
|
16527
|
+
attributes:
|
|
16528
|
+
$ref: "#/components/schemas/RevisionTagChangeAttributes"
|
|
16529
|
+
required:
|
|
16530
|
+
- type
|
|
16531
|
+
- tag
|
|
16532
|
+
- attributes
|
|
16120
16533
|
RevisionSemanticChange:
|
|
16121
16534
|
oneOf:
|
|
16122
16535
|
- $ref: "#/components/schemas/RevisionSemanticChangePageCreated"
|
|
@@ -16130,6 +16543,9 @@ components:
|
|
|
16130
16543
|
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentCreated"
|
|
16131
16544
|
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentDeleted"
|
|
16132
16545
|
- $ref: "#/components/schemas/RevisionSemanticChangeReusableContentEdited"
|
|
16546
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeTagCreated"
|
|
16547
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeTagDeleted"
|
|
16548
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeTagEdited"
|
|
16133
16549
|
RevisionSemanticChanges:
|
|
16134
16550
|
type: object
|
|
16135
16551
|
properties:
|
|
@@ -21850,6 +22266,296 @@ components:
|
|
|
21850
22266
|
type: string
|
|
21851
22267
|
enum:
|
|
21852
22268
|
- all
|
|
22269
|
+
ContextRecordType:
|
|
22270
|
+
type: string
|
|
22271
|
+
enum:
|
|
22272
|
+
- ticket
|
|
22273
|
+
- document
|
|
22274
|
+
ContextConnector:
|
|
22275
|
+
oneOf:
|
|
22276
|
+
- type: string
|
|
22277
|
+
description: Integration source
|
|
22278
|
+
pattern: ^integration:[^:]+$
|
|
22279
|
+
x-typescript: "`integration:${string}`"
|
|
22280
|
+
- type: string
|
|
22281
|
+
description: Builtin sources
|
|
22282
|
+
enum:
|
|
22283
|
+
- builtin:email
|
|
22284
|
+
- builtin:api
|
|
22285
|
+
- builtin:website
|
|
22286
|
+
ContextRecordTitle:
|
|
22287
|
+
type: string
|
|
22288
|
+
description: Title for the context record
|
|
22289
|
+
minLength: 1
|
|
22290
|
+
maxLength: 256
|
|
22291
|
+
ContextRecordDescription:
|
|
22292
|
+
type: string
|
|
22293
|
+
description: Optional short description of the context record
|
|
22294
|
+
maxLength: 512
|
|
22295
|
+
ContextRecord:
|
|
22296
|
+
type: object
|
|
22297
|
+
properties:
|
|
22298
|
+
object:
|
|
22299
|
+
type: string
|
|
22300
|
+
enum:
|
|
22301
|
+
- context-record
|
|
22302
|
+
id:
|
|
22303
|
+
type: string
|
|
22304
|
+
description: The ID of the record
|
|
22305
|
+
title:
|
|
22306
|
+
$ref: "#/components/schemas/ContextRecordTitle"
|
|
22307
|
+
description:
|
|
22308
|
+
$ref: "#/components/schemas/ContextRecordDescription"
|
|
22309
|
+
type:
|
|
22310
|
+
$ref: "#/components/schemas/ContextRecordType"
|
|
22311
|
+
createdAt:
|
|
22312
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22313
|
+
processedAt:
|
|
22314
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22315
|
+
connection:
|
|
22316
|
+
type: string
|
|
22317
|
+
description: The connection ID associated with the record
|
|
22318
|
+
connector:
|
|
22319
|
+
description: The connector type associated with the record
|
|
22320
|
+
$ref: "#/components/schemas/ContextConnector"
|
|
22321
|
+
topics:
|
|
22322
|
+
type: array
|
|
22323
|
+
description: The associated topics of the record
|
|
22324
|
+
items:
|
|
22325
|
+
type: string
|
|
22326
|
+
urls:
|
|
22327
|
+
type: object
|
|
22328
|
+
description: URLs associated with the record
|
|
22329
|
+
properties:
|
|
22330
|
+
location:
|
|
22331
|
+
type: string
|
|
22332
|
+
description: URL of the record in the API
|
|
22333
|
+
format: uri
|
|
22334
|
+
source:
|
|
22335
|
+
type: string
|
|
22336
|
+
description: URL of the record in the source
|
|
22337
|
+
format: uri
|
|
22338
|
+
required:
|
|
22339
|
+
- location
|
|
22340
|
+
required:
|
|
22341
|
+
- object
|
|
22342
|
+
- id
|
|
22343
|
+
- title
|
|
22344
|
+
- type
|
|
22345
|
+
- createdAt
|
|
22346
|
+
- connection
|
|
22347
|
+
- connector
|
|
22348
|
+
- urls
|
|
22349
|
+
ContextRecordInput:
|
|
22350
|
+
type: object
|
|
22351
|
+
description: Input to ingest a new context record
|
|
22352
|
+
properties:
|
|
22353
|
+
id:
|
|
22354
|
+
type: string
|
|
22355
|
+
description: Unique local identifier for the record
|
|
22356
|
+
type:
|
|
22357
|
+
$ref: "#/components/schemas/ContextRecordType"
|
|
22358
|
+
title:
|
|
22359
|
+
$ref: "#/components/schemas/ContextRecordTitle"
|
|
22360
|
+
description:
|
|
22361
|
+
$ref: "#/components/schemas/ContextRecordDescription"
|
|
22362
|
+
body:
|
|
22363
|
+
type: string
|
|
22364
|
+
description: Body content of the record as markdown
|
|
22365
|
+
url:
|
|
22366
|
+
type: string
|
|
22367
|
+
description: URL of the record
|
|
22368
|
+
format: uri
|
|
22369
|
+
metadata:
|
|
22370
|
+
type: object
|
|
22371
|
+
additionalProperties:
|
|
22372
|
+
type: string
|
|
22373
|
+
required:
|
|
22374
|
+
- id
|
|
22375
|
+
- title
|
|
22376
|
+
- body
|
|
22377
|
+
- type
|
|
22378
|
+
ContextConnectionLabel:
|
|
22379
|
+
type: string
|
|
22380
|
+
description: Optional label for the connection
|
|
22381
|
+
minLength: 0
|
|
22382
|
+
maxLength: 128
|
|
22383
|
+
ContextConnectionStatus:
|
|
22384
|
+
type: string
|
|
22385
|
+
enum:
|
|
22386
|
+
- pending
|
|
22387
|
+
- syncing
|
|
22388
|
+
- succeeded
|
|
22389
|
+
- failed
|
|
22390
|
+
ContextUsageSettings:
|
|
22391
|
+
type: object
|
|
22392
|
+
properties:
|
|
22393
|
+
changeRequests:
|
|
22394
|
+
type: boolean
|
|
22395
|
+
description: Whether to use context to propose change requests
|
|
22396
|
+
search:
|
|
22397
|
+
type: boolean
|
|
22398
|
+
description: Whether to expose records in search results
|
|
22399
|
+
required:
|
|
22400
|
+
- changeRequests
|
|
22401
|
+
- search
|
|
22402
|
+
ContextConnectorSetup:
|
|
22403
|
+
oneOf:
|
|
22404
|
+
- type: object
|
|
22405
|
+
properties:
|
|
22406
|
+
connector:
|
|
22407
|
+
type: string
|
|
22408
|
+
enum:
|
|
22409
|
+
- builtin:email
|
|
22410
|
+
- builtin:api
|
|
22411
|
+
required:
|
|
22412
|
+
- connector
|
|
22413
|
+
- type: object
|
|
22414
|
+
properties:
|
|
22415
|
+
connector:
|
|
22416
|
+
type: string
|
|
22417
|
+
pattern: ^integration:[^:]+$
|
|
22418
|
+
x-typescript: "`integration:${string}`"
|
|
22419
|
+
required:
|
|
22420
|
+
- connector
|
|
22421
|
+
- type: object
|
|
22422
|
+
properties:
|
|
22423
|
+
connector:
|
|
22424
|
+
type: string
|
|
22425
|
+
enum:
|
|
22426
|
+
- builtin:website
|
|
22427
|
+
setupSettings:
|
|
22428
|
+
type: object
|
|
22429
|
+
properties:
|
|
22430
|
+
url:
|
|
22431
|
+
type: string
|
|
22432
|
+
format: uri
|
|
22433
|
+
required:
|
|
22434
|
+
- url
|
|
22435
|
+
required:
|
|
22436
|
+
- connector
|
|
22437
|
+
- setupSettings
|
|
22438
|
+
ContextConnection:
|
|
22439
|
+
allOf:
|
|
22440
|
+
- type: object
|
|
22441
|
+
properties:
|
|
22442
|
+
object:
|
|
22443
|
+
type: string
|
|
22444
|
+
enum:
|
|
22445
|
+
- context-connection
|
|
22446
|
+
id:
|
|
22447
|
+
type: string
|
|
22448
|
+
description: The ID of the connection
|
|
22449
|
+
createdAt:
|
|
22450
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22451
|
+
syncedAt:
|
|
22452
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22453
|
+
label:
|
|
22454
|
+
$ref: "#/components/schemas/ContextConnectionLabel"
|
|
22455
|
+
status:
|
|
22456
|
+
$ref: "#/components/schemas/ContextConnectionStatus"
|
|
22457
|
+
records:
|
|
22458
|
+
type: integer
|
|
22459
|
+
description: Number of records ingested from this connection
|
|
22460
|
+
failureMessage:
|
|
22461
|
+
type: string
|
|
22462
|
+
description: Failure message when synchronization fails
|
|
22463
|
+
email:
|
|
22464
|
+
type: object
|
|
22465
|
+
description: Parameters associated with the connection when it is an email connection
|
|
22466
|
+
properties:
|
|
22467
|
+
ingestionAddress:
|
|
22468
|
+
type: string
|
|
22469
|
+
description: Inbound email address for the connection
|
|
22470
|
+
format: email
|
|
22471
|
+
usageSettings:
|
|
22472
|
+
$ref: "#/components/schemas/ContextUsageSettings"
|
|
22473
|
+
urls:
|
|
22474
|
+
type: object
|
|
22475
|
+
description: URLs associated with the connection
|
|
22476
|
+
properties:
|
|
22477
|
+
location:
|
|
22478
|
+
type: string
|
|
22479
|
+
description: URL of the connection in the API
|
|
22480
|
+
format: uri
|
|
22481
|
+
required:
|
|
22482
|
+
- location
|
|
22483
|
+
required:
|
|
22484
|
+
- object
|
|
22485
|
+
- id
|
|
22486
|
+
- createdAt
|
|
22487
|
+
- status
|
|
22488
|
+
- records
|
|
22489
|
+
- usageSettings
|
|
22490
|
+
- urls
|
|
22491
|
+
- $ref: "#/components/schemas/ContextConnectorSetup"
|
|
22492
|
+
ContextTopic:
|
|
22493
|
+
type: object
|
|
22494
|
+
properties:
|
|
22495
|
+
object:
|
|
22496
|
+
type: string
|
|
22497
|
+
enum:
|
|
22498
|
+
- context-topic
|
|
22499
|
+
id:
|
|
22500
|
+
type: string
|
|
22501
|
+
description: The ID of the topic
|
|
22502
|
+
label:
|
|
22503
|
+
type: string
|
|
22504
|
+
description: The label of the topic
|
|
22505
|
+
createdAt:
|
|
22506
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22507
|
+
updatedAt:
|
|
22508
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22509
|
+
icon:
|
|
22510
|
+
$ref: "#/components/schemas/Icon"
|
|
22511
|
+
summary:
|
|
22512
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
22513
|
+
usageSettings:
|
|
22514
|
+
$ref: "#/components/schemas/ContextUsageSettings"
|
|
22515
|
+
weeklyPulse:
|
|
22516
|
+
type: array
|
|
22517
|
+
minItems: 13
|
|
22518
|
+
maxItems: 13
|
|
22519
|
+
description: The weekly pulse of the records for the past 3 months
|
|
22520
|
+
items:
|
|
22521
|
+
type: number
|
|
22522
|
+
connectors:
|
|
22523
|
+
type: object
|
|
22524
|
+
additionalProperties:
|
|
22525
|
+
type: number
|
|
22526
|
+
description: The number of records for the connector
|
|
22527
|
+
stats:
|
|
22528
|
+
type: object
|
|
22529
|
+
description: The stats of the topic
|
|
22530
|
+
properties:
|
|
22531
|
+
records:
|
|
22532
|
+
type: number
|
|
22533
|
+
description: The number of records in the topic
|
|
22534
|
+
required:
|
|
22535
|
+
- records
|
|
22536
|
+
urls:
|
|
22537
|
+
type: object
|
|
22538
|
+
description: URLs associated with the topic
|
|
22539
|
+
properties:
|
|
22540
|
+
location:
|
|
22541
|
+
type: string
|
|
22542
|
+
description: URL of the topic in the API
|
|
22543
|
+
format: uri
|
|
22544
|
+
required:
|
|
22545
|
+
- location
|
|
22546
|
+
required:
|
|
22547
|
+
- object
|
|
22548
|
+
- id
|
|
22549
|
+
- label
|
|
22550
|
+
- summary
|
|
22551
|
+
- icon
|
|
22552
|
+
- usageSettings
|
|
22553
|
+
- connectors
|
|
22554
|
+
- stats
|
|
22555
|
+
- weeklyPulse
|
|
22556
|
+
- createdAt
|
|
22557
|
+
- updatedAt
|
|
22558
|
+
- urls
|
|
21853
22559
|
SiteSpaceCustomizationSettings:
|
|
21854
22560
|
allOf:
|
|
21855
22561
|
- $ref: "#/components/schemas/SiteCustomizationSettings"
|
|
@@ -25362,6 +26068,9 @@ components:
|
|
|
25362
26068
|
- file_edited
|
|
25363
26069
|
- file_deleted
|
|
25364
26070
|
- custom_fields_edited
|
|
26071
|
+
- tag_created
|
|
26072
|
+
- tag_deleted
|
|
26073
|
+
- tag_edited
|
|
25365
26074
|
GitSyncOperationState:
|
|
25366
26075
|
type: string
|
|
25367
26076
|
description: |
|
|
@@ -26311,6 +27020,19 @@ components:
|
|
|
26311
27020
|
required:
|
|
26312
27021
|
- channel
|
|
26313
27022
|
- site
|
|
27023
|
+
SiteContextChannel:
|
|
27024
|
+
type: object
|
|
27025
|
+
description: Subscription channel for changes in site context.
|
|
27026
|
+
properties:
|
|
27027
|
+
channel:
|
|
27028
|
+
type: string
|
|
27029
|
+
enum:
|
|
27030
|
+
- site-context
|
|
27031
|
+
site:
|
|
27032
|
+
type: string
|
|
27033
|
+
required:
|
|
27034
|
+
- channel
|
|
27035
|
+
- site
|
|
26314
27036
|
SiteCustomizationChannel:
|
|
26315
27037
|
type: object
|
|
26316
27038
|
properties:
|
|
@@ -26610,6 +27332,7 @@ components:
|
|
|
26610
27332
|
- $ref: "#/components/schemas/PublishedContentSiteChannel"
|
|
26611
27333
|
- $ref: "#/components/schemas/SiteRedirectsChannel"
|
|
26612
27334
|
- $ref: "#/components/schemas/SiteChannel"
|
|
27335
|
+
- $ref: "#/components/schemas/SiteContextChannel"
|
|
26613
27336
|
- $ref: "#/components/schemas/SiteCustomizationChannel"
|
|
26614
27337
|
- $ref: "#/components/schemas/SiteIntegrationsChannel"
|
|
26615
27338
|
- $ref: "#/components/schemas/SiteSpaceChannel"
|