@gitbook/api 0.184.0 → 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 +775 -8
- package/dist/constants.d.ts +3 -0
- package/dist/index.cjs +42 -1
- package/dist/index.js +39 -1
- package/package.json +1 -1
- package/spec/openapi.json +1425 -3
- package/spec/openapi.yaml +1147 -58
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": {
|
|
@@ -9232,6 +9433,19 @@
|
|
|
9232
9433
|
},
|
|
9233
9434
|
"description": "If defined, only change requests linked to this site topic will be returned."
|
|
9234
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
|
+
},
|
|
9235
9449
|
{
|
|
9236
9450
|
"name": "orderBy",
|
|
9237
9451
|
"in": "query",
|
|
@@ -13875,6 +14089,11 @@
|
|
|
13875
14089
|
"properties": {
|
|
13876
14090
|
"siteSpaceId": {
|
|
13877
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"
|
|
13878
14097
|
}
|
|
13879
14098
|
}
|
|
13880
14099
|
},
|
|
@@ -19753,7 +19972,30 @@
|
|
|
19753
19972
|
"authorizationUrl": "https://oauth.gitbook.com/authorize",
|
|
19754
19973
|
"tokenUrl": "https://oauth.gitbook.com/token",
|
|
19755
19974
|
"scopes": {
|
|
19756
|
-
"
|
|
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."
|
|
19757
19999
|
}
|
|
19758
20000
|
}
|
|
19759
20001
|
}
|
|
@@ -19969,6 +20211,15 @@
|
|
|
19969
20211
|
"type": "string"
|
|
19970
20212
|
}
|
|
19971
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
|
+
},
|
|
19972
20223
|
"listOrder": {
|
|
19973
20224
|
"name": "order",
|
|
19974
20225
|
"in": "query",
|
|
@@ -24044,6 +24295,68 @@
|
|
|
24044
24295
|
"data"
|
|
24045
24296
|
]
|
|
24046
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
|
+
},
|
|
24047
24360
|
"DocumentBlocksTopLevels": {
|
|
24048
24361
|
"oneOf": [
|
|
24049
24362
|
{
|
|
@@ -24055,6 +24368,9 @@
|
|
|
24055
24368
|
{
|
|
24056
24369
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
24057
24370
|
},
|
|
24371
|
+
{
|
|
24372
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
24373
|
+
},
|
|
24058
24374
|
{
|
|
24059
24375
|
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
24060
24376
|
},
|
|
@@ -24890,6 +25206,9 @@
|
|
|
24890
25206
|
{
|
|
24891
25207
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
24892
25208
|
},
|
|
25209
|
+
{
|
|
25210
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
25211
|
+
},
|
|
24893
25212
|
{
|
|
24894
25213
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
24895
25214
|
},
|
|
@@ -25025,6 +25344,9 @@
|
|
|
25025
25344
|
{
|
|
25026
25345
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
25027
25346
|
},
|
|
25347
|
+
{
|
|
25348
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
25349
|
+
},
|
|
25028
25350
|
{
|
|
25029
25351
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
25030
25352
|
},
|
|
@@ -25502,6 +25824,9 @@
|
|
|
25502
25824
|
{
|
|
25503
25825
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
25504
25826
|
},
|
|
25827
|
+
{
|
|
25828
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
25829
|
+
},
|
|
25505
25830
|
{
|
|
25506
25831
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
25507
25832
|
},
|
|
@@ -25615,6 +25940,9 @@
|
|
|
25615
25940
|
{
|
|
25616
25941
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
25617
25942
|
},
|
|
25943
|
+
{
|
|
25944
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
25945
|
+
},
|
|
25618
25946
|
{
|
|
25619
25947
|
"$ref": "#/components/schemas/DocumentBlockContentRef"
|
|
25620
25948
|
},
|
|
@@ -25767,6 +26095,9 @@
|
|
|
25767
26095
|
{
|
|
25768
26096
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
25769
26097
|
},
|
|
26098
|
+
{
|
|
26099
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
26100
|
+
},
|
|
25770
26101
|
{
|
|
25771
26102
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
25772
26103
|
},
|
|
@@ -25902,6 +26233,9 @@
|
|
|
25902
26233
|
{
|
|
25903
26234
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
25904
26235
|
},
|
|
26236
|
+
{
|
|
26237
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
26238
|
+
},
|
|
25905
26239
|
{
|
|
25906
26240
|
"$ref": "#/components/schemas/DocumentBlockIf"
|
|
25907
26241
|
},
|
|
@@ -28129,6 +28463,14 @@
|
|
|
28129
28463
|
"paidUltimateSites": {
|
|
28130
28464
|
"description": "The number of paid ultimate sites on the current subscription.",
|
|
28131
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"
|
|
28132
28474
|
}
|
|
28133
28475
|
},
|
|
28134
28476
|
"required": [
|
|
@@ -28138,7 +28480,9 @@
|
|
|
28138
28480
|
"canCheckout",
|
|
28139
28481
|
"isScheduledToCancel",
|
|
28140
28482
|
"pricing",
|
|
28141
|
-
"usageAddons"
|
|
28483
|
+
"usageAddons",
|
|
28484
|
+
"canChangeInterval",
|
|
28485
|
+
"canUseSAML"
|
|
28142
28486
|
]
|
|
28143
28487
|
},
|
|
28144
28488
|
"BillingTrialStatus": {
|
|
@@ -29520,6 +29864,38 @@
|
|
|
29520
29864
|
}
|
|
29521
29865
|
]
|
|
29522
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
|
+
},
|
|
29523
29899
|
"PostCommentSchema": {
|
|
29524
29900
|
"type": "object",
|
|
29525
29901
|
"properties": {
|
|
@@ -29687,6 +30063,40 @@
|
|
|
29687
30063
|
}
|
|
29688
30064
|
]
|
|
29689
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
|
+
},
|
|
29690
30100
|
"RevisionPageType": {
|
|
29691
30101
|
"type": "string",
|
|
29692
30102
|
"enum": [
|
|
@@ -39038,7 +39448,8 @@
|
|
|
39038
39448
|
"builtin:youtube",
|
|
39039
39449
|
"builtin:github-discussions",
|
|
39040
39450
|
"builtin:github-issues",
|
|
39041
|
-
"builtin:intercom"
|
|
39451
|
+
"builtin:intercom",
|
|
39452
|
+
"builtin:zendesk"
|
|
39042
39453
|
]
|
|
39043
39454
|
}
|
|
39044
39455
|
]
|
|
@@ -39903,6 +40314,43 @@
|
|
|
39903
40314
|
"connector",
|
|
39904
40315
|
"setupSettings"
|
|
39905
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
|
+
]
|
|
39906
40354
|
}
|
|
39907
40355
|
]
|
|
39908
40356
|
},
|
|
@@ -46411,6 +46859,70 @@
|
|
|
46411
46859
|
"spaces"
|
|
46412
46860
|
]
|
|
46413
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
|
+
},
|
|
46414
46926
|
"BackOfficeSite": {
|
|
46415
46927
|
"allOf": [
|
|
46416
46928
|
{
|
|
@@ -47273,6 +47785,890 @@
|
|
|
47273
47785
|
"updatedAt"
|
|
47274
47786
|
]
|
|
47275
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
|
+
},
|
|
47276
48672
|
"IntegrationEnvironmentSpaceInstallation": {
|
|
47277
48673
|
"allOf": [
|
|
47278
48674
|
{
|
|
@@ -49614,6 +51010,28 @@
|
|
|
49614
51010
|
"errored"
|
|
49615
51011
|
]
|
|
49616
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
|
+
},
|
|
49617
51035
|
"AgentState": {
|
|
49618
51036
|
"type": "object",
|
|
49619
51037
|
"properties": {
|
|
@@ -49633,6 +51051,10 @@
|
|
|
49633
51051
|
"items": {
|
|
49634
51052
|
"$ref": "#/components/schemas/AIMessageInput"
|
|
49635
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"
|
|
49636
51058
|
}
|
|
49637
51059
|
},
|
|
49638
51060
|
"required": [
|