@gitbook/api 0.183.1 → 0.185.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 +898 -95
- package/dist/constants.d.ts +4 -1
- package/dist/index.cjs +55 -7
- package/dist/index.js +52 -7
- package/package.json +1 -1
- package/spec/openapi.json +1738 -247
- package/spec/openapi.yaml +1426 -295
package/spec/openapi.yaml
CHANGED
|
@@ -1915,6 +1915,80 @@ paths:
|
|
|
1915
1915
|
description: Reviewer was not found
|
|
1916
1916
|
"205":
|
|
1917
1917
|
description: The reviewer has been removed from the change request
|
|
1918
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/conversations:
|
|
1919
|
+
get:
|
|
1920
|
+
operationId: listChangeRequestConversations
|
|
1921
|
+
summary: List the agent conversations of a change request
|
|
1922
|
+
tags:
|
|
1923
|
+
- change-request-conversations
|
|
1924
|
+
security:
|
|
1925
|
+
- user: []
|
|
1926
|
+
parameters:
|
|
1927
|
+
- $ref: "#/components/parameters/spaceId"
|
|
1928
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
1929
|
+
- $ref: "#/components/parameters/listPage"
|
|
1930
|
+
- $ref: "#/components/parameters/listLimit"
|
|
1931
|
+
responses:
|
|
1932
|
+
"200":
|
|
1933
|
+
description: A list of agent conversations
|
|
1934
|
+
content:
|
|
1935
|
+
application/json:
|
|
1936
|
+
schema:
|
|
1937
|
+
allOf:
|
|
1938
|
+
- $ref: "#/components/schemas/List"
|
|
1939
|
+
- type: object
|
|
1940
|
+
required:
|
|
1941
|
+
- items
|
|
1942
|
+
properties:
|
|
1943
|
+
items:
|
|
1944
|
+
type: array
|
|
1945
|
+
items:
|
|
1946
|
+
$ref: "#/components/schemas/AgentConversation"
|
|
1947
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/conversations/{conversationId}:
|
|
1948
|
+
patch:
|
|
1949
|
+
operationId: updateChangeRequestConversation
|
|
1950
|
+
summary: Update an agent conversation
|
|
1951
|
+
tags:
|
|
1952
|
+
- change-request-conversations
|
|
1953
|
+
security:
|
|
1954
|
+
- user: []
|
|
1955
|
+
parameters:
|
|
1956
|
+
- $ref: "#/components/parameters/spaceId"
|
|
1957
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
1958
|
+
- $ref: "#/components/parameters/conversationId"
|
|
1959
|
+
requestBody:
|
|
1960
|
+
required: true
|
|
1961
|
+
content:
|
|
1962
|
+
application/json:
|
|
1963
|
+
schema:
|
|
1964
|
+
type: object
|
|
1965
|
+
properties:
|
|
1966
|
+
title:
|
|
1967
|
+
type: string
|
|
1968
|
+
description: The new title of the conversation.
|
|
1969
|
+
required:
|
|
1970
|
+
- title
|
|
1971
|
+
responses:
|
|
1972
|
+
"200":
|
|
1973
|
+
description: The updated conversation.
|
|
1974
|
+
content:
|
|
1975
|
+
application/json:
|
|
1976
|
+
schema:
|
|
1977
|
+
$ref: "#/components/schemas/AgentConversation"
|
|
1978
|
+
delete:
|
|
1979
|
+
operationId: deleteChangeRequestConversation
|
|
1980
|
+
summary: Delete an agent conversation
|
|
1981
|
+
tags:
|
|
1982
|
+
- change-request-conversations
|
|
1983
|
+
security:
|
|
1984
|
+
- user: []
|
|
1985
|
+
parameters:
|
|
1986
|
+
- $ref: "#/components/parameters/spaceId"
|
|
1987
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
1988
|
+
- $ref: "#/components/parameters/conversationId"
|
|
1989
|
+
responses:
|
|
1990
|
+
"205":
|
|
1991
|
+
description: The conversation has been deleted.
|
|
1918
1992
|
/spaces/{spaceId}/change-requests/{changeRequestId}/links:
|
|
1919
1993
|
get:
|
|
1920
1994
|
operationId: listChangeRequestLinks
|
|
@@ -2251,6 +2325,44 @@ paths:
|
|
|
2251
2325
|
application/json:
|
|
2252
2326
|
schema:
|
|
2253
2327
|
$ref: "#/components/schemas/Revision"
|
|
2328
|
+
post:
|
|
2329
|
+
operationId: updateChangeRequestContent
|
|
2330
|
+
summary: |
|
|
2331
|
+
Update the content of a change request. This endpoint allows you to update the content of a change request by providing an array of changes.
|
|
2332
|
+
Each change is ran sequentially. This operation will create a single new revision in the change request, apply all changes, and then point the change request to the new revision.
|
|
2333
|
+
This endpoint will only run if all changes in the request are valid. If any change fails, the entire request will fail and no changes will be applied.
|
|
2334
|
+
tags:
|
|
2335
|
+
- change-request-content
|
|
2336
|
+
security:
|
|
2337
|
+
- user: []
|
|
2338
|
+
parameters:
|
|
2339
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2340
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
2341
|
+
requestBody:
|
|
2342
|
+
required: true
|
|
2343
|
+
content:
|
|
2344
|
+
application/json:
|
|
2345
|
+
schema:
|
|
2346
|
+
type: object
|
|
2347
|
+
required:
|
|
2348
|
+
- changes
|
|
2349
|
+
properties:
|
|
2350
|
+
changes:
|
|
2351
|
+
type: array
|
|
2352
|
+
minItems: 1
|
|
2353
|
+
maxItems: 50
|
|
2354
|
+
items:
|
|
2355
|
+
$ref: "#/components/schemas/ChangeRequestContentChange"
|
|
2356
|
+
responses:
|
|
2357
|
+
"200":
|
|
2358
|
+
description: The change request has been updated
|
|
2359
|
+
content:
|
|
2360
|
+
application/json:
|
|
2361
|
+
schema:
|
|
2362
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
2363
|
+
"404":
|
|
2364
|
+
description: The change request could not be found.
|
|
2365
|
+
$ref: "#/components/responses/NotFoundError"
|
|
2254
2366
|
/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages:
|
|
2255
2367
|
get:
|
|
2256
2368
|
operationId: listPagesInChangeRequest
|
|
@@ -4050,9 +4162,6 @@ paths:
|
|
|
4050
4162
|
task:
|
|
4051
4163
|
type: object
|
|
4052
4164
|
description: Payload for the integration task
|
|
4053
|
-
additionalProperties:
|
|
4054
|
-
type: string
|
|
4055
|
-
x-typescript: unknown
|
|
4056
4165
|
schedule:
|
|
4057
4166
|
type: number
|
|
4058
4167
|
description: Number of seconds to wait before executing the task, defaults to 0
|
|
@@ -5269,6 +5378,15 @@ paths:
|
|
|
5269
5378
|
schema:
|
|
5270
5379
|
type: string
|
|
5271
5380
|
description: If defined, only change requests linked to this site topic will be returned.
|
|
5381
|
+
- name: finding
|
|
5382
|
+
in: query
|
|
5383
|
+
required: false
|
|
5384
|
+
schema:
|
|
5385
|
+
type: string
|
|
5386
|
+
enum:
|
|
5387
|
+
- none
|
|
5388
|
+
- all
|
|
5389
|
+
description: Controls whether change requests from triage are included. Pass `none` to exclude change requests from triage, or `all` to include them. Default is `none`.
|
|
5272
5390
|
- name: orderBy
|
|
5273
5391
|
in: query
|
|
5274
5392
|
required: false
|
|
@@ -6795,6 +6913,37 @@ paths:
|
|
|
6795
6913
|
description: Site did not exist
|
|
6796
6914
|
"205":
|
|
6797
6915
|
description: Site has been deleted
|
|
6916
|
+
/orgs/{organizationId}/sites/{siteId}/spaces/git/installations:
|
|
6917
|
+
get:
|
|
6918
|
+
operationId: listSiteGitSyncInstallations
|
|
6919
|
+
summary: List the Git Sync installations for a site and its spaces
|
|
6920
|
+
tags:
|
|
6921
|
+
- git
|
|
6922
|
+
security:
|
|
6923
|
+
- user: []
|
|
6924
|
+
parameters:
|
|
6925
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6926
|
+
- $ref: "#/components/parameters/siteId"
|
|
6927
|
+
responses:
|
|
6928
|
+
"200":
|
|
6929
|
+
description: Git Sync installations for the site and its spaces
|
|
6930
|
+
content:
|
|
6931
|
+
application/json:
|
|
6932
|
+
schema:
|
|
6933
|
+
type: object
|
|
6934
|
+
properties:
|
|
6935
|
+
items:
|
|
6936
|
+
type: array
|
|
6937
|
+
items:
|
|
6938
|
+
$ref: "#/components/schemas/GitSyncInstallation"
|
|
6939
|
+
required:
|
|
6940
|
+
- items
|
|
6941
|
+
"400":
|
|
6942
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6943
|
+
"401":
|
|
6944
|
+
$ref: "#/components/responses/UnauthorizedError"
|
|
6945
|
+
"404":
|
|
6946
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6798
6947
|
/orgs/{organizationId}/sites/{siteId}/adaptive-schema:
|
|
6799
6948
|
get:
|
|
6800
6949
|
operationId: getSiteAdaptiveSchema
|
|
@@ -7824,6 +7973,11 @@ paths:
|
|
|
7824
7973
|
properties:
|
|
7825
7974
|
siteSpaceId:
|
|
7826
7975
|
type: string
|
|
7976
|
+
goal:
|
|
7977
|
+
type: string
|
|
7978
|
+
maxLength: 1024
|
|
7979
|
+
description: |
|
|
7980
|
+
The end goal the agent is trying to accomplish on behalf of the user. Unlike the question, which is the immediate query, the goal describes the broader task or outcome the agent is working towards. GitBook uses this to steer the answer towards what is ultimately useful for that goal.
|
|
7827
7981
|
scope:
|
|
7828
7982
|
$ref: "#/components/schemas/SiteSearchScope"
|
|
7829
7983
|
session:
|
|
@@ -8074,6 +8228,11 @@ paths:
|
|
|
8074
8228
|
description: Filter findings by estimated severity.
|
|
8075
8229
|
schema:
|
|
8076
8230
|
$ref: "#/components/schemas/SiteFindingSeverity"
|
|
8231
|
+
- name: hasChangeRequests
|
|
8232
|
+
in: query
|
|
8233
|
+
description: Filter findings that have at least one associated change request.
|
|
8234
|
+
schema:
|
|
8235
|
+
type: boolean
|
|
8077
8236
|
responses:
|
|
8078
8237
|
"200":
|
|
8079
8238
|
description: OK
|
|
@@ -11086,7 +11245,30 @@ components:
|
|
|
11086
11245
|
authorizationUrl: https://oauth.gitbook.com/authorize
|
|
11087
11246
|
tokenUrl: https://oauth.gitbook.com/token
|
|
11088
11247
|
scopes:
|
|
11089
|
-
|
|
11248
|
+
user:read: Read your GitBook user profile.
|
|
11249
|
+
organization:read: Read organization settings and metadata.
|
|
11250
|
+
organization:write: Create and update organization settings.
|
|
11251
|
+
organization:members:read: Read organization members, invites and link invites.
|
|
11252
|
+
organization:members:write: Manage organization members, invites and link invites.
|
|
11253
|
+
organization:ask: Ask AI questions across an organization's content.
|
|
11254
|
+
organization:search: Search across an organization's content.
|
|
11255
|
+
space:read: Read spaces and their content.
|
|
11256
|
+
space:write: Create, update and delete spaces and their content, including imports.
|
|
11257
|
+
space:permissions:read: Read space permissions.
|
|
11258
|
+
space:permissions:write: Manage space permissions.
|
|
11259
|
+
change-request:merge: Merge change requests, publishing their changes to the space.
|
|
11260
|
+
site:read: Read sites and their settings.
|
|
11261
|
+
site:write: Create, update and delete sites, sections and their settings.
|
|
11262
|
+
site:publish: Publish and unpublish sites, controlling their public exposure.
|
|
11263
|
+
site:permissions:read: Read site permissions.
|
|
11264
|
+
site:permissions:write: Manage site permissions.
|
|
11265
|
+
site:auth:read: Read site authentication and security configuration.
|
|
11266
|
+
site:auth:write: Manage site authentication and security configuration.
|
|
11267
|
+
site:insights:read: Read site analytics and insights.
|
|
11268
|
+
site:ask: Ask AI questions across a site's content.
|
|
11269
|
+
site:search: Search across a site's content.
|
|
11270
|
+
openapi:read: Read OpenAPI specifications.
|
|
11271
|
+
openapi:write: Create, update and delete OpenAPI specifications.
|
|
11090
11272
|
parameters:
|
|
11091
11273
|
listPage:
|
|
11092
11274
|
name: page
|
|
@@ -11253,6 +11435,13 @@ components:
|
|
|
11253
11435
|
description: The unique ID of the change request review.
|
|
11254
11436
|
schema:
|
|
11255
11437
|
type: string
|
|
11438
|
+
conversationId:
|
|
11439
|
+
name: conversationId
|
|
11440
|
+
in: path
|
|
11441
|
+
required: true
|
|
11442
|
+
description: The unique ID of the agent conversation (its client-generated local id, or "default" for the default conversation)
|
|
11443
|
+
schema:
|
|
11444
|
+
type: string
|
|
11256
11445
|
listOrder:
|
|
11257
11446
|
name: order
|
|
11258
11447
|
in: query
|
|
@@ -14010,11 +14199,53 @@ components:
|
|
|
14010
14199
|
- type
|
|
14011
14200
|
- isVoid
|
|
14012
14201
|
- data
|
|
14202
|
+
DocumentBlockPrompt:
|
|
14203
|
+
type: object
|
|
14204
|
+
properties:
|
|
14205
|
+
object:
|
|
14206
|
+
type: string
|
|
14207
|
+
enum:
|
|
14208
|
+
- block
|
|
14209
|
+
type:
|
|
14210
|
+
type: string
|
|
14211
|
+
enum:
|
|
14212
|
+
- prompt
|
|
14213
|
+
key:
|
|
14214
|
+
type: string
|
|
14215
|
+
data:
|
|
14216
|
+
type: object
|
|
14217
|
+
properties:
|
|
14218
|
+
description:
|
|
14219
|
+
type: string
|
|
14220
|
+
icon:
|
|
14221
|
+
$ref: "#/components/schemas/Icon"
|
|
14222
|
+
openInAIProviders:
|
|
14223
|
+
type: boolean
|
|
14224
|
+
required:
|
|
14225
|
+
- description
|
|
14226
|
+
additionalProperties: false
|
|
14227
|
+
nodes:
|
|
14228
|
+
type: array
|
|
14229
|
+
items:
|
|
14230
|
+
oneOf:
|
|
14231
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
14232
|
+
minItems: 1
|
|
14233
|
+
maxItems: 1
|
|
14234
|
+
isVoid:
|
|
14235
|
+
type: boolean
|
|
14236
|
+
enum:
|
|
14237
|
+
- false
|
|
14238
|
+
required:
|
|
14239
|
+
- object
|
|
14240
|
+
- type
|
|
14241
|
+
- data
|
|
14242
|
+
- nodes
|
|
14013
14243
|
DocumentBlocksTopLevels:
|
|
14014
14244
|
oneOf:
|
|
14015
14245
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
14016
14246
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
14017
14247
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
14248
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
14018
14249
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
14019
14250
|
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
14020
14251
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
@@ -14523,6 +14754,7 @@ components:
|
|
|
14523
14754
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
14524
14755
|
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
14525
14756
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
14757
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
14526
14758
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
14527
14759
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
14528
14760
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
@@ -14599,6 +14831,7 @@ components:
|
|
|
14599
14831
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
14600
14832
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
14601
14833
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
14834
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
14602
14835
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
14603
14836
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
14604
14837
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
@@ -14736,6 +14969,10 @@ components:
|
|
|
14736
14969
|
properties:
|
|
14737
14970
|
ref:
|
|
14738
14971
|
$ref: "#/components/schemas/ContentRefOpenAPI"
|
|
14972
|
+
headless:
|
|
14973
|
+
type: boolean
|
|
14974
|
+
x-internal: true
|
|
14975
|
+
description: When true, the block omits its own title and description; the page renders them instead. Set by the computed one-operation-per-page layout; not intended to be set manually.
|
|
14739
14976
|
required:
|
|
14740
14977
|
- ref
|
|
14741
14978
|
isVoid:
|
|
@@ -14847,6 +15084,10 @@ components:
|
|
|
14847
15084
|
properties:
|
|
14848
15085
|
ref:
|
|
14849
15086
|
$ref: "#/components/schemas/ContentRefOpenAPI"
|
|
15087
|
+
headless:
|
|
15088
|
+
type: boolean
|
|
15089
|
+
x-internal: true
|
|
15090
|
+
description: When true, the block omits its own title and description; the page renders them instead. Set by the computed one-operation-per-page layout; not intended to be set manually.
|
|
14850
15091
|
required:
|
|
14851
15092
|
- ref
|
|
14852
15093
|
isVoid:
|
|
@@ -14891,6 +15132,7 @@ components:
|
|
|
14891
15132
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
14892
15133
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
14893
15134
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
15135
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
14894
15136
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
14895
15137
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
14896
15138
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
@@ -14959,6 +15201,7 @@ components:
|
|
|
14959
15201
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
14960
15202
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
14961
15203
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
15204
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
14962
15205
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
14963
15206
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
14964
15207
|
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
@@ -15043,6 +15286,7 @@ components:
|
|
|
15043
15286
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
15044
15287
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
15045
15288
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
15289
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
15046
15290
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
15047
15291
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
15048
15292
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
@@ -15119,6 +15363,7 @@ components:
|
|
|
15119
15363
|
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
15120
15364
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
15121
15365
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
15366
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
15122
15367
|
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
15123
15368
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
15124
15369
|
- $ref: "#/components/schemas/DocumentBlockImage"
|
|
@@ -16546,6 +16791,12 @@ components:
|
|
|
16546
16791
|
paidUltimateSites:
|
|
16547
16792
|
description: The number of paid ultimate sites on the current subscription.
|
|
16548
16793
|
type: number
|
|
16794
|
+
canChangeInterval:
|
|
16795
|
+
description: Whether changing billing interval is allowed
|
|
16796
|
+
type: boolean
|
|
16797
|
+
canUseSAML:
|
|
16798
|
+
description: Whether configuring SAML is allowed
|
|
16799
|
+
type: boolean
|
|
16549
16800
|
required:
|
|
16550
16801
|
- interval
|
|
16551
16802
|
- endDate
|
|
@@ -16554,6 +16805,8 @@ components:
|
|
|
16554
16805
|
- isScheduledToCancel
|
|
16555
16806
|
- pricing
|
|
16556
16807
|
- usageAddons
|
|
16808
|
+
- canChangeInterval
|
|
16809
|
+
- canUseSAML
|
|
16557
16810
|
BillingTrialStatus:
|
|
16558
16811
|
type: string
|
|
16559
16812
|
description: |
|
|
@@ -17525,6 +17778,29 @@ components:
|
|
|
17525
17778
|
required:
|
|
17526
17779
|
- kind
|
|
17527
17780
|
- team
|
|
17781
|
+
AgentConversation:
|
|
17782
|
+
type: object
|
|
17783
|
+
properties:
|
|
17784
|
+
object:
|
|
17785
|
+
type: string
|
|
17786
|
+
description: Type of Object, always equals to "agent-conversation"
|
|
17787
|
+
enum:
|
|
17788
|
+
- agent-conversation
|
|
17789
|
+
id:
|
|
17790
|
+
type: string
|
|
17791
|
+
description: The unique ID of the conversation. This is the client-generated identifier used to address the conversation; for the default conversation of a change request it is "default".
|
|
17792
|
+
title:
|
|
17793
|
+
type: string
|
|
17794
|
+
description: The title of the conversation, generated from the first message. Absent until generated.
|
|
17795
|
+
createdAt:
|
|
17796
|
+
$ref: "#/components/schemas/Timestamp"
|
|
17797
|
+
updatedAt:
|
|
17798
|
+
$ref: "#/components/schemas/Timestamp"
|
|
17799
|
+
required:
|
|
17800
|
+
- object
|
|
17801
|
+
- id
|
|
17802
|
+
- createdAt
|
|
17803
|
+
- updatedAt
|
|
17528
17804
|
PostCommentSchema:
|
|
17529
17805
|
type: object
|
|
17530
17806
|
properties:
|
|
@@ -17641,6 +17917,28 @@ components:
|
|
|
17641
17917
|
- comment
|
|
17642
17918
|
required:
|
|
17643
17919
|
- actionType
|
|
17920
|
+
ChangeRequestContentChangeUpdatePage:
|
|
17921
|
+
type: object
|
|
17922
|
+
description: Replace the document of an existing page with another document.
|
|
17923
|
+
required:
|
|
17924
|
+
- operation
|
|
17925
|
+
- page
|
|
17926
|
+
- document
|
|
17927
|
+
properties:
|
|
17928
|
+
operation:
|
|
17929
|
+
type: string
|
|
17930
|
+
enum:
|
|
17931
|
+
- update_page
|
|
17932
|
+
page:
|
|
17933
|
+
type: string
|
|
17934
|
+
description: ID of the page whose content should be updated.
|
|
17935
|
+
document:
|
|
17936
|
+
$ref: "#/components/schemas/Document"
|
|
17937
|
+
ChangeRequestContentChange:
|
|
17938
|
+
oneOf:
|
|
17939
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
17940
|
+
discriminator:
|
|
17941
|
+
propertyName: operation
|
|
17644
17942
|
RevisionPageType:
|
|
17645
17943
|
type: string
|
|
17646
17944
|
enum:
|
|
@@ -22600,28 +22898,184 @@ components:
|
|
|
22600
22898
|
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
22601
22899
|
required:
|
|
22602
22900
|
- type
|
|
22603
|
-
|
|
22604
|
-
|
|
22605
|
-
|
|
22606
|
-
|
|
22607
|
-
|
|
22608
|
-
|
|
22609
|
-
|
|
22610
|
-
|
|
22611
|
-
|
|
22612
|
-
|
|
22613
|
-
|
|
22614
|
-
|
|
22615
|
-
|
|
22616
|
-
|
|
22617
|
-
|
|
22901
|
+
GitSyncInstallationPriority:
|
|
22902
|
+
type: string
|
|
22903
|
+
description: Which side should be treated as the source of truth when Git Sync is configured.
|
|
22904
|
+
enum:
|
|
22905
|
+
- git
|
|
22906
|
+
- gitbook
|
|
22907
|
+
GitSyncInstallationSetupCommon:
|
|
22908
|
+
type: object
|
|
22909
|
+
description: Common setup fields for a Git Sync installation.
|
|
22910
|
+
properties:
|
|
22911
|
+
projectDirectory:
|
|
22912
|
+
type: string
|
|
22913
|
+
description: Optional directory used when syncing a monorepo subdirectory.
|
|
22914
|
+
commitMessageTemplate:
|
|
22915
|
+
type: string
|
|
22916
|
+
description: Optional template used when generating commit messages.
|
|
22917
|
+
previewExternalBranches:
|
|
22918
|
+
type: boolean
|
|
22919
|
+
default: false
|
|
22920
|
+
description: Whether previews should be generated from branches outside the configured branch.
|
|
22921
|
+
priority:
|
|
22922
|
+
$ref: "#/components/schemas/GitSyncInstallationPriority"
|
|
22923
|
+
GitSyncInstallationSetupGitHub:
|
|
22924
|
+
type: object
|
|
22925
|
+
description: GitHub provider configuration for a Git Sync installation.
|
|
22926
|
+
properties:
|
|
22927
|
+
provider:
|
|
22928
|
+
type: string
|
|
22929
|
+
enum:
|
|
22930
|
+
- github
|
|
22931
|
+
providerConfiguration:
|
|
22932
|
+
type: object
|
|
22933
|
+
description: GitHub specific configuration for the Git Sync installation.
|
|
22618
22934
|
properties:
|
|
22619
|
-
|
|
22935
|
+
repositoryId:
|
|
22936
|
+
type: number
|
|
22937
|
+
description: GitHub repository identifier.
|
|
22938
|
+
branch:
|
|
22620
22939
|
type: string
|
|
22621
|
-
|
|
22622
|
-
|
|
22623
|
-
|
|
22624
|
-
|
|
22940
|
+
pattern: ^refs/heads/.+$
|
|
22941
|
+
description: GitHub repository branch ref.
|
|
22942
|
+
required:
|
|
22943
|
+
- provider
|
|
22944
|
+
- providerConfiguration
|
|
22945
|
+
GitSyncInstallationSetupGitLab:
|
|
22946
|
+
type: object
|
|
22947
|
+
description: GitLab provider configuration for a Git Sync installation.
|
|
22948
|
+
properties:
|
|
22949
|
+
provider:
|
|
22950
|
+
type: string
|
|
22951
|
+
enum:
|
|
22952
|
+
- gitlab
|
|
22953
|
+
providerConfiguration:
|
|
22954
|
+
type: object
|
|
22955
|
+
description: GitLab specific configuration for the Git Sync installation.
|
|
22956
|
+
properties:
|
|
22957
|
+
projectId:
|
|
22958
|
+
type: number
|
|
22959
|
+
description: GitLab project identifier.
|
|
22960
|
+
accessToken:
|
|
22961
|
+
type: string
|
|
22962
|
+
description: GitLab access token with appropriate scopes for repository access.
|
|
22963
|
+
customInstanceURL:
|
|
22964
|
+
oneOf:
|
|
22965
|
+
- type: string
|
|
22966
|
+
- type: "null"
|
|
22967
|
+
description: Custom GitLab instance URL, if using a self-hosted GitLab. Use null to clear a self-hosted URL.
|
|
22968
|
+
branch:
|
|
22969
|
+
type: string
|
|
22970
|
+
pattern: ^refs/heads/.+$
|
|
22971
|
+
description: GitLab repository branch ref.
|
|
22972
|
+
required:
|
|
22973
|
+
- provider
|
|
22974
|
+
- providerConfiguration
|
|
22975
|
+
GitSyncInstallationSetup:
|
|
22976
|
+
description: Provider-specific setup payload for a Git Sync installation.
|
|
22977
|
+
allOf:
|
|
22978
|
+
- $ref: "#/components/schemas/GitSyncInstallationSetupCommon"
|
|
22979
|
+
- oneOf:
|
|
22980
|
+
- $ref: "#/components/schemas/GitSyncInstallationSetupGitHub"
|
|
22981
|
+
- $ref: "#/components/schemas/GitSyncInstallationSetupGitLab"
|
|
22982
|
+
discriminator:
|
|
22983
|
+
propertyName: provider
|
|
22984
|
+
GitSyncInstallationTarget:
|
|
22985
|
+
description: Resource targeted by a Git Sync installation.
|
|
22986
|
+
oneOf:
|
|
22987
|
+
- type: object
|
|
22988
|
+
properties:
|
|
22989
|
+
type:
|
|
22990
|
+
type: string
|
|
22991
|
+
enum:
|
|
22992
|
+
- space
|
|
22993
|
+
description: Type of resource targeted by the Git Sync installation.
|
|
22994
|
+
spaceId:
|
|
22995
|
+
type: string
|
|
22996
|
+
description: Unique identifier of the space targeted by the Git Sync installation.
|
|
22997
|
+
required:
|
|
22998
|
+
- type
|
|
22999
|
+
- spaceId
|
|
23000
|
+
- type: object
|
|
23001
|
+
properties:
|
|
23002
|
+
type:
|
|
23003
|
+
type: string
|
|
23004
|
+
enum:
|
|
23005
|
+
- site
|
|
23006
|
+
description: Type of resource targeted by the Git Sync installation.
|
|
23007
|
+
siteId:
|
|
23008
|
+
type: string
|
|
23009
|
+
description: Unique identifier of the site targeted by the Git Sync installation.
|
|
23010
|
+
required:
|
|
23011
|
+
- type
|
|
23012
|
+
- siteId
|
|
23013
|
+
discriminator:
|
|
23014
|
+
propertyName: type
|
|
23015
|
+
GitSyncInstallation:
|
|
23016
|
+
allOf:
|
|
23017
|
+
- $ref: "#/components/schemas/GitSyncInstallationSetup"
|
|
23018
|
+
- type: object
|
|
23019
|
+
properties:
|
|
23020
|
+
object:
|
|
23021
|
+
type: string
|
|
23022
|
+
enum:
|
|
23023
|
+
- git-sync-installation
|
|
23024
|
+
id:
|
|
23025
|
+
type: string
|
|
23026
|
+
description: Unique identifier of the Git Sync installation.
|
|
23027
|
+
target:
|
|
23028
|
+
$ref: "#/components/schemas/GitSyncInstallationTarget"
|
|
23029
|
+
status:
|
|
23030
|
+
$ref: "#/components/schemas/GitSyncInstallationStatus"
|
|
23031
|
+
createdAt:
|
|
23032
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23033
|
+
createdBy:
|
|
23034
|
+
type: string
|
|
23035
|
+
description: Identifier of the user who created the installation.
|
|
23036
|
+
updatedAt:
|
|
23037
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23038
|
+
urls:
|
|
23039
|
+
type: object
|
|
23040
|
+
description: URLs associated with the installation
|
|
23041
|
+
properties:
|
|
23042
|
+
location:
|
|
23043
|
+
type: string
|
|
23044
|
+
description: URL of the installation endpoint in the API
|
|
23045
|
+
format: uri
|
|
23046
|
+
required:
|
|
23047
|
+
- location
|
|
23048
|
+
required:
|
|
23049
|
+
- object
|
|
23050
|
+
- id
|
|
23051
|
+
- target
|
|
23052
|
+
- status
|
|
23053
|
+
- createdAt
|
|
23054
|
+
- createdBy
|
|
23055
|
+
- updatedAt
|
|
23056
|
+
- urls
|
|
23057
|
+
SiteAdaptiveDeterministicJSONSchemaPrimitives:
|
|
23058
|
+
oneOf:
|
|
23059
|
+
- type: object
|
|
23060
|
+
properties:
|
|
23061
|
+
type:
|
|
23062
|
+
type: string
|
|
23063
|
+
enum:
|
|
23064
|
+
- boolean
|
|
23065
|
+
description:
|
|
23066
|
+
type: string
|
|
23067
|
+
required:
|
|
23068
|
+
- type
|
|
23069
|
+
- description
|
|
23070
|
+
additionalProperties: false
|
|
23071
|
+
- type: object
|
|
23072
|
+
properties:
|
|
23073
|
+
type:
|
|
23074
|
+
type: string
|
|
23075
|
+
enum:
|
|
23076
|
+
- string
|
|
23077
|
+
enum:
|
|
23078
|
+
type: array
|
|
22625
23079
|
items:
|
|
22626
23080
|
type: string
|
|
22627
23081
|
description:
|
|
@@ -23434,6 +23888,7 @@ components:
|
|
|
23434
23888
|
- externalAI
|
|
23435
23889
|
- markdown
|
|
23436
23890
|
- mcp
|
|
23891
|
+
- items
|
|
23437
23892
|
externalLinks:
|
|
23438
23893
|
type: object
|
|
23439
23894
|
properties:
|
|
@@ -23822,6 +24277,7 @@ components:
|
|
|
23822
24277
|
- builtin:github-discussions
|
|
23823
24278
|
- builtin:github-issues
|
|
23824
24279
|
- builtin:intercom
|
|
24280
|
+
- builtin:zendesk
|
|
23825
24281
|
ContextRecordTitle:
|
|
23826
24282
|
type: string
|
|
23827
24283
|
description: Title for the context record
|
|
@@ -24437,6 +24893,31 @@ components:
|
|
|
24437
24893
|
required:
|
|
24438
24894
|
- connector
|
|
24439
24895
|
- setupSettings
|
|
24896
|
+
- type: object
|
|
24897
|
+
properties:
|
|
24898
|
+
connector:
|
|
24899
|
+
type: string
|
|
24900
|
+
enum:
|
|
24901
|
+
- builtin:zendesk
|
|
24902
|
+
setupSettings:
|
|
24903
|
+
type: object
|
|
24904
|
+
properties:
|
|
24905
|
+
subdomain:
|
|
24906
|
+
type: string
|
|
24907
|
+
minLength: 1
|
|
24908
|
+
email:
|
|
24909
|
+
type: string
|
|
24910
|
+
minLength: 1
|
|
24911
|
+
apiToken:
|
|
24912
|
+
type: string
|
|
24913
|
+
minLength: 1
|
|
24914
|
+
required:
|
|
24915
|
+
- subdomain
|
|
24916
|
+
- email
|
|
24917
|
+
- apiToken
|
|
24918
|
+
required:
|
|
24919
|
+
- connector
|
|
24920
|
+
- setupSettings
|
|
24440
24921
|
ContextConnection:
|
|
24441
24922
|
allOf:
|
|
24442
24923
|
- type: object
|
|
@@ -28712,6 +29193,49 @@ components:
|
|
|
28712
29193
|
- organizations
|
|
28713
29194
|
- collections
|
|
28714
29195
|
- spaces
|
|
29196
|
+
OrganizationBillingDateOverride:
|
|
29197
|
+
description: Date-based billing override value, either indefinite or a timestamp.
|
|
29198
|
+
oneOf:
|
|
29199
|
+
- type: boolean
|
|
29200
|
+
enum:
|
|
29201
|
+
- true
|
|
29202
|
+
- $ref: "#/components/schemas/Timestamp"
|
|
29203
|
+
OrganizationBillingNumericOverride:
|
|
29204
|
+
type: integer
|
|
29205
|
+
minimum: 0
|
|
29206
|
+
description: Current numeric billing override, when set.
|
|
29207
|
+
OrganizationBillingOverrides:
|
|
29208
|
+
type: object
|
|
29209
|
+
properties:
|
|
29210
|
+
overrides:
|
|
29211
|
+
type: object
|
|
29212
|
+
properties:
|
|
29213
|
+
frozenInterval:
|
|
29214
|
+
description: Current interval-change override, when set.
|
|
29215
|
+
$ref: "#/components/schemas/OrganizationBillingDateOverride"
|
|
29216
|
+
enableSAML:
|
|
29217
|
+
description: Current SAML override, when set.
|
|
29218
|
+
$ref: "#/components/schemas/OrganizationBillingDateOverride"
|
|
29219
|
+
minUsers:
|
|
29220
|
+
description: Current minimum users override, when set.
|
|
29221
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29222
|
+
maxUsers:
|
|
29223
|
+
description: Current maximum users override, when set.
|
|
29224
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29225
|
+
minPremiumSites:
|
|
29226
|
+
description: Current minimum premium sites override, when set.
|
|
29227
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29228
|
+
maxPremiumSites:
|
|
29229
|
+
description: Current maximum premium sites override, when set.
|
|
29230
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29231
|
+
minUltimateSites:
|
|
29232
|
+
description: Current minimum ultimate sites override, when set.
|
|
29233
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29234
|
+
maxUltimateSites:
|
|
29235
|
+
description: Current maximum ultimate sites override, when set.
|
|
29236
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29237
|
+
required:
|
|
29238
|
+
- overrides
|
|
28715
29239
|
BackOfficeSite:
|
|
28716
29240
|
allOf:
|
|
28717
29241
|
- $ref: "#/components/schemas/Site"
|
|
@@ -28839,191 +29363,35 @@ components:
|
|
|
28839
29363
|
enum:
|
|
28840
29364
|
- github
|
|
28841
29365
|
- gitlab
|
|
28842
|
-
|
|
28843
|
-
description: Resource targeted by a Git Sync installation.
|
|
28844
|
-
oneOf:
|
|
28845
|
-
- type: object
|
|
28846
|
-
properties:
|
|
28847
|
-
type:
|
|
28848
|
-
type: string
|
|
28849
|
-
enum:
|
|
28850
|
-
- space
|
|
28851
|
-
description: Type of resource targeted by the Git Sync installation.
|
|
28852
|
-
spaceId:
|
|
28853
|
-
type: string
|
|
28854
|
-
description: Unique identifier of the space targeted by the Git Sync installation.
|
|
28855
|
-
required:
|
|
28856
|
-
- type
|
|
28857
|
-
- spaceId
|
|
28858
|
-
- type: object
|
|
28859
|
-
properties:
|
|
28860
|
-
type:
|
|
28861
|
-
type: string
|
|
28862
|
-
enum:
|
|
28863
|
-
- site
|
|
28864
|
-
description: Type of resource targeted by the Git Sync installation.
|
|
28865
|
-
siteId:
|
|
28866
|
-
type: string
|
|
28867
|
-
description: Unique identifier of the site targeted by the Git Sync installation.
|
|
28868
|
-
required:
|
|
28869
|
-
- type
|
|
28870
|
-
- siteId
|
|
28871
|
-
discriminator:
|
|
28872
|
-
propertyName: type
|
|
28873
|
-
GitSyncInstallationPriority:
|
|
28874
|
-
type: string
|
|
28875
|
-
description: Which side should be treated as the source of truth when Git Sync is configured.
|
|
28876
|
-
enum:
|
|
28877
|
-
- git
|
|
28878
|
-
- gitbook
|
|
28879
|
-
GitSyncInstallationSetupCommon:
|
|
29366
|
+
GitSyncGitHubRepository:
|
|
28880
29367
|
type: object
|
|
28881
|
-
description:
|
|
29368
|
+
description: GitHub repository that can be selected for Git Sync.
|
|
28882
29369
|
properties:
|
|
28883
|
-
|
|
29370
|
+
id:
|
|
29371
|
+
type: number
|
|
29372
|
+
accountName:
|
|
28884
29373
|
type: string
|
|
28885
|
-
|
|
28886
|
-
commitMessageTemplate:
|
|
29374
|
+
repositoryName:
|
|
28887
29375
|
type: string
|
|
28888
|
-
|
|
28889
|
-
|
|
28890
|
-
|
|
28891
|
-
|
|
28892
|
-
|
|
28893
|
-
|
|
28894
|
-
|
|
28895
|
-
|
|
29376
|
+
fullName:
|
|
29377
|
+
type: string
|
|
29378
|
+
defaultBranch:
|
|
29379
|
+
type:
|
|
29380
|
+
- string
|
|
29381
|
+
- "null"
|
|
29382
|
+
required:
|
|
29383
|
+
- id
|
|
29384
|
+
- accountName
|
|
29385
|
+
- repositoryName
|
|
29386
|
+
- fullName
|
|
29387
|
+
- defaultBranch
|
|
29388
|
+
GitSyncBranch:
|
|
28896
29389
|
type: object
|
|
28897
|
-
description:
|
|
29390
|
+
description: Branch that can be used for Git Sync.
|
|
28898
29391
|
properties:
|
|
28899
|
-
|
|
28900
|
-
type: string
|
|
28901
|
-
|
|
28902
|
-
- github
|
|
28903
|
-
providerConfiguration:
|
|
28904
|
-
type: object
|
|
28905
|
-
description: GitHub specific configuration for the Git Sync installation.
|
|
28906
|
-
properties:
|
|
28907
|
-
repositoryId:
|
|
28908
|
-
type: number
|
|
28909
|
-
description: GitHub repository identifier.
|
|
28910
|
-
branch:
|
|
28911
|
-
type: string
|
|
28912
|
-
pattern: ^refs/heads/.+$
|
|
28913
|
-
description: GitHub repository branch ref.
|
|
28914
|
-
required:
|
|
28915
|
-
- provider
|
|
28916
|
-
- providerConfiguration
|
|
28917
|
-
GitSyncInstallationSetupGitLab:
|
|
28918
|
-
type: object
|
|
28919
|
-
description: GitLab provider configuration for a Git Sync installation.
|
|
28920
|
-
properties:
|
|
28921
|
-
provider:
|
|
28922
|
-
type: string
|
|
28923
|
-
enum:
|
|
28924
|
-
- gitlab
|
|
28925
|
-
providerConfiguration:
|
|
28926
|
-
type: object
|
|
28927
|
-
description: GitLab specific configuration for the Git Sync installation.
|
|
28928
|
-
properties:
|
|
28929
|
-
projectId:
|
|
28930
|
-
type: number
|
|
28931
|
-
description: GitLab project identifier.
|
|
28932
|
-
accessToken:
|
|
28933
|
-
type: string
|
|
28934
|
-
description: GitLab access token with appropriate scopes for repository access.
|
|
28935
|
-
customInstanceURL:
|
|
28936
|
-
oneOf:
|
|
28937
|
-
- type: string
|
|
28938
|
-
- type: "null"
|
|
28939
|
-
description: Custom GitLab instance URL, if using a self-hosted GitLab. Use null to clear a self-hosted URL.
|
|
28940
|
-
branch:
|
|
28941
|
-
type: string
|
|
28942
|
-
pattern: ^refs/heads/.+$
|
|
28943
|
-
description: GitLab repository branch ref.
|
|
28944
|
-
required:
|
|
28945
|
-
- provider
|
|
28946
|
-
- providerConfiguration
|
|
28947
|
-
GitSyncInstallationSetup:
|
|
28948
|
-
description: Provider-specific setup payload for a Git Sync installation.
|
|
28949
|
-
allOf:
|
|
28950
|
-
- $ref: "#/components/schemas/GitSyncInstallationSetupCommon"
|
|
28951
|
-
- oneOf:
|
|
28952
|
-
- $ref: "#/components/schemas/GitSyncInstallationSetupGitHub"
|
|
28953
|
-
- $ref: "#/components/schemas/GitSyncInstallationSetupGitLab"
|
|
28954
|
-
discriminator:
|
|
28955
|
-
propertyName: provider
|
|
28956
|
-
GitSyncInstallation:
|
|
28957
|
-
allOf:
|
|
28958
|
-
- $ref: "#/components/schemas/GitSyncInstallationSetup"
|
|
28959
|
-
- type: object
|
|
28960
|
-
properties:
|
|
28961
|
-
object:
|
|
28962
|
-
type: string
|
|
28963
|
-
enum:
|
|
28964
|
-
- git-sync-installation
|
|
28965
|
-
id:
|
|
28966
|
-
type: string
|
|
28967
|
-
description: Unique identifier of the Git Sync installation.
|
|
28968
|
-
target:
|
|
28969
|
-
$ref: "#/components/schemas/GitSyncInstallationTarget"
|
|
28970
|
-
status:
|
|
28971
|
-
$ref: "#/components/schemas/GitSyncInstallationStatus"
|
|
28972
|
-
createdAt:
|
|
28973
|
-
$ref: "#/components/schemas/Timestamp"
|
|
28974
|
-
createdBy:
|
|
28975
|
-
type: string
|
|
28976
|
-
description: Identifier of the user who created the installation.
|
|
28977
|
-
updatedAt:
|
|
28978
|
-
$ref: "#/components/schemas/Timestamp"
|
|
28979
|
-
urls:
|
|
28980
|
-
type: object
|
|
28981
|
-
description: URLs associated with the installation
|
|
28982
|
-
properties:
|
|
28983
|
-
location:
|
|
28984
|
-
type: string
|
|
28985
|
-
description: URL of the installation endpoint in the API
|
|
28986
|
-
format: uri
|
|
28987
|
-
required:
|
|
28988
|
-
- location
|
|
28989
|
-
required:
|
|
28990
|
-
- object
|
|
28991
|
-
- id
|
|
28992
|
-
- target
|
|
28993
|
-
- status
|
|
28994
|
-
- createdAt
|
|
28995
|
-
- createdBy
|
|
28996
|
-
- updatedAt
|
|
28997
|
-
- urls
|
|
28998
|
-
GitSyncGitHubRepository:
|
|
28999
|
-
type: object
|
|
29000
|
-
description: GitHub repository that can be selected for Git Sync.
|
|
29001
|
-
properties:
|
|
29002
|
-
id:
|
|
29003
|
-
type: number
|
|
29004
|
-
accountName:
|
|
29005
|
-
type: string
|
|
29006
|
-
repositoryName:
|
|
29007
|
-
type: string
|
|
29008
|
-
fullName:
|
|
29009
|
-
type: string
|
|
29010
|
-
defaultBranch:
|
|
29011
|
-
type:
|
|
29012
|
-
- string
|
|
29013
|
-
- "null"
|
|
29014
|
-
required:
|
|
29015
|
-
- id
|
|
29016
|
-
- accountName
|
|
29017
|
-
- repositoryName
|
|
29018
|
-
- fullName
|
|
29019
|
-
- defaultBranch
|
|
29020
|
-
GitSyncBranch:
|
|
29021
|
-
type: object
|
|
29022
|
-
description: Branch that can be used for Git Sync.
|
|
29023
|
-
properties:
|
|
29024
|
-
name:
|
|
29025
|
-
type: string
|
|
29026
|
-
ref:
|
|
29392
|
+
name:
|
|
29393
|
+
type: string
|
|
29394
|
+
ref:
|
|
29027
29395
|
type: string
|
|
29028
29396
|
required:
|
|
29029
29397
|
- name
|
|
@@ -29359,110 +29727,850 @@ components:
|
|
|
29359
29727
|
InputFile:
|
|
29360
29728
|
type: object
|
|
29361
29729
|
properties:
|
|
29362
|
-
id:
|
|
29363
|
-
type: string
|
|
29364
|
-
name:
|
|
29730
|
+
id:
|
|
29731
|
+
type: string
|
|
29732
|
+
name:
|
|
29733
|
+
type: string
|
|
29734
|
+
contentType:
|
|
29735
|
+
type: string
|
|
29736
|
+
downloadURL:
|
|
29737
|
+
type: string
|
|
29738
|
+
size:
|
|
29739
|
+
type: number
|
|
29740
|
+
dimensions:
|
|
29741
|
+
type: object
|
|
29742
|
+
description: For images, it contains the dimensions of it.
|
|
29743
|
+
properties:
|
|
29744
|
+
width:
|
|
29745
|
+
type: number
|
|
29746
|
+
height:
|
|
29747
|
+
type: number
|
|
29748
|
+
required:
|
|
29749
|
+
- width
|
|
29750
|
+
- height
|
|
29751
|
+
required:
|
|
29752
|
+
- name
|
|
29753
|
+
- contentType
|
|
29754
|
+
- downloadURL
|
|
29755
|
+
- size
|
|
29756
|
+
RevisionSemanticChangeType:
|
|
29757
|
+
type: string
|
|
29758
|
+
description: The type of semantic change.
|
|
29759
|
+
enum:
|
|
29760
|
+
- page_created
|
|
29761
|
+
- page_edited
|
|
29762
|
+
- page_deleted
|
|
29763
|
+
- page_moved
|
|
29764
|
+
- file_created
|
|
29765
|
+
- file_edited
|
|
29766
|
+
- file_deleted
|
|
29767
|
+
- custom_fields_edited
|
|
29768
|
+
- tag_created
|
|
29769
|
+
- tag_deleted
|
|
29770
|
+
- tag_edited
|
|
29771
|
+
GitSyncOperationState:
|
|
29772
|
+
type: string
|
|
29773
|
+
description: |
|
|
29774
|
+
* `running`: The operation is still running
|
|
29775
|
+
* `failure`: The operation failed
|
|
29776
|
+
* `success`: The operation was successful
|
|
29777
|
+
enum:
|
|
29778
|
+
- running
|
|
29779
|
+
- failure
|
|
29780
|
+
- success
|
|
29781
|
+
GitSyncOperationDirection:
|
|
29782
|
+
type: string
|
|
29783
|
+
enum:
|
|
29784
|
+
- export
|
|
29785
|
+
- import
|
|
29786
|
+
GitSyncOperationStage:
|
|
29787
|
+
type: string
|
|
29788
|
+
description: |
|
|
29789
|
+
Core stages of a Git Sync process. This is not exhaustive, but should cover
|
|
29790
|
+
the important ones.
|
|
29791
|
+
- repo_fetch: Includes fetching the latest repository contents from remote provider.
|
|
29792
|
+
- config_check: Includes checking if the YAML config is valid, etc.
|
|
29793
|
+
- content_process: Includes processing of pages & files to be imported/exported.
|
|
29794
|
+
- finalize: Includes finalizing the sync process like creating the commit on git, or
|
|
29795
|
+
creating a new revision.
|
|
29796
|
+
enum:
|
|
29797
|
+
- repo_fetch
|
|
29798
|
+
- config_check
|
|
29799
|
+
- content_process
|
|
29800
|
+
- finalize
|
|
29801
|
+
GitSyncOperation:
|
|
29802
|
+
type: object
|
|
29803
|
+
properties:
|
|
29804
|
+
state:
|
|
29805
|
+
$ref: "#/components/schemas/GitSyncOperationState"
|
|
29806
|
+
direction:
|
|
29807
|
+
$ref: "#/components/schemas/GitSyncOperationDirection"
|
|
29808
|
+
stage:
|
|
29809
|
+
$ref: "#/components/schemas/GitSyncOperationStage"
|
|
29810
|
+
dispatchedTasks:
|
|
29811
|
+
type: number
|
|
29812
|
+
completedTasks:
|
|
29813
|
+
type: number
|
|
29814
|
+
startedAt:
|
|
29815
|
+
description: Date when the operation was started
|
|
29816
|
+
$ref: "#/components/schemas/Timestamp"
|
|
29817
|
+
updatedAt:
|
|
29818
|
+
description: Date when the operation was last updated
|
|
29819
|
+
$ref: "#/components/schemas/Timestamp"
|
|
29820
|
+
completedAt:
|
|
29821
|
+
description: Date when the operation was successful (when state is `success`)
|
|
29822
|
+
$ref: "#/components/schemas/Timestamp"
|
|
29823
|
+
error:
|
|
29824
|
+
type: string
|
|
29825
|
+
description: Error details, defined if state is `failure`.
|
|
29826
|
+
required:
|
|
29827
|
+
- state
|
|
29828
|
+
- direction
|
|
29829
|
+
- stage
|
|
29830
|
+
- dispatchedTasks
|
|
29831
|
+
- completedTasks
|
|
29832
|
+
- startedAt
|
|
29833
|
+
- updatedAt
|
|
29834
|
+
GitSyncSiteStructureSectionGroup:
|
|
29835
|
+
type: object
|
|
29836
|
+
additionalProperties: false
|
|
29837
|
+
description: |
|
|
29838
|
+
A section group — a container that nests sections (and other section
|
|
29839
|
+
groups). Discriminated by `type: section-group`. Up to one level of nested
|
|
29840
|
+
section groups is allowed.
|
|
29841
|
+
properties:
|
|
29842
|
+
type:
|
|
29843
|
+
type: string
|
|
29844
|
+
enum:
|
|
29845
|
+
- section-group
|
|
29846
|
+
description: Discriminator for a section group node.
|
|
29847
|
+
key:
|
|
29848
|
+
type: string
|
|
29849
|
+
description: |
|
|
29850
|
+
Stable identifier for this section group, used as the Git Sync key.
|
|
29851
|
+
Must be unique amongst all other section groups of the site. For
|
|
29852
|
+
example: `section-group-product` or `section-group-1`.
|
|
29853
|
+
minLength: 1
|
|
29854
|
+
title:
|
|
29855
|
+
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
29856
|
+
localizedTitle:
|
|
29857
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
29858
|
+
icon:
|
|
29859
|
+
$ref: "#/components/schemas/Icon"
|
|
29860
|
+
draft:
|
|
29861
|
+
type: boolean
|
|
29862
|
+
description: Whether the section group is draft and not live.
|
|
29863
|
+
children:
|
|
29864
|
+
type: array
|
|
29865
|
+
description: Section or section group nodes nested under this group.
|
|
29866
|
+
items:
|
|
29867
|
+
oneOf:
|
|
29868
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSectionGroup"
|
|
29869
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSection"
|
|
29870
|
+
required:
|
|
29871
|
+
- type
|
|
29872
|
+
- key
|
|
29873
|
+
- title
|
|
29874
|
+
GitSyncSiteStructureSpace:
|
|
29875
|
+
type: object
|
|
29876
|
+
additionalProperties: false
|
|
29877
|
+
description: |
|
|
29878
|
+
A space — a single content unit in the site's navigation tree. Discriminated
|
|
29879
|
+
by `type: space`.
|
|
29880
|
+
|
|
29881
|
+
The space's content lives in the synced repository at the directory pointed
|
|
29882
|
+
to by `content.directory`. Hierarchy comes from where the space appears in
|
|
29883
|
+
the YAML (under a section, a section group, or at the root), not from an
|
|
29884
|
+
explicit parent reference.
|
|
29885
|
+
properties:
|
|
29886
|
+
type:
|
|
29887
|
+
type: string
|
|
29888
|
+
enum:
|
|
29889
|
+
- space
|
|
29890
|
+
description: Discriminator for a space node.
|
|
29891
|
+
key:
|
|
29892
|
+
type: string
|
|
29893
|
+
description: |
|
|
29894
|
+
Stable identifier for this space, used as the Git Sync key. Must be
|
|
29895
|
+
unique amongst all other spaces of the site. For example: `space-docs`
|
|
29896
|
+
or `space-1`.
|
|
29897
|
+
minLength: 1
|
|
29898
|
+
title:
|
|
29899
|
+
type: string
|
|
29900
|
+
minLength: 1
|
|
29901
|
+
localizedTitle:
|
|
29902
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
29903
|
+
path:
|
|
29904
|
+
$ref: "#/components/schemas/SiteSpacePath"
|
|
29905
|
+
default:
|
|
29906
|
+
type: boolean
|
|
29907
|
+
description: Whether this is the default space for the site.
|
|
29908
|
+
hidden:
|
|
29909
|
+
type: boolean
|
|
29910
|
+
description: Whether the space is hidden from the site's navigation.
|
|
29911
|
+
draft:
|
|
29912
|
+
type: boolean
|
|
29913
|
+
description: Whether the space is draft and not live.
|
|
29914
|
+
condition:
|
|
29915
|
+
$ref: "#/components/schemas/Expression"
|
|
29916
|
+
content:
|
|
29917
|
+
type: object
|
|
29918
|
+
additionalProperties: false
|
|
29919
|
+
description: Where the space's content lives in the synced repository.
|
|
29920
|
+
properties:
|
|
29921
|
+
directory:
|
|
29922
|
+
type: string
|
|
29923
|
+
description: Repository-relative directory containing this space's content.
|
|
29924
|
+
minLength: 1
|
|
29925
|
+
language:
|
|
29926
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
29927
|
+
required:
|
|
29928
|
+
- directory
|
|
29929
|
+
required:
|
|
29930
|
+
- type
|
|
29931
|
+
- key
|
|
29932
|
+
- title
|
|
29933
|
+
- path
|
|
29934
|
+
- content
|
|
29935
|
+
GitSyncSiteStructureSection:
|
|
29936
|
+
type: object
|
|
29937
|
+
additionalProperties: false
|
|
29938
|
+
description: |
|
|
29939
|
+
A section — a group of spaces sharing a top-level navigation entry.
|
|
29940
|
+
Discriminated by `type: section`.
|
|
29941
|
+
|
|
29942
|
+
Spaces inside a section are listed inline under `children`. A site with
|
|
29943
|
+
sections must mark exactly one section with `default: true`.
|
|
29944
|
+
properties:
|
|
29945
|
+
type:
|
|
29946
|
+
type: string
|
|
29947
|
+
enum:
|
|
29948
|
+
- section
|
|
29949
|
+
description: Discriminator for a section node.
|
|
29950
|
+
key:
|
|
29951
|
+
type: string
|
|
29952
|
+
description: |
|
|
29953
|
+
Stable identifier for this section, used as the Git Sync key. Must be
|
|
29954
|
+
unique amongst all other sections of the site. For example:
|
|
29955
|
+
`section-guides` or `section-1`.
|
|
29956
|
+
minLength: 1
|
|
29957
|
+
title:
|
|
29958
|
+
$ref: "#/components/schemas/SiteSectionTitle"
|
|
29959
|
+
localizedTitle:
|
|
29960
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
29961
|
+
description:
|
|
29962
|
+
$ref: "#/components/schemas/SiteSectionDescription"
|
|
29963
|
+
localizedDescription:
|
|
29964
|
+
$ref: "#/components/schemas/LocalizedString256"
|
|
29965
|
+
icon:
|
|
29966
|
+
$ref: "#/components/schemas/Icon"
|
|
29967
|
+
default:
|
|
29968
|
+
type: boolean
|
|
29969
|
+
description: Whether this is the default section for the site.
|
|
29970
|
+
draft:
|
|
29971
|
+
type: boolean
|
|
29972
|
+
description: Whether the section is draft and not live.
|
|
29973
|
+
path:
|
|
29974
|
+
$ref: "#/components/schemas/SiteSectionPath"
|
|
29975
|
+
condition:
|
|
29976
|
+
$ref: "#/components/schemas/Expression"
|
|
29977
|
+
children:
|
|
29978
|
+
type: array
|
|
29979
|
+
description: Space nodes nested under this section.
|
|
29980
|
+
items:
|
|
29981
|
+
$ref: "#/components/schemas/GitSyncSiteStructureSpace"
|
|
29982
|
+
required:
|
|
29983
|
+
- type
|
|
29984
|
+
- key
|
|
29985
|
+
- title
|
|
29986
|
+
- path
|
|
29987
|
+
GitSyncSiteStructureNode:
|
|
29988
|
+
description: |
|
|
29989
|
+
A single node in a Git Sync site structure tree — a section group, a
|
|
29990
|
+
section, or a space, discriminated by `type`.
|
|
29991
|
+
oneOf:
|
|
29992
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSectionGroup"
|
|
29993
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSection"
|
|
29994
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSpace"
|
|
29995
|
+
GitSyncSiteStructure:
|
|
29996
|
+
type: array
|
|
29997
|
+
description: |
|
|
29998
|
+
Hierarchical structure of a site in a Git Sync YAML. Each entry is one of
|
|
29999
|
+
three node types: a section group, a section, or a space.
|
|
30000
|
+
items:
|
|
30001
|
+
$ref: "#/components/schemas/GitSyncSiteStructureNode"
|
|
30002
|
+
GitSyncSiteCustomizationFontSource:
|
|
30003
|
+
type: string
|
|
30004
|
+
description: |
|
|
30005
|
+
Reserved repository-relative path to the font file:
|
|
30006
|
+
`.gitbook/assets/<key>-<weight>.<ext>`, where `<key>` is the parent
|
|
30007
|
+
font definition's `key`, `<weight>` is this face's `weight`, and
|
|
30008
|
+
`<ext>` is one of `woff2`, `woff`.
|
|
30009
|
+
|
|
30010
|
+
For example, a font with `key: brand` and a `700` face is read from
|
|
30011
|
+
`.gitbook/assets/brand-700.woff2`. Any other path is rejected.
|
|
30012
|
+
minLength: 1
|
|
30013
|
+
GitSyncSiteCustomizationFontDefinition:
|
|
30014
|
+
type: object
|
|
30015
|
+
description: |
|
|
30016
|
+
Custom font definition for a `site.fonts[]` entry. Referenced from
|
|
30017
|
+
`customization.styling.font` or `customization.styling.monospaceFont` via
|
|
30018
|
+
its `key`.
|
|
30019
|
+
|
|
30020
|
+
Rules enforced on a definition:
|
|
30021
|
+
- It must declare exactly one face for the `400` weight and one for the
|
|
30022
|
+
`700` weight; the `600` weight is optional. No other weights are allowed,
|
|
30023
|
+
and a weight may not be declared more than once.
|
|
30024
|
+
- Each face has a single source file whose `url` is the reserved repository
|
|
30025
|
+
asset path `.gitbook/assets/<key>-<weight>.<ext>` (`<ext>` is `woff2` or
|
|
30026
|
+
`woff`). For example a definition with `key: brand` is read from
|
|
30027
|
+
`.gitbook/assets/brand-400.woff2` and `.gitbook/assets/brand-700.woff2`.
|
|
30028
|
+
properties:
|
|
30029
|
+
key:
|
|
30030
|
+
type: string
|
|
30031
|
+
description: |
|
|
30032
|
+
Stable identifier referenced from `styling.font` /
|
|
30033
|
+
`styling.monospaceFont`, and used as the prefix of each face's
|
|
30034
|
+
reserved asset path (`.gitbook/assets/<key>-<weight>.<ext>`).
|
|
30035
|
+
minLength: 1
|
|
30036
|
+
pattern: ^[A-Za-z0-9][A-Za-z0-9_-]*$
|
|
30037
|
+
fontFamily:
|
|
30038
|
+
$ref: "#/components/schemas/FontFamily"
|
|
30039
|
+
fontFaces:
|
|
30040
|
+
type: object
|
|
30041
|
+
description: |
|
|
30042
|
+
Font-face declarations keyed by weight, each specifying its single
|
|
30043
|
+
source file. The `400` and `700` weights are required; `600` is
|
|
30044
|
+
optional.
|
|
30045
|
+
properties:
|
|
30046
|
+
"400":
|
|
30047
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
30048
|
+
"600":
|
|
30049
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
30050
|
+
"700":
|
|
30051
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
30052
|
+
required:
|
|
30053
|
+
- "400"
|
|
30054
|
+
- "700"
|
|
30055
|
+
additionalProperties: false
|
|
30056
|
+
required:
|
|
30057
|
+
- key
|
|
30058
|
+
- fontFamily
|
|
30059
|
+
- fontFaces
|
|
30060
|
+
GitSyncSiteCustomizationThemedColor:
|
|
30061
|
+
type: object
|
|
30062
|
+
description: |
|
|
30063
|
+
Themed color (light + dark).
|
|
30064
|
+
properties:
|
|
30065
|
+
light:
|
|
30066
|
+
$ref: "#/components/schemas/Color"
|
|
30067
|
+
dark:
|
|
30068
|
+
$ref: "#/components/schemas/Color"
|
|
30069
|
+
required:
|
|
30070
|
+
- light
|
|
30071
|
+
- dark
|
|
30072
|
+
GitSyncSiteCustomizationTint:
|
|
30073
|
+
type: object
|
|
30074
|
+
description: |
|
|
30075
|
+
Tint configuration.
|
|
30076
|
+
properties:
|
|
30077
|
+
color:
|
|
30078
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30079
|
+
required:
|
|
30080
|
+
- color
|
|
30081
|
+
GitSyncSiteCustomizationFontReference:
|
|
30082
|
+
type: object
|
|
30083
|
+
description: |
|
|
30084
|
+
Reference to a custom font defined under `site.fonts[]`. Matches by `key`.
|
|
30085
|
+
properties:
|
|
30086
|
+
key:
|
|
30087
|
+
type: string
|
|
30088
|
+
description: Matches the `key` of an entry in `site.fonts[]`.
|
|
30089
|
+
minLength: 1
|
|
30090
|
+
required:
|
|
30091
|
+
- key
|
|
30092
|
+
GitSyncSiteCustomizationFont:
|
|
30093
|
+
description: |
|
|
30094
|
+
Body font for the site. Either one of the built-in `CustomizationDefaultFont`
|
|
30095
|
+
values, or a reference to a custom font declared in `site.fonts[]`.
|
|
30096
|
+
oneOf:
|
|
30097
|
+
- $ref: "#/components/schemas/CustomizationDefaultFont"
|
|
30098
|
+
- $ref: "#/components/schemas/GitSyncSiteCustomizationFontReference"
|
|
30099
|
+
GitSyncSiteCustomizationMonospaceFont:
|
|
30100
|
+
description: |
|
|
30101
|
+
Monospace font for the site. Either one of the built-in
|
|
30102
|
+
`CustomizationDefaultMonospaceFont` values, or a reference to a custom font
|
|
30103
|
+
declared in `site.fonts[]`.
|
|
30104
|
+
oneOf:
|
|
30105
|
+
- $ref: "#/components/schemas/CustomizationDefaultMonospaceFont"
|
|
30106
|
+
- $ref: "#/components/schemas/GitSyncSiteCustomizationFontReference"
|
|
30107
|
+
GitSyncSiteCustomizationThemedCodeTheme:
|
|
30108
|
+
type: object
|
|
30109
|
+
description: |
|
|
30110
|
+
Themed code theme (light + dark).
|
|
30111
|
+
properties:
|
|
30112
|
+
light:
|
|
30113
|
+
$ref: "#/components/schemas/CustomizationCodeTheme"
|
|
30114
|
+
dark:
|
|
30115
|
+
$ref: "#/components/schemas/CustomizationCodeTheme"
|
|
30116
|
+
required:
|
|
30117
|
+
- light
|
|
30118
|
+
- dark
|
|
30119
|
+
GitSyncSiteCustomizationCodeThemes:
|
|
30120
|
+
type: object
|
|
30121
|
+
description: |
|
|
30122
|
+
Code-block syntax-highlighting themes — one for default code blocks and one for OpenAPI request/response samples.
|
|
30123
|
+
properties:
|
|
30124
|
+
default:
|
|
30125
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
|
|
30126
|
+
openapi:
|
|
30127
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
|
|
30128
|
+
required:
|
|
30129
|
+
- default
|
|
30130
|
+
- openapi
|
|
30131
|
+
GitSyncSiteCustomizationSidebar:
|
|
30132
|
+
type: object
|
|
30133
|
+
description: |
|
|
30134
|
+
Sidebar style settings.
|
|
30135
|
+
properties:
|
|
30136
|
+
background:
|
|
30137
|
+
$ref: "#/components/schemas/CustomizationSidebarBackgroundStyle"
|
|
30138
|
+
list:
|
|
30139
|
+
$ref: "#/components/schemas/CustomizationSidebarListStyle"
|
|
30140
|
+
required:
|
|
30141
|
+
- background
|
|
30142
|
+
- list
|
|
30143
|
+
GitSyncSiteCustomizationStyling:
|
|
30144
|
+
type: object
|
|
30145
|
+
description: |
|
|
30146
|
+
Styling settings.
|
|
30147
|
+
properties:
|
|
30148
|
+
theme:
|
|
30149
|
+
$ref: "#/components/schemas/CustomizationTheme"
|
|
30150
|
+
primaryColor:
|
|
30151
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30152
|
+
tint:
|
|
30153
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationTint"
|
|
30154
|
+
infoColor:
|
|
30155
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30156
|
+
successColor:
|
|
30157
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30158
|
+
warningColor:
|
|
30159
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30160
|
+
dangerColor:
|
|
30161
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30162
|
+
corners:
|
|
30163
|
+
$ref: "#/components/schemas/CustomizationCorners"
|
|
30164
|
+
depth:
|
|
30165
|
+
$ref: "#/components/schemas/CustomizationDepth"
|
|
30166
|
+
links:
|
|
30167
|
+
$ref: "#/components/schemas/CustomizationLinksStyle"
|
|
30168
|
+
font:
|
|
30169
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFont"
|
|
30170
|
+
monospaceFont:
|
|
30171
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationMonospaceFont"
|
|
30172
|
+
icons:
|
|
30173
|
+
$ref: "#/components/schemas/CustomizationIconsStyle"
|
|
30174
|
+
codeTheme:
|
|
30175
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationCodeThemes"
|
|
30176
|
+
sidebar:
|
|
30177
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationSidebar"
|
|
30178
|
+
search:
|
|
30179
|
+
$ref: "#/components/schemas/CustomizationSearchStyle"
|
|
30180
|
+
GitSyncSiteCustomizationAssetPath:
|
|
30181
|
+
type: string
|
|
30182
|
+
description: |
|
|
30183
|
+
Repository-relative path to an asset in a site Git Sync, e.g.
|
|
30184
|
+
`.gitbook/assets/header-logo-light.svg`. Absolute URLs are not accepted
|
|
30185
|
+
here — Git Sync assets must live in the synced repository under
|
|
30186
|
+
`.gitbook/assets/`.
|
|
30187
|
+
|
|
30188
|
+
This is the shared base type and only validates the `.gitbook/assets/`
|
|
30189
|
+
prefix. Each field that uses it additionally reserves a specific filename
|
|
30190
|
+
and set of allowed extensions (e.g. the header logo must be
|
|
30191
|
+
`header-logo-light.<ext>` / `header-logo-dark.<ext>`); see the description
|
|
30192
|
+
on the consuming field for the exact reserved path.
|
|
30193
|
+
pattern: ^\.gitbook/assets/.+
|
|
30194
|
+
maxLength: 2048
|
|
30195
|
+
GitSyncSiteCustomizationThemedAssetPath:
|
|
30196
|
+
type: object
|
|
30197
|
+
description: |
|
|
30198
|
+
Light/dark variants of a Git Sync repository asset path. Used for logos and
|
|
30199
|
+
favicons that switch with the active theme. Both variants are required.
|
|
30200
|
+
|
|
30201
|
+
Each consuming field reserves the exact light/dark filenames and allowed
|
|
30202
|
+
extensions (e.g. header logo → `header-logo-light.<ext>` /
|
|
30203
|
+
`header-logo-dark.<ext>`); see the description on the consuming field.
|
|
30204
|
+
properties:
|
|
30205
|
+
light:
|
|
30206
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
30207
|
+
dark:
|
|
30208
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
30209
|
+
required:
|
|
30210
|
+
- light
|
|
30211
|
+
- dark
|
|
30212
|
+
GitSyncSiteCustomizationFavicon:
|
|
30213
|
+
description: |
|
|
30214
|
+
Favicon for the published site. The `icon` variant references a repository asset path; the `emoji` variant uses a single emoji character;
|
|
30215
|
+
oneOf:
|
|
30216
|
+
- type: object
|
|
30217
|
+
properties:
|
|
30218
|
+
icon:
|
|
30219
|
+
description: |
|
|
30220
|
+
Themed favicon. Each variant must use its reserved repository
|
|
30221
|
+
asset path — light: `.gitbook/assets/favicon-light.<ext>`,
|
|
30222
|
+
dark: `.gitbook/assets/favicon-dark.<ext>`, where `<ext>` is
|
|
30223
|
+
the image's file extension (e.g. `png`, `svg`, `ico`). Any
|
|
30224
|
+
other filename is rejected.
|
|
30225
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
30226
|
+
required:
|
|
30227
|
+
- icon
|
|
30228
|
+
- type: object
|
|
30229
|
+
properties:
|
|
30230
|
+
emoji:
|
|
30231
|
+
$ref: "#/components/schemas/Emoji"
|
|
30232
|
+
required:
|
|
30233
|
+
- emoji
|
|
30234
|
+
GitSyncSiteCustomizationContentLinkTo:
|
|
30235
|
+
type: string
|
|
30236
|
+
description: |
|
|
30237
|
+
Link destination, written as a path-string in YAML. Same format as
|
|
30238
|
+
markdown content links, e.g. `https://example.com`, `/pages/<id>`,
|
|
30239
|
+
`/spaces/<id>/pages/<id>`, `#anchor`, `/files/<id>`, `/spaces/<id>`.
|
|
30240
|
+
GitSyncSiteCustomizationContentLink:
|
|
30241
|
+
type: object
|
|
30242
|
+
description: |
|
|
30243
|
+
A label plus a destination, used inside header items, footer groups, and announcements.
|
|
30244
|
+
properties:
|
|
30245
|
+
title:
|
|
30246
|
+
$ref: "#/components/schemas/CustomizationContentLinkTitle"
|
|
30247
|
+
localizedTitle:
|
|
30248
|
+
description: Localized overrides for the link title, keyed by locale.
|
|
30249
|
+
$ref: "#/components/schemas/LocalizedString64"
|
|
30250
|
+
to:
|
|
30251
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
30252
|
+
required:
|
|
30253
|
+
- title
|
|
30254
|
+
- to
|
|
30255
|
+
GitSyncSiteCustomizationHeaderItem:
|
|
30256
|
+
type: object
|
|
30257
|
+
description: |
|
|
30258
|
+
A single item in the published site's top navigation bar.
|
|
30259
|
+
properties:
|
|
30260
|
+
title:
|
|
30261
|
+
type: string
|
|
30262
|
+
localizedTitle:
|
|
30263
|
+
description: Localized overrides for the header item title, keyed by locale.
|
|
30264
|
+
$ref: "#/components/schemas/LocalizedString"
|
|
30265
|
+
style:
|
|
30266
|
+
type: string
|
|
30267
|
+
enum:
|
|
30268
|
+
- link
|
|
30269
|
+
- button-primary
|
|
30270
|
+
- button-secondary
|
|
30271
|
+
to:
|
|
30272
|
+
description: |
|
|
30273
|
+
Header item destination. Use `null` for items that act as a
|
|
30274
|
+
dropdown root without a link of their own.
|
|
30275
|
+
oneOf:
|
|
30276
|
+
- $ref: "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
30277
|
+
- type: "null"
|
|
30278
|
+
links:
|
|
30279
|
+
type: array
|
|
30280
|
+
description: Sub-links shown as a dropdown under this header item. Empty array means no dropdown.
|
|
30281
|
+
items:
|
|
30282
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
30283
|
+
condition:
|
|
30284
|
+
description: Conditional expression evaluated to decide whether the item is shown to the visitor.
|
|
30285
|
+
$ref: "#/components/schemas/Expression"
|
|
30286
|
+
required:
|
|
30287
|
+
- title
|
|
30288
|
+
- to
|
|
30289
|
+
- links
|
|
30290
|
+
GitSyncSiteCustomizationHeader:
|
|
30291
|
+
type: object
|
|
30292
|
+
description: |
|
|
30293
|
+
Header settings.
|
|
30294
|
+
properties:
|
|
30295
|
+
logo:
|
|
30296
|
+
description: |
|
|
30297
|
+
Themed header logo. Each variant must use its reserved repository
|
|
30298
|
+
asset path — light: `.gitbook/assets/header-logo-light.<ext>`, dark:
|
|
30299
|
+
`.gitbook/assets/header-logo-dark.<ext>`, where `<ext>` is the
|
|
30300
|
+
image's file extension (e.g. `png`, `svg`). Any other filename is
|
|
30301
|
+
rejected.
|
|
30302
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
30303
|
+
primaryLink:
|
|
30304
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
30305
|
+
links:
|
|
30306
|
+
type: array
|
|
30307
|
+
items:
|
|
30308
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationHeaderItem"
|
|
30309
|
+
GitSyncSiteCustomizationFooterGroup:
|
|
30310
|
+
type: object
|
|
30311
|
+
description: |
|
|
30312
|
+
A group of links shown in the published site's footer.
|
|
30313
|
+
properties:
|
|
30314
|
+
title:
|
|
29365
30315
|
type: string
|
|
29366
|
-
|
|
30316
|
+
localizedTitle:
|
|
30317
|
+
description: Localized overrides for the footer group title, keyed by locale.
|
|
30318
|
+
$ref: "#/components/schemas/LocalizedString"
|
|
30319
|
+
links:
|
|
30320
|
+
type: array
|
|
30321
|
+
items:
|
|
30322
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
30323
|
+
required:
|
|
30324
|
+
- title
|
|
30325
|
+
- links
|
|
30326
|
+
GitSyncSiteCustomizationFooter:
|
|
30327
|
+
type: object
|
|
30328
|
+
description: |
|
|
30329
|
+
Footer settings.
|
|
30330
|
+
properties:
|
|
30331
|
+
logo:
|
|
30332
|
+
description: |
|
|
30333
|
+
Themed footer logo. Each variant must use its reserved repository
|
|
30334
|
+
asset path — light: `.gitbook/assets/footer-logo-light.<ext>`, dark:
|
|
30335
|
+
`.gitbook/assets/footer-logo-dark.<ext>`, where `<ext>` is the
|
|
30336
|
+
image's file extension (e.g. `png`, `svg`). Any other filename is
|
|
30337
|
+
rejected.
|
|
30338
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
30339
|
+
groups:
|
|
30340
|
+
type: array
|
|
30341
|
+
items:
|
|
30342
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFooterGroup"
|
|
30343
|
+
copyright:
|
|
29367
30344
|
type: string
|
|
29368
|
-
|
|
30345
|
+
maxLength: 300
|
|
30346
|
+
GitSyncSiteCustomizationAnnouncement:
|
|
30347
|
+
type: object
|
|
30348
|
+
description: |
|
|
30349
|
+
Announcement banner shown above the published site.
|
|
30350
|
+
properties:
|
|
30351
|
+
enabled:
|
|
30352
|
+
description: Whether to show the site's announcement.
|
|
30353
|
+
type: boolean
|
|
30354
|
+
message:
|
|
30355
|
+
$ref: "#/components/schemas/CustomizationAnnouncementMessage"
|
|
30356
|
+
localizedMessage:
|
|
30357
|
+
description: Localized overrides for the announcement message, keyed by locale.
|
|
30358
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
30359
|
+
link:
|
|
30360
|
+
description: The content or URL the announcement links to when clicked.
|
|
30361
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
30362
|
+
style:
|
|
30363
|
+
description: Semantic style of the announcement banner.
|
|
29369
30364
|
type: string
|
|
29370
|
-
|
|
29371
|
-
|
|
29372
|
-
|
|
30365
|
+
enum:
|
|
30366
|
+
- info
|
|
30367
|
+
- warning
|
|
30368
|
+
- danger
|
|
30369
|
+
- success
|
|
30370
|
+
required:
|
|
30371
|
+
- enabled
|
|
30372
|
+
- message
|
|
30373
|
+
- style
|
|
30374
|
+
GitSyncSiteCustomizationThemeModes:
|
|
30375
|
+
type: object
|
|
30376
|
+
description: |
|
|
30377
|
+
Dark/light theme mode settings.
|
|
30378
|
+
properties:
|
|
30379
|
+
default:
|
|
30380
|
+
$ref: "#/components/schemas/CustomizationDefaultThemeMode"
|
|
30381
|
+
toggeable:
|
|
30382
|
+
description: Whether readers can switch between dark and light mode.
|
|
30383
|
+
type: boolean
|
|
30384
|
+
required:
|
|
30385
|
+
- default
|
|
30386
|
+
- toggeable
|
|
30387
|
+
GitSyncSiteCustomizationFeedback:
|
|
30388
|
+
type: object
|
|
30389
|
+
description: |
|
|
30390
|
+
Reader feedback settings.
|
|
30391
|
+
properties:
|
|
30392
|
+
enabled:
|
|
30393
|
+
type: boolean
|
|
30394
|
+
description: Whether reader feedback gathering is enabled.
|
|
30395
|
+
required:
|
|
30396
|
+
- enabled
|
|
30397
|
+
GitSyncSiteCustomizationAI:
|
|
30398
|
+
type: object
|
|
30399
|
+
description: |
|
|
30400
|
+
AI assistant settings.
|
|
30401
|
+
properties:
|
|
30402
|
+
mode:
|
|
30403
|
+
$ref: "#/components/schemas/CustomizationAIMode"
|
|
30404
|
+
suggestions:
|
|
30405
|
+
$ref: "#/components/schemas/CustomizationSuggestedQuestions"
|
|
30406
|
+
required:
|
|
30407
|
+
- mode
|
|
30408
|
+
GitSyncSiteCustomizationPageActions:
|
|
30409
|
+
type: array
|
|
30410
|
+
description: |
|
|
30411
|
+
Ordered page-level action buttons exposed in the published site's page menu.
|
|
30412
|
+
uniqueItems: true
|
|
30413
|
+
items:
|
|
30414
|
+
$ref: "#/components/schemas/CustomizationPageActionType"
|
|
30415
|
+
GitSyncSiteCustomizationExternalLinks:
|
|
30416
|
+
type: object
|
|
30417
|
+
description: |
|
|
30418
|
+
External link behavior.
|
|
30419
|
+
properties:
|
|
30420
|
+
target:
|
|
30421
|
+
$ref: "#/components/schemas/SiteExternalLinksTarget"
|
|
30422
|
+
required:
|
|
30423
|
+
- target
|
|
30424
|
+
GitSyncSiteCustomizationPagination:
|
|
30425
|
+
type: object
|
|
30426
|
+
description: |
|
|
30427
|
+
Pagination navigation settings.
|
|
30428
|
+
properties:
|
|
30429
|
+
enabled:
|
|
30430
|
+
type: boolean
|
|
30431
|
+
description: Whether the prev/next pagination navigation is shown on pages.
|
|
30432
|
+
required:
|
|
30433
|
+
- enabled
|
|
30434
|
+
GitSyncSiteCustomizationPrivacyPolicy:
|
|
30435
|
+
type: object
|
|
30436
|
+
description: |
|
|
30437
|
+
Privacy policy link shown on the published site.
|
|
30438
|
+
properties:
|
|
30439
|
+
url:
|
|
30440
|
+
$ref: "#/components/schemas/URL"
|
|
30441
|
+
GitSyncSiteCustomizationSocialPreview:
|
|
30442
|
+
type: object
|
|
30443
|
+
description: |
|
|
30444
|
+
Social preview asset.
|
|
30445
|
+
properties:
|
|
30446
|
+
url:
|
|
30447
|
+
description: |
|
|
30448
|
+
Reserved repository asset path for the social preview image:
|
|
30449
|
+
`.gitbook/assets/social-preview.<ext>`, where `<ext>` is the
|
|
30450
|
+
image's file extension (e.g. `png`, `jpg`). Any other filename is
|
|
30451
|
+
rejected.
|
|
30452
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
30453
|
+
GitSyncSiteCustomizationSocialAccount:
|
|
30454
|
+
type: object
|
|
30455
|
+
description: |
|
|
30456
|
+
A single social account entry.
|
|
30457
|
+
properties:
|
|
30458
|
+
platform:
|
|
30459
|
+
$ref: "#/components/schemas/SiteSocialAccountPlatform"
|
|
30460
|
+
handle:
|
|
30461
|
+
$ref: "#/components/schemas/SiteSocialAccountHandle"
|
|
30462
|
+
display:
|
|
29373
30463
|
type: object
|
|
29374
|
-
description: For images, it contains the dimensions of it.
|
|
29375
30464
|
properties:
|
|
29376
|
-
|
|
29377
|
-
type:
|
|
29378
|
-
|
|
29379
|
-
type:
|
|
30465
|
+
footer:
|
|
30466
|
+
type: boolean
|
|
30467
|
+
header:
|
|
30468
|
+
type: boolean
|
|
29380
30469
|
required:
|
|
29381
|
-
-
|
|
29382
|
-
-
|
|
30470
|
+
- footer
|
|
30471
|
+
- header
|
|
29383
30472
|
required:
|
|
29384
|
-
-
|
|
29385
|
-
-
|
|
29386
|
-
-
|
|
29387
|
-
|
|
29388
|
-
|
|
29389
|
-
type: string
|
|
29390
|
-
description: The type of semantic change.
|
|
29391
|
-
enum:
|
|
29392
|
-
- page_created
|
|
29393
|
-
- page_edited
|
|
29394
|
-
- page_deleted
|
|
29395
|
-
- page_moved
|
|
29396
|
-
- file_created
|
|
29397
|
-
- file_edited
|
|
29398
|
-
- file_deleted
|
|
29399
|
-
- custom_fields_edited
|
|
29400
|
-
- tag_created
|
|
29401
|
-
- tag_deleted
|
|
29402
|
-
- tag_edited
|
|
29403
|
-
GitSyncOperationState:
|
|
29404
|
-
type: string
|
|
30473
|
+
- platform
|
|
30474
|
+
- handle
|
|
30475
|
+
- display
|
|
30476
|
+
GitSyncSiteCustomizationInsights:
|
|
30477
|
+
type: object
|
|
29405
30478
|
description: |
|
|
29406
|
-
|
|
29407
|
-
|
|
29408
|
-
|
|
29409
|
-
|
|
29410
|
-
|
|
29411
|
-
|
|
29412
|
-
-
|
|
29413
|
-
|
|
29414
|
-
type:
|
|
29415
|
-
enum:
|
|
29416
|
-
- export
|
|
29417
|
-
- import
|
|
29418
|
-
GitSyncOperationStage:
|
|
29419
|
-
type: string
|
|
30479
|
+
Visitor insights settings.
|
|
30480
|
+
properties:
|
|
30481
|
+
trackingCookie:
|
|
30482
|
+
type: boolean
|
|
30483
|
+
description: Whether GitBook identifies visitors on the site using a cookie.
|
|
30484
|
+
required:
|
|
30485
|
+
- trackingCookie
|
|
30486
|
+
GitSyncSiteCustomization:
|
|
30487
|
+
type: object
|
|
29420
30488
|
description: |
|
|
29421
|
-
|
|
29422
|
-
|
|
29423
|
-
-
|
|
29424
|
-
|
|
29425
|
-
|
|
29426
|
-
|
|
29427
|
-
|
|
29428
|
-
|
|
29429
|
-
|
|
29430
|
-
|
|
29431
|
-
|
|
29432
|
-
|
|
29433
|
-
|
|
30489
|
+
Customization settings for the published site, authored in `docs.yaml`.
|
|
30490
|
+
|
|
30491
|
+
Every top-level field is optional — a Git Sync YAML is a **sparse override** of
|
|
30492
|
+
the live customization. Fields you don't include stay at whatever the site
|
|
30493
|
+
has as default.
|
|
30494
|
+
|
|
30495
|
+
Custom fonts referenced from `styling.font` / `styling.monospaceFont` must
|
|
30496
|
+
have a matching definition under `site.fonts[]`.
|
|
30497
|
+
properties:
|
|
30498
|
+
publishedTitle:
|
|
30499
|
+
description: Title to use for the published site. If omitted, falls back to the default site title.
|
|
30500
|
+
$ref: "#/components/schemas/SiteTitle"
|
|
30501
|
+
localizedPublishedTitles:
|
|
30502
|
+
description: Localized titles for the published site, keyed by locale.
|
|
30503
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
30504
|
+
styling:
|
|
30505
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationStyling"
|
|
30506
|
+
favicon:
|
|
30507
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFavicon"
|
|
30508
|
+
header:
|
|
30509
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationHeader"
|
|
30510
|
+
footer:
|
|
30511
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFooter"
|
|
30512
|
+
announcement:
|
|
30513
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAnnouncement"
|
|
30514
|
+
themeModes:
|
|
30515
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemeModes"
|
|
30516
|
+
feedback:
|
|
30517
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFeedback"
|
|
30518
|
+
ai:
|
|
30519
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAI"
|
|
30520
|
+
pageActions:
|
|
30521
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationPageActions"
|
|
30522
|
+
externalLinks:
|
|
30523
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationExternalLinks"
|
|
30524
|
+
pagination:
|
|
30525
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationPagination"
|
|
30526
|
+
privacyPolicy:
|
|
30527
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationPrivacyPolicy"
|
|
30528
|
+
socialPreview:
|
|
30529
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationSocialPreview"
|
|
30530
|
+
socialAccounts:
|
|
30531
|
+
type: array
|
|
30532
|
+
description: Social accounts to surface on the site.
|
|
30533
|
+
items:
|
|
30534
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationSocialAccount"
|
|
30535
|
+
maxItems: 10
|
|
30536
|
+
insights:
|
|
30537
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationInsights"
|
|
30538
|
+
GitSyncSiteConfig:
|
|
29434
30539
|
type: object
|
|
30540
|
+
description: |
|
|
30541
|
+
Schema for a site `docs.yaml` file — the canonical contract for what
|
|
30542
|
+
can be authored in Git Sync to drive a site's customization and structure.
|
|
29435
30543
|
properties:
|
|
29436
|
-
|
|
29437
|
-
|
|
29438
|
-
|
|
29439
|
-
|
|
29440
|
-
|
|
29441
|
-
|
|
29442
|
-
|
|
29443
|
-
|
|
29444
|
-
|
|
29445
|
-
type:
|
|
29446
|
-
|
|
29447
|
-
|
|
29448
|
-
|
|
29449
|
-
|
|
29450
|
-
|
|
29451
|
-
|
|
29452
|
-
|
|
29453
|
-
|
|
29454
|
-
|
|
29455
|
-
|
|
29456
|
-
|
|
29457
|
-
|
|
30544
|
+
version:
|
|
30545
|
+
type: integer
|
|
30546
|
+
description: |
|
|
30547
|
+
Reserved for future use. When a breaking schema change ships, this
|
|
30548
|
+
field lets the parser branch on the version; absence means v1.
|
|
30549
|
+
enum:
|
|
30550
|
+
- 1
|
|
30551
|
+
default: 1
|
|
30552
|
+
site:
|
|
30553
|
+
type: object
|
|
30554
|
+
additionalProperties: false
|
|
30555
|
+
properties:
|
|
30556
|
+
title:
|
|
30557
|
+
type: string
|
|
30558
|
+
description: Display title for the site.
|
|
30559
|
+
minLength: 1
|
|
30560
|
+
structure:
|
|
30561
|
+
$ref: "#/components/schemas/GitSyncSiteStructure"
|
|
30562
|
+
fonts:
|
|
30563
|
+
type: array
|
|
30564
|
+
description: Custom font definitions referenced from `site.customization.styling`.
|
|
30565
|
+
items:
|
|
30566
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFontDefinition"
|
|
30567
|
+
customization:
|
|
30568
|
+
$ref: "#/components/schemas/GitSyncSiteCustomization"
|
|
30569
|
+
required:
|
|
30570
|
+
- title
|
|
30571
|
+
- structure
|
|
29458
30572
|
required:
|
|
29459
|
-
-
|
|
29460
|
-
- direction
|
|
29461
|
-
- stage
|
|
29462
|
-
- dispatchedTasks
|
|
29463
|
-
- completedTasks
|
|
29464
|
-
- startedAt
|
|
29465
|
-
- updatedAt
|
|
30573
|
+
- site
|
|
29466
30574
|
IntegrationEnvironmentSpaceInstallation:
|
|
29467
30575
|
allOf:
|
|
29468
30576
|
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
@@ -30961,6 +32069,25 @@ components:
|
|
|
30961
32069
|
- idle
|
|
30962
32070
|
- processing
|
|
30963
32071
|
- errored
|
|
32072
|
+
AgentActivity:
|
|
32073
|
+
type: object
|
|
32074
|
+
description: |
|
|
32075
|
+
Describes what the agent is currently doing while processing, used to display a live activity indicator in the conversation.
|
|
32076
|
+
properties:
|
|
32077
|
+
type:
|
|
32078
|
+
type: string
|
|
32079
|
+
description: |
|
|
32080
|
+
The kind of activity the agent is currently performing. `thinking` while it reasons or decides on a next action, `tool` while it runs a tool, and `responding` while it writes its answer.
|
|
32081
|
+
enum:
|
|
32082
|
+
- thinking
|
|
32083
|
+
- tool
|
|
32084
|
+
- responding
|
|
32085
|
+
tool:
|
|
32086
|
+
type: string
|
|
32087
|
+
description: |
|
|
32088
|
+
When `type` is `tool`, the name of the tool being called (matches `AIToolCall.tool`).
|
|
32089
|
+
required:
|
|
32090
|
+
- type
|
|
30964
32091
|
AgentState:
|
|
30965
32092
|
type: object
|
|
30966
32093
|
properties:
|
|
@@ -30976,6 +32103,10 @@ components:
|
|
|
30976
32103
|
description: List of messages sent by the users queued to processed.
|
|
30977
32104
|
items:
|
|
30978
32105
|
$ref: "#/components/schemas/AIMessageInput"
|
|
32106
|
+
activity:
|
|
32107
|
+
$ref: "#/components/schemas/AgentActivity"
|
|
32108
|
+
description: |
|
|
32109
|
+
What the agent is currently doing. Only set while the agent is processing.
|
|
30979
32110
|
required:
|
|
30980
32111
|
- status
|
|
30981
32112
|
- suggestions
|