@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.json
CHANGED
|
@@ -2995,6 +2995,148 @@
|
|
|
2995
2995
|
}
|
|
2996
2996
|
}
|
|
2997
2997
|
},
|
|
2998
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/conversations": {
|
|
2999
|
+
"get": {
|
|
3000
|
+
"operationId": "listChangeRequestConversations",
|
|
3001
|
+
"summary": "List the agent conversations of a change request",
|
|
3002
|
+
"tags": [
|
|
3003
|
+
"change-request-conversations"
|
|
3004
|
+
],
|
|
3005
|
+
"security": [
|
|
3006
|
+
{
|
|
3007
|
+
"user": []
|
|
3008
|
+
}
|
|
3009
|
+
],
|
|
3010
|
+
"parameters": [
|
|
3011
|
+
{
|
|
3012
|
+
"$ref": "#/components/parameters/spaceId"
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
3016
|
+
},
|
|
3017
|
+
{
|
|
3018
|
+
"$ref": "#/components/parameters/listPage"
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"$ref": "#/components/parameters/listLimit"
|
|
3022
|
+
}
|
|
3023
|
+
],
|
|
3024
|
+
"responses": {
|
|
3025
|
+
"200": {
|
|
3026
|
+
"description": "A list of agent conversations",
|
|
3027
|
+
"content": {
|
|
3028
|
+
"application/json": {
|
|
3029
|
+
"schema": {
|
|
3030
|
+
"allOf": [
|
|
3031
|
+
{
|
|
3032
|
+
"$ref": "#/components/schemas/List"
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
"type": "object",
|
|
3036
|
+
"required": [
|
|
3037
|
+
"items"
|
|
3038
|
+
],
|
|
3039
|
+
"properties": {
|
|
3040
|
+
"items": {
|
|
3041
|
+
"type": "array",
|
|
3042
|
+
"items": {
|
|
3043
|
+
"$ref": "#/components/schemas/AgentConversation"
|
|
3044
|
+
}
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
]
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3052
|
+
}
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
},
|
|
3056
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/conversations/{conversationId}": {
|
|
3057
|
+
"patch": {
|
|
3058
|
+
"operationId": "updateChangeRequestConversation",
|
|
3059
|
+
"summary": "Update an agent conversation",
|
|
3060
|
+
"tags": [
|
|
3061
|
+
"change-request-conversations"
|
|
3062
|
+
],
|
|
3063
|
+
"security": [
|
|
3064
|
+
{
|
|
3065
|
+
"user": []
|
|
3066
|
+
}
|
|
3067
|
+
],
|
|
3068
|
+
"parameters": [
|
|
3069
|
+
{
|
|
3070
|
+
"$ref": "#/components/parameters/spaceId"
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
3074
|
+
},
|
|
3075
|
+
{
|
|
3076
|
+
"$ref": "#/components/parameters/conversationId"
|
|
3077
|
+
}
|
|
3078
|
+
],
|
|
3079
|
+
"requestBody": {
|
|
3080
|
+
"required": true,
|
|
3081
|
+
"content": {
|
|
3082
|
+
"application/json": {
|
|
3083
|
+
"schema": {
|
|
3084
|
+
"type": "object",
|
|
3085
|
+
"properties": {
|
|
3086
|
+
"title": {
|
|
3087
|
+
"type": "string",
|
|
3088
|
+
"description": "The new title of the conversation."
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
"required": [
|
|
3092
|
+
"title"
|
|
3093
|
+
]
|
|
3094
|
+
}
|
|
3095
|
+
}
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
3098
|
+
"responses": {
|
|
3099
|
+
"200": {
|
|
3100
|
+
"description": "The updated conversation.",
|
|
3101
|
+
"content": {
|
|
3102
|
+
"application/json": {
|
|
3103
|
+
"schema": {
|
|
3104
|
+
"$ref": "#/components/schemas/AgentConversation"
|
|
3105
|
+
}
|
|
3106
|
+
}
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
},
|
|
3111
|
+
"delete": {
|
|
3112
|
+
"operationId": "deleteChangeRequestConversation",
|
|
3113
|
+
"summary": "Delete an agent conversation",
|
|
3114
|
+
"tags": [
|
|
3115
|
+
"change-request-conversations"
|
|
3116
|
+
],
|
|
3117
|
+
"security": [
|
|
3118
|
+
{
|
|
3119
|
+
"user": []
|
|
3120
|
+
}
|
|
3121
|
+
],
|
|
3122
|
+
"parameters": [
|
|
3123
|
+
{
|
|
3124
|
+
"$ref": "#/components/parameters/spaceId"
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"$ref": "#/components/parameters/conversationId"
|
|
3131
|
+
}
|
|
3132
|
+
],
|
|
3133
|
+
"responses": {
|
|
3134
|
+
"205": {
|
|
3135
|
+
"description": "The conversation has been deleted."
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
}
|
|
3139
|
+
},
|
|
2998
3140
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/links": {
|
|
2999
3141
|
"get": {
|
|
3000
3142
|
"operationId": "listChangeRequestLinks",
|
|
@@ -3645,6 +3787,65 @@
|
|
|
3645
3787
|
}
|
|
3646
3788
|
}
|
|
3647
3789
|
}
|
|
3790
|
+
},
|
|
3791
|
+
"post": {
|
|
3792
|
+
"operationId": "updateChangeRequestContent",
|
|
3793
|
+
"summary": "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.\nEach 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.\nThis 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.\n",
|
|
3794
|
+
"tags": [
|
|
3795
|
+
"change-request-content"
|
|
3796
|
+
],
|
|
3797
|
+
"security": [
|
|
3798
|
+
{
|
|
3799
|
+
"user": []
|
|
3800
|
+
}
|
|
3801
|
+
],
|
|
3802
|
+
"parameters": [
|
|
3803
|
+
{
|
|
3804
|
+
"$ref": "#/components/parameters/spaceId"
|
|
3805
|
+
},
|
|
3806
|
+
{
|
|
3807
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
3808
|
+
}
|
|
3809
|
+
],
|
|
3810
|
+
"requestBody": {
|
|
3811
|
+
"required": true,
|
|
3812
|
+
"content": {
|
|
3813
|
+
"application/json": {
|
|
3814
|
+
"schema": {
|
|
3815
|
+
"type": "object",
|
|
3816
|
+
"required": [
|
|
3817
|
+
"changes"
|
|
3818
|
+
],
|
|
3819
|
+
"properties": {
|
|
3820
|
+
"changes": {
|
|
3821
|
+
"type": "array",
|
|
3822
|
+
"minItems": 1,
|
|
3823
|
+
"maxItems": 50,
|
|
3824
|
+
"items": {
|
|
3825
|
+
"$ref": "#/components/schemas/ChangeRequestContentChange"
|
|
3826
|
+
}
|
|
3827
|
+
}
|
|
3828
|
+
}
|
|
3829
|
+
}
|
|
3830
|
+
}
|
|
3831
|
+
}
|
|
3832
|
+
},
|
|
3833
|
+
"responses": {
|
|
3834
|
+
"200": {
|
|
3835
|
+
"description": "The change request has been updated",
|
|
3836
|
+
"content": {
|
|
3837
|
+
"application/json": {
|
|
3838
|
+
"schema": {
|
|
3839
|
+
"$ref": "#/components/schemas/ChangeRequest"
|
|
3840
|
+
}
|
|
3841
|
+
}
|
|
3842
|
+
}
|
|
3843
|
+
},
|
|
3844
|
+
"404": {
|
|
3845
|
+
"description": "The change request could not be found.",
|
|
3846
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
3847
|
+
}
|
|
3848
|
+
}
|
|
3648
3849
|
}
|
|
3649
3850
|
},
|
|
3650
3851
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages": {
|
|
@@ -7044,11 +7245,7 @@
|
|
|
7044
7245
|
"properties": {
|
|
7045
7246
|
"task": {
|
|
7046
7247
|
"type": "object",
|
|
7047
|
-
"description": "Payload for the integration task"
|
|
7048
|
-
"additionalProperties": {
|
|
7049
|
-
"type": "string",
|
|
7050
|
-
"x-typescript": "unknown"
|
|
7051
|
-
}
|
|
7248
|
+
"description": "Payload for the integration task"
|
|
7052
7249
|
},
|
|
7053
7250
|
"schedule": {
|
|
7054
7251
|
"type": "number",
|
|
@@ -9236,6 +9433,19 @@
|
|
|
9236
9433
|
},
|
|
9237
9434
|
"description": "If defined, only change requests linked to this site topic will be returned."
|
|
9238
9435
|
},
|
|
9436
|
+
{
|
|
9437
|
+
"name": "finding",
|
|
9438
|
+
"in": "query",
|
|
9439
|
+
"required": false,
|
|
9440
|
+
"schema": {
|
|
9441
|
+
"type": "string",
|
|
9442
|
+
"enum": [
|
|
9443
|
+
"none",
|
|
9444
|
+
"all"
|
|
9445
|
+
]
|
|
9446
|
+
},
|
|
9447
|
+
"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`."
|
|
9448
|
+
},
|
|
9239
9449
|
{
|
|
9240
9450
|
"name": "orderBy",
|
|
9241
9451
|
"in": "query",
|
|
@@ -11959,6 +12169,60 @@
|
|
|
11959
12169
|
}
|
|
11960
12170
|
}
|
|
11961
12171
|
},
|
|
12172
|
+
"/orgs/{organizationId}/sites/{siteId}/spaces/git/installations": {
|
|
12173
|
+
"get": {
|
|
12174
|
+
"operationId": "listSiteGitSyncInstallations",
|
|
12175
|
+
"summary": "List the Git Sync installations for a site and its spaces",
|
|
12176
|
+
"tags": [
|
|
12177
|
+
"git"
|
|
12178
|
+
],
|
|
12179
|
+
"security": [
|
|
12180
|
+
{
|
|
12181
|
+
"user": []
|
|
12182
|
+
}
|
|
12183
|
+
],
|
|
12184
|
+
"parameters": [
|
|
12185
|
+
{
|
|
12186
|
+
"$ref": "#/components/parameters/organizationId"
|
|
12187
|
+
},
|
|
12188
|
+
{
|
|
12189
|
+
"$ref": "#/components/parameters/siteId"
|
|
12190
|
+
}
|
|
12191
|
+
],
|
|
12192
|
+
"responses": {
|
|
12193
|
+
"200": {
|
|
12194
|
+
"description": "Git Sync installations for the site and its spaces",
|
|
12195
|
+
"content": {
|
|
12196
|
+
"application/json": {
|
|
12197
|
+
"schema": {
|
|
12198
|
+
"type": "object",
|
|
12199
|
+
"properties": {
|
|
12200
|
+
"items": {
|
|
12201
|
+
"type": "array",
|
|
12202
|
+
"items": {
|
|
12203
|
+
"$ref": "#/components/schemas/GitSyncInstallation"
|
|
12204
|
+
}
|
|
12205
|
+
}
|
|
12206
|
+
},
|
|
12207
|
+
"required": [
|
|
12208
|
+
"items"
|
|
12209
|
+
]
|
|
12210
|
+
}
|
|
12211
|
+
}
|
|
12212
|
+
}
|
|
12213
|
+
},
|
|
12214
|
+
"400": {
|
|
12215
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
12216
|
+
},
|
|
12217
|
+
"401": {
|
|
12218
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
12219
|
+
},
|
|
12220
|
+
"404": {
|
|
12221
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
12222
|
+
}
|
|
12223
|
+
}
|
|
12224
|
+
}
|
|
12225
|
+
},
|
|
11962
12226
|
"/orgs/{organizationId}/sites/{siteId}/adaptive-schema": {
|
|
11963
12227
|
"get": {
|
|
11964
12228
|
"operationId": "getSiteAdaptiveSchema",
|
|
@@ -13825,6 +14089,11 @@
|
|
|
13825
14089
|
"properties": {
|
|
13826
14090
|
"siteSpaceId": {
|
|
13827
14091
|
"type": "string"
|
|
14092
|
+
},
|
|
14093
|
+
"goal": {
|
|
14094
|
+
"type": "string",
|
|
14095
|
+
"maxLength": 1024,
|
|
14096
|
+
"description": "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.\n"
|
|
13828
14097
|
}
|
|
13829
14098
|
}
|
|
13830
14099
|
},
|
|
@@ -14288,6 +14557,14 @@
|
|
|
14288
14557
|
"schema": {
|
|
14289
14558
|
"$ref": "#/components/schemas/SiteFindingSeverity"
|
|
14290
14559
|
}
|
|
14560
|
+
},
|
|
14561
|
+
{
|
|
14562
|
+
"name": "hasChangeRequests",
|
|
14563
|
+
"in": "query",
|
|
14564
|
+
"description": "Filter findings that have at least one associated change request.",
|
|
14565
|
+
"schema": {
|
|
14566
|
+
"type": "boolean"
|
|
14567
|
+
}
|
|
14291
14568
|
}
|
|
14292
14569
|
],
|
|
14293
14570
|
"responses": {
|
|
@@ -19695,7 +19972,30 @@
|
|
|
19695
19972
|
"authorizationUrl": "https://oauth.gitbook.com/authorize",
|
|
19696
19973
|
"tokenUrl": "https://oauth.gitbook.com/token",
|
|
19697
19974
|
"scopes": {
|
|
19698
|
-
"
|
|
19975
|
+
"user:read": "Read your GitBook user profile.",
|
|
19976
|
+
"organization:read": "Read organization settings and metadata.",
|
|
19977
|
+
"organization:write": "Create and update organization settings.",
|
|
19978
|
+
"organization:members:read": "Read organization members, invites and link invites.",
|
|
19979
|
+
"organization:members:write": "Manage organization members, invites and link invites.",
|
|
19980
|
+
"organization:ask": "Ask AI questions across an organization's content.",
|
|
19981
|
+
"organization:search": "Search across an organization's content.",
|
|
19982
|
+
"space:read": "Read spaces and their content.",
|
|
19983
|
+
"space:write": "Create, update and delete spaces and their content, including imports.",
|
|
19984
|
+
"space:permissions:read": "Read space permissions.",
|
|
19985
|
+
"space:permissions:write": "Manage space permissions.",
|
|
19986
|
+
"change-request:merge": "Merge change requests, publishing their changes to the space.",
|
|
19987
|
+
"site:read": "Read sites and their settings.",
|
|
19988
|
+
"site:write": "Create, update and delete sites, sections and their settings.",
|
|
19989
|
+
"site:publish": "Publish and unpublish sites, controlling their public exposure.",
|
|
19990
|
+
"site:permissions:read": "Read site permissions.",
|
|
19991
|
+
"site:permissions:write": "Manage site permissions.",
|
|
19992
|
+
"site:auth:read": "Read site authentication and security configuration.",
|
|
19993
|
+
"site:auth:write": "Manage site authentication and security configuration.",
|
|
19994
|
+
"site:insights:read": "Read site analytics and insights.",
|
|
19995
|
+
"site:ask": "Ask AI questions across a site's content.",
|
|
19996
|
+
"site:search": "Search across a site's content.",
|
|
19997
|
+
"openapi:read": "Read OpenAPI specifications.",
|
|
19998
|
+
"openapi:write": "Create, update and delete OpenAPI specifications."
|
|
19699
19999
|
}
|
|
19700
20000
|
}
|
|
19701
20001
|
}
|
|
@@ -19911,6 +20211,15 @@
|
|
|
19911
20211
|
"type": "string"
|
|
19912
20212
|
}
|
|
19913
20213
|
},
|
|
20214
|
+
"conversationId": {
|
|
20215
|
+
"name": "conversationId",
|
|
20216
|
+
"in": "path",
|
|
20217
|
+
"required": true,
|
|
20218
|
+
"description": "The unique ID of the agent conversation (its client-generated local id, or \"default\" for the default conversation)",
|
|
20219
|
+
"schema": {
|
|
20220
|
+
"type": "string"
|
|
20221
|
+
}
|
|
20222
|
+
},
|
|
19914
20223
|
"listOrder": {
|
|
19915
20224
|
"name": "order",
|
|
19916
20225
|
"in": "query",
|
|
@@ -23986,6 +24295,68 @@
|
|
|
23986
24295
|
"data"
|
|
23987
24296
|
]
|
|
23988
24297
|
},
|
|
24298
|
+
"DocumentBlockPrompt": {
|
|
24299
|
+
"type": "object",
|
|
24300
|
+
"properties": {
|
|
24301
|
+
"object": {
|
|
24302
|
+
"type": "string",
|
|
24303
|
+
"enum": [
|
|
24304
|
+
"block"
|
|
24305
|
+
]
|
|
24306
|
+
},
|
|
24307
|
+
"type": {
|
|
24308
|
+
"type": "string",
|
|
24309
|
+
"enum": [
|
|
24310
|
+
"prompt"
|
|
24311
|
+
]
|
|
24312
|
+
},
|
|
24313
|
+
"key": {
|
|
24314
|
+
"type": "string"
|
|
24315
|
+
},
|
|
24316
|
+
"data": {
|
|
24317
|
+
"type": "object",
|
|
24318
|
+
"properties": {
|
|
24319
|
+
"description": {
|
|
24320
|
+
"type": "string"
|
|
24321
|
+
},
|
|
24322
|
+
"icon": {
|
|
24323
|
+
"$ref": "#/components/schemas/Icon"
|
|
24324
|
+
},
|
|
24325
|
+
"openInAIProviders": {
|
|
24326
|
+
"type": "boolean"
|
|
24327
|
+
}
|
|
24328
|
+
},
|
|
24329
|
+
"required": [
|
|
24330
|
+
"description"
|
|
24331
|
+
],
|
|
24332
|
+
"additionalProperties": false
|
|
24333
|
+
},
|
|
24334
|
+
"nodes": {
|
|
24335
|
+
"type": "array",
|
|
24336
|
+
"items": {
|
|
24337
|
+
"oneOf": [
|
|
24338
|
+
{
|
|
24339
|
+
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
24340
|
+
}
|
|
24341
|
+
]
|
|
24342
|
+
},
|
|
24343
|
+
"minItems": 1,
|
|
24344
|
+
"maxItems": 1
|
|
24345
|
+
},
|
|
24346
|
+
"isVoid": {
|
|
24347
|
+
"type": "boolean",
|
|
24348
|
+
"enum": [
|
|
24349
|
+
false
|
|
24350
|
+
]
|
|
24351
|
+
}
|
|
24352
|
+
},
|
|
24353
|
+
"required": [
|
|
24354
|
+
"object",
|
|
24355
|
+
"type",
|
|
24356
|
+
"data",
|
|
24357
|
+
"nodes"
|
|
24358
|
+
]
|
|
24359
|
+
},
|
|
23989
24360
|
"DocumentBlocksTopLevels": {
|
|
23990
24361
|
"oneOf": [
|
|
23991
24362
|
{
|
|
@@ -23997,6 +24368,9 @@
|
|
|
23997
24368
|
{
|
|
23998
24369
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
23999
24370
|
},
|
|
24371
|
+
{
|
|
24372
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
24373
|
+
},
|
|
24000
24374
|
{
|
|
24001
24375
|
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
24002
24376
|
},
|
|
@@ -24832,6 +25206,9 @@
|
|
|
24832
25206
|
{
|
|
24833
25207
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
24834
25208
|
},
|
|
25209
|
+
{
|
|
25210
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
25211
|
+
},
|
|
24835
25212
|
{
|
|
24836
25213
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
24837
25214
|
},
|
|
@@ -24967,6 +25344,9 @@
|
|
|
24967
25344
|
{
|
|
24968
25345
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
24969
25346
|
},
|
|
25347
|
+
{
|
|
25348
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
25349
|
+
},
|
|
24970
25350
|
{
|
|
24971
25351
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
24972
25352
|
},
|
|
@@ -25184,6 +25564,11 @@
|
|
|
25184
25564
|
"properties": {
|
|
25185
25565
|
"ref": {
|
|
25186
25566
|
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
25567
|
+
},
|
|
25568
|
+
"headless": {
|
|
25569
|
+
"type": "boolean",
|
|
25570
|
+
"x-internal": true,
|
|
25571
|
+
"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."
|
|
25187
25572
|
}
|
|
25188
25573
|
},
|
|
25189
25574
|
"required": [
|
|
@@ -25354,6 +25739,11 @@
|
|
|
25354
25739
|
"properties": {
|
|
25355
25740
|
"ref": {
|
|
25356
25741
|
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
25742
|
+
},
|
|
25743
|
+
"headless": {
|
|
25744
|
+
"type": "boolean",
|
|
25745
|
+
"x-internal": true,
|
|
25746
|
+
"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."
|
|
25357
25747
|
}
|
|
25358
25748
|
},
|
|
25359
25749
|
"required": [
|
|
@@ -25434,6 +25824,9 @@
|
|
|
25434
25824
|
{
|
|
25435
25825
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
25436
25826
|
},
|
|
25827
|
+
{
|
|
25828
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
25829
|
+
},
|
|
25437
25830
|
{
|
|
25438
25831
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
25439
25832
|
},
|
|
@@ -25547,6 +25940,9 @@
|
|
|
25547
25940
|
{
|
|
25548
25941
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
25549
25942
|
},
|
|
25943
|
+
{
|
|
25944
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
25945
|
+
},
|
|
25550
25946
|
{
|
|
25551
25947
|
"$ref": "#/components/schemas/DocumentBlockContentRef"
|
|
25552
25948
|
},
|
|
@@ -25699,6 +26095,9 @@
|
|
|
25699
26095
|
{
|
|
25700
26096
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
25701
26097
|
},
|
|
26098
|
+
{
|
|
26099
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
26100
|
+
},
|
|
25702
26101
|
{
|
|
25703
26102
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
25704
26103
|
},
|
|
@@ -25834,6 +26233,9 @@
|
|
|
25834
26233
|
{
|
|
25835
26234
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
25836
26235
|
},
|
|
26236
|
+
{
|
|
26237
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
26238
|
+
},
|
|
25837
26239
|
{
|
|
25838
26240
|
"$ref": "#/components/schemas/DocumentBlockIf"
|
|
25839
26241
|
},
|
|
@@ -28061,6 +28463,14 @@
|
|
|
28061
28463
|
"paidUltimateSites": {
|
|
28062
28464
|
"description": "The number of paid ultimate sites on the current subscription.",
|
|
28063
28465
|
"type": "number"
|
|
28466
|
+
},
|
|
28467
|
+
"canChangeInterval": {
|
|
28468
|
+
"description": "Whether changing billing interval is allowed",
|
|
28469
|
+
"type": "boolean"
|
|
28470
|
+
},
|
|
28471
|
+
"canUseSAML": {
|
|
28472
|
+
"description": "Whether configuring SAML is allowed",
|
|
28473
|
+
"type": "boolean"
|
|
28064
28474
|
}
|
|
28065
28475
|
},
|
|
28066
28476
|
"required": [
|
|
@@ -28070,7 +28480,9 @@
|
|
|
28070
28480
|
"canCheckout",
|
|
28071
28481
|
"isScheduledToCancel",
|
|
28072
28482
|
"pricing",
|
|
28073
|
-
"usageAddons"
|
|
28483
|
+
"usageAddons",
|
|
28484
|
+
"canChangeInterval",
|
|
28485
|
+
"canUseSAML"
|
|
28074
28486
|
]
|
|
28075
28487
|
},
|
|
28076
28488
|
"BillingTrialStatus": {
|
|
@@ -29452,6 +29864,38 @@
|
|
|
29452
29864
|
}
|
|
29453
29865
|
]
|
|
29454
29866
|
},
|
|
29867
|
+
"AgentConversation": {
|
|
29868
|
+
"type": "object",
|
|
29869
|
+
"properties": {
|
|
29870
|
+
"object": {
|
|
29871
|
+
"type": "string",
|
|
29872
|
+
"description": "Type of Object, always equals to \"agent-conversation\"",
|
|
29873
|
+
"enum": [
|
|
29874
|
+
"agent-conversation"
|
|
29875
|
+
]
|
|
29876
|
+
},
|
|
29877
|
+
"id": {
|
|
29878
|
+
"type": "string",
|
|
29879
|
+
"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\"."
|
|
29880
|
+
},
|
|
29881
|
+
"title": {
|
|
29882
|
+
"type": "string",
|
|
29883
|
+
"description": "The title of the conversation, generated from the first message. Absent until generated."
|
|
29884
|
+
},
|
|
29885
|
+
"createdAt": {
|
|
29886
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
29887
|
+
},
|
|
29888
|
+
"updatedAt": {
|
|
29889
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
29890
|
+
}
|
|
29891
|
+
},
|
|
29892
|
+
"required": [
|
|
29893
|
+
"object",
|
|
29894
|
+
"id",
|
|
29895
|
+
"createdAt",
|
|
29896
|
+
"updatedAt"
|
|
29897
|
+
]
|
|
29898
|
+
},
|
|
29455
29899
|
"PostCommentSchema": {
|
|
29456
29900
|
"type": "object",
|
|
29457
29901
|
"properties": {
|
|
@@ -29619,6 +30063,40 @@
|
|
|
29619
30063
|
}
|
|
29620
30064
|
]
|
|
29621
30065
|
},
|
|
30066
|
+
"ChangeRequestContentChangeUpdatePage": {
|
|
30067
|
+
"type": "object",
|
|
30068
|
+
"description": "Replace the document of an existing page with another document.",
|
|
30069
|
+
"required": [
|
|
30070
|
+
"operation",
|
|
30071
|
+
"page",
|
|
30072
|
+
"document"
|
|
30073
|
+
],
|
|
30074
|
+
"properties": {
|
|
30075
|
+
"operation": {
|
|
30076
|
+
"type": "string",
|
|
30077
|
+
"enum": [
|
|
30078
|
+
"update_page"
|
|
30079
|
+
]
|
|
30080
|
+
},
|
|
30081
|
+
"page": {
|
|
30082
|
+
"type": "string",
|
|
30083
|
+
"description": "ID of the page whose content should be updated."
|
|
30084
|
+
},
|
|
30085
|
+
"document": {
|
|
30086
|
+
"$ref": "#/components/schemas/Document"
|
|
30087
|
+
}
|
|
30088
|
+
}
|
|
30089
|
+
},
|
|
30090
|
+
"ChangeRequestContentChange": {
|
|
30091
|
+
"oneOf": [
|
|
30092
|
+
{
|
|
30093
|
+
"$ref": "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
30094
|
+
}
|
|
30095
|
+
],
|
|
30096
|
+
"discriminator": {
|
|
30097
|
+
"propertyName": "operation"
|
|
30098
|
+
}
|
|
30099
|
+
},
|
|
29622
30100
|
"RevisionPageType": {
|
|
29623
30101
|
"type": "string",
|
|
29624
30102
|
"enum": [
|
|
@@ -37042,6 +37520,244 @@
|
|
|
37042
37520
|
}
|
|
37043
37521
|
]
|
|
37044
37522
|
},
|
|
37523
|
+
"GitSyncInstallationPriority": {
|
|
37524
|
+
"type": "string",
|
|
37525
|
+
"description": "Which side should be treated as the source of truth when Git Sync is configured.",
|
|
37526
|
+
"enum": [
|
|
37527
|
+
"git",
|
|
37528
|
+
"gitbook"
|
|
37529
|
+
]
|
|
37530
|
+
},
|
|
37531
|
+
"GitSyncInstallationSetupCommon": {
|
|
37532
|
+
"type": "object",
|
|
37533
|
+
"description": "Common setup fields for a Git Sync installation.",
|
|
37534
|
+
"properties": {
|
|
37535
|
+
"projectDirectory": {
|
|
37536
|
+
"type": "string",
|
|
37537
|
+
"description": "Optional directory used when syncing a monorepo subdirectory."
|
|
37538
|
+
},
|
|
37539
|
+
"commitMessageTemplate": {
|
|
37540
|
+
"type": "string",
|
|
37541
|
+
"description": "Optional template used when generating commit messages."
|
|
37542
|
+
},
|
|
37543
|
+
"previewExternalBranches": {
|
|
37544
|
+
"type": "boolean",
|
|
37545
|
+
"default": false,
|
|
37546
|
+
"description": "Whether previews should be generated from branches outside the configured branch."
|
|
37547
|
+
},
|
|
37548
|
+
"priority": {
|
|
37549
|
+
"$ref": "#/components/schemas/GitSyncInstallationPriority"
|
|
37550
|
+
}
|
|
37551
|
+
}
|
|
37552
|
+
},
|
|
37553
|
+
"GitSyncInstallationSetupGitHub": {
|
|
37554
|
+
"type": "object",
|
|
37555
|
+
"description": "GitHub provider configuration for a Git Sync installation.",
|
|
37556
|
+
"properties": {
|
|
37557
|
+
"provider": {
|
|
37558
|
+
"type": "string",
|
|
37559
|
+
"enum": [
|
|
37560
|
+
"github"
|
|
37561
|
+
]
|
|
37562
|
+
},
|
|
37563
|
+
"providerConfiguration": {
|
|
37564
|
+
"type": "object",
|
|
37565
|
+
"description": "GitHub specific configuration for the Git Sync installation.",
|
|
37566
|
+
"properties": {
|
|
37567
|
+
"repositoryId": {
|
|
37568
|
+
"type": "number",
|
|
37569
|
+
"description": "GitHub repository identifier."
|
|
37570
|
+
},
|
|
37571
|
+
"branch": {
|
|
37572
|
+
"type": "string",
|
|
37573
|
+
"pattern": "^refs/heads/.+$",
|
|
37574
|
+
"description": "GitHub repository branch ref."
|
|
37575
|
+
}
|
|
37576
|
+
}
|
|
37577
|
+
}
|
|
37578
|
+
},
|
|
37579
|
+
"required": [
|
|
37580
|
+
"provider",
|
|
37581
|
+
"providerConfiguration"
|
|
37582
|
+
]
|
|
37583
|
+
},
|
|
37584
|
+
"GitSyncInstallationSetupGitLab": {
|
|
37585
|
+
"type": "object",
|
|
37586
|
+
"description": "GitLab provider configuration for a Git Sync installation.",
|
|
37587
|
+
"properties": {
|
|
37588
|
+
"provider": {
|
|
37589
|
+
"type": "string",
|
|
37590
|
+
"enum": [
|
|
37591
|
+
"gitlab"
|
|
37592
|
+
]
|
|
37593
|
+
},
|
|
37594
|
+
"providerConfiguration": {
|
|
37595
|
+
"type": "object",
|
|
37596
|
+
"description": "GitLab specific configuration for the Git Sync installation.",
|
|
37597
|
+
"properties": {
|
|
37598
|
+
"projectId": {
|
|
37599
|
+
"type": "number",
|
|
37600
|
+
"description": "GitLab project identifier."
|
|
37601
|
+
},
|
|
37602
|
+
"accessToken": {
|
|
37603
|
+
"type": "string",
|
|
37604
|
+
"description": "GitLab access token with appropriate scopes for repository access."
|
|
37605
|
+
},
|
|
37606
|
+
"customInstanceURL": {
|
|
37607
|
+
"oneOf": [
|
|
37608
|
+
{
|
|
37609
|
+
"type": "string"
|
|
37610
|
+
},
|
|
37611
|
+
{
|
|
37612
|
+
"type": "null"
|
|
37613
|
+
}
|
|
37614
|
+
],
|
|
37615
|
+
"description": "Custom GitLab instance URL, if using a self-hosted GitLab. Use null to clear a self-hosted URL."
|
|
37616
|
+
},
|
|
37617
|
+
"branch": {
|
|
37618
|
+
"type": "string",
|
|
37619
|
+
"pattern": "^refs/heads/.+$",
|
|
37620
|
+
"description": "GitLab repository branch ref."
|
|
37621
|
+
}
|
|
37622
|
+
}
|
|
37623
|
+
}
|
|
37624
|
+
},
|
|
37625
|
+
"required": [
|
|
37626
|
+
"provider",
|
|
37627
|
+
"providerConfiguration"
|
|
37628
|
+
]
|
|
37629
|
+
},
|
|
37630
|
+
"GitSyncInstallationSetup": {
|
|
37631
|
+
"description": "Provider-specific setup payload for a Git Sync installation.",
|
|
37632
|
+
"allOf": [
|
|
37633
|
+
{
|
|
37634
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetupCommon"
|
|
37635
|
+
},
|
|
37636
|
+
{
|
|
37637
|
+
"oneOf": [
|
|
37638
|
+
{
|
|
37639
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetupGitHub"
|
|
37640
|
+
},
|
|
37641
|
+
{
|
|
37642
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetupGitLab"
|
|
37643
|
+
}
|
|
37644
|
+
],
|
|
37645
|
+
"discriminator": {
|
|
37646
|
+
"propertyName": "provider"
|
|
37647
|
+
}
|
|
37648
|
+
}
|
|
37649
|
+
]
|
|
37650
|
+
},
|
|
37651
|
+
"GitSyncInstallationTarget": {
|
|
37652
|
+
"description": "Resource targeted by a Git Sync installation.",
|
|
37653
|
+
"oneOf": [
|
|
37654
|
+
{
|
|
37655
|
+
"type": "object",
|
|
37656
|
+
"properties": {
|
|
37657
|
+
"type": {
|
|
37658
|
+
"type": "string",
|
|
37659
|
+
"enum": [
|
|
37660
|
+
"space"
|
|
37661
|
+
],
|
|
37662
|
+
"description": "Type of resource targeted by the Git Sync installation."
|
|
37663
|
+
},
|
|
37664
|
+
"spaceId": {
|
|
37665
|
+
"type": "string",
|
|
37666
|
+
"description": "Unique identifier of the space targeted by the Git Sync installation."
|
|
37667
|
+
}
|
|
37668
|
+
},
|
|
37669
|
+
"required": [
|
|
37670
|
+
"type",
|
|
37671
|
+
"spaceId"
|
|
37672
|
+
]
|
|
37673
|
+
},
|
|
37674
|
+
{
|
|
37675
|
+
"type": "object",
|
|
37676
|
+
"properties": {
|
|
37677
|
+
"type": {
|
|
37678
|
+
"type": "string",
|
|
37679
|
+
"enum": [
|
|
37680
|
+
"site"
|
|
37681
|
+
],
|
|
37682
|
+
"description": "Type of resource targeted by the Git Sync installation."
|
|
37683
|
+
},
|
|
37684
|
+
"siteId": {
|
|
37685
|
+
"type": "string",
|
|
37686
|
+
"description": "Unique identifier of the site targeted by the Git Sync installation."
|
|
37687
|
+
}
|
|
37688
|
+
},
|
|
37689
|
+
"required": [
|
|
37690
|
+
"type",
|
|
37691
|
+
"siteId"
|
|
37692
|
+
]
|
|
37693
|
+
}
|
|
37694
|
+
],
|
|
37695
|
+
"discriminator": {
|
|
37696
|
+
"propertyName": "type"
|
|
37697
|
+
}
|
|
37698
|
+
},
|
|
37699
|
+
"GitSyncInstallation": {
|
|
37700
|
+
"allOf": [
|
|
37701
|
+
{
|
|
37702
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetup"
|
|
37703
|
+
},
|
|
37704
|
+
{
|
|
37705
|
+
"type": "object",
|
|
37706
|
+
"properties": {
|
|
37707
|
+
"object": {
|
|
37708
|
+
"type": "string",
|
|
37709
|
+
"enum": [
|
|
37710
|
+
"git-sync-installation"
|
|
37711
|
+
]
|
|
37712
|
+
},
|
|
37713
|
+
"id": {
|
|
37714
|
+
"type": "string",
|
|
37715
|
+
"description": "Unique identifier of the Git Sync installation."
|
|
37716
|
+
},
|
|
37717
|
+
"target": {
|
|
37718
|
+
"$ref": "#/components/schemas/GitSyncInstallationTarget"
|
|
37719
|
+
},
|
|
37720
|
+
"status": {
|
|
37721
|
+
"$ref": "#/components/schemas/GitSyncInstallationStatus"
|
|
37722
|
+
},
|
|
37723
|
+
"createdAt": {
|
|
37724
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37725
|
+
},
|
|
37726
|
+
"createdBy": {
|
|
37727
|
+
"type": "string",
|
|
37728
|
+
"description": "Identifier of the user who created the installation."
|
|
37729
|
+
},
|
|
37730
|
+
"updatedAt": {
|
|
37731
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37732
|
+
},
|
|
37733
|
+
"urls": {
|
|
37734
|
+
"type": "object",
|
|
37735
|
+
"description": "URLs associated with the installation",
|
|
37736
|
+
"properties": {
|
|
37737
|
+
"location": {
|
|
37738
|
+
"type": "string",
|
|
37739
|
+
"description": "URL of the installation endpoint in the API",
|
|
37740
|
+
"format": "uri"
|
|
37741
|
+
}
|
|
37742
|
+
},
|
|
37743
|
+
"required": [
|
|
37744
|
+
"location"
|
|
37745
|
+
]
|
|
37746
|
+
}
|
|
37747
|
+
},
|
|
37748
|
+
"required": [
|
|
37749
|
+
"object",
|
|
37750
|
+
"id",
|
|
37751
|
+
"target",
|
|
37752
|
+
"status",
|
|
37753
|
+
"createdAt",
|
|
37754
|
+
"createdBy",
|
|
37755
|
+
"updatedAt",
|
|
37756
|
+
"urls"
|
|
37757
|
+
]
|
|
37758
|
+
}
|
|
37759
|
+
]
|
|
37760
|
+
},
|
|
37045
37761
|
"SiteAdaptiveDeterministicJSONSchemaPrimitives": {
|
|
37046
37762
|
"oneOf": [
|
|
37047
37763
|
{
|
|
@@ -38150,7 +38866,8 @@
|
|
|
38150
38866
|
"required": [
|
|
38151
38867
|
"externalAI",
|
|
38152
38868
|
"markdown",
|
|
38153
|
-
"mcp"
|
|
38869
|
+
"mcp",
|
|
38870
|
+
"items"
|
|
38154
38871
|
]
|
|
38155
38872
|
},
|
|
38156
38873
|
"externalLinks": {
|
|
@@ -38731,7 +39448,8 @@
|
|
|
38731
39448
|
"builtin:youtube",
|
|
38732
39449
|
"builtin:github-discussions",
|
|
38733
39450
|
"builtin:github-issues",
|
|
38734
|
-
"builtin:intercom"
|
|
39451
|
+
"builtin:intercom",
|
|
39452
|
+
"builtin:zendesk"
|
|
38735
39453
|
]
|
|
38736
39454
|
}
|
|
38737
39455
|
]
|
|
@@ -39596,6 +40314,43 @@
|
|
|
39596
40314
|
"connector",
|
|
39597
40315
|
"setupSettings"
|
|
39598
40316
|
]
|
|
40317
|
+
},
|
|
40318
|
+
{
|
|
40319
|
+
"type": "object",
|
|
40320
|
+
"properties": {
|
|
40321
|
+
"connector": {
|
|
40322
|
+
"type": "string",
|
|
40323
|
+
"enum": [
|
|
40324
|
+
"builtin:zendesk"
|
|
40325
|
+
]
|
|
40326
|
+
},
|
|
40327
|
+
"setupSettings": {
|
|
40328
|
+
"type": "object",
|
|
40329
|
+
"properties": {
|
|
40330
|
+
"subdomain": {
|
|
40331
|
+
"type": "string",
|
|
40332
|
+
"minLength": 1
|
|
40333
|
+
},
|
|
40334
|
+
"email": {
|
|
40335
|
+
"type": "string",
|
|
40336
|
+
"minLength": 1
|
|
40337
|
+
},
|
|
40338
|
+
"apiToken": {
|
|
40339
|
+
"type": "string",
|
|
40340
|
+
"minLength": 1
|
|
40341
|
+
}
|
|
40342
|
+
},
|
|
40343
|
+
"required": [
|
|
40344
|
+
"subdomain",
|
|
40345
|
+
"email",
|
|
40346
|
+
"apiToken"
|
|
40347
|
+
]
|
|
40348
|
+
}
|
|
40349
|
+
},
|
|
40350
|
+
"required": [
|
|
40351
|
+
"connector",
|
|
40352
|
+
"setupSettings"
|
|
40353
|
+
]
|
|
39599
40354
|
}
|
|
39600
40355
|
]
|
|
39601
40356
|
},
|
|
@@ -46104,6 +46859,70 @@
|
|
|
46104
46859
|
"spaces"
|
|
46105
46860
|
]
|
|
46106
46861
|
},
|
|
46862
|
+
"OrganizationBillingDateOverride": {
|
|
46863
|
+
"description": "Date-based billing override value, either indefinite or a timestamp.",
|
|
46864
|
+
"oneOf": [
|
|
46865
|
+
{
|
|
46866
|
+
"type": "boolean",
|
|
46867
|
+
"enum": [
|
|
46868
|
+
true
|
|
46869
|
+
]
|
|
46870
|
+
},
|
|
46871
|
+
{
|
|
46872
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
46873
|
+
}
|
|
46874
|
+
]
|
|
46875
|
+
},
|
|
46876
|
+
"OrganizationBillingNumericOverride": {
|
|
46877
|
+
"type": "integer",
|
|
46878
|
+
"minimum": 0,
|
|
46879
|
+
"description": "Current numeric billing override, when set."
|
|
46880
|
+
},
|
|
46881
|
+
"OrganizationBillingOverrides": {
|
|
46882
|
+
"type": "object",
|
|
46883
|
+
"properties": {
|
|
46884
|
+
"overrides": {
|
|
46885
|
+
"type": "object",
|
|
46886
|
+
"properties": {
|
|
46887
|
+
"frozenInterval": {
|
|
46888
|
+
"description": "Current interval-change override, when set.",
|
|
46889
|
+
"$ref": "#/components/schemas/OrganizationBillingDateOverride"
|
|
46890
|
+
},
|
|
46891
|
+
"enableSAML": {
|
|
46892
|
+
"description": "Current SAML override, when set.",
|
|
46893
|
+
"$ref": "#/components/schemas/OrganizationBillingDateOverride"
|
|
46894
|
+
},
|
|
46895
|
+
"minUsers": {
|
|
46896
|
+
"description": "Current minimum users override, when set.",
|
|
46897
|
+
"$ref": "#/components/schemas/OrganizationBillingNumericOverride"
|
|
46898
|
+
},
|
|
46899
|
+
"maxUsers": {
|
|
46900
|
+
"description": "Current maximum users override, when set.",
|
|
46901
|
+
"$ref": "#/components/schemas/OrganizationBillingNumericOverride"
|
|
46902
|
+
},
|
|
46903
|
+
"minPremiumSites": {
|
|
46904
|
+
"description": "Current minimum premium sites override, when set.",
|
|
46905
|
+
"$ref": "#/components/schemas/OrganizationBillingNumericOverride"
|
|
46906
|
+
},
|
|
46907
|
+
"maxPremiumSites": {
|
|
46908
|
+
"description": "Current maximum premium sites override, when set.",
|
|
46909
|
+
"$ref": "#/components/schemas/OrganizationBillingNumericOverride"
|
|
46910
|
+
},
|
|
46911
|
+
"minUltimateSites": {
|
|
46912
|
+
"description": "Current minimum ultimate sites override, when set.",
|
|
46913
|
+
"$ref": "#/components/schemas/OrganizationBillingNumericOverride"
|
|
46914
|
+
},
|
|
46915
|
+
"maxUltimateSites": {
|
|
46916
|
+
"description": "Current maximum ultimate sites override, when set.",
|
|
46917
|
+
"$ref": "#/components/schemas/OrganizationBillingNumericOverride"
|
|
46918
|
+
}
|
|
46919
|
+
}
|
|
46920
|
+
}
|
|
46921
|
+
},
|
|
46922
|
+
"required": [
|
|
46923
|
+
"overrides"
|
|
46924
|
+
]
|
|
46925
|
+
},
|
|
46107
46926
|
"BackOfficeSite": {
|
|
46108
46927
|
"allOf": [
|
|
46109
46928
|
{
|
|
@@ -46289,244 +47108,6 @@
|
|
|
46289
47108
|
"gitlab"
|
|
46290
47109
|
]
|
|
46291
47110
|
},
|
|
46292
|
-
"GitSyncInstallationTarget": {
|
|
46293
|
-
"description": "Resource targeted by a Git Sync installation.",
|
|
46294
|
-
"oneOf": [
|
|
46295
|
-
{
|
|
46296
|
-
"type": "object",
|
|
46297
|
-
"properties": {
|
|
46298
|
-
"type": {
|
|
46299
|
-
"type": "string",
|
|
46300
|
-
"enum": [
|
|
46301
|
-
"space"
|
|
46302
|
-
],
|
|
46303
|
-
"description": "Type of resource targeted by the Git Sync installation."
|
|
46304
|
-
},
|
|
46305
|
-
"spaceId": {
|
|
46306
|
-
"type": "string",
|
|
46307
|
-
"description": "Unique identifier of the space targeted by the Git Sync installation."
|
|
46308
|
-
}
|
|
46309
|
-
},
|
|
46310
|
-
"required": [
|
|
46311
|
-
"type",
|
|
46312
|
-
"spaceId"
|
|
46313
|
-
]
|
|
46314
|
-
},
|
|
46315
|
-
{
|
|
46316
|
-
"type": "object",
|
|
46317
|
-
"properties": {
|
|
46318
|
-
"type": {
|
|
46319
|
-
"type": "string",
|
|
46320
|
-
"enum": [
|
|
46321
|
-
"site"
|
|
46322
|
-
],
|
|
46323
|
-
"description": "Type of resource targeted by the Git Sync installation."
|
|
46324
|
-
},
|
|
46325
|
-
"siteId": {
|
|
46326
|
-
"type": "string",
|
|
46327
|
-
"description": "Unique identifier of the site targeted by the Git Sync installation."
|
|
46328
|
-
}
|
|
46329
|
-
},
|
|
46330
|
-
"required": [
|
|
46331
|
-
"type",
|
|
46332
|
-
"siteId"
|
|
46333
|
-
]
|
|
46334
|
-
}
|
|
46335
|
-
],
|
|
46336
|
-
"discriminator": {
|
|
46337
|
-
"propertyName": "type"
|
|
46338
|
-
}
|
|
46339
|
-
},
|
|
46340
|
-
"GitSyncInstallationPriority": {
|
|
46341
|
-
"type": "string",
|
|
46342
|
-
"description": "Which side should be treated as the source of truth when Git Sync is configured.",
|
|
46343
|
-
"enum": [
|
|
46344
|
-
"git",
|
|
46345
|
-
"gitbook"
|
|
46346
|
-
]
|
|
46347
|
-
},
|
|
46348
|
-
"GitSyncInstallationSetupCommon": {
|
|
46349
|
-
"type": "object",
|
|
46350
|
-
"description": "Common setup fields for a Git Sync installation.",
|
|
46351
|
-
"properties": {
|
|
46352
|
-
"projectDirectory": {
|
|
46353
|
-
"type": "string",
|
|
46354
|
-
"description": "Optional directory used when syncing a monorepo subdirectory."
|
|
46355
|
-
},
|
|
46356
|
-
"commitMessageTemplate": {
|
|
46357
|
-
"type": "string",
|
|
46358
|
-
"description": "Optional template used when generating commit messages."
|
|
46359
|
-
},
|
|
46360
|
-
"previewExternalBranches": {
|
|
46361
|
-
"type": "boolean",
|
|
46362
|
-
"default": false,
|
|
46363
|
-
"description": "Whether previews should be generated from branches outside the configured branch."
|
|
46364
|
-
},
|
|
46365
|
-
"priority": {
|
|
46366
|
-
"$ref": "#/components/schemas/GitSyncInstallationPriority"
|
|
46367
|
-
}
|
|
46368
|
-
}
|
|
46369
|
-
},
|
|
46370
|
-
"GitSyncInstallationSetupGitHub": {
|
|
46371
|
-
"type": "object",
|
|
46372
|
-
"description": "GitHub provider configuration for a Git Sync installation.",
|
|
46373
|
-
"properties": {
|
|
46374
|
-
"provider": {
|
|
46375
|
-
"type": "string",
|
|
46376
|
-
"enum": [
|
|
46377
|
-
"github"
|
|
46378
|
-
]
|
|
46379
|
-
},
|
|
46380
|
-
"providerConfiguration": {
|
|
46381
|
-
"type": "object",
|
|
46382
|
-
"description": "GitHub specific configuration for the Git Sync installation.",
|
|
46383
|
-
"properties": {
|
|
46384
|
-
"repositoryId": {
|
|
46385
|
-
"type": "number",
|
|
46386
|
-
"description": "GitHub repository identifier."
|
|
46387
|
-
},
|
|
46388
|
-
"branch": {
|
|
46389
|
-
"type": "string",
|
|
46390
|
-
"pattern": "^refs/heads/.+$",
|
|
46391
|
-
"description": "GitHub repository branch ref."
|
|
46392
|
-
}
|
|
46393
|
-
}
|
|
46394
|
-
}
|
|
46395
|
-
},
|
|
46396
|
-
"required": [
|
|
46397
|
-
"provider",
|
|
46398
|
-
"providerConfiguration"
|
|
46399
|
-
]
|
|
46400
|
-
},
|
|
46401
|
-
"GitSyncInstallationSetupGitLab": {
|
|
46402
|
-
"type": "object",
|
|
46403
|
-
"description": "GitLab provider configuration for a Git Sync installation.",
|
|
46404
|
-
"properties": {
|
|
46405
|
-
"provider": {
|
|
46406
|
-
"type": "string",
|
|
46407
|
-
"enum": [
|
|
46408
|
-
"gitlab"
|
|
46409
|
-
]
|
|
46410
|
-
},
|
|
46411
|
-
"providerConfiguration": {
|
|
46412
|
-
"type": "object",
|
|
46413
|
-
"description": "GitLab specific configuration for the Git Sync installation.",
|
|
46414
|
-
"properties": {
|
|
46415
|
-
"projectId": {
|
|
46416
|
-
"type": "number",
|
|
46417
|
-
"description": "GitLab project identifier."
|
|
46418
|
-
},
|
|
46419
|
-
"accessToken": {
|
|
46420
|
-
"type": "string",
|
|
46421
|
-
"description": "GitLab access token with appropriate scopes for repository access."
|
|
46422
|
-
},
|
|
46423
|
-
"customInstanceURL": {
|
|
46424
|
-
"oneOf": [
|
|
46425
|
-
{
|
|
46426
|
-
"type": "string"
|
|
46427
|
-
},
|
|
46428
|
-
{
|
|
46429
|
-
"type": "null"
|
|
46430
|
-
}
|
|
46431
|
-
],
|
|
46432
|
-
"description": "Custom GitLab instance URL, if using a self-hosted GitLab. Use null to clear a self-hosted URL."
|
|
46433
|
-
},
|
|
46434
|
-
"branch": {
|
|
46435
|
-
"type": "string",
|
|
46436
|
-
"pattern": "^refs/heads/.+$",
|
|
46437
|
-
"description": "GitLab repository branch ref."
|
|
46438
|
-
}
|
|
46439
|
-
}
|
|
46440
|
-
}
|
|
46441
|
-
},
|
|
46442
|
-
"required": [
|
|
46443
|
-
"provider",
|
|
46444
|
-
"providerConfiguration"
|
|
46445
|
-
]
|
|
46446
|
-
},
|
|
46447
|
-
"GitSyncInstallationSetup": {
|
|
46448
|
-
"description": "Provider-specific setup payload for a Git Sync installation.",
|
|
46449
|
-
"allOf": [
|
|
46450
|
-
{
|
|
46451
|
-
"$ref": "#/components/schemas/GitSyncInstallationSetupCommon"
|
|
46452
|
-
},
|
|
46453
|
-
{
|
|
46454
|
-
"oneOf": [
|
|
46455
|
-
{
|
|
46456
|
-
"$ref": "#/components/schemas/GitSyncInstallationSetupGitHub"
|
|
46457
|
-
},
|
|
46458
|
-
{
|
|
46459
|
-
"$ref": "#/components/schemas/GitSyncInstallationSetupGitLab"
|
|
46460
|
-
}
|
|
46461
|
-
],
|
|
46462
|
-
"discriminator": {
|
|
46463
|
-
"propertyName": "provider"
|
|
46464
|
-
}
|
|
46465
|
-
}
|
|
46466
|
-
]
|
|
46467
|
-
},
|
|
46468
|
-
"GitSyncInstallation": {
|
|
46469
|
-
"allOf": [
|
|
46470
|
-
{
|
|
46471
|
-
"$ref": "#/components/schemas/GitSyncInstallationSetup"
|
|
46472
|
-
},
|
|
46473
|
-
{
|
|
46474
|
-
"type": "object",
|
|
46475
|
-
"properties": {
|
|
46476
|
-
"object": {
|
|
46477
|
-
"type": "string",
|
|
46478
|
-
"enum": [
|
|
46479
|
-
"git-sync-installation"
|
|
46480
|
-
]
|
|
46481
|
-
},
|
|
46482
|
-
"id": {
|
|
46483
|
-
"type": "string",
|
|
46484
|
-
"description": "Unique identifier of the Git Sync installation."
|
|
46485
|
-
},
|
|
46486
|
-
"target": {
|
|
46487
|
-
"$ref": "#/components/schemas/GitSyncInstallationTarget"
|
|
46488
|
-
},
|
|
46489
|
-
"status": {
|
|
46490
|
-
"$ref": "#/components/schemas/GitSyncInstallationStatus"
|
|
46491
|
-
},
|
|
46492
|
-
"createdAt": {
|
|
46493
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
46494
|
-
},
|
|
46495
|
-
"createdBy": {
|
|
46496
|
-
"type": "string",
|
|
46497
|
-
"description": "Identifier of the user who created the installation."
|
|
46498
|
-
},
|
|
46499
|
-
"updatedAt": {
|
|
46500
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
46501
|
-
},
|
|
46502
|
-
"urls": {
|
|
46503
|
-
"type": "object",
|
|
46504
|
-
"description": "URLs associated with the installation",
|
|
46505
|
-
"properties": {
|
|
46506
|
-
"location": {
|
|
46507
|
-
"type": "string",
|
|
46508
|
-
"description": "URL of the installation endpoint in the API",
|
|
46509
|
-
"format": "uri"
|
|
46510
|
-
}
|
|
46511
|
-
},
|
|
46512
|
-
"required": [
|
|
46513
|
-
"location"
|
|
46514
|
-
]
|
|
46515
|
-
}
|
|
46516
|
-
},
|
|
46517
|
-
"required": [
|
|
46518
|
-
"object",
|
|
46519
|
-
"id",
|
|
46520
|
-
"target",
|
|
46521
|
-
"status",
|
|
46522
|
-
"createdAt",
|
|
46523
|
-
"createdBy",
|
|
46524
|
-
"updatedAt",
|
|
46525
|
-
"urls"
|
|
46526
|
-
]
|
|
46527
|
-
}
|
|
46528
|
-
]
|
|
46529
|
-
},
|
|
46530
47111
|
"GitSyncGitHubRepository": {
|
|
46531
47112
|
"type": "object",
|
|
46532
47113
|
"description": "GitHub repository that can be selected for Git Sync.",
|
|
@@ -47204,6 +47785,890 @@
|
|
|
47204
47785
|
"updatedAt"
|
|
47205
47786
|
]
|
|
47206
47787
|
},
|
|
47788
|
+
"GitSyncSiteStructureSectionGroup": {
|
|
47789
|
+
"type": "object",
|
|
47790
|
+
"additionalProperties": false,
|
|
47791
|
+
"description": "A section group — a container that nests sections (and other section\ngroups). Discriminated by `type: section-group`. Up to one level of nested\nsection groups is allowed.\n",
|
|
47792
|
+
"properties": {
|
|
47793
|
+
"type": {
|
|
47794
|
+
"type": "string",
|
|
47795
|
+
"enum": [
|
|
47796
|
+
"section-group"
|
|
47797
|
+
],
|
|
47798
|
+
"description": "Discriminator for a section group node."
|
|
47799
|
+
},
|
|
47800
|
+
"key": {
|
|
47801
|
+
"type": "string",
|
|
47802
|
+
"description": "Stable identifier for this section group, used as the Git Sync key.\nMust be unique amongst all other section groups of the site. For\nexample: `section-group-product` or `section-group-1`.\n",
|
|
47803
|
+
"minLength": 1
|
|
47804
|
+
},
|
|
47805
|
+
"title": {
|
|
47806
|
+
"$ref": "#/components/schemas/SiteSectionGroupTitle"
|
|
47807
|
+
},
|
|
47808
|
+
"localizedTitle": {
|
|
47809
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
47810
|
+
},
|
|
47811
|
+
"icon": {
|
|
47812
|
+
"$ref": "#/components/schemas/Icon"
|
|
47813
|
+
},
|
|
47814
|
+
"draft": {
|
|
47815
|
+
"type": "boolean",
|
|
47816
|
+
"description": "Whether the section group is draft and not live."
|
|
47817
|
+
},
|
|
47818
|
+
"children": {
|
|
47819
|
+
"type": "array",
|
|
47820
|
+
"description": "Section or section group nodes nested under this group.",
|
|
47821
|
+
"items": {
|
|
47822
|
+
"oneOf": [
|
|
47823
|
+
{
|
|
47824
|
+
"$ref": "#/components/schemas/GitSyncSiteStructureSectionGroup"
|
|
47825
|
+
},
|
|
47826
|
+
{
|
|
47827
|
+
"$ref": "#/components/schemas/GitSyncSiteStructureSection"
|
|
47828
|
+
}
|
|
47829
|
+
]
|
|
47830
|
+
}
|
|
47831
|
+
}
|
|
47832
|
+
},
|
|
47833
|
+
"required": [
|
|
47834
|
+
"type",
|
|
47835
|
+
"key",
|
|
47836
|
+
"title"
|
|
47837
|
+
]
|
|
47838
|
+
},
|
|
47839
|
+
"GitSyncSiteStructureSpace": {
|
|
47840
|
+
"type": "object",
|
|
47841
|
+
"additionalProperties": false,
|
|
47842
|
+
"description": "A space — a single content unit in the site's navigation tree. Discriminated\nby `type: space`.\n\nThe space's content lives in the synced repository at the directory pointed\nto by `content.directory`. Hierarchy comes from where the space appears in\nthe YAML (under a section, a section group, or at the root), not from an\nexplicit parent reference.\n",
|
|
47843
|
+
"properties": {
|
|
47844
|
+
"type": {
|
|
47845
|
+
"type": "string",
|
|
47846
|
+
"enum": [
|
|
47847
|
+
"space"
|
|
47848
|
+
],
|
|
47849
|
+
"description": "Discriminator for a space node."
|
|
47850
|
+
},
|
|
47851
|
+
"key": {
|
|
47852
|
+
"type": "string",
|
|
47853
|
+
"description": "Stable identifier for this space, used as the Git Sync key. Must be\nunique amongst all other spaces of the site. For example: `space-docs`\nor `space-1`.\n",
|
|
47854
|
+
"minLength": 1
|
|
47855
|
+
},
|
|
47856
|
+
"title": {
|
|
47857
|
+
"type": "string",
|
|
47858
|
+
"minLength": 1
|
|
47859
|
+
},
|
|
47860
|
+
"localizedTitle": {
|
|
47861
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
47862
|
+
},
|
|
47863
|
+
"path": {
|
|
47864
|
+
"$ref": "#/components/schemas/SiteSpacePath"
|
|
47865
|
+
},
|
|
47866
|
+
"default": {
|
|
47867
|
+
"type": "boolean",
|
|
47868
|
+
"description": "Whether this is the default space for the site."
|
|
47869
|
+
},
|
|
47870
|
+
"hidden": {
|
|
47871
|
+
"type": "boolean",
|
|
47872
|
+
"description": "Whether the space is hidden from the site's navigation."
|
|
47873
|
+
},
|
|
47874
|
+
"draft": {
|
|
47875
|
+
"type": "boolean",
|
|
47876
|
+
"description": "Whether the space is draft and not live."
|
|
47877
|
+
},
|
|
47878
|
+
"condition": {
|
|
47879
|
+
"$ref": "#/components/schemas/Expression"
|
|
47880
|
+
},
|
|
47881
|
+
"content": {
|
|
47882
|
+
"type": "object",
|
|
47883
|
+
"additionalProperties": false,
|
|
47884
|
+
"description": "Where the space's content lives in the synced repository.",
|
|
47885
|
+
"properties": {
|
|
47886
|
+
"directory": {
|
|
47887
|
+
"type": "string",
|
|
47888
|
+
"description": "Repository-relative directory containing this space's content.",
|
|
47889
|
+
"minLength": 1
|
|
47890
|
+
},
|
|
47891
|
+
"language": {
|
|
47892
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
47893
|
+
}
|
|
47894
|
+
},
|
|
47895
|
+
"required": [
|
|
47896
|
+
"directory"
|
|
47897
|
+
]
|
|
47898
|
+
}
|
|
47899
|
+
},
|
|
47900
|
+
"required": [
|
|
47901
|
+
"type",
|
|
47902
|
+
"key",
|
|
47903
|
+
"title",
|
|
47904
|
+
"path",
|
|
47905
|
+
"content"
|
|
47906
|
+
]
|
|
47907
|
+
},
|
|
47908
|
+
"GitSyncSiteStructureSection": {
|
|
47909
|
+
"type": "object",
|
|
47910
|
+
"additionalProperties": false,
|
|
47911
|
+
"description": "A section — a group of spaces sharing a top-level navigation entry.\nDiscriminated by `type: section`.\n\nSpaces inside a section are listed inline under `children`. A site with\nsections must mark exactly one section with `default: true`.\n",
|
|
47912
|
+
"properties": {
|
|
47913
|
+
"type": {
|
|
47914
|
+
"type": "string",
|
|
47915
|
+
"enum": [
|
|
47916
|
+
"section"
|
|
47917
|
+
],
|
|
47918
|
+
"description": "Discriminator for a section node."
|
|
47919
|
+
},
|
|
47920
|
+
"key": {
|
|
47921
|
+
"type": "string",
|
|
47922
|
+
"description": "Stable identifier for this section, used as the Git Sync key. Must be\nunique amongst all other sections of the site. For example:\n`section-guides` or `section-1`.\n",
|
|
47923
|
+
"minLength": 1
|
|
47924
|
+
},
|
|
47925
|
+
"title": {
|
|
47926
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
47927
|
+
},
|
|
47928
|
+
"localizedTitle": {
|
|
47929
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
47930
|
+
},
|
|
47931
|
+
"description": {
|
|
47932
|
+
"$ref": "#/components/schemas/SiteSectionDescription"
|
|
47933
|
+
},
|
|
47934
|
+
"localizedDescription": {
|
|
47935
|
+
"$ref": "#/components/schemas/LocalizedString256"
|
|
47936
|
+
},
|
|
47937
|
+
"icon": {
|
|
47938
|
+
"$ref": "#/components/schemas/Icon"
|
|
47939
|
+
},
|
|
47940
|
+
"default": {
|
|
47941
|
+
"type": "boolean",
|
|
47942
|
+
"description": "Whether this is the default section for the site."
|
|
47943
|
+
},
|
|
47944
|
+
"draft": {
|
|
47945
|
+
"type": "boolean",
|
|
47946
|
+
"description": "Whether the section is draft and not live."
|
|
47947
|
+
},
|
|
47948
|
+
"path": {
|
|
47949
|
+
"$ref": "#/components/schemas/SiteSectionPath"
|
|
47950
|
+
},
|
|
47951
|
+
"condition": {
|
|
47952
|
+
"$ref": "#/components/schemas/Expression"
|
|
47953
|
+
},
|
|
47954
|
+
"children": {
|
|
47955
|
+
"type": "array",
|
|
47956
|
+
"description": "Space nodes nested under this section.",
|
|
47957
|
+
"items": {
|
|
47958
|
+
"$ref": "#/components/schemas/GitSyncSiteStructureSpace"
|
|
47959
|
+
}
|
|
47960
|
+
}
|
|
47961
|
+
},
|
|
47962
|
+
"required": [
|
|
47963
|
+
"type",
|
|
47964
|
+
"key",
|
|
47965
|
+
"title",
|
|
47966
|
+
"path"
|
|
47967
|
+
]
|
|
47968
|
+
},
|
|
47969
|
+
"GitSyncSiteStructureNode": {
|
|
47970
|
+
"description": "A single node in a Git Sync site structure tree — a section group, a\nsection, or a space, discriminated by `type`.\n",
|
|
47971
|
+
"oneOf": [
|
|
47972
|
+
{
|
|
47973
|
+
"$ref": "#/components/schemas/GitSyncSiteStructureSectionGroup"
|
|
47974
|
+
},
|
|
47975
|
+
{
|
|
47976
|
+
"$ref": "#/components/schemas/GitSyncSiteStructureSection"
|
|
47977
|
+
},
|
|
47978
|
+
{
|
|
47979
|
+
"$ref": "#/components/schemas/GitSyncSiteStructureSpace"
|
|
47980
|
+
}
|
|
47981
|
+
]
|
|
47982
|
+
},
|
|
47983
|
+
"GitSyncSiteStructure": {
|
|
47984
|
+
"type": "array",
|
|
47985
|
+
"description": "Hierarchical structure of a site in a Git Sync YAML. Each entry is one of\nthree node types: a section group, a section, or a space.\n",
|
|
47986
|
+
"items": {
|
|
47987
|
+
"$ref": "#/components/schemas/GitSyncSiteStructureNode"
|
|
47988
|
+
}
|
|
47989
|
+
},
|
|
47990
|
+
"GitSyncSiteCustomizationFontSource": {
|
|
47991
|
+
"type": "string",
|
|
47992
|
+
"description": "Reserved repository-relative path to the font file:\n`.gitbook/assets/<key>-<weight>.<ext>`, where `<key>` is the parent\nfont definition's `key`, `<weight>` is this face's `weight`, and\n`<ext>` is one of `woff2`, `woff`.\n\nFor example, a font with `key: brand` and a `700` face is read from\n`.gitbook/assets/brand-700.woff2`. Any other path is rejected.\n",
|
|
47993
|
+
"minLength": 1
|
|
47994
|
+
},
|
|
47995
|
+
"GitSyncSiteCustomizationFontDefinition": {
|
|
47996
|
+
"type": "object",
|
|
47997
|
+
"description": "Custom font definition for a `site.fonts[]` entry. Referenced from\n`customization.styling.font` or `customization.styling.monospaceFont` via\nits `key`.\n\nRules enforced on a definition:\n- It must declare exactly one face for the `400` weight and one for the\n `700` weight; the `600` weight is optional. No other weights are allowed,\n and a weight may not be declared more than once.\n- Each face has a single source file whose `url` is the reserved repository\n asset path `.gitbook/assets/<key>-<weight>.<ext>` (`<ext>` is `woff2` or\n `woff`). For example a definition with `key: brand` is read from\n `.gitbook/assets/brand-400.woff2` and `.gitbook/assets/brand-700.woff2`.\n",
|
|
47998
|
+
"properties": {
|
|
47999
|
+
"key": {
|
|
48000
|
+
"type": "string",
|
|
48001
|
+
"description": "Stable identifier referenced from `styling.font` /\n`styling.monospaceFont`, and used as the prefix of each face's\nreserved asset path (`.gitbook/assets/<key>-<weight>.<ext>`).\n",
|
|
48002
|
+
"minLength": 1,
|
|
48003
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
|
|
48004
|
+
},
|
|
48005
|
+
"fontFamily": {
|
|
48006
|
+
"$ref": "#/components/schemas/FontFamily"
|
|
48007
|
+
},
|
|
48008
|
+
"fontFaces": {
|
|
48009
|
+
"type": "object",
|
|
48010
|
+
"description": "Font-face declarations keyed by weight, each specifying its single\nsource file. The `400` and `700` weights are required; `600` is\noptional.\n",
|
|
48011
|
+
"properties": {
|
|
48012
|
+
"400": {
|
|
48013
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
48014
|
+
},
|
|
48015
|
+
"600": {
|
|
48016
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
48017
|
+
},
|
|
48018
|
+
"700": {
|
|
48019
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
48020
|
+
}
|
|
48021
|
+
},
|
|
48022
|
+
"required": [
|
|
48023
|
+
"400",
|
|
48024
|
+
"700"
|
|
48025
|
+
],
|
|
48026
|
+
"additionalProperties": false
|
|
48027
|
+
}
|
|
48028
|
+
},
|
|
48029
|
+
"required": [
|
|
48030
|
+
"key",
|
|
48031
|
+
"fontFamily",
|
|
48032
|
+
"fontFaces"
|
|
48033
|
+
]
|
|
48034
|
+
},
|
|
48035
|
+
"GitSyncSiteCustomizationThemedColor": {
|
|
48036
|
+
"type": "object",
|
|
48037
|
+
"description": "Themed color (light + dark).\n",
|
|
48038
|
+
"properties": {
|
|
48039
|
+
"light": {
|
|
48040
|
+
"$ref": "#/components/schemas/Color"
|
|
48041
|
+
},
|
|
48042
|
+
"dark": {
|
|
48043
|
+
"$ref": "#/components/schemas/Color"
|
|
48044
|
+
}
|
|
48045
|
+
},
|
|
48046
|
+
"required": [
|
|
48047
|
+
"light",
|
|
48048
|
+
"dark"
|
|
48049
|
+
]
|
|
48050
|
+
},
|
|
48051
|
+
"GitSyncSiteCustomizationTint": {
|
|
48052
|
+
"type": "object",
|
|
48053
|
+
"description": "Tint configuration.\n",
|
|
48054
|
+
"properties": {
|
|
48055
|
+
"color": {
|
|
48056
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
48057
|
+
}
|
|
48058
|
+
},
|
|
48059
|
+
"required": [
|
|
48060
|
+
"color"
|
|
48061
|
+
]
|
|
48062
|
+
},
|
|
48063
|
+
"GitSyncSiteCustomizationFontReference": {
|
|
48064
|
+
"type": "object",
|
|
48065
|
+
"description": "Reference to a custom font defined under `site.fonts[]`. Matches by `key`.\n",
|
|
48066
|
+
"properties": {
|
|
48067
|
+
"key": {
|
|
48068
|
+
"type": "string",
|
|
48069
|
+
"description": "Matches the `key` of an entry in `site.fonts[]`.",
|
|
48070
|
+
"minLength": 1
|
|
48071
|
+
}
|
|
48072
|
+
},
|
|
48073
|
+
"required": [
|
|
48074
|
+
"key"
|
|
48075
|
+
]
|
|
48076
|
+
},
|
|
48077
|
+
"GitSyncSiteCustomizationFont": {
|
|
48078
|
+
"description": "Body font for the site. Either one of the built-in `CustomizationDefaultFont`\nvalues, or a reference to a custom font declared in `site.fonts[]`.\n",
|
|
48079
|
+
"oneOf": [
|
|
48080
|
+
{
|
|
48081
|
+
"$ref": "#/components/schemas/CustomizationDefaultFont"
|
|
48082
|
+
},
|
|
48083
|
+
{
|
|
48084
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontReference"
|
|
48085
|
+
}
|
|
48086
|
+
]
|
|
48087
|
+
},
|
|
48088
|
+
"GitSyncSiteCustomizationMonospaceFont": {
|
|
48089
|
+
"description": "Monospace font for the site. Either one of the built-in\n`CustomizationDefaultMonospaceFont` values, or a reference to a custom font\ndeclared in `site.fonts[]`.\n",
|
|
48090
|
+
"oneOf": [
|
|
48091
|
+
{
|
|
48092
|
+
"$ref": "#/components/schemas/CustomizationDefaultMonospaceFont"
|
|
48093
|
+
},
|
|
48094
|
+
{
|
|
48095
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontReference"
|
|
48096
|
+
}
|
|
48097
|
+
]
|
|
48098
|
+
},
|
|
48099
|
+
"GitSyncSiteCustomizationThemedCodeTheme": {
|
|
48100
|
+
"type": "object",
|
|
48101
|
+
"description": "Themed code theme (light + dark).\n",
|
|
48102
|
+
"properties": {
|
|
48103
|
+
"light": {
|
|
48104
|
+
"$ref": "#/components/schemas/CustomizationCodeTheme"
|
|
48105
|
+
},
|
|
48106
|
+
"dark": {
|
|
48107
|
+
"$ref": "#/components/schemas/CustomizationCodeTheme"
|
|
48108
|
+
}
|
|
48109
|
+
},
|
|
48110
|
+
"required": [
|
|
48111
|
+
"light",
|
|
48112
|
+
"dark"
|
|
48113
|
+
]
|
|
48114
|
+
},
|
|
48115
|
+
"GitSyncSiteCustomizationCodeThemes": {
|
|
48116
|
+
"type": "object",
|
|
48117
|
+
"description": "Code-block syntax-highlighting themes — one for default code blocks and one for OpenAPI request/response samples.\n",
|
|
48118
|
+
"properties": {
|
|
48119
|
+
"default": {
|
|
48120
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
|
|
48121
|
+
},
|
|
48122
|
+
"openapi": {
|
|
48123
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
|
|
48124
|
+
}
|
|
48125
|
+
},
|
|
48126
|
+
"required": [
|
|
48127
|
+
"default",
|
|
48128
|
+
"openapi"
|
|
48129
|
+
]
|
|
48130
|
+
},
|
|
48131
|
+
"GitSyncSiteCustomizationSidebar": {
|
|
48132
|
+
"type": "object",
|
|
48133
|
+
"description": "Sidebar style settings.\n",
|
|
48134
|
+
"properties": {
|
|
48135
|
+
"background": {
|
|
48136
|
+
"$ref": "#/components/schemas/CustomizationSidebarBackgroundStyle"
|
|
48137
|
+
},
|
|
48138
|
+
"list": {
|
|
48139
|
+
"$ref": "#/components/schemas/CustomizationSidebarListStyle"
|
|
48140
|
+
}
|
|
48141
|
+
},
|
|
48142
|
+
"required": [
|
|
48143
|
+
"background",
|
|
48144
|
+
"list"
|
|
48145
|
+
]
|
|
48146
|
+
},
|
|
48147
|
+
"GitSyncSiteCustomizationStyling": {
|
|
48148
|
+
"type": "object",
|
|
48149
|
+
"description": "Styling settings.\n",
|
|
48150
|
+
"properties": {
|
|
48151
|
+
"theme": {
|
|
48152
|
+
"$ref": "#/components/schemas/CustomizationTheme"
|
|
48153
|
+
},
|
|
48154
|
+
"primaryColor": {
|
|
48155
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
48156
|
+
},
|
|
48157
|
+
"tint": {
|
|
48158
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationTint"
|
|
48159
|
+
},
|
|
48160
|
+
"infoColor": {
|
|
48161
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
48162
|
+
},
|
|
48163
|
+
"successColor": {
|
|
48164
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
48165
|
+
},
|
|
48166
|
+
"warningColor": {
|
|
48167
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
48168
|
+
},
|
|
48169
|
+
"dangerColor": {
|
|
48170
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
48171
|
+
},
|
|
48172
|
+
"corners": {
|
|
48173
|
+
"$ref": "#/components/schemas/CustomizationCorners"
|
|
48174
|
+
},
|
|
48175
|
+
"depth": {
|
|
48176
|
+
"$ref": "#/components/schemas/CustomizationDepth"
|
|
48177
|
+
},
|
|
48178
|
+
"links": {
|
|
48179
|
+
"$ref": "#/components/schemas/CustomizationLinksStyle"
|
|
48180
|
+
},
|
|
48181
|
+
"font": {
|
|
48182
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFont"
|
|
48183
|
+
},
|
|
48184
|
+
"monospaceFont": {
|
|
48185
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationMonospaceFont"
|
|
48186
|
+
},
|
|
48187
|
+
"icons": {
|
|
48188
|
+
"$ref": "#/components/schemas/CustomizationIconsStyle"
|
|
48189
|
+
},
|
|
48190
|
+
"codeTheme": {
|
|
48191
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationCodeThemes"
|
|
48192
|
+
},
|
|
48193
|
+
"sidebar": {
|
|
48194
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationSidebar"
|
|
48195
|
+
},
|
|
48196
|
+
"search": {
|
|
48197
|
+
"$ref": "#/components/schemas/CustomizationSearchStyle"
|
|
48198
|
+
}
|
|
48199
|
+
}
|
|
48200
|
+
},
|
|
48201
|
+
"GitSyncSiteCustomizationAssetPath": {
|
|
48202
|
+
"type": "string",
|
|
48203
|
+
"description": "Repository-relative path to an asset in a site Git Sync, e.g.\n`.gitbook/assets/header-logo-light.svg`. Absolute URLs are not accepted\nhere — Git Sync assets must live in the synced repository under\n`.gitbook/assets/`.\n\nThis is the shared base type and only validates the `.gitbook/assets/`\nprefix. Each field that uses it additionally reserves a specific filename\nand set of allowed extensions (e.g. the header logo must be\n`header-logo-light.<ext>` / `header-logo-dark.<ext>`); see the description\non the consuming field for the exact reserved path.\n",
|
|
48204
|
+
"pattern": "^\\.gitbook/assets/.+",
|
|
48205
|
+
"maxLength": 2048
|
|
48206
|
+
},
|
|
48207
|
+
"GitSyncSiteCustomizationThemedAssetPath": {
|
|
48208
|
+
"type": "object",
|
|
48209
|
+
"description": "Light/dark variants of a Git Sync repository asset path. Used for logos and\nfavicons that switch with the active theme. Both variants are required.\n\nEach consuming field reserves the exact light/dark filenames and allowed\nextensions (e.g. header logo → `header-logo-light.<ext>` /\n`header-logo-dark.<ext>`); see the description on the consuming field.\n",
|
|
48210
|
+
"properties": {
|
|
48211
|
+
"light": {
|
|
48212
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
48213
|
+
},
|
|
48214
|
+
"dark": {
|
|
48215
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
48216
|
+
}
|
|
48217
|
+
},
|
|
48218
|
+
"required": [
|
|
48219
|
+
"light",
|
|
48220
|
+
"dark"
|
|
48221
|
+
]
|
|
48222
|
+
},
|
|
48223
|
+
"GitSyncSiteCustomizationFavicon": {
|
|
48224
|
+
"description": "Favicon for the published site. The `icon` variant references a repository asset path; the `emoji` variant uses a single emoji character;\n",
|
|
48225
|
+
"oneOf": [
|
|
48226
|
+
{
|
|
48227
|
+
"type": "object",
|
|
48228
|
+
"properties": {
|
|
48229
|
+
"icon": {
|
|
48230
|
+
"description": "Themed favicon. Each variant must use its reserved repository\nasset path — light: `.gitbook/assets/favicon-light.<ext>`,\ndark: `.gitbook/assets/favicon-dark.<ext>`, where `<ext>` is\nthe image's file extension (e.g. `png`, `svg`, `ico`). Any\nother filename is rejected.\n",
|
|
48231
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
48232
|
+
}
|
|
48233
|
+
},
|
|
48234
|
+
"required": [
|
|
48235
|
+
"icon"
|
|
48236
|
+
]
|
|
48237
|
+
},
|
|
48238
|
+
{
|
|
48239
|
+
"type": "object",
|
|
48240
|
+
"properties": {
|
|
48241
|
+
"emoji": {
|
|
48242
|
+
"$ref": "#/components/schemas/Emoji"
|
|
48243
|
+
}
|
|
48244
|
+
},
|
|
48245
|
+
"required": [
|
|
48246
|
+
"emoji"
|
|
48247
|
+
]
|
|
48248
|
+
}
|
|
48249
|
+
]
|
|
48250
|
+
},
|
|
48251
|
+
"GitSyncSiteCustomizationContentLinkTo": {
|
|
48252
|
+
"type": "string",
|
|
48253
|
+
"description": "Link destination, written as a path-string in YAML. Same format as\nmarkdown content links, e.g. `https://example.com`, `/pages/<id>`,\n`/spaces/<id>/pages/<id>`, `#anchor`, `/files/<id>`, `/spaces/<id>`.\n"
|
|
48254
|
+
},
|
|
48255
|
+
"GitSyncSiteCustomizationContentLink": {
|
|
48256
|
+
"type": "object",
|
|
48257
|
+
"description": "A label plus a destination, used inside header items, footer groups, and announcements.\n",
|
|
48258
|
+
"properties": {
|
|
48259
|
+
"title": {
|
|
48260
|
+
"$ref": "#/components/schemas/CustomizationContentLinkTitle"
|
|
48261
|
+
},
|
|
48262
|
+
"localizedTitle": {
|
|
48263
|
+
"description": "Localized overrides for the link title, keyed by locale.",
|
|
48264
|
+
"$ref": "#/components/schemas/LocalizedString64"
|
|
48265
|
+
},
|
|
48266
|
+
"to": {
|
|
48267
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
48268
|
+
}
|
|
48269
|
+
},
|
|
48270
|
+
"required": [
|
|
48271
|
+
"title",
|
|
48272
|
+
"to"
|
|
48273
|
+
]
|
|
48274
|
+
},
|
|
48275
|
+
"GitSyncSiteCustomizationHeaderItem": {
|
|
48276
|
+
"type": "object",
|
|
48277
|
+
"description": "A single item in the published site's top navigation bar.\n",
|
|
48278
|
+
"properties": {
|
|
48279
|
+
"title": {
|
|
48280
|
+
"type": "string"
|
|
48281
|
+
},
|
|
48282
|
+
"localizedTitle": {
|
|
48283
|
+
"description": "Localized overrides for the header item title, keyed by locale.",
|
|
48284
|
+
"$ref": "#/components/schemas/LocalizedString"
|
|
48285
|
+
},
|
|
48286
|
+
"style": {
|
|
48287
|
+
"type": "string",
|
|
48288
|
+
"enum": [
|
|
48289
|
+
"link",
|
|
48290
|
+
"button-primary",
|
|
48291
|
+
"button-secondary"
|
|
48292
|
+
]
|
|
48293
|
+
},
|
|
48294
|
+
"to": {
|
|
48295
|
+
"description": "Header item destination. Use `null` for items that act as a\ndropdown root without a link of their own.\n",
|
|
48296
|
+
"oneOf": [
|
|
48297
|
+
{
|
|
48298
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
48299
|
+
},
|
|
48300
|
+
{
|
|
48301
|
+
"type": "null"
|
|
48302
|
+
}
|
|
48303
|
+
]
|
|
48304
|
+
},
|
|
48305
|
+
"links": {
|
|
48306
|
+
"type": "array",
|
|
48307
|
+
"description": "Sub-links shown as a dropdown under this header item. Empty array means no dropdown.",
|
|
48308
|
+
"items": {
|
|
48309
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
48310
|
+
}
|
|
48311
|
+
},
|
|
48312
|
+
"condition": {
|
|
48313
|
+
"description": "Conditional expression evaluated to decide whether the item is shown to the visitor.",
|
|
48314
|
+
"$ref": "#/components/schemas/Expression"
|
|
48315
|
+
}
|
|
48316
|
+
},
|
|
48317
|
+
"required": [
|
|
48318
|
+
"title",
|
|
48319
|
+
"to",
|
|
48320
|
+
"links"
|
|
48321
|
+
]
|
|
48322
|
+
},
|
|
48323
|
+
"GitSyncSiteCustomizationHeader": {
|
|
48324
|
+
"type": "object",
|
|
48325
|
+
"description": "Header settings.\n",
|
|
48326
|
+
"properties": {
|
|
48327
|
+
"logo": {
|
|
48328
|
+
"description": "Themed header logo. Each variant must use its reserved repository\nasset path — light: `.gitbook/assets/header-logo-light.<ext>`, dark:\n`.gitbook/assets/header-logo-dark.<ext>`, where `<ext>` is the\nimage's file extension (e.g. `png`, `svg`). Any other filename is\nrejected.\n",
|
|
48329
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
48330
|
+
},
|
|
48331
|
+
"primaryLink": {
|
|
48332
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
48333
|
+
},
|
|
48334
|
+
"links": {
|
|
48335
|
+
"type": "array",
|
|
48336
|
+
"items": {
|
|
48337
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationHeaderItem"
|
|
48338
|
+
}
|
|
48339
|
+
}
|
|
48340
|
+
}
|
|
48341
|
+
},
|
|
48342
|
+
"GitSyncSiteCustomizationFooterGroup": {
|
|
48343
|
+
"type": "object",
|
|
48344
|
+
"description": "A group of links shown in the published site's footer.\n",
|
|
48345
|
+
"properties": {
|
|
48346
|
+
"title": {
|
|
48347
|
+
"type": "string"
|
|
48348
|
+
},
|
|
48349
|
+
"localizedTitle": {
|
|
48350
|
+
"description": "Localized overrides for the footer group title, keyed by locale.",
|
|
48351
|
+
"$ref": "#/components/schemas/LocalizedString"
|
|
48352
|
+
},
|
|
48353
|
+
"links": {
|
|
48354
|
+
"type": "array",
|
|
48355
|
+
"items": {
|
|
48356
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
48357
|
+
}
|
|
48358
|
+
}
|
|
48359
|
+
},
|
|
48360
|
+
"required": [
|
|
48361
|
+
"title",
|
|
48362
|
+
"links"
|
|
48363
|
+
]
|
|
48364
|
+
},
|
|
48365
|
+
"GitSyncSiteCustomizationFooter": {
|
|
48366
|
+
"type": "object",
|
|
48367
|
+
"description": "Footer settings.\n",
|
|
48368
|
+
"properties": {
|
|
48369
|
+
"logo": {
|
|
48370
|
+
"description": "Themed footer logo. Each variant must use its reserved repository\nasset path — light: `.gitbook/assets/footer-logo-light.<ext>`, dark:\n`.gitbook/assets/footer-logo-dark.<ext>`, where `<ext>` is the\nimage's file extension (e.g. `png`, `svg`). Any other filename is\nrejected.\n",
|
|
48371
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
48372
|
+
},
|
|
48373
|
+
"groups": {
|
|
48374
|
+
"type": "array",
|
|
48375
|
+
"items": {
|
|
48376
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFooterGroup"
|
|
48377
|
+
}
|
|
48378
|
+
},
|
|
48379
|
+
"copyright": {
|
|
48380
|
+
"type": "string",
|
|
48381
|
+
"maxLength": 300
|
|
48382
|
+
}
|
|
48383
|
+
}
|
|
48384
|
+
},
|
|
48385
|
+
"GitSyncSiteCustomizationAnnouncement": {
|
|
48386
|
+
"type": "object",
|
|
48387
|
+
"description": "Announcement banner shown above the published site.\n",
|
|
48388
|
+
"properties": {
|
|
48389
|
+
"enabled": {
|
|
48390
|
+
"description": "Whether to show the site's announcement.",
|
|
48391
|
+
"type": "boolean"
|
|
48392
|
+
},
|
|
48393
|
+
"message": {
|
|
48394
|
+
"$ref": "#/components/schemas/CustomizationAnnouncementMessage"
|
|
48395
|
+
},
|
|
48396
|
+
"localizedMessage": {
|
|
48397
|
+
"description": "Localized overrides for the announcement message, keyed by locale.",
|
|
48398
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
48399
|
+
},
|
|
48400
|
+
"link": {
|
|
48401
|
+
"description": "The content or URL the announcement links to when clicked.",
|
|
48402
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
48403
|
+
},
|
|
48404
|
+
"style": {
|
|
48405
|
+
"description": "Semantic style of the announcement banner.",
|
|
48406
|
+
"type": "string",
|
|
48407
|
+
"enum": [
|
|
48408
|
+
"info",
|
|
48409
|
+
"warning",
|
|
48410
|
+
"danger",
|
|
48411
|
+
"success"
|
|
48412
|
+
]
|
|
48413
|
+
}
|
|
48414
|
+
},
|
|
48415
|
+
"required": [
|
|
48416
|
+
"enabled",
|
|
48417
|
+
"message",
|
|
48418
|
+
"style"
|
|
48419
|
+
]
|
|
48420
|
+
},
|
|
48421
|
+
"GitSyncSiteCustomizationThemeModes": {
|
|
48422
|
+
"type": "object",
|
|
48423
|
+
"description": "Dark/light theme mode settings.\n",
|
|
48424
|
+
"properties": {
|
|
48425
|
+
"default": {
|
|
48426
|
+
"$ref": "#/components/schemas/CustomizationDefaultThemeMode"
|
|
48427
|
+
},
|
|
48428
|
+
"toggeable": {
|
|
48429
|
+
"description": "Whether readers can switch between dark and light mode.",
|
|
48430
|
+
"type": "boolean"
|
|
48431
|
+
}
|
|
48432
|
+
},
|
|
48433
|
+
"required": [
|
|
48434
|
+
"default",
|
|
48435
|
+
"toggeable"
|
|
48436
|
+
]
|
|
48437
|
+
},
|
|
48438
|
+
"GitSyncSiteCustomizationFeedback": {
|
|
48439
|
+
"type": "object",
|
|
48440
|
+
"description": "Reader feedback settings.\n",
|
|
48441
|
+
"properties": {
|
|
48442
|
+
"enabled": {
|
|
48443
|
+
"type": "boolean",
|
|
48444
|
+
"description": "Whether reader feedback gathering is enabled."
|
|
48445
|
+
}
|
|
48446
|
+
},
|
|
48447
|
+
"required": [
|
|
48448
|
+
"enabled"
|
|
48449
|
+
]
|
|
48450
|
+
},
|
|
48451
|
+
"GitSyncSiteCustomizationAI": {
|
|
48452
|
+
"type": "object",
|
|
48453
|
+
"description": "AI assistant settings.\n",
|
|
48454
|
+
"properties": {
|
|
48455
|
+
"mode": {
|
|
48456
|
+
"$ref": "#/components/schemas/CustomizationAIMode"
|
|
48457
|
+
},
|
|
48458
|
+
"suggestions": {
|
|
48459
|
+
"$ref": "#/components/schemas/CustomizationSuggestedQuestions"
|
|
48460
|
+
}
|
|
48461
|
+
},
|
|
48462
|
+
"required": [
|
|
48463
|
+
"mode"
|
|
48464
|
+
]
|
|
48465
|
+
},
|
|
48466
|
+
"GitSyncSiteCustomizationPageActions": {
|
|
48467
|
+
"type": "array",
|
|
48468
|
+
"description": "Ordered page-level action buttons exposed in the published site's page menu.\n",
|
|
48469
|
+
"uniqueItems": true,
|
|
48470
|
+
"items": {
|
|
48471
|
+
"$ref": "#/components/schemas/CustomizationPageActionType"
|
|
48472
|
+
}
|
|
48473
|
+
},
|
|
48474
|
+
"GitSyncSiteCustomizationExternalLinks": {
|
|
48475
|
+
"type": "object",
|
|
48476
|
+
"description": "External link behavior.\n",
|
|
48477
|
+
"properties": {
|
|
48478
|
+
"target": {
|
|
48479
|
+
"$ref": "#/components/schemas/SiteExternalLinksTarget"
|
|
48480
|
+
}
|
|
48481
|
+
},
|
|
48482
|
+
"required": [
|
|
48483
|
+
"target"
|
|
48484
|
+
]
|
|
48485
|
+
},
|
|
48486
|
+
"GitSyncSiteCustomizationPagination": {
|
|
48487
|
+
"type": "object",
|
|
48488
|
+
"description": "Pagination navigation settings.\n",
|
|
48489
|
+
"properties": {
|
|
48490
|
+
"enabled": {
|
|
48491
|
+
"type": "boolean",
|
|
48492
|
+
"description": "Whether the prev/next pagination navigation is shown on pages."
|
|
48493
|
+
}
|
|
48494
|
+
},
|
|
48495
|
+
"required": [
|
|
48496
|
+
"enabled"
|
|
48497
|
+
]
|
|
48498
|
+
},
|
|
48499
|
+
"GitSyncSiteCustomizationPrivacyPolicy": {
|
|
48500
|
+
"type": "object",
|
|
48501
|
+
"description": "Privacy policy link shown on the published site.\n",
|
|
48502
|
+
"properties": {
|
|
48503
|
+
"url": {
|
|
48504
|
+
"$ref": "#/components/schemas/URL"
|
|
48505
|
+
}
|
|
48506
|
+
}
|
|
48507
|
+
},
|
|
48508
|
+
"GitSyncSiteCustomizationSocialPreview": {
|
|
48509
|
+
"type": "object",
|
|
48510
|
+
"description": "Social preview asset.\n",
|
|
48511
|
+
"properties": {
|
|
48512
|
+
"url": {
|
|
48513
|
+
"description": "Reserved repository asset path for the social preview image:\n`.gitbook/assets/social-preview.<ext>`, where `<ext>` is the\nimage's file extension (e.g. `png`, `jpg`). Any other filename is\nrejected.\n",
|
|
48514
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
48515
|
+
}
|
|
48516
|
+
}
|
|
48517
|
+
},
|
|
48518
|
+
"GitSyncSiteCustomizationSocialAccount": {
|
|
48519
|
+
"type": "object",
|
|
48520
|
+
"description": "A single social account entry.\n",
|
|
48521
|
+
"properties": {
|
|
48522
|
+
"platform": {
|
|
48523
|
+
"$ref": "#/components/schemas/SiteSocialAccountPlatform"
|
|
48524
|
+
},
|
|
48525
|
+
"handle": {
|
|
48526
|
+
"$ref": "#/components/schemas/SiteSocialAccountHandle"
|
|
48527
|
+
},
|
|
48528
|
+
"display": {
|
|
48529
|
+
"type": "object",
|
|
48530
|
+
"properties": {
|
|
48531
|
+
"footer": {
|
|
48532
|
+
"type": "boolean"
|
|
48533
|
+
},
|
|
48534
|
+
"header": {
|
|
48535
|
+
"type": "boolean"
|
|
48536
|
+
}
|
|
48537
|
+
},
|
|
48538
|
+
"required": [
|
|
48539
|
+
"footer",
|
|
48540
|
+
"header"
|
|
48541
|
+
]
|
|
48542
|
+
}
|
|
48543
|
+
},
|
|
48544
|
+
"required": [
|
|
48545
|
+
"platform",
|
|
48546
|
+
"handle",
|
|
48547
|
+
"display"
|
|
48548
|
+
]
|
|
48549
|
+
},
|
|
48550
|
+
"GitSyncSiteCustomizationInsights": {
|
|
48551
|
+
"type": "object",
|
|
48552
|
+
"description": "Visitor insights settings.\n",
|
|
48553
|
+
"properties": {
|
|
48554
|
+
"trackingCookie": {
|
|
48555
|
+
"type": "boolean",
|
|
48556
|
+
"description": "Whether GitBook identifies visitors on the site using a cookie."
|
|
48557
|
+
}
|
|
48558
|
+
},
|
|
48559
|
+
"required": [
|
|
48560
|
+
"trackingCookie"
|
|
48561
|
+
]
|
|
48562
|
+
},
|
|
48563
|
+
"GitSyncSiteCustomization": {
|
|
48564
|
+
"type": "object",
|
|
48565
|
+
"description": "Customization settings for the published site, authored in `docs.yaml`.\n\nEvery top-level field is optional — a Git Sync YAML is a **sparse override** of\nthe live customization. Fields you don't include stay at whatever the site\nhas as default.\n\nCustom fonts referenced from `styling.font` / `styling.monospaceFont` must\nhave a matching definition under `site.fonts[]`.\n",
|
|
48566
|
+
"properties": {
|
|
48567
|
+
"publishedTitle": {
|
|
48568
|
+
"description": "Title to use for the published site. If omitted, falls back to the default site title.",
|
|
48569
|
+
"$ref": "#/components/schemas/SiteTitle"
|
|
48570
|
+
},
|
|
48571
|
+
"localizedPublishedTitles": {
|
|
48572
|
+
"description": "Localized titles for the published site, keyed by locale.",
|
|
48573
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
48574
|
+
},
|
|
48575
|
+
"styling": {
|
|
48576
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationStyling"
|
|
48577
|
+
},
|
|
48578
|
+
"favicon": {
|
|
48579
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFavicon"
|
|
48580
|
+
},
|
|
48581
|
+
"header": {
|
|
48582
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationHeader"
|
|
48583
|
+
},
|
|
48584
|
+
"footer": {
|
|
48585
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFooter"
|
|
48586
|
+
},
|
|
48587
|
+
"announcement": {
|
|
48588
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationAnnouncement"
|
|
48589
|
+
},
|
|
48590
|
+
"themeModes": {
|
|
48591
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemeModes"
|
|
48592
|
+
},
|
|
48593
|
+
"feedback": {
|
|
48594
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFeedback"
|
|
48595
|
+
},
|
|
48596
|
+
"ai": {
|
|
48597
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationAI"
|
|
48598
|
+
},
|
|
48599
|
+
"pageActions": {
|
|
48600
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationPageActions"
|
|
48601
|
+
},
|
|
48602
|
+
"externalLinks": {
|
|
48603
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationExternalLinks"
|
|
48604
|
+
},
|
|
48605
|
+
"pagination": {
|
|
48606
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationPagination"
|
|
48607
|
+
},
|
|
48608
|
+
"privacyPolicy": {
|
|
48609
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationPrivacyPolicy"
|
|
48610
|
+
},
|
|
48611
|
+
"socialPreview": {
|
|
48612
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationSocialPreview"
|
|
48613
|
+
},
|
|
48614
|
+
"socialAccounts": {
|
|
48615
|
+
"type": "array",
|
|
48616
|
+
"description": "Social accounts to surface on the site.",
|
|
48617
|
+
"items": {
|
|
48618
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationSocialAccount"
|
|
48619
|
+
},
|
|
48620
|
+
"maxItems": 10
|
|
48621
|
+
},
|
|
48622
|
+
"insights": {
|
|
48623
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationInsights"
|
|
48624
|
+
}
|
|
48625
|
+
}
|
|
48626
|
+
},
|
|
48627
|
+
"GitSyncSiteConfig": {
|
|
48628
|
+
"type": "object",
|
|
48629
|
+
"description": "Schema for a site `docs.yaml` file — the canonical contract for what\ncan be authored in Git Sync to drive a site's customization and structure.\n",
|
|
48630
|
+
"properties": {
|
|
48631
|
+
"version": {
|
|
48632
|
+
"type": "integer",
|
|
48633
|
+
"description": "Reserved for future use. When a breaking schema change ships, this\nfield lets the parser branch on the version; absence means v1.\n",
|
|
48634
|
+
"enum": [
|
|
48635
|
+
1
|
|
48636
|
+
],
|
|
48637
|
+
"default": 1
|
|
48638
|
+
},
|
|
48639
|
+
"site": {
|
|
48640
|
+
"type": "object",
|
|
48641
|
+
"additionalProperties": false,
|
|
48642
|
+
"properties": {
|
|
48643
|
+
"title": {
|
|
48644
|
+
"type": "string",
|
|
48645
|
+
"description": "Display title for the site.",
|
|
48646
|
+
"minLength": 1
|
|
48647
|
+
},
|
|
48648
|
+
"structure": {
|
|
48649
|
+
"$ref": "#/components/schemas/GitSyncSiteStructure"
|
|
48650
|
+
},
|
|
48651
|
+
"fonts": {
|
|
48652
|
+
"type": "array",
|
|
48653
|
+
"description": "Custom font definitions referenced from `site.customization.styling`.",
|
|
48654
|
+
"items": {
|
|
48655
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontDefinition"
|
|
48656
|
+
}
|
|
48657
|
+
},
|
|
48658
|
+
"customization": {
|
|
48659
|
+
"$ref": "#/components/schemas/GitSyncSiteCustomization"
|
|
48660
|
+
}
|
|
48661
|
+
},
|
|
48662
|
+
"required": [
|
|
48663
|
+
"title",
|
|
48664
|
+
"structure"
|
|
48665
|
+
]
|
|
48666
|
+
}
|
|
48667
|
+
},
|
|
48668
|
+
"required": [
|
|
48669
|
+
"site"
|
|
48670
|
+
]
|
|
48671
|
+
},
|
|
47207
48672
|
"IntegrationEnvironmentSpaceInstallation": {
|
|
47208
48673
|
"allOf": [
|
|
47209
48674
|
{
|
|
@@ -49545,6 +51010,28 @@
|
|
|
49545
51010
|
"errored"
|
|
49546
51011
|
]
|
|
49547
51012
|
},
|
|
51013
|
+
"AgentActivity": {
|
|
51014
|
+
"type": "object",
|
|
51015
|
+
"description": "Describes what the agent is currently doing while processing, used to display a live activity indicator in the conversation.\n",
|
|
51016
|
+
"properties": {
|
|
51017
|
+
"type": {
|
|
51018
|
+
"type": "string",
|
|
51019
|
+
"description": "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.\n",
|
|
51020
|
+
"enum": [
|
|
51021
|
+
"thinking",
|
|
51022
|
+
"tool",
|
|
51023
|
+
"responding"
|
|
51024
|
+
]
|
|
51025
|
+
},
|
|
51026
|
+
"tool": {
|
|
51027
|
+
"type": "string",
|
|
51028
|
+
"description": "When `type` is `tool`, the name of the tool being called (matches `AIToolCall.tool`).\n"
|
|
51029
|
+
}
|
|
51030
|
+
},
|
|
51031
|
+
"required": [
|
|
51032
|
+
"type"
|
|
51033
|
+
]
|
|
51034
|
+
},
|
|
49548
51035
|
"AgentState": {
|
|
49549
51036
|
"type": "object",
|
|
49550
51037
|
"properties": {
|
|
@@ -49564,6 +51051,10 @@
|
|
|
49564
51051
|
"items": {
|
|
49565
51052
|
"$ref": "#/components/schemas/AIMessageInput"
|
|
49566
51053
|
}
|
|
51054
|
+
},
|
|
51055
|
+
"activity": {
|
|
51056
|
+
"$ref": "#/components/schemas/AgentActivity",
|
|
51057
|
+
"description": "What the agent is currently doing. Only set while the agent is processing.\n"
|
|
49567
51058
|
}
|
|
49568
51059
|
},
|
|
49569
51060
|
"required": [
|