@gitbook/api 0.190.0 → 0.192.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 +298 -586
- package/dist/constants.d.ts +6 -5
- package/dist/index.cjs +70 -31
- package/dist/index.js +64 -28
- package/package.json +1 -1
- package/spec/openapi.json +978 -1043
- package/spec/openapi.yaml +716 -869
package/spec/openapi.json
CHANGED
|
@@ -817,7 +817,7 @@
|
|
|
817
817
|
"post": {
|
|
818
818
|
"operationId": "duplicateSpace",
|
|
819
819
|
"summary": "Create a full copy of a space",
|
|
820
|
-
"description": "Creates a new space that is a complete copy of the specified space, including all pages and their content. The duplicate is created in the same organization.
|
|
820
|
+
"description": "Creates a new space that is a complete copy of the specified space, including all pages and their content. The duplicate is created in the same organization. It does not preserve or create a placement in a site. When duplicating from a site context, use duplicateSiteSpace instead. Use this operation for an organization-level or orphan-space copy.",
|
|
821
821
|
"x-gitbook-mcp": true,
|
|
822
822
|
"tags": [
|
|
823
823
|
"spaces"
|
|
@@ -1093,7 +1093,7 @@
|
|
|
1093
1093
|
"post": {
|
|
1094
1094
|
"operationId": "importGitRepository",
|
|
1095
1095
|
"summary": "Pull content into a space from a connected Git repository",
|
|
1096
|
-
"description": "Triggers an import from
|
|
1096
|
+
"description": "Triggers an import from provided Git repository into the space, updating the space's content to match the repository (if not standalone). This is an async operation — it runs in the background after the request returns 204.",
|
|
1097
1097
|
"x-gitbook-mcp": true,
|
|
1098
1098
|
"tags": [
|
|
1099
1099
|
"space-git"
|
|
@@ -1121,7 +1121,7 @@
|
|
|
1121
1121
|
],
|
|
1122
1122
|
"responses": {
|
|
1123
1123
|
"204": {
|
|
1124
|
-
"description": "Operation to import the repository has been
|
|
1124
|
+
"description": "Operation to import the repository has been queued."
|
|
1125
1125
|
}
|
|
1126
1126
|
},
|
|
1127
1127
|
"requestBody": {
|
|
@@ -1140,7 +1140,7 @@
|
|
|
1140
1140
|
"post": {
|
|
1141
1141
|
"operationId": "exportToGitRepository",
|
|
1142
1142
|
"summary": "Push space content to a connected Git repository",
|
|
1143
|
-
"description": "Triggers an export of the space's current content to the
|
|
1143
|
+
"description": "Triggers an export of the space's current content to the provided Git repository. This is an async operation — the export runs in the background after the request returns 204.",
|
|
1144
1144
|
"x-gitbook-mcp": true,
|
|
1145
1145
|
"tags": [
|
|
1146
1146
|
"space-git"
|
|
@@ -1168,7 +1168,7 @@
|
|
|
1168
1168
|
],
|
|
1169
1169
|
"responses": {
|
|
1170
1170
|
"204": {
|
|
1171
|
-
"description": "Operation to export the space has been
|
|
1171
|
+
"description": "Operation to export the space has been queued."
|
|
1172
1172
|
}
|
|
1173
1173
|
},
|
|
1174
1174
|
"requestBody": {
|
|
@@ -14759,6 +14759,75 @@
|
|
|
14759
14759
|
}
|
|
14760
14760
|
}
|
|
14761
14761
|
},
|
|
14762
|
+
"/orgs/{organizationId}/sites/{siteId}/agent-feedback": {
|
|
14763
|
+
"post": {
|
|
14764
|
+
"operationId": "submitSiteAgentFeedback",
|
|
14765
|
+
"summary": "Submit agent feedback for a site",
|
|
14766
|
+
"description": "Submit feedback from an AI agent about the content of the site, such as outdated, incorrect or missing content encountered while helping a user.",
|
|
14767
|
+
"x-internal": true,
|
|
14768
|
+
"tags": [
|
|
14769
|
+
"site-insights"
|
|
14770
|
+
],
|
|
14771
|
+
"security": [
|
|
14772
|
+
{
|
|
14773
|
+
"user": []
|
|
14774
|
+
}
|
|
14775
|
+
],
|
|
14776
|
+
"parameters": [
|
|
14777
|
+
{
|
|
14778
|
+
"$ref": "#/components/parameters/organizationId"
|
|
14779
|
+
},
|
|
14780
|
+
{
|
|
14781
|
+
"$ref": "#/components/parameters/siteId"
|
|
14782
|
+
}
|
|
14783
|
+
],
|
|
14784
|
+
"requestBody": {
|
|
14785
|
+
"required": true,
|
|
14786
|
+
"content": {
|
|
14787
|
+
"application/json": {
|
|
14788
|
+
"schema": {
|
|
14789
|
+
"type": "object",
|
|
14790
|
+
"properties": {
|
|
14791
|
+
"feedback": {
|
|
14792
|
+
"description": "The feedback about the content of the site.",
|
|
14793
|
+
"type": "string",
|
|
14794
|
+
"minLength": 1,
|
|
14795
|
+
"maxLength": 2048
|
|
14796
|
+
},
|
|
14797
|
+
"goal": {
|
|
14798
|
+
"description": "The end goal the agent is trying to accomplish on behalf of the user, giving the context the agent was working towards when it encountered the issue.\n",
|
|
14799
|
+
"$ref": "#/components/schemas/AgentGoal"
|
|
14800
|
+
},
|
|
14801
|
+
"url": {
|
|
14802
|
+
"description": "URL of the content the feedback is about.",
|
|
14803
|
+
"$ref": "#/components/schemas/URL"
|
|
14804
|
+
},
|
|
14805
|
+
"spaceId": {
|
|
14806
|
+
"description": "ID of the space the feedback is about.",
|
|
14807
|
+
"type": "string"
|
|
14808
|
+
},
|
|
14809
|
+
"pageId": {
|
|
14810
|
+
"description": "ID of the page the feedback is about.",
|
|
14811
|
+
"type": "string"
|
|
14812
|
+
}
|
|
14813
|
+
},
|
|
14814
|
+
"required": [
|
|
14815
|
+
"feedback",
|
|
14816
|
+
"url",
|
|
14817
|
+
"spaceId",
|
|
14818
|
+
"pageId"
|
|
14819
|
+
]
|
|
14820
|
+
}
|
|
14821
|
+
}
|
|
14822
|
+
}
|
|
14823
|
+
},
|
|
14824
|
+
"responses": {
|
|
14825
|
+
"204": {
|
|
14826
|
+
"description": "Feedback submitted"
|
|
14827
|
+
}
|
|
14828
|
+
}
|
|
14829
|
+
}
|
|
14830
|
+
},
|
|
14762
14831
|
"/orgs/{organizationId}/sites/{siteId}/ask": {
|
|
14763
14832
|
"post": {
|
|
14764
14833
|
"operationId": "streamAskInSite",
|
|
@@ -15155,62 +15224,6 @@
|
|
|
15155
15224
|
}
|
|
15156
15225
|
}
|
|
15157
15226
|
}
|
|
15158
|
-
},
|
|
15159
|
-
"post": {
|
|
15160
|
-
"operationId": "createSiteScan",
|
|
15161
|
-
"summary": "Enqueue a new site scan",
|
|
15162
|
-
"tags": [
|
|
15163
|
-
"site-context"
|
|
15164
|
-
],
|
|
15165
|
-
"security": [
|
|
15166
|
-
{
|
|
15167
|
-
"user": []
|
|
15168
|
-
},
|
|
15169
|
-
{
|
|
15170
|
-
"oauth": [
|
|
15171
|
-
"site:write"
|
|
15172
|
-
]
|
|
15173
|
-
}
|
|
15174
|
-
],
|
|
15175
|
-
"parameters": [
|
|
15176
|
-
{
|
|
15177
|
-
"$ref": "#/components/parameters/organizationId"
|
|
15178
|
-
},
|
|
15179
|
-
{
|
|
15180
|
-
"$ref": "#/components/parameters/siteId"
|
|
15181
|
-
}
|
|
15182
|
-
],
|
|
15183
|
-
"requestBody": {
|
|
15184
|
-
"required": true,
|
|
15185
|
-
"content": {
|
|
15186
|
-
"application/json": {
|
|
15187
|
-
"schema": {
|
|
15188
|
-
"type": "object",
|
|
15189
|
-
"required": [
|
|
15190
|
-
"topic"
|
|
15191
|
-
],
|
|
15192
|
-
"properties": {
|
|
15193
|
-
"topic": {
|
|
15194
|
-
"type": "string",
|
|
15195
|
-
"description": "The site topic ID to scan."
|
|
15196
|
-
}
|
|
15197
|
-
}
|
|
15198
|
-
}
|
|
15199
|
-
}
|
|
15200
|
-
}
|
|
15201
|
-
},
|
|
15202
|
-
"responses": {
|
|
15203
|
-
"202": {
|
|
15204
|
-
"description": "Site scan has been enqueued",
|
|
15205
|
-
"content": {
|
|
15206
|
-
"application/json": {
|
|
15207
|
-
"schema": {
|
|
15208
|
-
"$ref": "#/components/schemas/SiteScan"
|
|
15209
|
-
}
|
|
15210
|
-
}
|
|
15211
|
-
}
|
|
15212
|
-
}
|
|
15213
|
-
}
|
|
15214
15227
|
}
|
|
15215
15228
|
},
|
|
15216
15229
|
"/orgs/{organizationId}/sites/{siteId}/scans/{siteScanId}": {
|
|
@@ -15324,6 +15337,32 @@
|
|
|
15324
15337
|
"schema": {
|
|
15325
15338
|
"type": "boolean"
|
|
15326
15339
|
}
|
|
15340
|
+
},
|
|
15341
|
+
{
|
|
15342
|
+
"name": "source",
|
|
15343
|
+
"in": "query",
|
|
15344
|
+
"description": "Filter findings by the source of their evidence. Each entry is either `connection:<connectionId>` (findings with at least one piece of evidence coming from the given connection) or `questions` (findings with at least one piece of evidence coming from a site question). When multiple entries are given, findings matching any of them are returned.",
|
|
15345
|
+
"schema": {
|
|
15346
|
+
"type": "array",
|
|
15347
|
+
"items": {
|
|
15348
|
+
"oneOf": [
|
|
15349
|
+
{
|
|
15350
|
+
"$ref": "#/components/schemas/SiteTriageFilterQuestions"
|
|
15351
|
+
},
|
|
15352
|
+
{
|
|
15353
|
+
"$ref": "#/components/schemas/SiteTriageFilterConnections"
|
|
15354
|
+
}
|
|
15355
|
+
]
|
|
15356
|
+
}
|
|
15357
|
+
}
|
|
15358
|
+
},
|
|
15359
|
+
{
|
|
15360
|
+
"name": "orderBy",
|
|
15361
|
+
"in": "query",
|
|
15362
|
+
"description": "Sort findings by the given field.",
|
|
15363
|
+
"schema": {
|
|
15364
|
+
"$ref": "#/components/schemas/SiteFindingOrderBy"
|
|
15365
|
+
}
|
|
15327
15366
|
}
|
|
15328
15367
|
],
|
|
15329
15368
|
"responses": {
|
|
@@ -15755,6 +15794,104 @@
|
|
|
15755
15794
|
}
|
|
15756
15795
|
}
|
|
15757
15796
|
},
|
|
15797
|
+
"/orgs/{organizationId}/sites/{siteId}/stats/findings": {
|
|
15798
|
+
"get": {
|
|
15799
|
+
"operationId": "getSiteFindingStats",
|
|
15800
|
+
"summary": "Get aggregate statistics about the findings identified on a site",
|
|
15801
|
+
"description": "Returns aggregate statistics about the findings GitBook identified on a site — how many were found, how they break down by status and severity, which connectors surfaced them, and how many change requests created to fix them have been merged. Accepts the same filters as the finding list endpoint, so the stats can follow the list the user is looking at. Use it for a high-level view before drilling into individual findings.",
|
|
15802
|
+
"tags": [
|
|
15803
|
+
"site-context"
|
|
15804
|
+
],
|
|
15805
|
+
"security": [
|
|
15806
|
+
{
|
|
15807
|
+
"user": []
|
|
15808
|
+
},
|
|
15809
|
+
{
|
|
15810
|
+
"oauth": [
|
|
15811
|
+
"site:read"
|
|
15812
|
+
]
|
|
15813
|
+
}
|
|
15814
|
+
],
|
|
15815
|
+
"parameters": [
|
|
15816
|
+
{
|
|
15817
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15818
|
+
},
|
|
15819
|
+
{
|
|
15820
|
+
"$ref": "#/components/parameters/siteId"
|
|
15821
|
+
},
|
|
15822
|
+
{
|
|
15823
|
+
"name": "topic",
|
|
15824
|
+
"in": "query",
|
|
15825
|
+
"description": "Filter findings by associated site topic ID.",
|
|
15826
|
+
"schema": {
|
|
15827
|
+
"type": "string"
|
|
15828
|
+
}
|
|
15829
|
+
},
|
|
15830
|
+
{
|
|
15831
|
+
"name": "status",
|
|
15832
|
+
"in": "query",
|
|
15833
|
+
"description": "Filter findings by status.",
|
|
15834
|
+
"schema": {
|
|
15835
|
+
"$ref": "#/components/schemas/SiteFindingStatus"
|
|
15836
|
+
}
|
|
15837
|
+
},
|
|
15838
|
+
{
|
|
15839
|
+
"name": "type",
|
|
15840
|
+
"in": "query",
|
|
15841
|
+
"description": "Filter findings by type.",
|
|
15842
|
+
"schema": {
|
|
15843
|
+
"$ref": "#/components/schemas/SiteFindingType"
|
|
15844
|
+
}
|
|
15845
|
+
},
|
|
15846
|
+
{
|
|
15847
|
+
"name": "severity",
|
|
15848
|
+
"in": "query",
|
|
15849
|
+
"description": "Filter findings by estimated severity.",
|
|
15850
|
+
"schema": {
|
|
15851
|
+
"$ref": "#/components/schemas/SiteFindingSeverity"
|
|
15852
|
+
}
|
|
15853
|
+
},
|
|
15854
|
+
{
|
|
15855
|
+
"name": "hasChangeRequests",
|
|
15856
|
+
"in": "query",
|
|
15857
|
+
"description": "Filter findings that have at least one associated change request.",
|
|
15858
|
+
"schema": {
|
|
15859
|
+
"type": "boolean"
|
|
15860
|
+
}
|
|
15861
|
+
},
|
|
15862
|
+
{
|
|
15863
|
+
"name": "source",
|
|
15864
|
+
"in": "query",
|
|
15865
|
+
"description": "Filter findings by the source of their evidence. Each entry is either `connection:<connectionId>` (findings with at least one piece of evidence coming from the given connection) or `questions` (findings with at least one piece of evidence coming from a site question). When multiple entries are given, findings matching any of them are counted.",
|
|
15866
|
+
"schema": {
|
|
15867
|
+
"type": "array",
|
|
15868
|
+
"items": {
|
|
15869
|
+
"oneOf": [
|
|
15870
|
+
{
|
|
15871
|
+
"$ref": "#/components/schemas/SiteTriageFilterQuestions"
|
|
15872
|
+
},
|
|
15873
|
+
{
|
|
15874
|
+
"$ref": "#/components/schemas/SiteTriageFilterConnections"
|
|
15875
|
+
}
|
|
15876
|
+
]
|
|
15877
|
+
}
|
|
15878
|
+
}
|
|
15879
|
+
}
|
|
15880
|
+
],
|
|
15881
|
+
"responses": {
|
|
15882
|
+
"200": {
|
|
15883
|
+
"description": "OK",
|
|
15884
|
+
"content": {
|
|
15885
|
+
"application/json": {
|
|
15886
|
+
"schema": {
|
|
15887
|
+
"$ref": "#/components/schemas/SiteFindingStats"
|
|
15888
|
+
}
|
|
15889
|
+
}
|
|
15890
|
+
}
|
|
15891
|
+
}
|
|
15892
|
+
}
|
|
15893
|
+
}
|
|
15894
|
+
},
|
|
15758
15895
|
"/orgs/{organizationId}/sites/{siteId}/context-connections": {
|
|
15759
15896
|
"get": {
|
|
15760
15897
|
"operationId": "listSiteContextConnections",
|
|
@@ -17212,6 +17349,76 @@
|
|
|
17212
17349
|
}
|
|
17213
17350
|
}
|
|
17214
17351
|
},
|
|
17352
|
+
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/duplicate": {
|
|
17353
|
+
"post": {
|
|
17354
|
+
"operationId": "duplicateSiteSpace",
|
|
17355
|
+
"summary": "Duplicate a space in a site",
|
|
17356
|
+
"description": "Creates a full copy of the space linked by the specified site space. When the site space is the only variant in a section, the copy is placed in a new sibling section. Otherwise, it is added as a variant under the same parent. Prefer this operation over duplicateSpace whenever the request originates from a site or needs to preserve site placement.",
|
|
17357
|
+
"x-gitbook-mcp": true,
|
|
17358
|
+
"tags": [
|
|
17359
|
+
"site-spaces",
|
|
17360
|
+
"spaces"
|
|
17361
|
+
],
|
|
17362
|
+
"security": [
|
|
17363
|
+
{
|
|
17364
|
+
"user": []
|
|
17365
|
+
},
|
|
17366
|
+
{
|
|
17367
|
+
"oauth": [
|
|
17368
|
+
"space:write",
|
|
17369
|
+
"site:write"
|
|
17370
|
+
]
|
|
17371
|
+
}
|
|
17372
|
+
],
|
|
17373
|
+
"parameters": [
|
|
17374
|
+
{
|
|
17375
|
+
"$ref": "#/components/parameters/organizationId"
|
|
17376
|
+
},
|
|
17377
|
+
{
|
|
17378
|
+
"$ref": "#/components/parameters/siteId"
|
|
17379
|
+
},
|
|
17380
|
+
{
|
|
17381
|
+
"$ref": "#/components/parameters/siteSpaceId"
|
|
17382
|
+
}
|
|
17383
|
+
],
|
|
17384
|
+
"requestBody": {
|
|
17385
|
+
"content": {
|
|
17386
|
+
"application/json": {
|
|
17387
|
+
"schema": {
|
|
17388
|
+
"type": "object",
|
|
17389
|
+
"properties": {
|
|
17390
|
+
"draft": {
|
|
17391
|
+
"type": "boolean",
|
|
17392
|
+
"default": false,
|
|
17393
|
+
"description": "Whether the duplicated site space and any new section should be created as drafts."
|
|
17394
|
+
}
|
|
17395
|
+
}
|
|
17396
|
+
}
|
|
17397
|
+
}
|
|
17398
|
+
}
|
|
17399
|
+
},
|
|
17400
|
+
"responses": {
|
|
17401
|
+
"201": {
|
|
17402
|
+
"description": "Space duplicated in the site structure",
|
|
17403
|
+
"headers": {
|
|
17404
|
+
"Location": {
|
|
17405
|
+
"description": "API URL for the newly created site-space",
|
|
17406
|
+
"schema": {
|
|
17407
|
+
"type": "string"
|
|
17408
|
+
}
|
|
17409
|
+
}
|
|
17410
|
+
},
|
|
17411
|
+
"content": {
|
|
17412
|
+
"application/json": {
|
|
17413
|
+
"schema": {
|
|
17414
|
+
"$ref": "#/components/schemas/SiteSpace"
|
|
17415
|
+
}
|
|
17416
|
+
}
|
|
17417
|
+
}
|
|
17418
|
+
}
|
|
17419
|
+
}
|
|
17420
|
+
}
|
|
17421
|
+
},
|
|
17215
17422
|
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization": {
|
|
17216
17423
|
"get": {
|
|
17217
17424
|
"operationId": "getSiteSpaceCustomizationById",
|
|
@@ -18573,6 +18780,43 @@
|
|
|
18573
18780
|
}
|
|
18574
18781
|
}
|
|
18575
18782
|
},
|
|
18783
|
+
"/orgs/{organizationId}/sites/{siteId}/template": {
|
|
18784
|
+
"post": {
|
|
18785
|
+
"operationId": "applyTemplateToSite",
|
|
18786
|
+
"summary": "Apply the default documentation template to a site",
|
|
18787
|
+
"description": "Populates an empty site with GitBook's default documentation structure, content, and customization. Use this after creating a site without spaces to give it a ready-to-edit starting point.",
|
|
18788
|
+
"x-gitbook-mcp": true,
|
|
18789
|
+
"tags": [
|
|
18790
|
+
"sites"
|
|
18791
|
+
],
|
|
18792
|
+
"security": [
|
|
18793
|
+
{
|
|
18794
|
+
"user-internal": []
|
|
18795
|
+
},
|
|
18796
|
+
{
|
|
18797
|
+
"user": []
|
|
18798
|
+
},
|
|
18799
|
+
{
|
|
18800
|
+
"oauth": [
|
|
18801
|
+
"site:write"
|
|
18802
|
+
]
|
|
18803
|
+
}
|
|
18804
|
+
],
|
|
18805
|
+
"parameters": [
|
|
18806
|
+
{
|
|
18807
|
+
"$ref": "#/components/parameters/organizationId"
|
|
18808
|
+
},
|
|
18809
|
+
{
|
|
18810
|
+
"$ref": "#/components/parameters/siteId"
|
|
18811
|
+
}
|
|
18812
|
+
],
|
|
18813
|
+
"responses": {
|
|
18814
|
+
"200": {
|
|
18815
|
+
"description": "Template applied to site."
|
|
18816
|
+
}
|
|
18817
|
+
}
|
|
18818
|
+
}
|
|
18819
|
+
},
|
|
18576
18820
|
"/orgs/{organizationId}/sites/{siteId}/agent-settings": {
|
|
18577
18821
|
"get": {
|
|
18578
18822
|
"operationId": "getSiteAgentSettingsById",
|
|
@@ -22401,6 +22645,13 @@
|
|
|
22401
22645
|
"timeout"
|
|
22402
22646
|
]
|
|
22403
22647
|
},
|
|
22648
|
+
"GitSyncOperationDirection": {
|
|
22649
|
+
"type": "string",
|
|
22650
|
+
"enum": [
|
|
22651
|
+
"export",
|
|
22652
|
+
"import"
|
|
22653
|
+
]
|
|
22654
|
+
},
|
|
22404
22655
|
"GitSyncState": {
|
|
22405
22656
|
"type": "object",
|
|
22406
22657
|
"properties": {
|
|
@@ -22423,6 +22674,10 @@
|
|
|
22423
22674
|
"type": "string",
|
|
22424
22675
|
"description": "The ID of the Git Sync installation."
|
|
22425
22676
|
},
|
|
22677
|
+
"parentInstallationId": {
|
|
22678
|
+
"type": "string",
|
|
22679
|
+
"description": "The ID of the parent Git Sync installation, if any."
|
|
22680
|
+
},
|
|
22426
22681
|
"url": {
|
|
22427
22682
|
"type": "string",
|
|
22428
22683
|
"description": "The URL to the repository tree, used when rendering public content."
|
|
@@ -22433,17 +22688,37 @@
|
|
|
22433
22688
|
"properties": {
|
|
22434
22689
|
"state": {
|
|
22435
22690
|
"$ref": "#/components/schemas/GitSyncOperationState"
|
|
22691
|
+
},
|
|
22692
|
+
"direction": {
|
|
22693
|
+
"$ref": "#/components/schemas/GitSyncOperationDirection"
|
|
22694
|
+
},
|
|
22695
|
+
"startedAt": {
|
|
22696
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
22697
|
+
},
|
|
22698
|
+
"endedAt": {
|
|
22699
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
22700
|
+
},
|
|
22701
|
+
"error": {
|
|
22702
|
+
"type": "string",
|
|
22703
|
+
"description": "Why the operation failed, when it did."
|
|
22436
22704
|
}
|
|
22437
22705
|
},
|
|
22438
22706
|
"required": [
|
|
22439
|
-
"state"
|
|
22707
|
+
"state",
|
|
22708
|
+
"direction",
|
|
22709
|
+
"startedAt"
|
|
22440
22710
|
]
|
|
22441
22711
|
},
|
|
22442
22712
|
"updatedAt": {
|
|
22443
22713
|
"description": "When the Git provider details were last updated",
|
|
22444
22714
|
"$ref": "#/components/schemas/Timestamp"
|
|
22445
22715
|
}
|
|
22446
|
-
}
|
|
22716
|
+
},
|
|
22717
|
+
"required": [
|
|
22718
|
+
"installationId",
|
|
22719
|
+
"installationProvider",
|
|
22720
|
+
"installationStatus"
|
|
22721
|
+
]
|
|
22447
22722
|
},
|
|
22448
22723
|
"VisitorAuthCustomBackend": {
|
|
22449
22724
|
"type": "object",
|
|
@@ -22977,6 +23252,14 @@
|
|
|
22977
23252
|
"score": {
|
|
22978
23253
|
"$ref": "#/components/schemas/SearchResultScore"
|
|
22979
23254
|
},
|
|
23255
|
+
"resultType": {
|
|
23256
|
+
"type": "string",
|
|
23257
|
+
"description": "Whether the result matched on the page fields (title, description) or on the section content. When \"page\", the section is an arbitrary section of the matching page.",
|
|
23258
|
+
"enum": [
|
|
23259
|
+
"page",
|
|
23260
|
+
"section"
|
|
23261
|
+
]
|
|
23262
|
+
},
|
|
22980
23263
|
"body": {
|
|
22981
23264
|
"type": "string"
|
|
22982
23265
|
},
|
|
@@ -23020,6 +23303,14 @@
|
|
|
23020
23303
|
"score": {
|
|
23021
23304
|
"$ref": "#/components/schemas/SearchResultScore"
|
|
23022
23305
|
},
|
|
23306
|
+
"resultType": {
|
|
23307
|
+
"type": "string",
|
|
23308
|
+
"description": "Whether the page matched on its own fields (title, description) or on the content of one of its sections.",
|
|
23309
|
+
"enum": [
|
|
23310
|
+
"page",
|
|
23311
|
+
"section"
|
|
23312
|
+
]
|
|
23313
|
+
},
|
|
23023
23314
|
"sections": {
|
|
23024
23315
|
"type": "array",
|
|
23025
23316
|
"items": {
|
|
@@ -24603,6 +24894,290 @@
|
|
|
24603
24894
|
"nodes"
|
|
24604
24895
|
]
|
|
24605
24896
|
},
|
|
24897
|
+
"DocumentBlockEmbed": {
|
|
24898
|
+
"type": "object",
|
|
24899
|
+
"properties": {
|
|
24900
|
+
"object": {
|
|
24901
|
+
"type": "string",
|
|
24902
|
+
"enum": [
|
|
24903
|
+
"block"
|
|
24904
|
+
]
|
|
24905
|
+
},
|
|
24906
|
+
"type": {
|
|
24907
|
+
"type": "string",
|
|
24908
|
+
"enum": [
|
|
24909
|
+
"embed"
|
|
24910
|
+
]
|
|
24911
|
+
},
|
|
24912
|
+
"key": {
|
|
24913
|
+
"type": "string"
|
|
24914
|
+
},
|
|
24915
|
+
"data": {
|
|
24916
|
+
"type": "object",
|
|
24917
|
+
"properties": {
|
|
24918
|
+
"url": {
|
|
24919
|
+
"type": "string"
|
|
24920
|
+
},
|
|
24921
|
+
"fullWidth": {
|
|
24922
|
+
"type": "boolean"
|
|
24923
|
+
}
|
|
24924
|
+
},
|
|
24925
|
+
"required": [
|
|
24926
|
+
"url"
|
|
24927
|
+
]
|
|
24928
|
+
},
|
|
24929
|
+
"isVoid": {
|
|
24930
|
+
"type": "boolean",
|
|
24931
|
+
"enum": [
|
|
24932
|
+
true
|
|
24933
|
+
]
|
|
24934
|
+
}
|
|
24935
|
+
},
|
|
24936
|
+
"required": [
|
|
24937
|
+
"object",
|
|
24938
|
+
"type",
|
|
24939
|
+
"data",
|
|
24940
|
+
"isVoid"
|
|
24941
|
+
]
|
|
24942
|
+
},
|
|
24943
|
+
"PlainObject": {
|
|
24944
|
+
"properties": {},
|
|
24945
|
+
"additionalProperties": {
|
|
24946
|
+
"oneOf": [
|
|
24947
|
+
{
|
|
24948
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
24949
|
+
},
|
|
24950
|
+
{
|
|
24951
|
+
"type": "string"
|
|
24952
|
+
},
|
|
24953
|
+
{
|
|
24954
|
+
"type": "boolean"
|
|
24955
|
+
},
|
|
24956
|
+
{
|
|
24957
|
+
"type": "number"
|
|
24958
|
+
},
|
|
24959
|
+
{
|
|
24960
|
+
"type": "array",
|
|
24961
|
+
"items": {
|
|
24962
|
+
"oneOf": [
|
|
24963
|
+
{
|
|
24964
|
+
"type": "string"
|
|
24965
|
+
},
|
|
24966
|
+
{
|
|
24967
|
+
"type": "boolean"
|
|
24968
|
+
},
|
|
24969
|
+
{
|
|
24970
|
+
"type": "number"
|
|
24971
|
+
},
|
|
24972
|
+
{
|
|
24973
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
24974
|
+
}
|
|
24975
|
+
]
|
|
24976
|
+
}
|
|
24977
|
+
}
|
|
24978
|
+
]
|
|
24979
|
+
}
|
|
24980
|
+
},
|
|
24981
|
+
"ContentKitDefaultAction": {
|
|
24982
|
+
"oneOf": [
|
|
24983
|
+
{
|
|
24984
|
+
"type": "object",
|
|
24985
|
+
"description": "Action to open an overlay modal defined by \"componentId\".",
|
|
24986
|
+
"properties": {
|
|
24987
|
+
"action": {
|
|
24988
|
+
"type": "string",
|
|
24989
|
+
"enum": [
|
|
24990
|
+
"@ui.modal.open"
|
|
24991
|
+
]
|
|
24992
|
+
},
|
|
24993
|
+
"componentId": {
|
|
24994
|
+
"type": "string"
|
|
24995
|
+
},
|
|
24996
|
+
"props": {
|
|
24997
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
24998
|
+
}
|
|
24999
|
+
},
|
|
25000
|
+
"required": [
|
|
25001
|
+
"action",
|
|
25002
|
+
"componentId",
|
|
25003
|
+
"props"
|
|
25004
|
+
]
|
|
25005
|
+
},
|
|
25006
|
+
{
|
|
25007
|
+
"type": "object",
|
|
25008
|
+
"description": "Action when a modal overlay is closed, with a return value to the higher level component in the stack. This action will be triggered on the parent component instance.",
|
|
25009
|
+
"properties": {
|
|
25010
|
+
"action": {
|
|
25011
|
+
"type": "string",
|
|
25012
|
+
"enum": [
|
|
25013
|
+
"@ui.modal.close"
|
|
25014
|
+
]
|
|
25015
|
+
},
|
|
25016
|
+
"returnValue": {
|
|
25017
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
25018
|
+
}
|
|
25019
|
+
},
|
|
25020
|
+
"required": [
|
|
25021
|
+
"action",
|
|
25022
|
+
"returnValue"
|
|
25023
|
+
]
|
|
25024
|
+
},
|
|
25025
|
+
{
|
|
25026
|
+
"type": "object",
|
|
25027
|
+
"description": "Action to open an url.",
|
|
25028
|
+
"properties": {
|
|
25029
|
+
"action": {
|
|
25030
|
+
"type": "string",
|
|
25031
|
+
"enum": [
|
|
25032
|
+
"@ui.url.open"
|
|
25033
|
+
]
|
|
25034
|
+
},
|
|
25035
|
+
"url": {
|
|
25036
|
+
"type": "string"
|
|
25037
|
+
}
|
|
25038
|
+
},
|
|
25039
|
+
"required": [
|
|
25040
|
+
"action",
|
|
25041
|
+
"url"
|
|
25042
|
+
]
|
|
25043
|
+
},
|
|
25044
|
+
{
|
|
25045
|
+
"type": "object",
|
|
25046
|
+
"description": "Action when a link is being unfurled into a block.",
|
|
25047
|
+
"properties": {
|
|
25048
|
+
"action": {
|
|
25049
|
+
"type": "string",
|
|
25050
|
+
"enum": [
|
|
25051
|
+
"@link.unfurl"
|
|
25052
|
+
]
|
|
25053
|
+
},
|
|
25054
|
+
"url": {
|
|
25055
|
+
"type": "string"
|
|
25056
|
+
}
|
|
25057
|
+
},
|
|
25058
|
+
"required": [
|
|
25059
|
+
"action",
|
|
25060
|
+
"url"
|
|
25061
|
+
]
|
|
25062
|
+
},
|
|
25063
|
+
{
|
|
25064
|
+
"type": "object",
|
|
25065
|
+
"description": "Action to update the properties stored in the related node.",
|
|
25066
|
+
"properties": {
|
|
25067
|
+
"action": {
|
|
25068
|
+
"type": "string",
|
|
25069
|
+
"enum": [
|
|
25070
|
+
"@editor.node.updateProps"
|
|
25071
|
+
]
|
|
25072
|
+
},
|
|
25073
|
+
"props": {
|
|
25074
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
25075
|
+
}
|
|
25076
|
+
},
|
|
25077
|
+
"required": [
|
|
25078
|
+
"action",
|
|
25079
|
+
"props"
|
|
25080
|
+
]
|
|
25081
|
+
}
|
|
25082
|
+
]
|
|
25083
|
+
},
|
|
25084
|
+
"ContentKitAction": {
|
|
25085
|
+
"anyOf": [
|
|
25086
|
+
{
|
|
25087
|
+
"type": "object",
|
|
25088
|
+
"description": "Custom action to re-render the block.",
|
|
25089
|
+
"properties": {
|
|
25090
|
+
"action": {
|
|
25091
|
+
"type": "string"
|
|
25092
|
+
}
|
|
25093
|
+
},
|
|
25094
|
+
"additionalProperties": true,
|
|
25095
|
+
"required": [
|
|
25096
|
+
"action"
|
|
25097
|
+
]
|
|
25098
|
+
},
|
|
25099
|
+
{
|
|
25100
|
+
"$ref": "#/components/schemas/ContentKitDefaultAction"
|
|
25101
|
+
}
|
|
25102
|
+
]
|
|
25103
|
+
},
|
|
25104
|
+
"DocumentBlockIntegration": {
|
|
25105
|
+
"type": "object",
|
|
25106
|
+
"properties": {
|
|
25107
|
+
"object": {
|
|
25108
|
+
"type": "string",
|
|
25109
|
+
"enum": [
|
|
25110
|
+
"block"
|
|
25111
|
+
]
|
|
25112
|
+
},
|
|
25113
|
+
"type": {
|
|
25114
|
+
"type": "string",
|
|
25115
|
+
"enum": [
|
|
25116
|
+
"integration"
|
|
25117
|
+
]
|
|
25118
|
+
},
|
|
25119
|
+
"key": {
|
|
25120
|
+
"type": "string"
|
|
25121
|
+
},
|
|
25122
|
+
"data": {
|
|
25123
|
+
"type": "object",
|
|
25124
|
+
"properties": {
|
|
25125
|
+
"integration": {
|
|
25126
|
+
"type": "string",
|
|
25127
|
+
"description": "Name of the integration"
|
|
25128
|
+
},
|
|
25129
|
+
"block": {
|
|
25130
|
+
"type": "string",
|
|
25131
|
+
"description": "ID of the block in the integration"
|
|
25132
|
+
},
|
|
25133
|
+
"props": {
|
|
25134
|
+
"description": "Properties passed to the block during rendering",
|
|
25135
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
25136
|
+
},
|
|
25137
|
+
"action": {
|
|
25138
|
+
"$ref": "#/components/schemas/ContentKitAction"
|
|
25139
|
+
},
|
|
25140
|
+
"url": {
|
|
25141
|
+
"type": "string",
|
|
25142
|
+
"description": "URL associated with the content represented by the block.\nThis property is set when creating a block from a URL (unfurl) to ensure\nwe can convert the block back to an embed.\n"
|
|
25143
|
+
},
|
|
25144
|
+
"fullWidth": {
|
|
25145
|
+
"type": "boolean"
|
|
25146
|
+
}
|
|
25147
|
+
},
|
|
25148
|
+
"required": [
|
|
25149
|
+
"integration",
|
|
25150
|
+
"block",
|
|
25151
|
+
"props"
|
|
25152
|
+
]
|
|
25153
|
+
},
|
|
25154
|
+
"isVoid": {
|
|
25155
|
+
"type": "boolean",
|
|
25156
|
+
"enum": [
|
|
25157
|
+
true
|
|
25158
|
+
]
|
|
25159
|
+
},
|
|
25160
|
+
"meta": {
|
|
25161
|
+
"type": "object",
|
|
25162
|
+
"properties": {
|
|
25163
|
+
"token": {
|
|
25164
|
+
"type": "string",
|
|
25165
|
+
"description": "A content token that can be used to authenticate requests for cross-space integration blocks."
|
|
25166
|
+
},
|
|
25167
|
+
"spaceId": {
|
|
25168
|
+
"type": "string",
|
|
25169
|
+
"description": "ID of the space the integration block originates from"
|
|
25170
|
+
}
|
|
25171
|
+
}
|
|
25172
|
+
}
|
|
25173
|
+
},
|
|
25174
|
+
"required": [
|
|
25175
|
+
"object",
|
|
25176
|
+
"type",
|
|
25177
|
+
"data",
|
|
25178
|
+
"isVoid"
|
|
25179
|
+
]
|
|
25180
|
+
},
|
|
24606
25181
|
"DocumentBlockHint": {
|
|
24607
25182
|
"type": "object",
|
|
24608
25183
|
"properties": {
|
|
@@ -24644,7 +25219,17 @@
|
|
|
24644
25219
|
"nodes": {
|
|
24645
25220
|
"type": "array",
|
|
24646
25221
|
"items": {
|
|
24647
|
-
"
|
|
25222
|
+
"oneOf": [
|
|
25223
|
+
{
|
|
25224
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
25225
|
+
},
|
|
25226
|
+
{
|
|
25227
|
+
"$ref": "#/components/schemas/DocumentBlockEmbed"
|
|
25228
|
+
},
|
|
25229
|
+
{
|
|
25230
|
+
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
25231
|
+
}
|
|
25232
|
+
]
|
|
24648
25233
|
}
|
|
24649
25234
|
},
|
|
24650
25235
|
"isVoid": {
|
|
@@ -26053,52 +26638,6 @@
|
|
|
26053
26638
|
"isVoid"
|
|
26054
26639
|
]
|
|
26055
26640
|
},
|
|
26056
|
-
"DocumentBlockEmbed": {
|
|
26057
|
-
"type": "object",
|
|
26058
|
-
"properties": {
|
|
26059
|
-
"object": {
|
|
26060
|
-
"type": "string",
|
|
26061
|
-
"enum": [
|
|
26062
|
-
"block"
|
|
26063
|
-
]
|
|
26064
|
-
},
|
|
26065
|
-
"type": {
|
|
26066
|
-
"type": "string",
|
|
26067
|
-
"enum": [
|
|
26068
|
-
"embed"
|
|
26069
|
-
]
|
|
26070
|
-
},
|
|
26071
|
-
"key": {
|
|
26072
|
-
"type": "string"
|
|
26073
|
-
},
|
|
26074
|
-
"data": {
|
|
26075
|
-
"type": "object",
|
|
26076
|
-
"properties": {
|
|
26077
|
-
"url": {
|
|
26078
|
-
"type": "string"
|
|
26079
|
-
},
|
|
26080
|
-
"fullWidth": {
|
|
26081
|
-
"type": "boolean"
|
|
26082
|
-
}
|
|
26083
|
-
},
|
|
26084
|
-
"required": [
|
|
26085
|
-
"url"
|
|
26086
|
-
]
|
|
26087
|
-
},
|
|
26088
|
-
"isVoid": {
|
|
26089
|
-
"type": "boolean",
|
|
26090
|
-
"enum": [
|
|
26091
|
-
true
|
|
26092
|
-
]
|
|
26093
|
-
}
|
|
26094
|
-
},
|
|
26095
|
-
"required": [
|
|
26096
|
-
"object",
|
|
26097
|
-
"type",
|
|
26098
|
-
"data",
|
|
26099
|
-
"isVoid"
|
|
26100
|
-
]
|
|
26101
|
-
},
|
|
26102
26641
|
"DocumentBlockReusableContent": {
|
|
26103
26642
|
"type": "object",
|
|
26104
26643
|
"properties": {
|
|
@@ -26151,244 +26690,6 @@
|
|
|
26151
26690
|
"isVoid"
|
|
26152
26691
|
]
|
|
26153
26692
|
},
|
|
26154
|
-
"PlainObject": {
|
|
26155
|
-
"properties": {},
|
|
26156
|
-
"additionalProperties": {
|
|
26157
|
-
"oneOf": [
|
|
26158
|
-
{
|
|
26159
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
26160
|
-
},
|
|
26161
|
-
{
|
|
26162
|
-
"type": "string"
|
|
26163
|
-
},
|
|
26164
|
-
{
|
|
26165
|
-
"type": "boolean"
|
|
26166
|
-
},
|
|
26167
|
-
{
|
|
26168
|
-
"type": "number"
|
|
26169
|
-
},
|
|
26170
|
-
{
|
|
26171
|
-
"type": "array",
|
|
26172
|
-
"items": {
|
|
26173
|
-
"oneOf": [
|
|
26174
|
-
{
|
|
26175
|
-
"type": "string"
|
|
26176
|
-
},
|
|
26177
|
-
{
|
|
26178
|
-
"type": "boolean"
|
|
26179
|
-
},
|
|
26180
|
-
{
|
|
26181
|
-
"type": "number"
|
|
26182
|
-
},
|
|
26183
|
-
{
|
|
26184
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
26185
|
-
}
|
|
26186
|
-
]
|
|
26187
|
-
}
|
|
26188
|
-
}
|
|
26189
|
-
]
|
|
26190
|
-
}
|
|
26191
|
-
},
|
|
26192
|
-
"ContentKitDefaultAction": {
|
|
26193
|
-
"oneOf": [
|
|
26194
|
-
{
|
|
26195
|
-
"type": "object",
|
|
26196
|
-
"description": "Action to open an overlay modal defined by \"componentId\".",
|
|
26197
|
-
"properties": {
|
|
26198
|
-
"action": {
|
|
26199
|
-
"type": "string",
|
|
26200
|
-
"enum": [
|
|
26201
|
-
"@ui.modal.open"
|
|
26202
|
-
]
|
|
26203
|
-
},
|
|
26204
|
-
"componentId": {
|
|
26205
|
-
"type": "string"
|
|
26206
|
-
},
|
|
26207
|
-
"props": {
|
|
26208
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
26209
|
-
}
|
|
26210
|
-
},
|
|
26211
|
-
"required": [
|
|
26212
|
-
"action",
|
|
26213
|
-
"componentId",
|
|
26214
|
-
"props"
|
|
26215
|
-
]
|
|
26216
|
-
},
|
|
26217
|
-
{
|
|
26218
|
-
"type": "object",
|
|
26219
|
-
"description": "Action when a modal overlay is closed, with a return value to the higher level component in the stack. This action will be triggered on the parent component instance.",
|
|
26220
|
-
"properties": {
|
|
26221
|
-
"action": {
|
|
26222
|
-
"type": "string",
|
|
26223
|
-
"enum": [
|
|
26224
|
-
"@ui.modal.close"
|
|
26225
|
-
]
|
|
26226
|
-
},
|
|
26227
|
-
"returnValue": {
|
|
26228
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
26229
|
-
}
|
|
26230
|
-
},
|
|
26231
|
-
"required": [
|
|
26232
|
-
"action",
|
|
26233
|
-
"returnValue"
|
|
26234
|
-
]
|
|
26235
|
-
},
|
|
26236
|
-
{
|
|
26237
|
-
"type": "object",
|
|
26238
|
-
"description": "Action to open an url.",
|
|
26239
|
-
"properties": {
|
|
26240
|
-
"action": {
|
|
26241
|
-
"type": "string",
|
|
26242
|
-
"enum": [
|
|
26243
|
-
"@ui.url.open"
|
|
26244
|
-
]
|
|
26245
|
-
},
|
|
26246
|
-
"url": {
|
|
26247
|
-
"type": "string"
|
|
26248
|
-
}
|
|
26249
|
-
},
|
|
26250
|
-
"required": [
|
|
26251
|
-
"action",
|
|
26252
|
-
"url"
|
|
26253
|
-
]
|
|
26254
|
-
},
|
|
26255
|
-
{
|
|
26256
|
-
"type": "object",
|
|
26257
|
-
"description": "Action when a link is being unfurled into a block.",
|
|
26258
|
-
"properties": {
|
|
26259
|
-
"action": {
|
|
26260
|
-
"type": "string",
|
|
26261
|
-
"enum": [
|
|
26262
|
-
"@link.unfurl"
|
|
26263
|
-
]
|
|
26264
|
-
},
|
|
26265
|
-
"url": {
|
|
26266
|
-
"type": "string"
|
|
26267
|
-
}
|
|
26268
|
-
},
|
|
26269
|
-
"required": [
|
|
26270
|
-
"action",
|
|
26271
|
-
"url"
|
|
26272
|
-
]
|
|
26273
|
-
},
|
|
26274
|
-
{
|
|
26275
|
-
"type": "object",
|
|
26276
|
-
"description": "Action to update the properties stored in the related node.",
|
|
26277
|
-
"properties": {
|
|
26278
|
-
"action": {
|
|
26279
|
-
"type": "string",
|
|
26280
|
-
"enum": [
|
|
26281
|
-
"@editor.node.updateProps"
|
|
26282
|
-
]
|
|
26283
|
-
},
|
|
26284
|
-
"props": {
|
|
26285
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
26286
|
-
}
|
|
26287
|
-
},
|
|
26288
|
-
"required": [
|
|
26289
|
-
"action",
|
|
26290
|
-
"props"
|
|
26291
|
-
]
|
|
26292
|
-
}
|
|
26293
|
-
]
|
|
26294
|
-
},
|
|
26295
|
-
"ContentKitAction": {
|
|
26296
|
-
"anyOf": [
|
|
26297
|
-
{
|
|
26298
|
-
"type": "object",
|
|
26299
|
-
"description": "Custom action to re-render the block.",
|
|
26300
|
-
"properties": {
|
|
26301
|
-
"action": {
|
|
26302
|
-
"type": "string"
|
|
26303
|
-
}
|
|
26304
|
-
},
|
|
26305
|
-
"additionalProperties": true,
|
|
26306
|
-
"required": [
|
|
26307
|
-
"action"
|
|
26308
|
-
]
|
|
26309
|
-
},
|
|
26310
|
-
{
|
|
26311
|
-
"$ref": "#/components/schemas/ContentKitDefaultAction"
|
|
26312
|
-
}
|
|
26313
|
-
]
|
|
26314
|
-
},
|
|
26315
|
-
"DocumentBlockIntegration": {
|
|
26316
|
-
"type": "object",
|
|
26317
|
-
"properties": {
|
|
26318
|
-
"object": {
|
|
26319
|
-
"type": "string",
|
|
26320
|
-
"enum": [
|
|
26321
|
-
"block"
|
|
26322
|
-
]
|
|
26323
|
-
},
|
|
26324
|
-
"type": {
|
|
26325
|
-
"type": "string",
|
|
26326
|
-
"enum": [
|
|
26327
|
-
"integration"
|
|
26328
|
-
]
|
|
26329
|
-
},
|
|
26330
|
-
"key": {
|
|
26331
|
-
"type": "string"
|
|
26332
|
-
},
|
|
26333
|
-
"data": {
|
|
26334
|
-
"type": "object",
|
|
26335
|
-
"properties": {
|
|
26336
|
-
"integration": {
|
|
26337
|
-
"type": "string",
|
|
26338
|
-
"description": "Name of the integration"
|
|
26339
|
-
},
|
|
26340
|
-
"block": {
|
|
26341
|
-
"type": "string",
|
|
26342
|
-
"description": "ID of the block in the integration"
|
|
26343
|
-
},
|
|
26344
|
-
"props": {
|
|
26345
|
-
"description": "Properties passed to the block during rendering",
|
|
26346
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
26347
|
-
},
|
|
26348
|
-
"action": {
|
|
26349
|
-
"$ref": "#/components/schemas/ContentKitAction"
|
|
26350
|
-
},
|
|
26351
|
-
"url": {
|
|
26352
|
-
"type": "string",
|
|
26353
|
-
"description": "URL associated with the content represented by the block.\nThis property is set when creating a block from a URL (unfurl) to ensure\nwe can convert the block back to an embed.\n"
|
|
26354
|
-
},
|
|
26355
|
-
"fullWidth": {
|
|
26356
|
-
"type": "boolean"
|
|
26357
|
-
}
|
|
26358
|
-
},
|
|
26359
|
-
"required": [
|
|
26360
|
-
"integration",
|
|
26361
|
-
"block",
|
|
26362
|
-
"props"
|
|
26363
|
-
]
|
|
26364
|
-
},
|
|
26365
|
-
"isVoid": {
|
|
26366
|
-
"type": "boolean",
|
|
26367
|
-
"enum": [
|
|
26368
|
-
true
|
|
26369
|
-
]
|
|
26370
|
-
},
|
|
26371
|
-
"meta": {
|
|
26372
|
-
"type": "object",
|
|
26373
|
-
"properties": {
|
|
26374
|
-
"token": {
|
|
26375
|
-
"type": "string",
|
|
26376
|
-
"description": "A content token that can be used to authenticate requests for cross-space integration blocks."
|
|
26377
|
-
},
|
|
26378
|
-
"spaceId": {
|
|
26379
|
-
"type": "string",
|
|
26380
|
-
"description": "ID of the space the integration block originates from"
|
|
26381
|
-
}
|
|
26382
|
-
}
|
|
26383
|
-
}
|
|
26384
|
-
},
|
|
26385
|
-
"required": [
|
|
26386
|
-
"object",
|
|
26387
|
-
"type",
|
|
26388
|
-
"data",
|
|
26389
|
-
"isVoid"
|
|
26390
|
-
]
|
|
26391
|
-
},
|
|
26392
26693
|
"DocumentBlockExpandable": {
|
|
26393
26694
|
"type": "object",
|
|
26394
26695
|
"properties": {
|
|
@@ -27659,10 +27960,12 @@
|
|
|
27659
27960
|
]
|
|
27660
27961
|
},
|
|
27661
27962
|
"DocumentAction": {
|
|
27963
|
+
"description": "Action to perform when an inline button is clicked.",
|
|
27662
27964
|
"type": "object",
|
|
27663
27965
|
"oneOf": [
|
|
27664
27966
|
{
|
|
27665
27967
|
"type": "object",
|
|
27968
|
+
"description": "Open a search input, optionally prefilled with a search query.",
|
|
27666
27969
|
"properties": {
|
|
27667
27970
|
"action": {
|
|
27668
27971
|
"type": "string",
|
|
@@ -27671,7 +27974,8 @@
|
|
|
27671
27974
|
]
|
|
27672
27975
|
},
|
|
27673
27976
|
"query": {
|
|
27674
|
-
"type": "string"
|
|
27977
|
+
"type": "string",
|
|
27978
|
+
"description": "The search query to prefill."
|
|
27675
27979
|
}
|
|
27676
27980
|
},
|
|
27677
27981
|
"required": [
|
|
@@ -27681,6 +27985,7 @@
|
|
|
27681
27985
|
},
|
|
27682
27986
|
{
|
|
27683
27987
|
"type": "object",
|
|
27988
|
+
"description": "Open an AI input, optionally prefilled with a question.",
|
|
27684
27989
|
"properties": {
|
|
27685
27990
|
"action": {
|
|
27686
27991
|
"type": "string",
|
|
@@ -27689,13 +27994,35 @@
|
|
|
27689
27994
|
]
|
|
27690
27995
|
},
|
|
27691
27996
|
"query": {
|
|
27692
|
-
"type": "string"
|
|
27997
|
+
"type": "string",
|
|
27998
|
+
"description": "The question to prefill."
|
|
27693
27999
|
}
|
|
27694
28000
|
},
|
|
27695
28001
|
"required": [
|
|
27696
28002
|
"action"
|
|
27697
28003
|
],
|
|
27698
28004
|
"additionalProperties": false
|
|
28005
|
+
},
|
|
28006
|
+
{
|
|
28007
|
+
"type": "object",
|
|
28008
|
+
"description": "Open a selection input for the option identified by its slug.",
|
|
28009
|
+
"properties": {
|
|
28010
|
+
"action": {
|
|
28011
|
+
"type": "string",
|
|
28012
|
+
"enum": [
|
|
28013
|
+
"select"
|
|
28014
|
+
]
|
|
28015
|
+
},
|
|
28016
|
+
"slug": {
|
|
28017
|
+
"type": "string",
|
|
28018
|
+
"description": "The slug of the option to select."
|
|
28019
|
+
}
|
|
28020
|
+
},
|
|
28021
|
+
"required": [
|
|
28022
|
+
"action",
|
|
28023
|
+
"slug"
|
|
28024
|
+
],
|
|
28025
|
+
"additionalProperties": false
|
|
27699
28026
|
}
|
|
27700
28027
|
]
|
|
27701
28028
|
},
|
|
@@ -38927,6 +39254,17 @@
|
|
|
38927
39254
|
"default": false,
|
|
38928
39255
|
"description": "Whether previews should be generated from branches outside the configured branch."
|
|
38929
39256
|
},
|
|
39257
|
+
"agentInstructions": {
|
|
39258
|
+
"type": "array",
|
|
39259
|
+
"description": "Agent instruction files GitBook should always export at the repository root.",
|
|
39260
|
+
"items": {
|
|
39261
|
+
"type": "string",
|
|
39262
|
+
"enum": [
|
|
39263
|
+
"agents",
|
|
39264
|
+
"claude"
|
|
39265
|
+
]
|
|
39266
|
+
}
|
|
39267
|
+
},
|
|
38930
39268
|
"priority": {
|
|
38931
39269
|
"$ref": "#/components/schemas/GitSyncInstallationPriority"
|
|
38932
39270
|
}
|
|
@@ -39082,6 +39420,136 @@
|
|
|
39082
39420
|
"propertyName": "type"
|
|
39083
39421
|
}
|
|
39084
39422
|
},
|
|
39423
|
+
"GitSyncInstallationProvider": {
|
|
39424
|
+
"type": "string",
|
|
39425
|
+
"description": "The provider of the Git Sync installation.",
|
|
39426
|
+
"enum": [
|
|
39427
|
+
"github",
|
|
39428
|
+
"gitlab"
|
|
39429
|
+
]
|
|
39430
|
+
},
|
|
39431
|
+
"GitRepositoryConnection": {
|
|
39432
|
+
"type": "object",
|
|
39433
|
+
"properties": {
|
|
39434
|
+
"object": {
|
|
39435
|
+
"type": "string",
|
|
39436
|
+
"enum": [
|
|
39437
|
+
"git-repository-connection"
|
|
39438
|
+
]
|
|
39439
|
+
},
|
|
39440
|
+
"id": {
|
|
39441
|
+
"type": "string",
|
|
39442
|
+
"description": "Unique identifier of the repository connection."
|
|
39443
|
+
},
|
|
39444
|
+
"provider": {
|
|
39445
|
+
"$ref": "#/components/schemas/GitSyncInstallationProvider"
|
|
39446
|
+
},
|
|
39447
|
+
"repositoryId": {
|
|
39448
|
+
"type": "string",
|
|
39449
|
+
"description": "Repository identifier assigned by the provider."
|
|
39450
|
+
},
|
|
39451
|
+
"repositoryName": {
|
|
39452
|
+
"type": "string",
|
|
39453
|
+
"description": "Full repository name assigned by the provider."
|
|
39454
|
+
},
|
|
39455
|
+
"repositoryUrl": {
|
|
39456
|
+
"type": "string",
|
|
39457
|
+
"format": "uri",
|
|
39458
|
+
"description": "URL of the repository on the provider."
|
|
39459
|
+
},
|
|
39460
|
+
"defaultBranch": {
|
|
39461
|
+
"type": "string",
|
|
39462
|
+
"description": "Default branch reported by the provider."
|
|
39463
|
+
},
|
|
39464
|
+
"authState": {
|
|
39465
|
+
"type": "string",
|
|
39466
|
+
"enum": [
|
|
39467
|
+
"pending",
|
|
39468
|
+
"active",
|
|
39469
|
+
"unauthenticated"
|
|
39470
|
+
]
|
|
39471
|
+
},
|
|
39472
|
+
"capabilities": {
|
|
39473
|
+
"type": "object",
|
|
39474
|
+
"description": "Provider operations available to this repository connection.",
|
|
39475
|
+
"properties": {
|
|
39476
|
+
"pullRequests": {
|
|
39477
|
+
"type": "boolean",
|
|
39478
|
+
"description": "Whether the connection can create and update GitHub pull requests or GitLab merge requests."
|
|
39479
|
+
},
|
|
39480
|
+
"commitStatuses": {
|
|
39481
|
+
"type": "boolean",
|
|
39482
|
+
"description": "Whether the connection can publish GitBook synchronization results as provider commit statuses."
|
|
39483
|
+
}
|
|
39484
|
+
},
|
|
39485
|
+
"required": [
|
|
39486
|
+
"pullRequests",
|
|
39487
|
+
"commitStatuses"
|
|
39488
|
+
]
|
|
39489
|
+
},
|
|
39490
|
+
"createdAt": {
|
|
39491
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
39492
|
+
},
|
|
39493
|
+
"updatedAt": {
|
|
39494
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
39495
|
+
}
|
|
39496
|
+
},
|
|
39497
|
+
"required": [
|
|
39498
|
+
"object",
|
|
39499
|
+
"id",
|
|
39500
|
+
"provider",
|
|
39501
|
+
"repositoryId",
|
|
39502
|
+
"repositoryName",
|
|
39503
|
+
"repositoryUrl",
|
|
39504
|
+
"authState",
|
|
39505
|
+
"capabilities",
|
|
39506
|
+
"createdAt",
|
|
39507
|
+
"updatedAt"
|
|
39508
|
+
]
|
|
39509
|
+
},
|
|
39510
|
+
"GitRepositoryRef": {
|
|
39511
|
+
"type": "object",
|
|
39512
|
+
"properties": {
|
|
39513
|
+
"object": {
|
|
39514
|
+
"type": "string",
|
|
39515
|
+
"enum": [
|
|
39516
|
+
"git-repository-ref"
|
|
39517
|
+
]
|
|
39518
|
+
},
|
|
39519
|
+
"id": {
|
|
39520
|
+
"type": "string",
|
|
39521
|
+
"description": "Unique identifier of the repository ref."
|
|
39522
|
+
},
|
|
39523
|
+
"name": {
|
|
39524
|
+
"type": "string",
|
|
39525
|
+
"description": "Fully qualified provider ref name."
|
|
39526
|
+
},
|
|
39527
|
+
"type": {
|
|
39528
|
+
"type": "string",
|
|
39529
|
+
"enum": [
|
|
39530
|
+
"branch",
|
|
39531
|
+
"tag",
|
|
39532
|
+
"change-request-head"
|
|
39533
|
+
]
|
|
39534
|
+
},
|
|
39535
|
+
"latestObservedCommitId": {
|
|
39536
|
+
"type": "string"
|
|
39537
|
+
},
|
|
39538
|
+
"latestImportedCommitId": {
|
|
39539
|
+
"type": "string"
|
|
39540
|
+
},
|
|
39541
|
+
"updatedAt": {
|
|
39542
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
39543
|
+
}
|
|
39544
|
+
},
|
|
39545
|
+
"required": [
|
|
39546
|
+
"object",
|
|
39547
|
+
"id",
|
|
39548
|
+
"name",
|
|
39549
|
+
"type",
|
|
39550
|
+
"updatedAt"
|
|
39551
|
+
]
|
|
39552
|
+
},
|
|
39085
39553
|
"GitSyncInstallation": {
|
|
39086
39554
|
"allOf": [
|
|
39087
39555
|
{
|
|
@@ -39100,12 +39568,22 @@
|
|
|
39100
39568
|
"type": "string",
|
|
39101
39569
|
"description": "Unique identifier of the Git Sync installation."
|
|
39102
39570
|
},
|
|
39571
|
+
"parentInstallationId": {
|
|
39572
|
+
"type": "string",
|
|
39573
|
+
"description": "The ID of the parent Git Sync installation, if any."
|
|
39574
|
+
},
|
|
39103
39575
|
"target": {
|
|
39104
39576
|
"$ref": "#/components/schemas/GitSyncInstallationTarget"
|
|
39105
39577
|
},
|
|
39106
39578
|
"status": {
|
|
39107
39579
|
"$ref": "#/components/schemas/GitSyncInstallationStatus"
|
|
39108
39580
|
},
|
|
39581
|
+
"repositoryConnection": {
|
|
39582
|
+
"$ref": "#/components/schemas/GitRepositoryConnection"
|
|
39583
|
+
},
|
|
39584
|
+
"repositoryRef": {
|
|
39585
|
+
"$ref": "#/components/schemas/GitRepositoryRef"
|
|
39586
|
+
},
|
|
39109
39587
|
"createdAt": {
|
|
39110
39588
|
"$ref": "#/components/schemas/Timestamp"
|
|
39111
39589
|
},
|
|
@@ -39871,6 +40349,11 @@
|
|
|
39871
40349
|
},
|
|
39872
40350
|
"maxItems": 5
|
|
39873
40351
|
},
|
|
40352
|
+
"CustomizationAIInstructions": {
|
|
40353
|
+
"type": "string",
|
|
40354
|
+
"description": "Additional instructions for the AI Assistant, injected after the base system prompt. Use them to adjust tone of voice and contribute site-specific knowledge. These instructions refine, but never override, the assistant's built-in guardrails. Only available to site admins and never exposed on the published site.",
|
|
40355
|
+
"maxLength": 10000
|
|
40356
|
+
},
|
|
39874
40357
|
"CustomizationPageActionType": {
|
|
39875
40358
|
"type": "string",
|
|
39876
40359
|
"description": "Type of a built-in page action that can be displayed in the page actions menu of a published page.",
|
|
@@ -40179,6 +40662,9 @@
|
|
|
40179
40662
|
},
|
|
40180
40663
|
"suggestions": {
|
|
40181
40664
|
"$ref": "#/components/schemas/CustomizationSuggestedQuestions"
|
|
40665
|
+
},
|
|
40666
|
+
"instructions": {
|
|
40667
|
+
"$ref": "#/components/schemas/CustomizationAIInstructions"
|
|
40182
40668
|
}
|
|
40183
40669
|
},
|
|
40184
40670
|
"required": [
|
|
@@ -41101,6 +41587,28 @@
|
|
|
41101
41587
|
"high"
|
|
41102
41588
|
]
|
|
41103
41589
|
},
|
|
41590
|
+
"SiteTriageFilterQuestions": {
|
|
41591
|
+
"type": "string",
|
|
41592
|
+
"description": "Findings source filter matching evidence coming from site questions.\n",
|
|
41593
|
+
"enum": [
|
|
41594
|
+
"questions"
|
|
41595
|
+
]
|
|
41596
|
+
},
|
|
41597
|
+
"SiteTriageFilterConnections": {
|
|
41598
|
+
"type": "string",
|
|
41599
|
+
"description": "Findings source filter matching evidence coming from a given connection,\nencoded as `connection:<connectionId>`.\n",
|
|
41600
|
+
"pattern": "^connection:.+$"
|
|
41601
|
+
},
|
|
41602
|
+
"SiteFindingOrderBy": {
|
|
41603
|
+
"type": "string",
|
|
41604
|
+
"enum": [
|
|
41605
|
+
"updatedAt",
|
|
41606
|
+
"severity",
|
|
41607
|
+
"questions"
|
|
41608
|
+
],
|
|
41609
|
+
"default": "updatedAt",
|
|
41610
|
+
"description": "The field to sort site findings by. `updatedAt` returns the most recently updated findings first. `severity` returns the most severe findings first. `questions` returns the most asked-about findings first. Defaults to 'updatedAt'."
|
|
41611
|
+
},
|
|
41104
41612
|
"SiteFindingTitle": {
|
|
41105
41613
|
"type": "string",
|
|
41106
41614
|
"description": "Short finding title",
|
|
@@ -41457,6 +41965,94 @@
|
|
|
41457
41965
|
"urls"
|
|
41458
41966
|
]
|
|
41459
41967
|
},
|
|
41968
|
+
"SiteFindingStatsStatuses": {
|
|
41969
|
+
"type": "object",
|
|
41970
|
+
"description": "Count of findings by status. Candidate findings are never counted.",
|
|
41971
|
+
"properties": {
|
|
41972
|
+
"open": {
|
|
41973
|
+
"type": "number",
|
|
41974
|
+
"description": "Count of findings surfaced to users and still under investigation."
|
|
41975
|
+
},
|
|
41976
|
+
"done": {
|
|
41977
|
+
"type": "number",
|
|
41978
|
+
"description": "Count of findings that have been resolved."
|
|
41979
|
+
},
|
|
41980
|
+
"canceled": {
|
|
41981
|
+
"type": "number",
|
|
41982
|
+
"description": "Count of findings that have been canceled."
|
|
41983
|
+
}
|
|
41984
|
+
},
|
|
41985
|
+
"required": [
|
|
41986
|
+
"open",
|
|
41987
|
+
"done",
|
|
41988
|
+
"canceled"
|
|
41989
|
+
]
|
|
41990
|
+
},
|
|
41991
|
+
"SiteFindingStatsSeverities": {
|
|
41992
|
+
"type": "object",
|
|
41993
|
+
"description": "Count of findings by estimated end-user severity.",
|
|
41994
|
+
"properties": {
|
|
41995
|
+
"low": {
|
|
41996
|
+
"type": "number",
|
|
41997
|
+
"description": "Count of findings with a low estimated severity."
|
|
41998
|
+
},
|
|
41999
|
+
"medium": {
|
|
42000
|
+
"type": "number",
|
|
42001
|
+
"description": "Count of findings with a medium estimated severity."
|
|
42002
|
+
},
|
|
42003
|
+
"high": {
|
|
42004
|
+
"type": "number",
|
|
42005
|
+
"description": "Count of findings with a high estimated severity."
|
|
42006
|
+
}
|
|
42007
|
+
},
|
|
42008
|
+
"required": [
|
|
42009
|
+
"low",
|
|
42010
|
+
"medium",
|
|
42011
|
+
"high"
|
|
42012
|
+
]
|
|
42013
|
+
},
|
|
42014
|
+
"SiteFindingStatsConnectors": {
|
|
42015
|
+
"type": "object",
|
|
42016
|
+
"description": "Count of findings by the connector their evidence came from, keyed by connector (e.g. `builtin:intercom`). A finding is counted once per connector that contributed at least one piece of evidence to it, so the counts can add up to more than the total.",
|
|
42017
|
+
"additionalProperties": {
|
|
42018
|
+
"type": "number"
|
|
42019
|
+
}
|
|
42020
|
+
},
|
|
42021
|
+
"SiteFindingStats": {
|
|
42022
|
+
"type": "object",
|
|
42023
|
+
"description": "Aggregated stats for the findings identified on a site.",
|
|
42024
|
+
"properties": {
|
|
42025
|
+
"total": {
|
|
42026
|
+
"type": "number",
|
|
42027
|
+
"description": "Total count of findings included in the aggregation."
|
|
42028
|
+
},
|
|
42029
|
+
"statuses": {
|
|
42030
|
+
"$ref": "#/components/schemas/SiteFindingStatsStatuses"
|
|
42031
|
+
},
|
|
42032
|
+
"severities": {
|
|
42033
|
+
"$ref": "#/components/schemas/SiteFindingStatsSeverities"
|
|
42034
|
+
},
|
|
42035
|
+
"connectors": {
|
|
42036
|
+
"$ref": "#/components/schemas/SiteFindingStatsConnectors"
|
|
42037
|
+
},
|
|
42038
|
+
"questions": {
|
|
42039
|
+
"type": "number",
|
|
42040
|
+
"description": "Count of findings with at least one piece of evidence coming from a site question."
|
|
42041
|
+
},
|
|
42042
|
+
"mergedChangeRequests": {
|
|
42043
|
+
"type": "number",
|
|
42044
|
+
"description": "Count of change requests created to fix a finding that have been merged."
|
|
42045
|
+
}
|
|
42046
|
+
},
|
|
42047
|
+
"required": [
|
|
42048
|
+
"total",
|
|
42049
|
+
"statuses",
|
|
42050
|
+
"severities",
|
|
42051
|
+
"connectors",
|
|
42052
|
+
"questions",
|
|
42053
|
+
"mergedChangeRequests"
|
|
42054
|
+
]
|
|
42055
|
+
},
|
|
41460
42056
|
"ContextConnectionLabel": {
|
|
41461
42057
|
"type": "string",
|
|
41462
42058
|
"description": "Optional label for the connection",
|
|
@@ -43666,9 +44262,7 @@
|
|
|
43666
44262
|
},
|
|
43667
44263
|
"contentType": {
|
|
43668
44264
|
"type": "string",
|
|
43669
|
-
"
|
|
43670
|
-
"application/pdf"
|
|
43671
|
-
]
|
|
44265
|
+
"description": "MIME type of the file. Must be a file type supported by the underlying model (see the OpenAI file-inputs documentation)."
|
|
43672
44266
|
}
|
|
43673
44267
|
},
|
|
43674
44268
|
"required": [
|
|
@@ -45226,28 +45820,10 @@
|
|
|
45226
45820
|
"enum": [
|
|
45227
45821
|
"agent_feedback"
|
|
45228
45822
|
]
|
|
45229
|
-
},
|
|
45230
|
-
"feedback": {
|
|
45231
|
-
"type": "object",
|
|
45232
|
-
"properties": {
|
|
45233
|
-
"content": {
|
|
45234
|
-
"type": "string",
|
|
45235
|
-
"minLength": 1,
|
|
45236
|
-
"maxLength": 2048
|
|
45237
|
-
},
|
|
45238
|
-
"category": {
|
|
45239
|
-
"$ref": "#/components/schemas/SiteFindingType"
|
|
45240
|
-
}
|
|
45241
|
-
},
|
|
45242
|
-
"required": [
|
|
45243
|
-
"content",
|
|
45244
|
-
"category"
|
|
45245
|
-
]
|
|
45246
45823
|
}
|
|
45247
45824
|
},
|
|
45248
45825
|
"required": [
|
|
45249
|
-
"type"
|
|
45250
|
-
"feedback"
|
|
45826
|
+
"type"
|
|
45251
45827
|
]
|
|
45252
45828
|
}
|
|
45253
45829
|
]
|
|
@@ -48304,6 +48880,23 @@
|
|
|
48304
48880
|
"contents"
|
|
48305
48881
|
]
|
|
48306
48882
|
},
|
|
48883
|
+
"APIIntercomMessengerToken": {
|
|
48884
|
+
"type": "object",
|
|
48885
|
+
"properties": {
|
|
48886
|
+
"token": {
|
|
48887
|
+
"type": "string",
|
|
48888
|
+
"description": "Short-lived JWT used to authenticate the user with Intercom Messenger"
|
|
48889
|
+
},
|
|
48890
|
+
"expiresAt": {
|
|
48891
|
+
"type": "integer",
|
|
48892
|
+
"description": "Unix timestamp in seconds when the token expires"
|
|
48893
|
+
}
|
|
48894
|
+
},
|
|
48895
|
+
"required": [
|
|
48896
|
+
"token",
|
|
48897
|
+
"expiresAt"
|
|
48898
|
+
]
|
|
48899
|
+
},
|
|
48307
48900
|
"SignedURL": {
|
|
48308
48901
|
"type": "object",
|
|
48309
48902
|
"properties": {
|
|
@@ -48924,14 +49517,6 @@
|
|
|
48924
49517
|
}
|
|
48925
49518
|
}
|
|
48926
49519
|
},
|
|
48927
|
-
"GitSyncInstallationProvider": {
|
|
48928
|
-
"type": "string",
|
|
48929
|
-
"description": "The provider of the Git Sync installation.",
|
|
48930
|
-
"enum": [
|
|
48931
|
-
"github",
|
|
48932
|
-
"gitlab"
|
|
48933
|
-
]
|
|
48934
|
-
},
|
|
48935
49520
|
"GitSyncGitHubRepository": {
|
|
48936
49521
|
"type": "object",
|
|
48937
49522
|
"description": "GitHub repository that can be selected for Git Sync.",
|
|
@@ -49864,13 +50449,6 @@
|
|
|
49864
50449
|
"tag_edited"
|
|
49865
50450
|
]
|
|
49866
50451
|
},
|
|
49867
|
-
"GitSyncOperationDirection": {
|
|
49868
|
-
"type": "string",
|
|
49869
|
-
"enum": [
|
|
49870
|
-
"export",
|
|
49871
|
-
"import"
|
|
49872
|
-
]
|
|
49873
|
-
},
|
|
49874
50452
|
"GitSyncOperationStage": {
|
|
49875
50453
|
"type": "string",
|
|
49876
50454
|
"description": "Core stages of a Git Sync process. This is not exhaustive, but should cover\nthe important ones.\n- repo_fetch: Includes fetching the latest repository contents from remote provider.\n- config_check: Includes checking if the YAML config is valid, etc.\n- content_process: Includes processing of pages & files to be imported/exported.\n- finalize: Includes finalizing the sync process like creating the commit on git, or\ncreating a new revision.\n",
|
|
@@ -49980,7 +50558,7 @@
|
|
|
49980
50558
|
"GitSyncSiteStructureSpace": {
|
|
49981
50559
|
"type": "object",
|
|
49982
50560
|
"additionalProperties": false,
|
|
49983
|
-
"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
|
|
50561
|
+
"description": "A space — a single content unit in the site's navigation tree. Discriminated\nby `type: space`.\n\nThe space's content either lives in the synced repository at the directory\npointed to by `content.directory`, or does not inherit the site's repository\nwhen `content.directory` is `null`. Hierarchy comes from where the space\nappears in the YAML (under a section, a section group, or at the root), not\nfrom an explicit parent reference.\n",
|
|
49984
50562
|
"properties": {
|
|
49985
50563
|
"type": {
|
|
49986
50564
|
"type": "string",
|
|
@@ -50022,12 +50600,20 @@
|
|
|
50022
50600
|
"content": {
|
|
50023
50601
|
"type": "object",
|
|
50024
50602
|
"additionalProperties": false,
|
|
50025
|
-
"description": "Where the space's content
|
|
50603
|
+
"description": "Where the space's content is managed.",
|
|
50026
50604
|
"properties": {
|
|
50027
50605
|
"directory": {
|
|
50028
|
-
"
|
|
50029
|
-
|
|
50030
|
-
|
|
50606
|
+
"oneOf": [
|
|
50607
|
+
{
|
|
50608
|
+
"type": "string",
|
|
50609
|
+
"description": "Repository-relative directory containing this space's content.",
|
|
50610
|
+
"minLength": 1
|
|
50611
|
+
},
|
|
50612
|
+
{
|
|
50613
|
+
"type": "null",
|
|
50614
|
+
"description": "The space does not inherit the site's repository."
|
|
50615
|
+
}
|
|
50616
|
+
]
|
|
50031
50617
|
},
|
|
50032
50618
|
"language": {
|
|
50033
50619
|
"$ref": "#/components/schemas/TranslationLanguage"
|
|
@@ -50082,10 +50668,6 @@
|
|
|
50082
50668
|
"type": "boolean",
|
|
50083
50669
|
"description": "Whether this is the default section for the site."
|
|
50084
50670
|
},
|
|
50085
|
-
"draft": {
|
|
50086
|
-
"type": "boolean",
|
|
50087
|
-
"description": "Whether the section is draft and not live."
|
|
50088
|
-
},
|
|
50089
50671
|
"path": {
|
|
50090
50672
|
"$ref": "#/components/schemas/SiteSectionPath"
|
|
50091
50673
|
},
|
|
@@ -50128,643 +50710,6 @@
|
|
|
50128
50710
|
"$ref": "#/components/schemas/GitSyncSiteStructureNode"
|
|
50129
50711
|
}
|
|
50130
50712
|
},
|
|
50131
|
-
"GitSyncSiteCustomizationFontSource": {
|
|
50132
|
-
"type": "string",
|
|
50133
|
-
"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",
|
|
50134
|
-
"minLength": 1
|
|
50135
|
-
},
|
|
50136
|
-
"GitSyncSiteCustomizationFontDefinition": {
|
|
50137
|
-
"type": "object",
|
|
50138
|
-
"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",
|
|
50139
|
-
"properties": {
|
|
50140
|
-
"key": {
|
|
50141
|
-
"type": "string",
|
|
50142
|
-
"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",
|
|
50143
|
-
"minLength": 1,
|
|
50144
|
-
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
|
|
50145
|
-
},
|
|
50146
|
-
"fontFamily": {
|
|
50147
|
-
"$ref": "#/components/schemas/FontFamily"
|
|
50148
|
-
},
|
|
50149
|
-
"fontFaces": {
|
|
50150
|
-
"type": "object",
|
|
50151
|
-
"description": "Font-face declarations keyed by weight, each specifying its single\nsource file. The `400` and `700` weights are required; `600` is\noptional.\n",
|
|
50152
|
-
"properties": {
|
|
50153
|
-
"400": {
|
|
50154
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
50155
|
-
},
|
|
50156
|
-
"600": {
|
|
50157
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
50158
|
-
},
|
|
50159
|
-
"700": {
|
|
50160
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
50161
|
-
}
|
|
50162
|
-
},
|
|
50163
|
-
"required": [
|
|
50164
|
-
"400",
|
|
50165
|
-
"700"
|
|
50166
|
-
],
|
|
50167
|
-
"additionalProperties": false
|
|
50168
|
-
}
|
|
50169
|
-
},
|
|
50170
|
-
"required": [
|
|
50171
|
-
"key",
|
|
50172
|
-
"fontFamily",
|
|
50173
|
-
"fontFaces"
|
|
50174
|
-
]
|
|
50175
|
-
},
|
|
50176
|
-
"GitSyncSiteCustomizationThemedColor": {
|
|
50177
|
-
"type": "object",
|
|
50178
|
-
"description": "Themed color (light + dark).\n",
|
|
50179
|
-
"properties": {
|
|
50180
|
-
"light": {
|
|
50181
|
-
"$ref": "#/components/schemas/Color"
|
|
50182
|
-
},
|
|
50183
|
-
"dark": {
|
|
50184
|
-
"$ref": "#/components/schemas/Color"
|
|
50185
|
-
}
|
|
50186
|
-
},
|
|
50187
|
-
"required": [
|
|
50188
|
-
"light",
|
|
50189
|
-
"dark"
|
|
50190
|
-
]
|
|
50191
|
-
},
|
|
50192
|
-
"GitSyncSiteCustomizationTint": {
|
|
50193
|
-
"type": "object",
|
|
50194
|
-
"description": "Tint configuration.\n",
|
|
50195
|
-
"properties": {
|
|
50196
|
-
"color": {
|
|
50197
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
50198
|
-
}
|
|
50199
|
-
},
|
|
50200
|
-
"required": [
|
|
50201
|
-
"color"
|
|
50202
|
-
]
|
|
50203
|
-
},
|
|
50204
|
-
"GitSyncSiteCustomizationFontReference": {
|
|
50205
|
-
"type": "object",
|
|
50206
|
-
"description": "Reference to a custom font defined under `site.fonts[]`. Matches by `key`.\n",
|
|
50207
|
-
"properties": {
|
|
50208
|
-
"key": {
|
|
50209
|
-
"type": "string",
|
|
50210
|
-
"description": "Matches the `key` of an entry in `site.fonts[]`.",
|
|
50211
|
-
"minLength": 1
|
|
50212
|
-
}
|
|
50213
|
-
},
|
|
50214
|
-
"required": [
|
|
50215
|
-
"key"
|
|
50216
|
-
]
|
|
50217
|
-
},
|
|
50218
|
-
"GitSyncSiteCustomizationFont": {
|
|
50219
|
-
"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",
|
|
50220
|
-
"oneOf": [
|
|
50221
|
-
{
|
|
50222
|
-
"$ref": "#/components/schemas/CustomizationDefaultFont"
|
|
50223
|
-
},
|
|
50224
|
-
{
|
|
50225
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontReference"
|
|
50226
|
-
}
|
|
50227
|
-
]
|
|
50228
|
-
},
|
|
50229
|
-
"GitSyncSiteCustomizationMonospaceFont": {
|
|
50230
|
-
"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",
|
|
50231
|
-
"oneOf": [
|
|
50232
|
-
{
|
|
50233
|
-
"$ref": "#/components/schemas/CustomizationDefaultMonospaceFont"
|
|
50234
|
-
},
|
|
50235
|
-
{
|
|
50236
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontReference"
|
|
50237
|
-
}
|
|
50238
|
-
]
|
|
50239
|
-
},
|
|
50240
|
-
"GitSyncSiteCustomizationThemedCodeTheme": {
|
|
50241
|
-
"type": "object",
|
|
50242
|
-
"description": "Themed code theme (light + dark).\n",
|
|
50243
|
-
"properties": {
|
|
50244
|
-
"light": {
|
|
50245
|
-
"$ref": "#/components/schemas/CustomizationCodeTheme"
|
|
50246
|
-
},
|
|
50247
|
-
"dark": {
|
|
50248
|
-
"$ref": "#/components/schemas/CustomizationCodeTheme"
|
|
50249
|
-
}
|
|
50250
|
-
},
|
|
50251
|
-
"required": [
|
|
50252
|
-
"light",
|
|
50253
|
-
"dark"
|
|
50254
|
-
]
|
|
50255
|
-
},
|
|
50256
|
-
"GitSyncSiteCustomizationCodeThemes": {
|
|
50257
|
-
"type": "object",
|
|
50258
|
-
"description": "Code-block syntax-highlighting themes — one for default code blocks and one for OpenAPI request/response samples.\n",
|
|
50259
|
-
"properties": {
|
|
50260
|
-
"default": {
|
|
50261
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
|
|
50262
|
-
},
|
|
50263
|
-
"openapi": {
|
|
50264
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
|
|
50265
|
-
}
|
|
50266
|
-
},
|
|
50267
|
-
"required": [
|
|
50268
|
-
"default",
|
|
50269
|
-
"openapi"
|
|
50270
|
-
]
|
|
50271
|
-
},
|
|
50272
|
-
"GitSyncSiteCustomizationSidebar": {
|
|
50273
|
-
"type": "object",
|
|
50274
|
-
"description": "Sidebar style settings.\n",
|
|
50275
|
-
"properties": {
|
|
50276
|
-
"background": {
|
|
50277
|
-
"$ref": "#/components/schemas/CustomizationSidebarBackgroundStyle"
|
|
50278
|
-
},
|
|
50279
|
-
"list": {
|
|
50280
|
-
"$ref": "#/components/schemas/CustomizationSidebarListStyle"
|
|
50281
|
-
}
|
|
50282
|
-
},
|
|
50283
|
-
"required": [
|
|
50284
|
-
"background",
|
|
50285
|
-
"list"
|
|
50286
|
-
]
|
|
50287
|
-
},
|
|
50288
|
-
"GitSyncSiteCustomizationStyling": {
|
|
50289
|
-
"type": "object",
|
|
50290
|
-
"description": "Styling settings.\n",
|
|
50291
|
-
"properties": {
|
|
50292
|
-
"theme": {
|
|
50293
|
-
"$ref": "#/components/schemas/CustomizationTheme"
|
|
50294
|
-
},
|
|
50295
|
-
"primaryColor": {
|
|
50296
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
50297
|
-
},
|
|
50298
|
-
"tint": {
|
|
50299
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationTint"
|
|
50300
|
-
},
|
|
50301
|
-
"infoColor": {
|
|
50302
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
50303
|
-
},
|
|
50304
|
-
"successColor": {
|
|
50305
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
50306
|
-
},
|
|
50307
|
-
"warningColor": {
|
|
50308
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
50309
|
-
},
|
|
50310
|
-
"dangerColor": {
|
|
50311
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
50312
|
-
},
|
|
50313
|
-
"corners": {
|
|
50314
|
-
"$ref": "#/components/schemas/CustomizationCorners"
|
|
50315
|
-
},
|
|
50316
|
-
"depth": {
|
|
50317
|
-
"$ref": "#/components/schemas/CustomizationDepth"
|
|
50318
|
-
},
|
|
50319
|
-
"links": {
|
|
50320
|
-
"$ref": "#/components/schemas/CustomizationLinksStyle"
|
|
50321
|
-
},
|
|
50322
|
-
"font": {
|
|
50323
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFont"
|
|
50324
|
-
},
|
|
50325
|
-
"monospaceFont": {
|
|
50326
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationMonospaceFont"
|
|
50327
|
-
},
|
|
50328
|
-
"icons": {
|
|
50329
|
-
"$ref": "#/components/schemas/CustomizationIconsStyle"
|
|
50330
|
-
},
|
|
50331
|
-
"codeTheme": {
|
|
50332
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationCodeThemes"
|
|
50333
|
-
},
|
|
50334
|
-
"sidebar": {
|
|
50335
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationSidebar"
|
|
50336
|
-
},
|
|
50337
|
-
"search": {
|
|
50338
|
-
"$ref": "#/components/schemas/CustomizationSearchStyle"
|
|
50339
|
-
}
|
|
50340
|
-
}
|
|
50341
|
-
},
|
|
50342
|
-
"GitSyncSiteCustomizationAssetPath": {
|
|
50343
|
-
"type": "string",
|
|
50344
|
-
"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",
|
|
50345
|
-
"pattern": "^\\.gitbook/assets/.+",
|
|
50346
|
-
"maxLength": 2048
|
|
50347
|
-
},
|
|
50348
|
-
"GitSyncSiteCustomizationThemedAssetPath": {
|
|
50349
|
-
"type": "object",
|
|
50350
|
-
"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",
|
|
50351
|
-
"properties": {
|
|
50352
|
-
"light": {
|
|
50353
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
50354
|
-
},
|
|
50355
|
-
"dark": {
|
|
50356
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
50357
|
-
}
|
|
50358
|
-
},
|
|
50359
|
-
"required": [
|
|
50360
|
-
"light",
|
|
50361
|
-
"dark"
|
|
50362
|
-
]
|
|
50363
|
-
},
|
|
50364
|
-
"GitSyncSiteCustomizationFavicon": {
|
|
50365
|
-
"description": "Favicon for the published site. The `icon` variant references a repository asset path; the `emoji` variant uses a single emoji character;\n",
|
|
50366
|
-
"oneOf": [
|
|
50367
|
-
{
|
|
50368
|
-
"type": "object",
|
|
50369
|
-
"properties": {
|
|
50370
|
-
"icon": {
|
|
50371
|
-
"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",
|
|
50372
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
50373
|
-
}
|
|
50374
|
-
},
|
|
50375
|
-
"required": [
|
|
50376
|
-
"icon"
|
|
50377
|
-
]
|
|
50378
|
-
},
|
|
50379
|
-
{
|
|
50380
|
-
"type": "object",
|
|
50381
|
-
"properties": {
|
|
50382
|
-
"emoji": {
|
|
50383
|
-
"$ref": "#/components/schemas/Emoji"
|
|
50384
|
-
}
|
|
50385
|
-
},
|
|
50386
|
-
"required": [
|
|
50387
|
-
"emoji"
|
|
50388
|
-
]
|
|
50389
|
-
}
|
|
50390
|
-
]
|
|
50391
|
-
},
|
|
50392
|
-
"GitSyncSiteCustomizationContentLinkTo": {
|
|
50393
|
-
"type": "string",
|
|
50394
|
-
"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"
|
|
50395
|
-
},
|
|
50396
|
-
"GitSyncSiteCustomizationContentLink": {
|
|
50397
|
-
"type": "object",
|
|
50398
|
-
"description": "A label plus a destination, used inside header items, footer groups, and announcements.\n",
|
|
50399
|
-
"properties": {
|
|
50400
|
-
"title": {
|
|
50401
|
-
"$ref": "#/components/schemas/CustomizationContentLinkTitle"
|
|
50402
|
-
},
|
|
50403
|
-
"localizedTitle": {
|
|
50404
|
-
"description": "Localized overrides for the link title, keyed by locale.",
|
|
50405
|
-
"$ref": "#/components/schemas/LocalizedString64"
|
|
50406
|
-
},
|
|
50407
|
-
"to": {
|
|
50408
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
50409
|
-
}
|
|
50410
|
-
},
|
|
50411
|
-
"required": [
|
|
50412
|
-
"title",
|
|
50413
|
-
"to"
|
|
50414
|
-
]
|
|
50415
|
-
},
|
|
50416
|
-
"GitSyncSiteCustomizationHeaderItem": {
|
|
50417
|
-
"type": "object",
|
|
50418
|
-
"description": "A single item in the published site's top navigation bar.\n",
|
|
50419
|
-
"properties": {
|
|
50420
|
-
"title": {
|
|
50421
|
-
"type": "string"
|
|
50422
|
-
},
|
|
50423
|
-
"localizedTitle": {
|
|
50424
|
-
"description": "Localized overrides for the header item title, keyed by locale.",
|
|
50425
|
-
"$ref": "#/components/schemas/LocalizedString"
|
|
50426
|
-
},
|
|
50427
|
-
"style": {
|
|
50428
|
-
"type": "string",
|
|
50429
|
-
"enum": [
|
|
50430
|
-
"link",
|
|
50431
|
-
"button-primary",
|
|
50432
|
-
"button-secondary"
|
|
50433
|
-
]
|
|
50434
|
-
},
|
|
50435
|
-
"to": {
|
|
50436
|
-
"description": "Header item destination. Use `null` for items that act as a\ndropdown root without a link of their own.\n",
|
|
50437
|
-
"oneOf": [
|
|
50438
|
-
{
|
|
50439
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
50440
|
-
},
|
|
50441
|
-
{
|
|
50442
|
-
"type": "null"
|
|
50443
|
-
}
|
|
50444
|
-
]
|
|
50445
|
-
},
|
|
50446
|
-
"links": {
|
|
50447
|
-
"type": "array",
|
|
50448
|
-
"description": "Sub-links shown as a dropdown under this header item. Empty array means no dropdown.",
|
|
50449
|
-
"items": {
|
|
50450
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
50451
|
-
}
|
|
50452
|
-
},
|
|
50453
|
-
"condition": {
|
|
50454
|
-
"description": "Conditional expression evaluated to decide whether the item is shown to the visitor.",
|
|
50455
|
-
"$ref": "#/components/schemas/Expression"
|
|
50456
|
-
}
|
|
50457
|
-
},
|
|
50458
|
-
"required": [
|
|
50459
|
-
"title",
|
|
50460
|
-
"to",
|
|
50461
|
-
"links"
|
|
50462
|
-
]
|
|
50463
|
-
},
|
|
50464
|
-
"GitSyncSiteCustomizationHeader": {
|
|
50465
|
-
"type": "object",
|
|
50466
|
-
"description": "Header settings.\n",
|
|
50467
|
-
"properties": {
|
|
50468
|
-
"logo": {
|
|
50469
|
-
"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",
|
|
50470
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
50471
|
-
},
|
|
50472
|
-
"primaryLink": {
|
|
50473
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
50474
|
-
},
|
|
50475
|
-
"links": {
|
|
50476
|
-
"type": "array",
|
|
50477
|
-
"items": {
|
|
50478
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationHeaderItem"
|
|
50479
|
-
}
|
|
50480
|
-
}
|
|
50481
|
-
}
|
|
50482
|
-
},
|
|
50483
|
-
"GitSyncSiteCustomizationFooterGroup": {
|
|
50484
|
-
"type": "object",
|
|
50485
|
-
"description": "A group of links shown in the published site's footer.\n",
|
|
50486
|
-
"properties": {
|
|
50487
|
-
"title": {
|
|
50488
|
-
"type": "string"
|
|
50489
|
-
},
|
|
50490
|
-
"localizedTitle": {
|
|
50491
|
-
"description": "Localized overrides for the footer group title, keyed by locale.",
|
|
50492
|
-
"$ref": "#/components/schemas/LocalizedString"
|
|
50493
|
-
},
|
|
50494
|
-
"links": {
|
|
50495
|
-
"type": "array",
|
|
50496
|
-
"items": {
|
|
50497
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
50498
|
-
}
|
|
50499
|
-
}
|
|
50500
|
-
},
|
|
50501
|
-
"required": [
|
|
50502
|
-
"title",
|
|
50503
|
-
"links"
|
|
50504
|
-
]
|
|
50505
|
-
},
|
|
50506
|
-
"GitSyncSiteCustomizationFooter": {
|
|
50507
|
-
"type": "object",
|
|
50508
|
-
"description": "Footer settings.\n",
|
|
50509
|
-
"properties": {
|
|
50510
|
-
"logo": {
|
|
50511
|
-
"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",
|
|
50512
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
50513
|
-
},
|
|
50514
|
-
"groups": {
|
|
50515
|
-
"type": "array",
|
|
50516
|
-
"items": {
|
|
50517
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFooterGroup"
|
|
50518
|
-
}
|
|
50519
|
-
},
|
|
50520
|
-
"copyright": {
|
|
50521
|
-
"type": "string",
|
|
50522
|
-
"maxLength": 300
|
|
50523
|
-
}
|
|
50524
|
-
}
|
|
50525
|
-
},
|
|
50526
|
-
"GitSyncSiteCustomizationAnnouncement": {
|
|
50527
|
-
"type": "object",
|
|
50528
|
-
"description": "Announcement banner shown above the published site.\n",
|
|
50529
|
-
"properties": {
|
|
50530
|
-
"enabled": {
|
|
50531
|
-
"description": "Whether to show the site's announcement.",
|
|
50532
|
-
"type": "boolean"
|
|
50533
|
-
},
|
|
50534
|
-
"message": {
|
|
50535
|
-
"$ref": "#/components/schemas/CustomizationAnnouncementMessage"
|
|
50536
|
-
},
|
|
50537
|
-
"localizedMessage": {
|
|
50538
|
-
"description": "Localized overrides for the announcement message, keyed by locale.",
|
|
50539
|
-
"$ref": "#/components/schemas/LocalizedString128"
|
|
50540
|
-
},
|
|
50541
|
-
"link": {
|
|
50542
|
-
"description": "The content or URL the announcement links to when clicked.",
|
|
50543
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
50544
|
-
},
|
|
50545
|
-
"style": {
|
|
50546
|
-
"description": "Semantic style of the announcement banner.",
|
|
50547
|
-
"type": "string",
|
|
50548
|
-
"enum": [
|
|
50549
|
-
"info",
|
|
50550
|
-
"warning",
|
|
50551
|
-
"danger",
|
|
50552
|
-
"success"
|
|
50553
|
-
]
|
|
50554
|
-
}
|
|
50555
|
-
},
|
|
50556
|
-
"required": [
|
|
50557
|
-
"enabled",
|
|
50558
|
-
"message",
|
|
50559
|
-
"style"
|
|
50560
|
-
]
|
|
50561
|
-
},
|
|
50562
|
-
"GitSyncSiteCustomizationThemeModes": {
|
|
50563
|
-
"type": "object",
|
|
50564
|
-
"description": "Dark/light theme mode settings.\n",
|
|
50565
|
-
"properties": {
|
|
50566
|
-
"default": {
|
|
50567
|
-
"$ref": "#/components/schemas/CustomizationDefaultThemeMode"
|
|
50568
|
-
},
|
|
50569
|
-
"toggeable": {
|
|
50570
|
-
"description": "Whether readers can switch between dark and light mode.",
|
|
50571
|
-
"type": "boolean"
|
|
50572
|
-
}
|
|
50573
|
-
},
|
|
50574
|
-
"required": [
|
|
50575
|
-
"default",
|
|
50576
|
-
"toggeable"
|
|
50577
|
-
]
|
|
50578
|
-
},
|
|
50579
|
-
"GitSyncSiteCustomizationFeedback": {
|
|
50580
|
-
"type": "object",
|
|
50581
|
-
"description": "Reader feedback settings.\n",
|
|
50582
|
-
"properties": {
|
|
50583
|
-
"enabled": {
|
|
50584
|
-
"type": "boolean",
|
|
50585
|
-
"description": "Whether reader feedback gathering is enabled."
|
|
50586
|
-
}
|
|
50587
|
-
},
|
|
50588
|
-
"required": [
|
|
50589
|
-
"enabled"
|
|
50590
|
-
]
|
|
50591
|
-
},
|
|
50592
|
-
"GitSyncSiteCustomizationAI": {
|
|
50593
|
-
"type": "object",
|
|
50594
|
-
"description": "AI assistant settings.\n",
|
|
50595
|
-
"properties": {
|
|
50596
|
-
"mode": {
|
|
50597
|
-
"$ref": "#/components/schemas/CustomizationAIMode"
|
|
50598
|
-
},
|
|
50599
|
-
"suggestions": {
|
|
50600
|
-
"$ref": "#/components/schemas/CustomizationSuggestedQuestions"
|
|
50601
|
-
}
|
|
50602
|
-
},
|
|
50603
|
-
"required": [
|
|
50604
|
-
"mode"
|
|
50605
|
-
]
|
|
50606
|
-
},
|
|
50607
|
-
"GitSyncSiteCustomizationPageActions": {
|
|
50608
|
-
"type": "array",
|
|
50609
|
-
"description": "Ordered page-level action buttons exposed in the published site's page menu.\n",
|
|
50610
|
-
"uniqueItems": true,
|
|
50611
|
-
"items": {
|
|
50612
|
-
"$ref": "#/components/schemas/CustomizationPageActionType"
|
|
50613
|
-
}
|
|
50614
|
-
},
|
|
50615
|
-
"GitSyncSiteCustomizationExternalLinks": {
|
|
50616
|
-
"type": "object",
|
|
50617
|
-
"description": "External link behavior.\n",
|
|
50618
|
-
"properties": {
|
|
50619
|
-
"target": {
|
|
50620
|
-
"$ref": "#/components/schemas/SiteExternalLinksTarget"
|
|
50621
|
-
}
|
|
50622
|
-
},
|
|
50623
|
-
"required": [
|
|
50624
|
-
"target"
|
|
50625
|
-
]
|
|
50626
|
-
},
|
|
50627
|
-
"GitSyncSiteCustomizationPagination": {
|
|
50628
|
-
"type": "object",
|
|
50629
|
-
"description": "Pagination navigation settings.\n",
|
|
50630
|
-
"properties": {
|
|
50631
|
-
"enabled": {
|
|
50632
|
-
"type": "boolean",
|
|
50633
|
-
"description": "Whether the prev/next pagination navigation is shown on pages."
|
|
50634
|
-
}
|
|
50635
|
-
},
|
|
50636
|
-
"required": [
|
|
50637
|
-
"enabled"
|
|
50638
|
-
]
|
|
50639
|
-
},
|
|
50640
|
-
"GitSyncSiteCustomizationPrivacyPolicy": {
|
|
50641
|
-
"type": "object",
|
|
50642
|
-
"description": "Privacy policy link shown on the published site.\n",
|
|
50643
|
-
"properties": {
|
|
50644
|
-
"url": {
|
|
50645
|
-
"$ref": "#/components/schemas/URL"
|
|
50646
|
-
}
|
|
50647
|
-
}
|
|
50648
|
-
},
|
|
50649
|
-
"GitSyncSiteCustomizationSocialPreview": {
|
|
50650
|
-
"type": "object",
|
|
50651
|
-
"description": "Social preview asset.\n",
|
|
50652
|
-
"properties": {
|
|
50653
|
-
"url": {
|
|
50654
|
-
"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",
|
|
50655
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
50656
|
-
}
|
|
50657
|
-
}
|
|
50658
|
-
},
|
|
50659
|
-
"GitSyncSiteCustomizationSocialAccount": {
|
|
50660
|
-
"type": "object",
|
|
50661
|
-
"description": "A single social account entry.\n",
|
|
50662
|
-
"properties": {
|
|
50663
|
-
"platform": {
|
|
50664
|
-
"$ref": "#/components/schemas/SiteSocialAccountPlatform"
|
|
50665
|
-
},
|
|
50666
|
-
"handle": {
|
|
50667
|
-
"$ref": "#/components/schemas/SiteSocialAccountHandle"
|
|
50668
|
-
},
|
|
50669
|
-
"display": {
|
|
50670
|
-
"type": "object",
|
|
50671
|
-
"properties": {
|
|
50672
|
-
"footer": {
|
|
50673
|
-
"type": "boolean"
|
|
50674
|
-
},
|
|
50675
|
-
"header": {
|
|
50676
|
-
"type": "boolean"
|
|
50677
|
-
}
|
|
50678
|
-
},
|
|
50679
|
-
"required": [
|
|
50680
|
-
"footer",
|
|
50681
|
-
"header"
|
|
50682
|
-
]
|
|
50683
|
-
}
|
|
50684
|
-
},
|
|
50685
|
-
"required": [
|
|
50686
|
-
"platform",
|
|
50687
|
-
"handle",
|
|
50688
|
-
"display"
|
|
50689
|
-
]
|
|
50690
|
-
},
|
|
50691
|
-
"GitSyncSiteCustomizationInsights": {
|
|
50692
|
-
"type": "object",
|
|
50693
|
-
"description": "Visitor insights settings.\n",
|
|
50694
|
-
"properties": {
|
|
50695
|
-
"trackingCookie": {
|
|
50696
|
-
"type": "boolean",
|
|
50697
|
-
"description": "Whether GitBook identifies visitors on the site using a cookie."
|
|
50698
|
-
}
|
|
50699
|
-
},
|
|
50700
|
-
"required": [
|
|
50701
|
-
"trackingCookie"
|
|
50702
|
-
]
|
|
50703
|
-
},
|
|
50704
|
-
"GitSyncSiteCustomization": {
|
|
50705
|
-
"type": "object",
|
|
50706
|
-
"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",
|
|
50707
|
-
"properties": {
|
|
50708
|
-
"publishedTitle": {
|
|
50709
|
-
"description": "Title to use for the published site. If omitted, falls back to the default site title.",
|
|
50710
|
-
"$ref": "#/components/schemas/SiteTitle"
|
|
50711
|
-
},
|
|
50712
|
-
"localizedPublishedTitles": {
|
|
50713
|
-
"description": "Localized titles for the published site, keyed by locale.",
|
|
50714
|
-
"$ref": "#/components/schemas/LocalizedString128"
|
|
50715
|
-
},
|
|
50716
|
-
"styling": {
|
|
50717
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationStyling"
|
|
50718
|
-
},
|
|
50719
|
-
"favicon": {
|
|
50720
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFavicon"
|
|
50721
|
-
},
|
|
50722
|
-
"header": {
|
|
50723
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationHeader"
|
|
50724
|
-
},
|
|
50725
|
-
"footer": {
|
|
50726
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFooter"
|
|
50727
|
-
},
|
|
50728
|
-
"announcement": {
|
|
50729
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationAnnouncement"
|
|
50730
|
-
},
|
|
50731
|
-
"themeModes": {
|
|
50732
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationThemeModes"
|
|
50733
|
-
},
|
|
50734
|
-
"feedback": {
|
|
50735
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFeedback"
|
|
50736
|
-
},
|
|
50737
|
-
"ai": {
|
|
50738
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationAI"
|
|
50739
|
-
},
|
|
50740
|
-
"pageActions": {
|
|
50741
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationPageActions"
|
|
50742
|
-
},
|
|
50743
|
-
"externalLinks": {
|
|
50744
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationExternalLinks"
|
|
50745
|
-
},
|
|
50746
|
-
"pagination": {
|
|
50747
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationPagination"
|
|
50748
|
-
},
|
|
50749
|
-
"privacyPolicy": {
|
|
50750
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationPrivacyPolicy"
|
|
50751
|
-
},
|
|
50752
|
-
"socialPreview": {
|
|
50753
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationSocialPreview"
|
|
50754
|
-
},
|
|
50755
|
-
"socialAccounts": {
|
|
50756
|
-
"type": "array",
|
|
50757
|
-
"description": "Social accounts to surface on the site.",
|
|
50758
|
-
"items": {
|
|
50759
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationSocialAccount"
|
|
50760
|
-
},
|
|
50761
|
-
"maxItems": 10
|
|
50762
|
-
},
|
|
50763
|
-
"insights": {
|
|
50764
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationInsights"
|
|
50765
|
-
}
|
|
50766
|
-
}
|
|
50767
|
-
},
|
|
50768
50713
|
"GitSyncSiteConfig": {
|
|
50769
50714
|
"type": "object",
|
|
50770
50715
|
"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",
|
|
@@ -50788,16 +50733,6 @@
|
|
|
50788
50733
|
},
|
|
50789
50734
|
"structure": {
|
|
50790
50735
|
"$ref": "#/components/schemas/GitSyncSiteStructure"
|
|
50791
|
-
},
|
|
50792
|
-
"fonts": {
|
|
50793
|
-
"type": "array",
|
|
50794
|
-
"description": "Custom font definitions referenced from `site.customization.styling`.",
|
|
50795
|
-
"items": {
|
|
50796
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomizationFontDefinition"
|
|
50797
|
-
}
|
|
50798
|
-
},
|
|
50799
|
-
"customization": {
|
|
50800
|
-
"$ref": "#/components/schemas/GitSyncSiteCustomization"
|
|
50801
50736
|
}
|
|
50802
50737
|
},
|
|
50803
50738
|
"required": [
|