@gitbook/api 0.184.0 → 0.186.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 +855 -63
- package/dist/constants.d.ts +3 -1
- package/dist/index.cjs +42 -11
- package/dist/index.js +39 -9
- package/package.json +1 -1
- package/spec/openapi.json +1923 -94
- package/spec/openapi.yaml +1448 -70
package/spec/openapi.yaml
CHANGED
|
@@ -524,6 +524,8 @@ paths:
|
|
|
524
524
|
- critical
|
|
525
525
|
security:
|
|
526
526
|
- user: []
|
|
527
|
+
- oauth:
|
|
528
|
+
- user:read
|
|
527
529
|
description: |
|
|
528
530
|
Returns details about the user associated with the authentication provided in the request's authorization header.
|
|
529
531
|
responses:
|
|
@@ -617,6 +619,7 @@ paths:
|
|
|
617
619
|
get:
|
|
618
620
|
operationId: getSpaceById
|
|
619
621
|
summary: Get a space by its ID
|
|
622
|
+
x-gitbook-mcp: true
|
|
620
623
|
tags:
|
|
621
624
|
- spaces
|
|
622
625
|
- critical
|
|
@@ -637,6 +640,7 @@ paths:
|
|
|
637
640
|
patch:
|
|
638
641
|
operationId: updateSpaceById
|
|
639
642
|
summary: Update a space
|
|
643
|
+
x-gitbook-mcp: true
|
|
640
644
|
tags:
|
|
641
645
|
- spaces
|
|
642
646
|
security:
|
|
@@ -709,6 +713,7 @@ paths:
|
|
|
709
713
|
post:
|
|
710
714
|
operationId: duplicateSpace
|
|
711
715
|
summary: Duplicate a space
|
|
716
|
+
x-gitbook-mcp: true
|
|
712
717
|
tags:
|
|
713
718
|
- spaces
|
|
714
719
|
security:
|
|
@@ -731,6 +736,7 @@ paths:
|
|
|
731
736
|
post:
|
|
732
737
|
operationId: restoreSpace
|
|
733
738
|
summary: Restore a deleted space
|
|
739
|
+
x-gitbook-mcp: true
|
|
734
740
|
description: Only spaces deleted in the last 7 days can be restored.
|
|
735
741
|
tags:
|
|
736
742
|
- spaces
|
|
@@ -749,6 +755,7 @@ paths:
|
|
|
749
755
|
post:
|
|
750
756
|
operationId: moveSpace
|
|
751
757
|
summary: Move a space to a new position
|
|
758
|
+
x-gitbook-mcp: true
|
|
752
759
|
tags:
|
|
753
760
|
- spaces
|
|
754
761
|
security:
|
|
@@ -791,6 +798,7 @@ paths:
|
|
|
791
798
|
get:
|
|
792
799
|
operationId: getEmbedByUrlInSpace
|
|
793
800
|
summary: Resolve a URL to an embed in a given space
|
|
801
|
+
x-gitbook-mcp: true
|
|
794
802
|
tags:
|
|
795
803
|
- space-embeds
|
|
796
804
|
security:
|
|
@@ -814,6 +822,7 @@ paths:
|
|
|
814
822
|
get:
|
|
815
823
|
operationId: searchSpaceContent
|
|
816
824
|
summary: Search content in a space
|
|
825
|
+
x-gitbook-mcp: true
|
|
817
826
|
tags:
|
|
818
827
|
- space-content
|
|
819
828
|
security:
|
|
@@ -848,6 +857,7 @@ paths:
|
|
|
848
857
|
post:
|
|
849
858
|
operationId: importGitRepository
|
|
850
859
|
summary: Import a Git repository
|
|
860
|
+
x-gitbook-mcp: true
|
|
851
861
|
tags:
|
|
852
862
|
- space-git
|
|
853
863
|
security:
|
|
@@ -869,6 +879,7 @@ paths:
|
|
|
869
879
|
post:
|
|
870
880
|
operationId: exportToGitRepository
|
|
871
881
|
summary: Export the to a Git repository
|
|
882
|
+
x-gitbook-mcp: true
|
|
872
883
|
tags:
|
|
873
884
|
- space-git
|
|
874
885
|
security:
|
|
@@ -890,6 +901,7 @@ paths:
|
|
|
890
901
|
get:
|
|
891
902
|
operationId: getSpaceGitInfo
|
|
892
903
|
summary: Get space Git info
|
|
904
|
+
x-gitbook-mcp: true
|
|
893
905
|
description: Get metadata about the Git Sync provider currently set up on the space.
|
|
894
906
|
tags:
|
|
895
907
|
- space-git
|
|
@@ -1104,6 +1116,7 @@ paths:
|
|
|
1104
1116
|
get:
|
|
1105
1117
|
operationId: getCurrentRevision
|
|
1106
1118
|
summary: Get a space current revision
|
|
1119
|
+
x-gitbook-mcp: true
|
|
1107
1120
|
tags:
|
|
1108
1121
|
- space-content
|
|
1109
1122
|
security:
|
|
@@ -1125,6 +1138,7 @@ paths:
|
|
|
1125
1138
|
post:
|
|
1126
1139
|
operationId: applyTemplateToSpace
|
|
1127
1140
|
summary: Apply a template to a space.
|
|
1141
|
+
x-gitbook-mcp: true
|
|
1128
1142
|
tags:
|
|
1129
1143
|
- space-content
|
|
1130
1144
|
security:
|
|
@@ -1150,6 +1164,7 @@ paths:
|
|
|
1150
1164
|
get:
|
|
1151
1165
|
operationId: listPages
|
|
1152
1166
|
summary: List all space pages
|
|
1167
|
+
x-gitbook-mcp: true
|
|
1153
1168
|
tags:
|
|
1154
1169
|
- space-content
|
|
1155
1170
|
security:
|
|
@@ -1176,6 +1191,7 @@ paths:
|
|
|
1176
1191
|
get:
|
|
1177
1192
|
operationId: listFiles
|
|
1178
1193
|
summary: List all space files
|
|
1194
|
+
x-gitbook-mcp: true
|
|
1179
1195
|
tags:
|
|
1180
1196
|
- space-content
|
|
1181
1197
|
security:
|
|
@@ -1206,6 +1222,7 @@ paths:
|
|
|
1206
1222
|
get:
|
|
1207
1223
|
operationId: getFileById
|
|
1208
1224
|
summary: Get a space file by its ID
|
|
1225
|
+
x-gitbook-mcp: true
|
|
1209
1226
|
tags:
|
|
1210
1227
|
- space-content
|
|
1211
1228
|
security:
|
|
@@ -1226,6 +1243,7 @@ paths:
|
|
|
1226
1243
|
get:
|
|
1227
1244
|
operationId: listSpaceFileBacklinks
|
|
1228
1245
|
summary: List all space file backlink locations
|
|
1246
|
+
x-gitbook-mcp: true
|
|
1229
1247
|
tags:
|
|
1230
1248
|
- space-content
|
|
1231
1249
|
security:
|
|
@@ -1255,6 +1273,7 @@ paths:
|
|
|
1255
1273
|
get:
|
|
1256
1274
|
operationId: getPageById
|
|
1257
1275
|
summary: Get a space page by its ID
|
|
1276
|
+
x-gitbook-mcp: true
|
|
1258
1277
|
tags:
|
|
1259
1278
|
- space-content
|
|
1260
1279
|
security:
|
|
@@ -1279,6 +1298,7 @@ paths:
|
|
|
1279
1298
|
get:
|
|
1280
1299
|
operationId: listPageLinksInSpace
|
|
1281
1300
|
summary: List all space page links
|
|
1301
|
+
x-gitbook-mcp: true
|
|
1282
1302
|
tags:
|
|
1283
1303
|
- space-content
|
|
1284
1304
|
- links
|
|
@@ -1317,6 +1337,7 @@ paths:
|
|
|
1317
1337
|
get:
|
|
1318
1338
|
operationId: listSpacePageBacklinks
|
|
1319
1339
|
summary: List all space page backlink locations
|
|
1340
|
+
x-gitbook-mcp: true
|
|
1320
1341
|
tags:
|
|
1321
1342
|
- space-content
|
|
1322
1343
|
security:
|
|
@@ -1346,6 +1367,7 @@ paths:
|
|
|
1346
1367
|
get:
|
|
1347
1368
|
operationId: listSpacePageMetaLinks
|
|
1348
1369
|
summary: List all meta links for a space page
|
|
1370
|
+
x-gitbook-mcp: true
|
|
1349
1371
|
tags:
|
|
1350
1372
|
- space-content
|
|
1351
1373
|
security:
|
|
@@ -1364,6 +1386,7 @@ paths:
|
|
|
1364
1386
|
get:
|
|
1365
1387
|
operationId: getPageByPath
|
|
1366
1388
|
summary: Get a space page by its path
|
|
1389
|
+
x-gitbook-mcp: true
|
|
1367
1390
|
tags:
|
|
1368
1391
|
- space-content
|
|
1369
1392
|
security:
|
|
@@ -1390,6 +1413,7 @@ paths:
|
|
|
1390
1413
|
get:
|
|
1391
1414
|
operationId: getReusableContentById
|
|
1392
1415
|
summary: Get a space reusable content by its ID
|
|
1416
|
+
x-gitbook-mcp: true
|
|
1393
1417
|
tags:
|
|
1394
1418
|
- space-content
|
|
1395
1419
|
security:
|
|
@@ -1410,6 +1434,7 @@ paths:
|
|
|
1410
1434
|
post:
|
|
1411
1435
|
operationId: getComputedDocument
|
|
1412
1436
|
summary: Get a space computed document
|
|
1437
|
+
x-gitbook-mcp: true
|
|
1413
1438
|
tags:
|
|
1414
1439
|
- space-content
|
|
1415
1440
|
security:
|
|
@@ -1443,6 +1468,7 @@ paths:
|
|
|
1443
1468
|
post:
|
|
1444
1469
|
operationId: getComputedRevision
|
|
1445
1470
|
summary: Get a space computed revision
|
|
1471
|
+
x-gitbook-mcp: true
|
|
1446
1472
|
tags:
|
|
1447
1473
|
- space-content
|
|
1448
1474
|
security:
|
|
@@ -1492,6 +1518,7 @@ paths:
|
|
|
1492
1518
|
get:
|
|
1493
1519
|
operationId: getDocumentById
|
|
1494
1520
|
summary: Get a space document by its ID
|
|
1521
|
+
x-gitbook-mcp: true
|
|
1495
1522
|
tags:
|
|
1496
1523
|
- space-content
|
|
1497
1524
|
security:
|
|
@@ -1516,6 +1543,7 @@ paths:
|
|
|
1516
1543
|
post:
|
|
1517
1544
|
operationId: createChangeRequest
|
|
1518
1545
|
summary: Create a change request
|
|
1546
|
+
x-gitbook-mcp: true
|
|
1519
1547
|
tags:
|
|
1520
1548
|
- change-requests
|
|
1521
1549
|
security:
|
|
@@ -1551,6 +1579,7 @@ paths:
|
|
|
1551
1579
|
get:
|
|
1552
1580
|
operationId: listChangeRequestsForSpace
|
|
1553
1581
|
summary: List all change requests
|
|
1582
|
+
x-gitbook-mcp: true
|
|
1554
1583
|
tags:
|
|
1555
1584
|
- change-requests
|
|
1556
1585
|
security:
|
|
@@ -1615,6 +1644,7 @@ paths:
|
|
|
1615
1644
|
get:
|
|
1616
1645
|
operationId: getChangeRequestById
|
|
1617
1646
|
summary: Get a change request by its ID
|
|
1647
|
+
x-gitbook-mcp: true
|
|
1618
1648
|
tags:
|
|
1619
1649
|
- change-requests
|
|
1620
1650
|
security:
|
|
@@ -1635,6 +1665,7 @@ paths:
|
|
|
1635
1665
|
patch:
|
|
1636
1666
|
operationId: updateChangeRequestById
|
|
1637
1667
|
summary: Update a change request
|
|
1668
|
+
x-gitbook-mcp: true
|
|
1638
1669
|
tags:
|
|
1639
1670
|
- change-requests
|
|
1640
1671
|
security:
|
|
@@ -1672,6 +1703,7 @@ paths:
|
|
|
1672
1703
|
post:
|
|
1673
1704
|
operationId: mergeChangeRequest
|
|
1674
1705
|
summary: Merge a change request
|
|
1706
|
+
x-gitbook-mcp: true
|
|
1675
1707
|
tags:
|
|
1676
1708
|
- change-requests
|
|
1677
1709
|
security:
|
|
@@ -1702,6 +1734,7 @@ paths:
|
|
|
1702
1734
|
post:
|
|
1703
1735
|
operationId: updateChangeRequest
|
|
1704
1736
|
summary: Pull primary content into the change request
|
|
1737
|
+
x-gitbook-mcp: true
|
|
1705
1738
|
tags:
|
|
1706
1739
|
- change-requests
|
|
1707
1740
|
security:
|
|
@@ -1732,6 +1765,7 @@ paths:
|
|
|
1732
1765
|
get:
|
|
1733
1766
|
operationId: getReviewsByChangeRequestId
|
|
1734
1767
|
summary: List all change request reviews
|
|
1768
|
+
x-gitbook-mcp: true
|
|
1735
1769
|
tags:
|
|
1736
1770
|
- change-requests-reviews
|
|
1737
1771
|
security:
|
|
@@ -1769,6 +1803,7 @@ paths:
|
|
|
1769
1803
|
post:
|
|
1770
1804
|
operationId: submitChangeRequestReview
|
|
1771
1805
|
summary: Submit a change request review
|
|
1806
|
+
x-gitbook-mcp: true
|
|
1772
1807
|
tags:
|
|
1773
1808
|
- change-requests-reviews
|
|
1774
1809
|
security:
|
|
@@ -1807,6 +1842,7 @@ paths:
|
|
|
1807
1842
|
get:
|
|
1808
1843
|
operationId: getChangeRequestReviewById
|
|
1809
1844
|
summary: Get a change request review by its ID
|
|
1845
|
+
x-gitbook-mcp: true
|
|
1810
1846
|
tags:
|
|
1811
1847
|
- change-requests-reviews
|
|
1812
1848
|
security:
|
|
@@ -1830,6 +1866,7 @@ paths:
|
|
|
1830
1866
|
get:
|
|
1831
1867
|
operationId: getRequestedReviewersByChangeRequestId
|
|
1832
1868
|
summary: Get all change request reviewers
|
|
1869
|
+
x-gitbook-mcp: true
|
|
1833
1870
|
tags:
|
|
1834
1871
|
- change-request-reviewers
|
|
1835
1872
|
security:
|
|
@@ -1858,6 +1895,7 @@ paths:
|
|
|
1858
1895
|
post:
|
|
1859
1896
|
operationId: requestReviewersForChangeRequest
|
|
1860
1897
|
summary: Request change request reviewers
|
|
1898
|
+
x-gitbook-mcp: true
|
|
1861
1899
|
tags:
|
|
1862
1900
|
- change-request-reviewers
|
|
1863
1901
|
security:
|
|
@@ -1915,10 +1953,87 @@ paths:
|
|
|
1915
1953
|
description: Reviewer was not found
|
|
1916
1954
|
"205":
|
|
1917
1955
|
description: The reviewer has been removed from the change request
|
|
1956
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/conversations:
|
|
1957
|
+
get:
|
|
1958
|
+
operationId: listChangeRequestConversations
|
|
1959
|
+
summary: List the agent conversations of a change request
|
|
1960
|
+
x-gitbook-mcp: true
|
|
1961
|
+
tags:
|
|
1962
|
+
- change-request-conversations
|
|
1963
|
+
security:
|
|
1964
|
+
- user: []
|
|
1965
|
+
parameters:
|
|
1966
|
+
- $ref: "#/components/parameters/spaceId"
|
|
1967
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
1968
|
+
- $ref: "#/components/parameters/listPage"
|
|
1969
|
+
- $ref: "#/components/parameters/listLimit"
|
|
1970
|
+
responses:
|
|
1971
|
+
"200":
|
|
1972
|
+
description: A list of agent conversations
|
|
1973
|
+
content:
|
|
1974
|
+
application/json:
|
|
1975
|
+
schema:
|
|
1976
|
+
allOf:
|
|
1977
|
+
- $ref: "#/components/schemas/List"
|
|
1978
|
+
- type: object
|
|
1979
|
+
required:
|
|
1980
|
+
- items
|
|
1981
|
+
properties:
|
|
1982
|
+
items:
|
|
1983
|
+
type: array
|
|
1984
|
+
items:
|
|
1985
|
+
$ref: "#/components/schemas/AgentConversation"
|
|
1986
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/conversations/{conversationId}:
|
|
1987
|
+
patch:
|
|
1988
|
+
operationId: updateChangeRequestConversation
|
|
1989
|
+
summary: Update an agent conversation
|
|
1990
|
+
x-gitbook-mcp: true
|
|
1991
|
+
tags:
|
|
1992
|
+
- change-request-conversations
|
|
1993
|
+
security:
|
|
1994
|
+
- user: []
|
|
1995
|
+
parameters:
|
|
1996
|
+
- $ref: "#/components/parameters/spaceId"
|
|
1997
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
1998
|
+
- $ref: "#/components/parameters/conversationId"
|
|
1999
|
+
requestBody:
|
|
2000
|
+
required: true
|
|
2001
|
+
content:
|
|
2002
|
+
application/json:
|
|
2003
|
+
schema:
|
|
2004
|
+
type: object
|
|
2005
|
+
properties:
|
|
2006
|
+
title:
|
|
2007
|
+
type: string
|
|
2008
|
+
description: The new title of the conversation.
|
|
2009
|
+
required:
|
|
2010
|
+
- title
|
|
2011
|
+
responses:
|
|
2012
|
+
"200":
|
|
2013
|
+
description: The updated conversation.
|
|
2014
|
+
content:
|
|
2015
|
+
application/json:
|
|
2016
|
+
schema:
|
|
2017
|
+
$ref: "#/components/schemas/AgentConversation"
|
|
2018
|
+
delete:
|
|
2019
|
+
operationId: deleteChangeRequestConversation
|
|
2020
|
+
summary: Delete an agent conversation
|
|
2021
|
+
tags:
|
|
2022
|
+
- change-request-conversations
|
|
2023
|
+
security:
|
|
2024
|
+
- user: []
|
|
2025
|
+
parameters:
|
|
2026
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2027
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
2028
|
+
- $ref: "#/components/parameters/conversationId"
|
|
2029
|
+
responses:
|
|
2030
|
+
"205":
|
|
2031
|
+
description: The conversation has been deleted.
|
|
1918
2032
|
/spaces/{spaceId}/change-requests/{changeRequestId}/links:
|
|
1919
2033
|
get:
|
|
1920
2034
|
operationId: listChangeRequestLinks
|
|
1921
2035
|
summary: List all change request links
|
|
2036
|
+
x-gitbook-mcp: true
|
|
1922
2037
|
tags:
|
|
1923
2038
|
- change-requests-links
|
|
1924
2039
|
- links
|
|
@@ -1969,6 +2084,7 @@ paths:
|
|
|
1969
2084
|
get:
|
|
1970
2085
|
operationId: listCommentsInChangeRequest
|
|
1971
2086
|
summary: List all change request comments
|
|
2087
|
+
x-gitbook-mcp: true
|
|
1972
2088
|
tags:
|
|
1973
2089
|
- change-request-comments
|
|
1974
2090
|
security:
|
|
@@ -2002,6 +2118,7 @@ paths:
|
|
|
2002
2118
|
post:
|
|
2003
2119
|
operationId: postCommentInChangeRequest
|
|
2004
2120
|
summary: Create a change request comment
|
|
2121
|
+
x-gitbook-mcp: true
|
|
2005
2122
|
tags:
|
|
2006
2123
|
- change-request-comments
|
|
2007
2124
|
security:
|
|
@@ -2026,6 +2143,7 @@ paths:
|
|
|
2026
2143
|
get:
|
|
2027
2144
|
operationId: getCommentInChangeRequest
|
|
2028
2145
|
summary: Get a change request comment
|
|
2146
|
+
x-gitbook-mcp: true
|
|
2029
2147
|
tags:
|
|
2030
2148
|
- change-request-comments
|
|
2031
2149
|
security:
|
|
@@ -2061,6 +2179,7 @@ paths:
|
|
|
2061
2179
|
put:
|
|
2062
2180
|
operationId: updateCommentInChangeRequest
|
|
2063
2181
|
summary: Update a change request comment
|
|
2182
|
+
x-gitbook-mcp: true
|
|
2064
2183
|
tags:
|
|
2065
2184
|
- change-request-comments
|
|
2066
2185
|
security:
|
|
@@ -2086,6 +2205,7 @@ paths:
|
|
|
2086
2205
|
get:
|
|
2087
2206
|
operationId: listCommentRepliesInChangeRequest
|
|
2088
2207
|
summary: List all change request comment replies
|
|
2208
|
+
x-gitbook-mcp: true
|
|
2089
2209
|
tags:
|
|
2090
2210
|
- change-request-comments
|
|
2091
2211
|
security:
|
|
@@ -2116,6 +2236,7 @@ paths:
|
|
|
2116
2236
|
post:
|
|
2117
2237
|
operationId: postCommentReplyInChangeRequest
|
|
2118
2238
|
summary: Create a change request comment reply
|
|
2239
|
+
x-gitbook-mcp: true
|
|
2119
2240
|
tags:
|
|
2120
2241
|
- change-request-comments
|
|
2121
2242
|
security:
|
|
@@ -2142,6 +2263,7 @@ paths:
|
|
|
2142
2263
|
get:
|
|
2143
2264
|
operationId: getCommentReplyInChangeRequest
|
|
2144
2265
|
summary: Get a change request comment reply
|
|
2266
|
+
x-gitbook-mcp: true
|
|
2145
2267
|
tags:
|
|
2146
2268
|
- change-request-comments
|
|
2147
2269
|
security:
|
|
@@ -2162,6 +2284,7 @@ paths:
|
|
|
2162
2284
|
put:
|
|
2163
2285
|
operationId: updateCommentReplyInChangeRequest
|
|
2164
2286
|
summary: Update a change request comment reply
|
|
2287
|
+
x-gitbook-mcp: true
|
|
2165
2288
|
tags:
|
|
2166
2289
|
- change-request-comments
|
|
2167
2290
|
security:
|
|
@@ -2205,6 +2328,7 @@ paths:
|
|
|
2205
2328
|
get:
|
|
2206
2329
|
operationId: getContributorsByChangeRequestId
|
|
2207
2330
|
summary: Get all contribors of a change request
|
|
2331
|
+
x-gitbook-mcp: true
|
|
2208
2332
|
tags:
|
|
2209
2333
|
- change-request-contributors
|
|
2210
2334
|
security:
|
|
@@ -2235,6 +2359,7 @@ paths:
|
|
|
2235
2359
|
get:
|
|
2236
2360
|
operationId: getRevisionOfChangeRequestById
|
|
2237
2361
|
summary: Get a change request the latest content revision
|
|
2362
|
+
x-gitbook-mcp: true
|
|
2238
2363
|
tags:
|
|
2239
2364
|
- change-request-content
|
|
2240
2365
|
security:
|
|
@@ -2251,10 +2376,51 @@ paths:
|
|
|
2251
2376
|
application/json:
|
|
2252
2377
|
schema:
|
|
2253
2378
|
$ref: "#/components/schemas/Revision"
|
|
2379
|
+
post:
|
|
2380
|
+
operationId: updateChangeRequestContent
|
|
2381
|
+
summary: Update the content of a change request
|
|
2382
|
+
description: |
|
|
2383
|
+
This endpoint allows you to update the content of a change request by providing an array of changes.
|
|
2384
|
+
Each change is ran sequentially. This operation will create a single new revision in the change request, apply all changes, and then point the change request to the new revision.
|
|
2385
|
+
This endpoint will only run if all changes in the request are valid. If any change fails, the entire request will fail and no changes will be applied.
|
|
2386
|
+
x-gitbook-mcp: true
|
|
2387
|
+
tags:
|
|
2388
|
+
- change-request-content
|
|
2389
|
+
security:
|
|
2390
|
+
- user: []
|
|
2391
|
+
parameters:
|
|
2392
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2393
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
2394
|
+
requestBody:
|
|
2395
|
+
required: true
|
|
2396
|
+
content:
|
|
2397
|
+
application/json:
|
|
2398
|
+
schema:
|
|
2399
|
+
type: object
|
|
2400
|
+
required:
|
|
2401
|
+
- changes
|
|
2402
|
+
properties:
|
|
2403
|
+
changes:
|
|
2404
|
+
type: array
|
|
2405
|
+
minItems: 1
|
|
2406
|
+
maxItems: 50
|
|
2407
|
+
items:
|
|
2408
|
+
$ref: "#/components/schemas/ChangeRequestContentChange"
|
|
2409
|
+
responses:
|
|
2410
|
+
"200":
|
|
2411
|
+
description: The change request has been updated
|
|
2412
|
+
content:
|
|
2413
|
+
application/json:
|
|
2414
|
+
schema:
|
|
2415
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
2416
|
+
"404":
|
|
2417
|
+
description: The change request could not be found.
|
|
2418
|
+
$ref: "#/components/responses/NotFoundError"
|
|
2254
2419
|
/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages:
|
|
2255
2420
|
get:
|
|
2256
2421
|
operationId: listPagesInChangeRequest
|
|
2257
2422
|
summary: List all change request pages
|
|
2423
|
+
x-gitbook-mcp: true
|
|
2258
2424
|
tags:
|
|
2259
2425
|
- change-request-content
|
|
2260
2426
|
security:
|
|
@@ -2282,6 +2448,7 @@ paths:
|
|
|
2282
2448
|
get:
|
|
2283
2449
|
operationId: listFilesInChangeRequestById
|
|
2284
2450
|
summary: List all change request files
|
|
2451
|
+
x-gitbook-mcp: true
|
|
2285
2452
|
tags:
|
|
2286
2453
|
- change-request-content
|
|
2287
2454
|
security:
|
|
@@ -2313,6 +2480,7 @@ paths:
|
|
|
2313
2480
|
get:
|
|
2314
2481
|
operationId: getFileInChangeRequestById
|
|
2315
2482
|
summary: Get a change request file by its ID
|
|
2483
|
+
x-gitbook-mcp: true
|
|
2316
2484
|
tags:
|
|
2317
2485
|
- change-request-content
|
|
2318
2486
|
security:
|
|
@@ -2334,6 +2502,7 @@ paths:
|
|
|
2334
2502
|
get:
|
|
2335
2503
|
operationId: listChangeRequestFileBacklinks
|
|
2336
2504
|
summary: List all backlink locations of a change request file
|
|
2505
|
+
x-gitbook-mcp: true
|
|
2337
2506
|
tags:
|
|
2338
2507
|
- change-request-content
|
|
2339
2508
|
security:
|
|
@@ -2364,6 +2533,7 @@ paths:
|
|
|
2364
2533
|
get:
|
|
2365
2534
|
operationId: getPageInChangeRequestById
|
|
2366
2535
|
summary: Get a change request page by its ID
|
|
2536
|
+
x-gitbook-mcp: true
|
|
2367
2537
|
tags:
|
|
2368
2538
|
- change-request-content
|
|
2369
2539
|
security:
|
|
@@ -2389,6 +2559,7 @@ paths:
|
|
|
2389
2559
|
get:
|
|
2390
2560
|
operationId: listPageLinksInChangeRequest
|
|
2391
2561
|
summary: List all change request links
|
|
2562
|
+
x-gitbook-mcp: true
|
|
2392
2563
|
tags:
|
|
2393
2564
|
- change-request-content
|
|
2394
2565
|
- critical
|
|
@@ -2423,6 +2594,7 @@ paths:
|
|
|
2423
2594
|
get:
|
|
2424
2595
|
operationId: listChangeRequestPageBacklinks
|
|
2425
2596
|
summary: List all backlink locations of a change request page
|
|
2597
|
+
x-gitbook-mcp: true
|
|
2426
2598
|
tags:
|
|
2427
2599
|
- change-request-content
|
|
2428
2600
|
security:
|
|
@@ -2453,6 +2625,7 @@ paths:
|
|
|
2453
2625
|
get:
|
|
2454
2626
|
operationId: listChangeRequestPageMetaLinks
|
|
2455
2627
|
summary: List all meta links of a change request page
|
|
2628
|
+
x-gitbook-mcp: true
|
|
2456
2629
|
tags:
|
|
2457
2630
|
- change-request-content
|
|
2458
2631
|
security:
|
|
@@ -2472,6 +2645,7 @@ paths:
|
|
|
2472
2645
|
get:
|
|
2473
2646
|
operationId: getReusableContentInChangeRequestById
|
|
2474
2647
|
summary: Get a change request reusable content by its ID
|
|
2648
|
+
x-gitbook-mcp: true
|
|
2475
2649
|
tags:
|
|
2476
2650
|
- change-request-content
|
|
2477
2651
|
security:
|
|
@@ -2493,6 +2667,7 @@ paths:
|
|
|
2493
2667
|
get:
|
|
2494
2668
|
operationId: getChangeRequestChanges
|
|
2495
2669
|
summary: Get change request semantic changes
|
|
2670
|
+
x-gitbook-mcp: true
|
|
2496
2671
|
description: Return the semantic changes between a change request and its base revision.
|
|
2497
2672
|
tags:
|
|
2498
2673
|
- change-request-content
|
|
@@ -2521,6 +2696,7 @@ paths:
|
|
|
2521
2696
|
get:
|
|
2522
2697
|
operationId: getChangeRequestPDF
|
|
2523
2698
|
summary: Get a URL of the content of a change request as PDF
|
|
2699
|
+
x-gitbook-mcp: true
|
|
2524
2700
|
tags:
|
|
2525
2701
|
- change-requests
|
|
2526
2702
|
security:
|
|
@@ -2555,6 +2731,7 @@ paths:
|
|
|
2555
2731
|
get:
|
|
2556
2732
|
operationId: getRevisionById
|
|
2557
2733
|
summary: Get a space revision
|
|
2734
|
+
x-gitbook-mcp: true
|
|
2558
2735
|
tags:
|
|
2559
2736
|
- space-content
|
|
2560
2737
|
security:
|
|
@@ -2577,6 +2754,7 @@ paths:
|
|
|
2577
2754
|
get:
|
|
2578
2755
|
operationId: getRevisionSemanticChanges
|
|
2579
2756
|
summary: Get space revision semantic changes
|
|
2757
|
+
x-gitbook-mcp: true
|
|
2580
2758
|
description: Return the semantic changes between a revision and its parent.
|
|
2581
2759
|
tags:
|
|
2582
2760
|
- space-content
|
|
@@ -2605,6 +2783,7 @@ paths:
|
|
|
2605
2783
|
/spaces/{spaceId}/revisions/{revisionId}/pages:
|
|
2606
2784
|
get:
|
|
2607
2785
|
summary: List all pages in a space revision
|
|
2786
|
+
x-gitbook-mcp: true
|
|
2608
2787
|
operationId: listPagesInRevisionById
|
|
2609
2788
|
tags:
|
|
2610
2789
|
- space-content
|
|
@@ -2632,6 +2811,7 @@ paths:
|
|
|
2632
2811
|
/spaces/{spaceId}/revisions/{revisionId}/files:
|
|
2633
2812
|
get:
|
|
2634
2813
|
summary: List all space revision files
|
|
2814
|
+
x-gitbook-mcp: true
|
|
2635
2815
|
operationId: listFilesInRevisionById
|
|
2636
2816
|
tags:
|
|
2637
2817
|
- space-content
|
|
@@ -2663,6 +2843,7 @@ paths:
|
|
|
2663
2843
|
/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}:
|
|
2664
2844
|
get:
|
|
2665
2845
|
summary: Get a space revision file by its ID
|
|
2846
|
+
x-gitbook-mcp: true
|
|
2666
2847
|
operationId: getFileInRevisionById
|
|
2667
2848
|
tags:
|
|
2668
2849
|
- space-content
|
|
@@ -2685,6 +2866,7 @@ paths:
|
|
|
2685
2866
|
get:
|
|
2686
2867
|
operationId: getPageInRevisionById
|
|
2687
2868
|
summary: Get a space revision page by its ID
|
|
2869
|
+
x-gitbook-mcp: true
|
|
2688
2870
|
tags:
|
|
2689
2871
|
- space-content
|
|
2690
2872
|
security:
|
|
@@ -2712,6 +2894,7 @@ paths:
|
|
|
2712
2894
|
get:
|
|
2713
2895
|
operationId: getPageDocumentInRevisionById
|
|
2714
2896
|
summary: Get the document of a page in a revision
|
|
2897
|
+
x-gitbook-mcp: true
|
|
2715
2898
|
tags:
|
|
2716
2899
|
- space-content
|
|
2717
2900
|
security:
|
|
@@ -2733,6 +2916,7 @@ paths:
|
|
|
2733
2916
|
get:
|
|
2734
2917
|
operationId: getPageInRevisionByPath
|
|
2735
2918
|
summary: Get a space revision page by its path
|
|
2919
|
+
x-gitbook-mcp: true
|
|
2736
2920
|
tags:
|
|
2737
2921
|
- space-content
|
|
2738
2922
|
security:
|
|
@@ -2760,6 +2944,7 @@ paths:
|
|
|
2760
2944
|
get:
|
|
2761
2945
|
operationId: listRevisionPageMetaLinks
|
|
2762
2946
|
summary: List all meta links for a revision page
|
|
2947
|
+
x-gitbook-mcp: true
|
|
2763
2948
|
tags:
|
|
2764
2949
|
- space-content
|
|
2765
2950
|
security:
|
|
@@ -2779,6 +2964,7 @@ paths:
|
|
|
2779
2964
|
get:
|
|
2780
2965
|
operationId: getPageInChangeRequestByPath
|
|
2781
2966
|
summary: Get a change request page by its path
|
|
2967
|
+
x-gitbook-mcp: true
|
|
2782
2968
|
tags:
|
|
2783
2969
|
- change-request-content
|
|
2784
2970
|
security:
|
|
@@ -2806,6 +2992,7 @@ paths:
|
|
|
2806
2992
|
get:
|
|
2807
2993
|
operationId: getReusableContentInRevisionById
|
|
2808
2994
|
summary: Get a space revision reusable content by its ID
|
|
2995
|
+
x-gitbook-mcp: true
|
|
2809
2996
|
tags:
|
|
2810
2997
|
- space-content
|
|
2811
2998
|
security:
|
|
@@ -2827,6 +3014,7 @@ paths:
|
|
|
2827
3014
|
get:
|
|
2828
3015
|
operationId: getReusableContentDocumentInRevisionById
|
|
2829
3016
|
summary: Get the document of a reusable content in a revision
|
|
3017
|
+
x-gitbook-mcp: true
|
|
2830
3018
|
tags:
|
|
2831
3019
|
- space-content
|
|
2832
3020
|
security:
|
|
@@ -2848,6 +3036,7 @@ paths:
|
|
|
2848
3036
|
get:
|
|
2849
3037
|
operationId: listCommentsInSpace
|
|
2850
3038
|
summary: List all space comments
|
|
3039
|
+
x-gitbook-mcp: true
|
|
2851
3040
|
tags:
|
|
2852
3041
|
- space-comments
|
|
2853
3042
|
- critical
|
|
@@ -2881,6 +3070,7 @@ paths:
|
|
|
2881
3070
|
post:
|
|
2882
3071
|
operationId: postCommentInSpace
|
|
2883
3072
|
summary: Create a space comment
|
|
3073
|
+
x-gitbook-mcp: true
|
|
2884
3074
|
tags:
|
|
2885
3075
|
- space-comments
|
|
2886
3076
|
security:
|
|
@@ -2904,6 +3094,7 @@ paths:
|
|
|
2904
3094
|
get:
|
|
2905
3095
|
operationId: getCommentInSpace
|
|
2906
3096
|
summary: Get a space comment
|
|
3097
|
+
x-gitbook-mcp: true
|
|
2907
3098
|
tags:
|
|
2908
3099
|
- space-comments
|
|
2909
3100
|
security:
|
|
@@ -2937,6 +3128,7 @@ paths:
|
|
|
2937
3128
|
put:
|
|
2938
3129
|
operationId: updateCommentInSpace
|
|
2939
3130
|
summary: Update a space comment
|
|
3131
|
+
x-gitbook-mcp: true
|
|
2940
3132
|
tags:
|
|
2941
3133
|
- space-comments
|
|
2942
3134
|
security:
|
|
@@ -2961,6 +3153,7 @@ paths:
|
|
|
2961
3153
|
get:
|
|
2962
3154
|
operationId: listCommentRepliesInSpace
|
|
2963
3155
|
summary: List all space comment replies
|
|
3156
|
+
x-gitbook-mcp: true
|
|
2964
3157
|
tags:
|
|
2965
3158
|
- space-comment
|
|
2966
3159
|
security:
|
|
@@ -2990,6 +3183,7 @@ paths:
|
|
|
2990
3183
|
post:
|
|
2991
3184
|
operationId: postCommentReplyInSpace
|
|
2992
3185
|
summary: Create a space comment reply
|
|
3186
|
+
x-gitbook-mcp: true
|
|
2993
3187
|
tags:
|
|
2994
3188
|
- space-comments
|
|
2995
3189
|
security:
|
|
@@ -3014,6 +3208,7 @@ paths:
|
|
|
3014
3208
|
get:
|
|
3015
3209
|
operationId: getCommentReplyInSpace
|
|
3016
3210
|
summary: Get a space comment reply
|
|
3211
|
+
x-gitbook-mcp: true
|
|
3017
3212
|
tags:
|
|
3018
3213
|
- space-comments
|
|
3019
3214
|
security:
|
|
@@ -3033,6 +3228,7 @@ paths:
|
|
|
3033
3228
|
put:
|
|
3034
3229
|
operationId: updateCommentReplyInSpace
|
|
3035
3230
|
summary: Update a space comment reply
|
|
3231
|
+
x-gitbook-mcp: true
|
|
3036
3232
|
tags:
|
|
3037
3233
|
- space-comments
|
|
3038
3234
|
security:
|
|
@@ -3074,6 +3270,7 @@ paths:
|
|
|
3074
3270
|
get:
|
|
3075
3271
|
operationId: listCommentersInSpace
|
|
3076
3272
|
summary: List all users who commented in a space
|
|
3273
|
+
x-gitbook-mcp: true
|
|
3077
3274
|
tags:
|
|
3078
3275
|
- space-comments
|
|
3079
3276
|
- critical
|
|
@@ -3103,6 +3300,7 @@ paths:
|
|
|
3103
3300
|
get:
|
|
3104
3301
|
operationId: listCommentersInChangeRequest
|
|
3105
3302
|
summary: List all users who commented in a CR
|
|
3303
|
+
x-gitbook-mcp: true
|
|
3106
3304
|
tags:
|
|
3107
3305
|
- change-request-comments
|
|
3108
3306
|
- critical
|
|
@@ -3166,6 +3364,7 @@ paths:
|
|
|
3166
3364
|
get:
|
|
3167
3365
|
operationId: listSpaceIntegrations
|
|
3168
3366
|
summary: List integrations enabled in a space
|
|
3367
|
+
x-gitbook-mcp: true
|
|
3169
3368
|
tags:
|
|
3170
3369
|
- space-integrations
|
|
3171
3370
|
security:
|
|
@@ -3193,6 +3392,7 @@ paths:
|
|
|
3193
3392
|
get:
|
|
3194
3393
|
operationId: listSpaceIntegrationsBlocks
|
|
3195
3394
|
summary: List all space integrations blocks
|
|
3395
|
+
x-gitbook-mcp: true
|
|
3196
3396
|
tags:
|
|
3197
3397
|
- space-integrations
|
|
3198
3398
|
parameters:
|
|
@@ -3210,6 +3410,7 @@ paths:
|
|
|
3210
3410
|
get:
|
|
3211
3411
|
operationId: getSpacePDF
|
|
3212
3412
|
summary: Get a URL of the content of a space as PDF
|
|
3413
|
+
x-gitbook-mcp: true
|
|
3213
3414
|
tags:
|
|
3214
3415
|
- space-content
|
|
3215
3416
|
security:
|
|
@@ -3243,6 +3444,7 @@ paths:
|
|
|
3243
3444
|
get:
|
|
3244
3445
|
operationId: listSpaceLinks
|
|
3245
3446
|
summary: Get all links in a space including their status and location where they appear.
|
|
3447
|
+
x-gitbook-mcp: true
|
|
3246
3448
|
tags:
|
|
3247
3449
|
- spaces
|
|
3248
3450
|
- links
|
|
@@ -3287,6 +3489,8 @@ paths:
|
|
|
3287
3489
|
- collections
|
|
3288
3490
|
security:
|
|
3289
3491
|
- user: []
|
|
3492
|
+
- oauth:
|
|
3493
|
+
- space:read
|
|
3290
3494
|
parameters:
|
|
3291
3495
|
- $ref: "#/components/parameters/collectionId"
|
|
3292
3496
|
responses:
|
|
@@ -3303,6 +3507,8 @@ paths:
|
|
|
3303
3507
|
- collections
|
|
3304
3508
|
security:
|
|
3305
3509
|
- user: []
|
|
3510
|
+
- oauth:
|
|
3511
|
+
- space:write
|
|
3306
3512
|
parameters:
|
|
3307
3513
|
- $ref: "#/components/parameters/collectionId"
|
|
3308
3514
|
requestBody:
|
|
@@ -3332,6 +3538,8 @@ paths:
|
|
|
3332
3538
|
- collections
|
|
3333
3539
|
security:
|
|
3334
3540
|
- user: []
|
|
3541
|
+
- oauth:
|
|
3542
|
+
- space:write
|
|
3335
3543
|
parameters:
|
|
3336
3544
|
- $ref: "#/components/parameters/collectionId"
|
|
3337
3545
|
responses:
|
|
@@ -3347,6 +3555,8 @@ paths:
|
|
|
3347
3555
|
- collections
|
|
3348
3556
|
security:
|
|
3349
3557
|
- user: []
|
|
3558
|
+
- oauth:
|
|
3559
|
+
- space:read
|
|
3350
3560
|
parameters:
|
|
3351
3561
|
- $ref: "#/components/parameters/collectionId"
|
|
3352
3562
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -3375,6 +3585,8 @@ paths:
|
|
|
3375
3585
|
- collections
|
|
3376
3586
|
security:
|
|
3377
3587
|
- user: []
|
|
3588
|
+
- oauth:
|
|
3589
|
+
- space:write
|
|
3378
3590
|
parameters:
|
|
3379
3591
|
- $ref: "#/components/parameters/collectionId"
|
|
3380
3592
|
requestBody:
|
|
@@ -3417,6 +3629,8 @@ paths:
|
|
|
3417
3629
|
- collections
|
|
3418
3630
|
security:
|
|
3419
3631
|
- user: []
|
|
3632
|
+
- oauth:
|
|
3633
|
+
- space:write
|
|
3420
3634
|
parameters:
|
|
3421
3635
|
- $ref: "#/components/parameters/collectionId"
|
|
3422
3636
|
requestBody:
|
|
@@ -3455,6 +3669,8 @@ paths:
|
|
|
3455
3669
|
- collection-permissions
|
|
3456
3670
|
security:
|
|
3457
3671
|
- user: []
|
|
3672
|
+
- oauth:
|
|
3673
|
+
- space:permissions:write
|
|
3458
3674
|
parameters:
|
|
3459
3675
|
- $ref: "#/components/parameters/collectionId"
|
|
3460
3676
|
responses:
|
|
@@ -3477,6 +3693,8 @@ paths:
|
|
|
3477
3693
|
- collection-permissions
|
|
3478
3694
|
security:
|
|
3479
3695
|
- user: []
|
|
3696
|
+
- oauth:
|
|
3697
|
+
- space:permissions:read
|
|
3480
3698
|
parameters:
|
|
3481
3699
|
- $ref: "#/components/parameters/collectionId"
|
|
3482
3700
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -3514,6 +3732,8 @@ paths:
|
|
|
3514
3732
|
- collection-permissions
|
|
3515
3733
|
security:
|
|
3516
3734
|
- user: []
|
|
3735
|
+
- oauth:
|
|
3736
|
+
- space:permissions:write
|
|
3517
3737
|
parameters:
|
|
3518
3738
|
- $ref: "#/components/parameters/collectionId"
|
|
3519
3739
|
- $ref: "#/components/parameters/teamId"
|
|
@@ -3539,6 +3759,8 @@ paths:
|
|
|
3539
3759
|
- collection-permissions
|
|
3540
3760
|
security:
|
|
3541
3761
|
- user: []
|
|
3762
|
+
- oauth:
|
|
3763
|
+
- space:permissions:write
|
|
3542
3764
|
parameters:
|
|
3543
3765
|
- $ref: "#/components/parameters/collectionId"
|
|
3544
3766
|
- $ref: "#/components/parameters/teamId"
|
|
@@ -3555,6 +3777,8 @@ paths:
|
|
|
3555
3777
|
- collection-permissions
|
|
3556
3778
|
security:
|
|
3557
3779
|
- user: []
|
|
3780
|
+
- oauth:
|
|
3781
|
+
- space:permissions:read
|
|
3558
3782
|
parameters:
|
|
3559
3783
|
- $ref: "#/components/parameters/collectionId"
|
|
3560
3784
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -3586,6 +3810,8 @@ paths:
|
|
|
3586
3810
|
- collection-permissions
|
|
3587
3811
|
security:
|
|
3588
3812
|
- user: []
|
|
3813
|
+
- oauth:
|
|
3814
|
+
- space:permissions:write
|
|
3589
3815
|
parameters:
|
|
3590
3816
|
- $ref: "#/components/parameters/collectionId"
|
|
3591
3817
|
- $ref: "#/components/parameters/userId"
|
|
@@ -3611,6 +3837,8 @@ paths:
|
|
|
3611
3837
|
- collection-permissions
|
|
3612
3838
|
security:
|
|
3613
3839
|
- user: []
|
|
3840
|
+
- oauth:
|
|
3841
|
+
- space:permissions:write
|
|
3614
3842
|
parameters:
|
|
3615
3843
|
- $ref: "#/components/parameters/collectionId"
|
|
3616
3844
|
- $ref: "#/components/parameters/userId"
|
|
@@ -3627,6 +3855,8 @@ paths:
|
|
|
3627
3855
|
- space-permissions
|
|
3628
3856
|
security:
|
|
3629
3857
|
- user: []
|
|
3858
|
+
- oauth:
|
|
3859
|
+
- space:permissions:read
|
|
3630
3860
|
parameters:
|
|
3631
3861
|
- $ref: "#/components/parameters/collectionId"
|
|
3632
3862
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -5212,6 +5442,7 @@ paths:
|
|
|
5212
5442
|
get:
|
|
5213
5443
|
operationId: listChangeRequestsForOrganization
|
|
5214
5444
|
summary: List all change requests in an organization
|
|
5445
|
+
x-gitbook-mcp: true
|
|
5215
5446
|
tags:
|
|
5216
5447
|
- change-requests
|
|
5217
5448
|
security:
|
|
@@ -5266,6 +5497,15 @@ paths:
|
|
|
5266
5497
|
schema:
|
|
5267
5498
|
type: string
|
|
5268
5499
|
description: If defined, only change requests linked to this site topic will be returned.
|
|
5500
|
+
- name: finding
|
|
5501
|
+
in: query
|
|
5502
|
+
required: false
|
|
5503
|
+
schema:
|
|
5504
|
+
type: string
|
|
5505
|
+
enum:
|
|
5506
|
+
- none
|
|
5507
|
+
- all
|
|
5508
|
+
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`.
|
|
5269
5509
|
- name: orderBy
|
|
5270
5510
|
in: query
|
|
5271
5511
|
required: false
|
|
@@ -5291,6 +5531,7 @@ paths:
|
|
|
5291
5531
|
get:
|
|
5292
5532
|
operationId: listSpacesInOrganizationById
|
|
5293
5533
|
summary: List all spaces
|
|
5534
|
+
x-gitbook-mcp: true
|
|
5294
5535
|
tags:
|
|
5295
5536
|
- spaces
|
|
5296
5537
|
security:
|
|
@@ -5319,6 +5560,7 @@ paths:
|
|
|
5319
5560
|
post:
|
|
5320
5561
|
operationId: createSpace
|
|
5321
5562
|
summary: Create a space
|
|
5563
|
+
x-gitbook-mcp: true
|
|
5322
5564
|
tags:
|
|
5323
5565
|
- spaces
|
|
5324
5566
|
security:
|
|
@@ -5350,6 +5592,8 @@ paths:
|
|
|
5350
5592
|
- collections
|
|
5351
5593
|
security:
|
|
5352
5594
|
- user: []
|
|
5595
|
+
- oauth:
|
|
5596
|
+
- space:read
|
|
5353
5597
|
parameters:
|
|
5354
5598
|
- $ref: "#/components/parameters/organizationId"
|
|
5355
5599
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -5383,6 +5627,8 @@ paths:
|
|
|
5383
5627
|
- collections
|
|
5384
5628
|
security:
|
|
5385
5629
|
- user: []
|
|
5630
|
+
- oauth:
|
|
5631
|
+
- space:write
|
|
5386
5632
|
parameters:
|
|
5387
5633
|
- $ref: "#/components/parameters/organizationId"
|
|
5388
5634
|
requestBody:
|
|
@@ -5811,6 +6057,8 @@ paths:
|
|
|
5811
6057
|
- openapi
|
|
5812
6058
|
security:
|
|
5813
6059
|
- user: []
|
|
6060
|
+
- oauth:
|
|
6061
|
+
- openapi:read
|
|
5814
6062
|
parameters:
|
|
5815
6063
|
- $ref: "#/components/parameters/organizationId"
|
|
5816
6064
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -5838,6 +6086,8 @@ paths:
|
|
|
5838
6086
|
- openapi
|
|
5839
6087
|
security:
|
|
5840
6088
|
- user: []
|
|
6089
|
+
- oauth:
|
|
6090
|
+
- openapi:write
|
|
5841
6091
|
parameters:
|
|
5842
6092
|
- $ref: "#/components/parameters/organizationId"
|
|
5843
6093
|
requestBody:
|
|
@@ -5871,6 +6121,8 @@ paths:
|
|
|
5871
6121
|
- openapi
|
|
5872
6122
|
security:
|
|
5873
6123
|
- user: []
|
|
6124
|
+
- oauth:
|
|
6125
|
+
- openapi:read
|
|
5874
6126
|
parameters:
|
|
5875
6127
|
- $ref: "#/components/parameters/organizationId"
|
|
5876
6128
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -5891,6 +6143,8 @@ paths:
|
|
|
5891
6143
|
- openapi
|
|
5892
6144
|
security:
|
|
5893
6145
|
- user: []
|
|
6146
|
+
- oauth:
|
|
6147
|
+
- openapi:write
|
|
5894
6148
|
parameters:
|
|
5895
6149
|
- $ref: "#/components/parameters/organizationId"
|
|
5896
6150
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -5927,6 +6181,8 @@ paths:
|
|
|
5927
6181
|
- openapi
|
|
5928
6182
|
security:
|
|
5929
6183
|
- user: []
|
|
6184
|
+
- oauth:
|
|
6185
|
+
- openapi:write
|
|
5930
6186
|
parameters:
|
|
5931
6187
|
- $ref: "#/components/parameters/organizationId"
|
|
5932
6188
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -5960,6 +6216,8 @@ paths:
|
|
|
5960
6216
|
- openapi
|
|
5961
6217
|
security:
|
|
5962
6218
|
- user: []
|
|
6219
|
+
- oauth:
|
|
6220
|
+
- openapi:write
|
|
5963
6221
|
parameters:
|
|
5964
6222
|
- $ref: "#/components/parameters/organizationId"
|
|
5965
6223
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -5976,6 +6234,8 @@ paths:
|
|
|
5976
6234
|
- openapi-versions
|
|
5977
6235
|
security:
|
|
5978
6236
|
- user: []
|
|
6237
|
+
- oauth:
|
|
6238
|
+
- openapi:read
|
|
5979
6239
|
parameters:
|
|
5980
6240
|
- $ref: "#/components/parameters/organizationId"
|
|
5981
6241
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6008,6 +6268,8 @@ paths:
|
|
|
6008
6268
|
- openapi-versions
|
|
6009
6269
|
security:
|
|
6010
6270
|
- user: []
|
|
6271
|
+
- oauth:
|
|
6272
|
+
- openapi:read
|
|
6011
6273
|
parameters:
|
|
6012
6274
|
- $ref: "#/components/parameters/organizationId"
|
|
6013
6275
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6029,6 +6291,8 @@ paths:
|
|
|
6029
6291
|
- openapi-versions
|
|
6030
6292
|
security:
|
|
6031
6293
|
- user: []
|
|
6294
|
+
- oauth:
|
|
6295
|
+
- openapi:read
|
|
6032
6296
|
parameters:
|
|
6033
6297
|
- $ref: "#/components/parameters/organizationId"
|
|
6034
6298
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6050,6 +6314,8 @@ paths:
|
|
|
6050
6314
|
- openapi-versions
|
|
6051
6315
|
security:
|
|
6052
6316
|
- user: []
|
|
6317
|
+
- oauth:
|
|
6318
|
+
- openapi:read
|
|
6053
6319
|
parameters:
|
|
6054
6320
|
- $ref: "#/components/parameters/organizationId"
|
|
6055
6321
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6072,6 +6338,8 @@ paths:
|
|
|
6072
6338
|
- openapi-versions
|
|
6073
6339
|
security:
|
|
6074
6340
|
- user: []
|
|
6341
|
+
- oauth:
|
|
6342
|
+
- openapi:read
|
|
6075
6343
|
parameters:
|
|
6076
6344
|
- $ref: "#/components/parameters/organizationId"
|
|
6077
6345
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6619,6 +6887,7 @@ paths:
|
|
|
6619
6887
|
get:
|
|
6620
6888
|
operationId: listSites
|
|
6621
6889
|
summary: List all sites
|
|
6890
|
+
x-gitbook-mcp: true
|
|
6622
6891
|
tags:
|
|
6623
6892
|
- sites
|
|
6624
6893
|
- critical
|
|
@@ -6673,6 +6942,7 @@ paths:
|
|
|
6673
6942
|
post:
|
|
6674
6943
|
operationId: createSite
|
|
6675
6944
|
summary: Create a site
|
|
6945
|
+
x-gitbook-mcp: true
|
|
6676
6946
|
tags:
|
|
6677
6947
|
- sites
|
|
6678
6948
|
security:
|
|
@@ -6713,6 +6983,7 @@ paths:
|
|
|
6713
6983
|
get:
|
|
6714
6984
|
operationId: getSiteById
|
|
6715
6985
|
summary: Get a site by its ID
|
|
6986
|
+
x-gitbook-mcp: true
|
|
6716
6987
|
tags:
|
|
6717
6988
|
- sites
|
|
6718
6989
|
parameters:
|
|
@@ -6731,6 +7002,7 @@ paths:
|
|
|
6731
7002
|
patch:
|
|
6732
7003
|
operationId: updateSiteById
|
|
6733
7004
|
summary: Update a site
|
|
7005
|
+
x-gitbook-mcp: true
|
|
6734
7006
|
tags:
|
|
6735
7007
|
- sites
|
|
6736
7008
|
security:
|
|
@@ -6827,6 +7099,7 @@ paths:
|
|
|
6827
7099
|
get:
|
|
6828
7100
|
operationId: getSiteAdaptiveSchema
|
|
6829
7101
|
summary: Get the JSON schema describing the attributes expected for an Adaptive content site visitor.
|
|
7102
|
+
x-gitbook-mcp: true
|
|
6830
7103
|
tags:
|
|
6831
7104
|
- sites
|
|
6832
7105
|
security:
|
|
@@ -6851,6 +7124,7 @@ paths:
|
|
|
6851
7124
|
put:
|
|
6852
7125
|
operationId: updateSiteAdaptiveSchema
|
|
6853
7126
|
summary: Update the JSON schema of the attributes expected for an Adaptive content site visitor.
|
|
7127
|
+
x-gitbook-mcp: true
|
|
6854
7128
|
tags:
|
|
6855
7129
|
- sites
|
|
6856
7130
|
security:
|
|
@@ -6887,6 +7161,7 @@ paths:
|
|
|
6887
7161
|
get:
|
|
6888
7162
|
operationId: listSiteAdaptiveTemplateConditions
|
|
6889
7163
|
summary: List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.
|
|
7164
|
+
x-gitbook-mcp: true
|
|
6890
7165
|
tags:
|
|
6891
7166
|
- sites
|
|
6892
7167
|
parameters:
|
|
@@ -6910,6 +7185,7 @@ paths:
|
|
|
6910
7185
|
get:
|
|
6911
7186
|
operationId: getPublishedContentSite
|
|
6912
7187
|
summary: Get a published site
|
|
7188
|
+
x-gitbook-mcp: true
|
|
6913
7189
|
description: Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.
|
|
6914
7190
|
tags:
|
|
6915
7191
|
- sites
|
|
@@ -6933,6 +7209,7 @@ paths:
|
|
|
6933
7209
|
post:
|
|
6934
7210
|
operationId: publishSite
|
|
6935
7211
|
summary: Publish a site
|
|
7212
|
+
x-gitbook-mcp: true
|
|
6936
7213
|
tags:
|
|
6937
7214
|
- sites
|
|
6938
7215
|
security:
|
|
@@ -6965,6 +7242,7 @@ paths:
|
|
|
6965
7242
|
post:
|
|
6966
7243
|
operationId: unpublishSite
|
|
6967
7244
|
summary: Unpublish a site
|
|
7245
|
+
x-gitbook-mcp: true
|
|
6968
7246
|
tags:
|
|
6969
7247
|
- sites
|
|
6970
7248
|
security:
|
|
@@ -6983,6 +7261,7 @@ paths:
|
|
|
6983
7261
|
get:
|
|
6984
7262
|
operationId: listSiteShareLinks
|
|
6985
7263
|
summary: List all share links
|
|
7264
|
+
x-gitbook-mcp: true
|
|
6986
7265
|
tags:
|
|
6987
7266
|
- site-share-links
|
|
6988
7267
|
security:
|
|
@@ -7016,6 +7295,7 @@ paths:
|
|
|
7016
7295
|
post:
|
|
7017
7296
|
operationId: createSiteShareLink
|
|
7018
7297
|
summary: Create a share link
|
|
7298
|
+
x-gitbook-mcp: true
|
|
7019
7299
|
tags:
|
|
7020
7300
|
- site-share-links
|
|
7021
7301
|
security:
|
|
@@ -7050,6 +7330,7 @@ paths:
|
|
|
7050
7330
|
patch:
|
|
7051
7331
|
operationId: updateSiteShareLinkById
|
|
7052
7332
|
summary: Update a share link
|
|
7333
|
+
x-gitbook-mcp: true
|
|
7053
7334
|
tags:
|
|
7054
7335
|
- site-share-links
|
|
7055
7336
|
security:
|
|
@@ -7097,6 +7378,7 @@ paths:
|
|
|
7097
7378
|
get:
|
|
7098
7379
|
operationId: getSiteStructure
|
|
7099
7380
|
summary: Get a site structure
|
|
7381
|
+
x-gitbook-mcp: true
|
|
7100
7382
|
description: Get the complete structure of a site that includes all its site-sections and site-spaces.
|
|
7101
7383
|
tags:
|
|
7102
7384
|
- site-structure
|
|
@@ -7120,6 +7402,7 @@ paths:
|
|
|
7120
7402
|
patch:
|
|
7121
7403
|
operationId: sortSiteStructure
|
|
7122
7404
|
summary: Move a site space, site section or site section group to a new position in the site structure.
|
|
7405
|
+
x-gitbook-mcp: true
|
|
7123
7406
|
tags:
|
|
7124
7407
|
- sites
|
|
7125
7408
|
security:
|
|
@@ -7161,6 +7444,7 @@ paths:
|
|
|
7161
7444
|
get:
|
|
7162
7445
|
operationId: getSitePublishingAuthById
|
|
7163
7446
|
summary: Get a site auth config
|
|
7447
|
+
x-gitbook-mcp: true
|
|
7164
7448
|
tags:
|
|
7165
7449
|
- site-publishing-auth
|
|
7166
7450
|
security:
|
|
@@ -7180,6 +7464,7 @@ paths:
|
|
|
7180
7464
|
patch:
|
|
7181
7465
|
operationId: updateSitePublishingAuthById
|
|
7182
7466
|
summary: Update a site auth config
|
|
7467
|
+
x-gitbook-mcp: true
|
|
7183
7468
|
tags:
|
|
7184
7469
|
- site-publishing-auth
|
|
7185
7470
|
security:
|
|
@@ -7206,6 +7491,7 @@ paths:
|
|
|
7206
7491
|
post:
|
|
7207
7492
|
operationId: regenerateSitePublishingAuthById
|
|
7208
7493
|
summary: Regenerate a site auth
|
|
7494
|
+
x-gitbook-mcp: true
|
|
7209
7495
|
description: Regenerate the publishing authentication settings for a site. This will re-generate the private key.
|
|
7210
7496
|
tags:
|
|
7211
7497
|
- site-publishing-auth
|
|
@@ -7227,6 +7513,7 @@ paths:
|
|
|
7227
7513
|
get:
|
|
7228
7514
|
operationId: getSitePublishingPreviewById
|
|
7229
7515
|
summary: Get a site preview URL
|
|
7516
|
+
x-gitbook-mcp: true
|
|
7230
7517
|
description: Generate a URL to preview the published content of a site. The URL will be valid for 1 hour.
|
|
7231
7518
|
tags:
|
|
7232
7519
|
- site-preview
|
|
@@ -7274,6 +7561,7 @@ paths:
|
|
|
7274
7561
|
get:
|
|
7275
7562
|
operationId: getSiteCustomizationById
|
|
7276
7563
|
summary: Get a site customization settings
|
|
7564
|
+
x-gitbook-mcp: true
|
|
7277
7565
|
tags:
|
|
7278
7566
|
- site-customization
|
|
7279
7567
|
security:
|
|
@@ -7294,6 +7582,7 @@ paths:
|
|
|
7294
7582
|
put:
|
|
7295
7583
|
operationId: updateSiteCustomizationById
|
|
7296
7584
|
summary: Update a site customization settings
|
|
7585
|
+
x-gitbook-mcp: true
|
|
7297
7586
|
tags:
|
|
7298
7587
|
- site-customization
|
|
7299
7588
|
security:
|
|
@@ -7320,6 +7609,7 @@ paths:
|
|
|
7320
7609
|
get:
|
|
7321
7610
|
operationId: listSiteIntegrationScripts
|
|
7322
7611
|
summary: List the scripts to embed in published content for a site.
|
|
7612
|
+
x-gitbook-mcp: true
|
|
7323
7613
|
tags:
|
|
7324
7614
|
- integrations
|
|
7325
7615
|
- sites
|
|
@@ -7343,6 +7633,7 @@ paths:
|
|
|
7343
7633
|
get:
|
|
7344
7634
|
operationId: listSiteIntegrations
|
|
7345
7635
|
summary: List integrations enabled in a site.
|
|
7636
|
+
x-gitbook-mcp: true
|
|
7346
7637
|
tags:
|
|
7347
7638
|
- integrations
|
|
7348
7639
|
- sites
|
|
@@ -7372,6 +7663,7 @@ paths:
|
|
|
7372
7663
|
post:
|
|
7373
7664
|
operationId: addSpaceToSite
|
|
7374
7665
|
summary: Add a space to a site
|
|
7666
|
+
x-gitbook-mcp: true
|
|
7375
7667
|
tags:
|
|
7376
7668
|
- site-spaces
|
|
7377
7669
|
security:
|
|
@@ -7413,6 +7705,7 @@ paths:
|
|
|
7413
7705
|
get:
|
|
7414
7706
|
operationId: listSiteSpaces
|
|
7415
7707
|
summary: List all the site spaces
|
|
7708
|
+
x-gitbook-mcp: true
|
|
7416
7709
|
tags:
|
|
7417
7710
|
- site-spaces
|
|
7418
7711
|
- critical
|
|
@@ -7449,6 +7742,7 @@ paths:
|
|
|
7449
7742
|
get:
|
|
7450
7743
|
operationId: listSiteSectionGroups
|
|
7451
7744
|
summary: List all site section groups
|
|
7745
|
+
x-gitbook-mcp: true
|
|
7452
7746
|
tags:
|
|
7453
7747
|
- site-section-groups
|
|
7454
7748
|
security:
|
|
@@ -7477,6 +7771,7 @@ paths:
|
|
|
7477
7771
|
post:
|
|
7478
7772
|
operationId: addSectionGroupToSite
|
|
7479
7773
|
summary: Add a section group to a site
|
|
7774
|
+
x-gitbook-mcp: true
|
|
7480
7775
|
tags:
|
|
7481
7776
|
- site-section-groups
|
|
7482
7777
|
security:
|
|
@@ -7526,6 +7821,7 @@ paths:
|
|
|
7526
7821
|
patch:
|
|
7527
7822
|
operationId: updateSiteSectionGroupById
|
|
7528
7823
|
summary: Update a site section group
|
|
7824
|
+
x-gitbook-mcp: true
|
|
7529
7825
|
tags:
|
|
7530
7826
|
- site-section-groups
|
|
7531
7827
|
security:
|
|
@@ -7579,6 +7875,7 @@ paths:
|
|
|
7579
7875
|
post:
|
|
7580
7876
|
operationId: addSectionToSite
|
|
7581
7877
|
summary: Add a section to a site
|
|
7878
|
+
x-gitbook-mcp: true
|
|
7582
7879
|
tags:
|
|
7583
7880
|
- site-sections
|
|
7584
7881
|
security:
|
|
@@ -7627,6 +7924,7 @@ paths:
|
|
|
7627
7924
|
get:
|
|
7628
7925
|
operationId: listSiteSections
|
|
7629
7926
|
summary: List all site sections
|
|
7927
|
+
x-gitbook-mcp: true
|
|
7630
7928
|
tags:
|
|
7631
7929
|
- site-sections
|
|
7632
7930
|
security:
|
|
@@ -7657,6 +7955,7 @@ paths:
|
|
|
7657
7955
|
patch:
|
|
7658
7956
|
operationId: updateSiteSectionById
|
|
7659
7957
|
summary: Update a site section
|
|
7958
|
+
x-gitbook-mcp: true
|
|
7660
7959
|
tags:
|
|
7661
7960
|
- site-sections
|
|
7662
7961
|
security:
|
|
@@ -7731,6 +8030,7 @@ paths:
|
|
|
7731
8030
|
post:
|
|
7732
8031
|
operationId: searchSiteContent
|
|
7733
8032
|
summary: Search in a site
|
|
8033
|
+
x-gitbook-mcp: true
|
|
7734
8034
|
tags:
|
|
7735
8035
|
- sites
|
|
7736
8036
|
security:
|
|
@@ -7852,6 +8152,11 @@ paths:
|
|
|
7852
8152
|
properties:
|
|
7853
8153
|
siteSpaceId:
|
|
7854
8154
|
type: string
|
|
8155
|
+
goal:
|
|
8156
|
+
type: string
|
|
8157
|
+
maxLength: 1024
|
|
8158
|
+
description: |
|
|
8159
|
+
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.
|
|
7855
8160
|
scope:
|
|
7856
8161
|
$ref: "#/components/schemas/SiteSearchScope"
|
|
7857
8162
|
session:
|
|
@@ -8164,6 +8469,7 @@ paths:
|
|
|
8164
8469
|
type: string
|
|
8165
8470
|
enum:
|
|
8166
8471
|
- open
|
|
8472
|
+
- done
|
|
8167
8473
|
- canceled
|
|
8168
8474
|
required:
|
|
8169
8475
|
- status
|
|
@@ -8963,6 +9269,7 @@ paths:
|
|
|
8963
9269
|
patch:
|
|
8964
9270
|
operationId: updateSiteSpaceById
|
|
8965
9271
|
summary: Update a site space
|
|
9272
|
+
x-gitbook-mcp: true
|
|
8966
9273
|
tags:
|
|
8967
9274
|
- site-spaces
|
|
8968
9275
|
security:
|
|
@@ -9021,6 +9328,7 @@ paths:
|
|
|
9021
9328
|
get:
|
|
9022
9329
|
operationId: getSiteSpaceCustomizationById
|
|
9023
9330
|
summary: Get a site space customization settings
|
|
9331
|
+
x-gitbook-mcp: true
|
|
9024
9332
|
tags:
|
|
9025
9333
|
- site-customization
|
|
9026
9334
|
security:
|
|
@@ -9042,6 +9350,7 @@ paths:
|
|
|
9042
9350
|
patch:
|
|
9043
9351
|
operationId: overrideSiteSpaceCustomizationById
|
|
9044
9352
|
summary: Override a site space customization settings
|
|
9353
|
+
x-gitbook-mcp: true
|
|
9045
9354
|
tags:
|
|
9046
9355
|
- site-customization
|
|
9047
9356
|
security:
|
|
@@ -9247,16 +9556,6 @@ paths:
|
|
|
9247
9556
|
type:
|
|
9248
9557
|
- boolean
|
|
9249
9558
|
- "null"
|
|
9250
|
-
pdf:
|
|
9251
|
-
type: object
|
|
9252
|
-
properties:
|
|
9253
|
-
enabled:
|
|
9254
|
-
type:
|
|
9255
|
-
- boolean
|
|
9256
|
-
- "null"
|
|
9257
|
-
description: If true, PDF export is enabled for the published site. Set to null to reset the override.
|
|
9258
|
-
required:
|
|
9259
|
-
- enabled
|
|
9260
9559
|
feedback:
|
|
9261
9560
|
type: object
|
|
9262
9561
|
properties:
|
|
@@ -9267,16 +9566,6 @@ paths:
|
|
|
9267
9566
|
description: If true, feedback gathering is enabled. Set to null to reset the override.
|
|
9268
9567
|
required:
|
|
9269
9568
|
- enabled
|
|
9270
|
-
git:
|
|
9271
|
-
type: object
|
|
9272
|
-
properties:
|
|
9273
|
-
showEditLink:
|
|
9274
|
-
type:
|
|
9275
|
-
- boolean
|
|
9276
|
-
- "null"
|
|
9277
|
-
description: Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Set to null to reset the override.
|
|
9278
|
-
required:
|
|
9279
|
-
- showEditLink
|
|
9280
9569
|
externalLinks:
|
|
9281
9570
|
type: object
|
|
9282
9571
|
properties:
|
|
@@ -9717,6 +10006,7 @@ paths:
|
|
|
9717
10006
|
get:
|
|
9718
10007
|
operationId: getSiteAgentSettingsById
|
|
9719
10008
|
summary: Get site agent settings
|
|
10009
|
+
x-gitbook-mcp: true
|
|
9720
10010
|
tags:
|
|
9721
10011
|
- site-agent-settings
|
|
9722
10012
|
security:
|
|
@@ -9736,6 +10026,7 @@ paths:
|
|
|
9736
10026
|
put:
|
|
9737
10027
|
operationId: updateSiteAgentSettingsById
|
|
9738
10028
|
summary: Update site agent settings
|
|
10029
|
+
x-gitbook-mcp: true
|
|
9739
10030
|
tags:
|
|
9740
10031
|
- site-agent-settings
|
|
9741
10032
|
security:
|
|
@@ -9762,6 +10053,7 @@ paths:
|
|
|
9762
10053
|
post:
|
|
9763
10054
|
operationId: createSiteStyleguideById
|
|
9764
10055
|
summary: Create or return a site's styleguide
|
|
10056
|
+
x-gitbook-mcp: true
|
|
9765
10057
|
description: |
|
|
9766
10058
|
Ensures the site has a site-owned styleguide backing space and returns
|
|
9767
10059
|
a reference to it.
|
|
@@ -9876,6 +10168,7 @@ paths:
|
|
|
9876
10168
|
post:
|
|
9877
10169
|
operationId: updateSiteAdsById
|
|
9878
10170
|
summary: Update a site ads settings
|
|
10171
|
+
x-gitbook-mcp: true
|
|
9879
10172
|
tags:
|
|
9880
10173
|
- site-ads
|
|
9881
10174
|
security:
|
|
@@ -9904,6 +10197,7 @@ paths:
|
|
|
9904
10197
|
post:
|
|
9905
10198
|
operationId: createSiteRedirect
|
|
9906
10199
|
summary: Create a site redirect
|
|
10200
|
+
x-gitbook-mcp: true
|
|
9907
10201
|
tags:
|
|
9908
10202
|
- site-redirects
|
|
9909
10203
|
security:
|
|
@@ -9943,6 +10237,7 @@ paths:
|
|
|
9943
10237
|
put:
|
|
9944
10238
|
operationId: bulkUpsertSiteRedirects
|
|
9945
10239
|
summary: Create or update site redirects in bulk
|
|
10240
|
+
x-gitbook-mcp: true
|
|
9946
10241
|
tags:
|
|
9947
10242
|
- site-redirects
|
|
9948
10243
|
security:
|
|
@@ -10117,6 +10412,7 @@ paths:
|
|
|
10117
10412
|
get:
|
|
10118
10413
|
operationId: listSiteRedirects
|
|
10119
10414
|
summary: List all site redirects
|
|
10415
|
+
x-gitbook-mcp: true
|
|
10120
10416
|
tags:
|
|
10121
10417
|
- site-redirects
|
|
10122
10418
|
security:
|
|
@@ -10157,6 +10453,7 @@ paths:
|
|
|
10157
10453
|
patch:
|
|
10158
10454
|
operationId: updateSiteRedirectById
|
|
10159
10455
|
summary: Update a site redirect
|
|
10456
|
+
x-gitbook-mcp: true
|
|
10160
10457
|
tags:
|
|
10161
10458
|
- site-redirects
|
|
10162
10459
|
security:
|
|
@@ -10209,6 +10506,7 @@ paths:
|
|
|
10209
10506
|
get:
|
|
10210
10507
|
operationId: getSiteRedirectBySource
|
|
10211
10508
|
summary: Get a site redirect by its source
|
|
10509
|
+
x-gitbook-mcp: true
|
|
10212
10510
|
tags:
|
|
10213
10511
|
- site-redirects
|
|
10214
10512
|
security:
|
|
@@ -10245,6 +10543,7 @@ paths:
|
|
|
10245
10543
|
get:
|
|
10246
10544
|
operationId: listSiteMcpServers
|
|
10247
10545
|
summary: List all MCP servers for a site
|
|
10546
|
+
x-gitbook-mcp: true
|
|
10248
10547
|
tags:
|
|
10249
10548
|
- site-mcp-servers
|
|
10250
10549
|
security:
|
|
@@ -10273,6 +10572,7 @@ paths:
|
|
|
10273
10572
|
post:
|
|
10274
10573
|
operationId: createSiteMcpServer
|
|
10275
10574
|
summary: Create a new MCP server
|
|
10575
|
+
x-gitbook-mcp: true
|
|
10276
10576
|
tags:
|
|
10277
10577
|
- site-mcp-servers
|
|
10278
10578
|
security:
|
|
@@ -10315,6 +10615,7 @@ paths:
|
|
|
10315
10615
|
get:
|
|
10316
10616
|
operationId: getSiteMcpServerById
|
|
10317
10617
|
summary: Get a site MCP server
|
|
10618
|
+
x-gitbook-mcp: true
|
|
10318
10619
|
tags:
|
|
10319
10620
|
- site-mcp-servers
|
|
10320
10621
|
security:
|
|
@@ -10333,6 +10634,7 @@ paths:
|
|
|
10333
10634
|
patch:
|
|
10334
10635
|
operationId: updateSiteMcpServerById
|
|
10335
10636
|
summary: Update a site MCP server
|
|
10637
|
+
x-gitbook-mcp: true
|
|
10336
10638
|
tags:
|
|
10337
10639
|
- site-mcp-servers
|
|
10338
10640
|
security:
|
|
@@ -10390,6 +10692,7 @@ paths:
|
|
|
10390
10692
|
get:
|
|
10391
10693
|
operationId: listSiteChannels
|
|
10392
10694
|
summary: List all site channels for a site
|
|
10695
|
+
x-gitbook-mcp: true
|
|
10393
10696
|
tags:
|
|
10394
10697
|
- site-channels
|
|
10395
10698
|
security:
|
|
@@ -10418,6 +10721,7 @@ paths:
|
|
|
10418
10721
|
post:
|
|
10419
10722
|
operationId: createSiteChannel
|
|
10420
10723
|
summary: Create a site channel
|
|
10724
|
+
x-gitbook-mcp: true
|
|
10421
10725
|
tags:
|
|
10422
10726
|
- site-channels
|
|
10423
10727
|
security:
|
|
@@ -10447,6 +10751,7 @@ paths:
|
|
|
10447
10751
|
get:
|
|
10448
10752
|
operationId: getSiteChannelById
|
|
10449
10753
|
summary: Get a site channel
|
|
10754
|
+
x-gitbook-mcp: true
|
|
10450
10755
|
tags:
|
|
10451
10756
|
- site-channels
|
|
10452
10757
|
security:
|
|
@@ -10465,6 +10770,7 @@ paths:
|
|
|
10465
10770
|
patch:
|
|
10466
10771
|
operationId: updateSiteChannelById
|
|
10467
10772
|
summary: Update a site channel
|
|
10773
|
+
x-gitbook-mcp: true
|
|
10468
10774
|
tags:
|
|
10469
10775
|
- site-channels
|
|
10470
10776
|
security:
|
|
@@ -11119,7 +11425,30 @@ components:
|
|
|
11119
11425
|
authorizationUrl: https://oauth.gitbook.com/authorize
|
|
11120
11426
|
tokenUrl: https://oauth.gitbook.com/token
|
|
11121
11427
|
scopes:
|
|
11122
|
-
|
|
11428
|
+
user:read: Read your GitBook user profile.
|
|
11429
|
+
organization:read: Read organization settings and metadata.
|
|
11430
|
+
organization:write: Create and update organization settings.
|
|
11431
|
+
organization:members:read: Read organization members, invites and link invites.
|
|
11432
|
+
organization:members:write: Manage organization members, invites and link invites.
|
|
11433
|
+
organization:ask: Ask AI questions across an organization's content.
|
|
11434
|
+
organization:search: Search across an organization's content.
|
|
11435
|
+
space:read: Read spaces and their content.
|
|
11436
|
+
space:write: Create, update and delete spaces and their content, including imports.
|
|
11437
|
+
space:permissions:read: Read space permissions.
|
|
11438
|
+
space:permissions:write: Manage space permissions.
|
|
11439
|
+
change-request:merge: Merge change requests, publishing their changes to the space.
|
|
11440
|
+
site:read: Read sites and their settings.
|
|
11441
|
+
site:write: Create, update and delete sites, sections and their settings.
|
|
11442
|
+
site:publish: Publish and unpublish sites, controlling their public exposure.
|
|
11443
|
+
site:permissions:read: Read site permissions.
|
|
11444
|
+
site:permissions:write: Manage site permissions.
|
|
11445
|
+
site:auth:read: Read site authentication and security configuration.
|
|
11446
|
+
site:auth:write: Manage site authentication and security configuration.
|
|
11447
|
+
site:insights:read: Read site analytics and insights.
|
|
11448
|
+
site:ask: Ask AI questions across a site's content.
|
|
11449
|
+
site:search: Search across a site's content.
|
|
11450
|
+
openapi:read: Read OpenAPI specifications.
|
|
11451
|
+
openapi:write: Create, update and delete OpenAPI specifications.
|
|
11123
11452
|
parameters:
|
|
11124
11453
|
listPage:
|
|
11125
11454
|
name: page
|
|
@@ -11286,6 +11615,13 @@ components:
|
|
|
11286
11615
|
description: The unique ID of the change request review.
|
|
11287
11616
|
schema:
|
|
11288
11617
|
type: string
|
|
11618
|
+
conversationId:
|
|
11619
|
+
name: conversationId
|
|
11620
|
+
in: path
|
|
11621
|
+
required: true
|
|
11622
|
+
description: The unique ID of the agent conversation (its client-generated local id, or "default" for the default conversation)
|
|
11623
|
+
schema:
|
|
11624
|
+
type: string
|
|
11289
11625
|
listOrder:
|
|
11290
11626
|
name: order
|
|
11291
11627
|
in: query
|
|
@@ -12653,6 +12989,10 @@ components:
|
|
|
12653
12989
|
markdown:
|
|
12654
12990
|
type: string
|
|
12655
12991
|
description: Content of the document formatted as markdown
|
|
12992
|
+
example: |
|
|
12993
|
+
# Hello World
|
|
12994
|
+
|
|
12995
|
+
This is a markdown document linking to [another page](/pages/page_id).
|
|
12656
12996
|
required:
|
|
12657
12997
|
- markdown
|
|
12658
12998
|
DocumentMarkBold:
|
|
@@ -13875,6 +14215,9 @@ components:
|
|
|
13875
14215
|
fullWidth:
|
|
13876
14216
|
type: boolean
|
|
13877
14217
|
description: Whether to render the block as a full width one
|
|
14218
|
+
search:
|
|
14219
|
+
type: boolean
|
|
14220
|
+
description: Whether to show the search bar on the table. When unset, search is shown automatically on grid tables once they have enough rows.
|
|
13878
14221
|
required:
|
|
13879
14222
|
- view
|
|
13880
14223
|
- records
|
|
@@ -14043,11 +14386,53 @@ components:
|
|
|
14043
14386
|
- type
|
|
14044
14387
|
- isVoid
|
|
14045
14388
|
- data
|
|
14389
|
+
DocumentBlockPrompt:
|
|
14390
|
+
type: object
|
|
14391
|
+
properties:
|
|
14392
|
+
object:
|
|
14393
|
+
type: string
|
|
14394
|
+
enum:
|
|
14395
|
+
- block
|
|
14396
|
+
type:
|
|
14397
|
+
type: string
|
|
14398
|
+
enum:
|
|
14399
|
+
- prompt
|
|
14400
|
+
key:
|
|
14401
|
+
type: string
|
|
14402
|
+
data:
|
|
14403
|
+
type: object
|
|
14404
|
+
properties:
|
|
14405
|
+
description:
|
|
14406
|
+
type: string
|
|
14407
|
+
icon:
|
|
14408
|
+
$ref: "#/components/schemas/Icon"
|
|
14409
|
+
openInAIProviders:
|
|
14410
|
+
type: boolean
|
|
14411
|
+
required:
|
|
14412
|
+
- description
|
|
14413
|
+
additionalProperties: false
|
|
14414
|
+
nodes:
|
|
14415
|
+
type: array
|
|
14416
|
+
items:
|
|
14417
|
+
oneOf:
|
|
14418
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
14419
|
+
minItems: 1
|
|
14420
|
+
maxItems: 1
|
|
14421
|
+
isVoid:
|
|
14422
|
+
type: boolean
|
|
14423
|
+
enum:
|
|
14424
|
+
- false
|
|
14425
|
+
required:
|
|
14426
|
+
- object
|
|
14427
|
+
- type
|
|
14428
|
+
- data
|
|
14429
|
+
- nodes
|
|
14046
14430
|
DocumentBlocksTopLevels:
|
|
14047
14431
|
oneOf:
|
|
14048
14432
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
14049
14433
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
14050
14434
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
14435
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
14051
14436
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
14052
14437
|
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
14053
14438
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
@@ -14556,6 +14941,7 @@ components:
|
|
|
14556
14941
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
14557
14942
|
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
14558
14943
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
14944
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
14559
14945
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
14560
14946
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
14561
14947
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
@@ -14632,6 +15018,7 @@ components:
|
|
|
14632
15018
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
14633
15019
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
14634
15020
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
15021
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
14635
15022
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
14636
15023
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
14637
15024
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
@@ -14932,6 +15319,7 @@ components:
|
|
|
14932
15319
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
14933
15320
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
14934
15321
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
15322
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
14935
15323
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
14936
15324
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
14937
15325
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
@@ -15000,6 +15388,7 @@ components:
|
|
|
15000
15388
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
15001
15389
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
15002
15390
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
15391
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
15003
15392
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
15004
15393
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
15005
15394
|
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
@@ -15084,6 +15473,7 @@ components:
|
|
|
15084
15473
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
15085
15474
|
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
15086
15475
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
15476
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
15087
15477
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
15088
15478
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
15089
15479
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
@@ -15160,6 +15550,7 @@ components:
|
|
|
15160
15550
|
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
15161
15551
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
15162
15552
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
15553
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
15163
15554
|
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
15164
15555
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
15165
15556
|
- $ref: "#/components/schemas/DocumentBlockImage"
|
|
@@ -15321,6 +15712,19 @@ components:
|
|
|
15321
15712
|
- object
|
|
15322
15713
|
- data
|
|
15323
15714
|
- nodes
|
|
15715
|
+
example:
|
|
15716
|
+
object: document
|
|
15717
|
+
data: {}
|
|
15718
|
+
nodes:
|
|
15719
|
+
- object: block
|
|
15720
|
+
type: paragraph
|
|
15721
|
+
data: {}
|
|
15722
|
+
nodes:
|
|
15723
|
+
- object: text
|
|
15724
|
+
leaves:
|
|
15725
|
+
- object: leaf
|
|
15726
|
+
text: Hello world
|
|
15727
|
+
marks: []
|
|
15324
15728
|
Document:
|
|
15325
15729
|
oneOf:
|
|
15326
15730
|
- $ref: "#/components/schemas/MarkdownDocument"
|
|
@@ -16587,6 +16991,12 @@ components:
|
|
|
16587
16991
|
paidUltimateSites:
|
|
16588
16992
|
description: The number of paid ultimate sites on the current subscription.
|
|
16589
16993
|
type: number
|
|
16994
|
+
canChangeInterval:
|
|
16995
|
+
description: Whether changing billing interval is allowed
|
|
16996
|
+
type: boolean
|
|
16997
|
+
canUseSAML:
|
|
16998
|
+
description: Whether configuring SAML is allowed
|
|
16999
|
+
type: boolean
|
|
16590
17000
|
required:
|
|
16591
17001
|
- interval
|
|
16592
17002
|
- endDate
|
|
@@ -16595,6 +17005,8 @@ components:
|
|
|
16595
17005
|
- isScheduledToCancel
|
|
16596
17006
|
- pricing
|
|
16597
17007
|
- usageAddons
|
|
17008
|
+
- canChangeInterval
|
|
17009
|
+
- canUseSAML
|
|
16598
17010
|
BillingTrialStatus:
|
|
16599
17011
|
type: string
|
|
16600
17012
|
description: |
|
|
@@ -17566,6 +17978,29 @@ components:
|
|
|
17566
17978
|
required:
|
|
17567
17979
|
- kind
|
|
17568
17980
|
- team
|
|
17981
|
+
AgentConversation:
|
|
17982
|
+
type: object
|
|
17983
|
+
properties:
|
|
17984
|
+
object:
|
|
17985
|
+
type: string
|
|
17986
|
+
description: Type of Object, always equals to "agent-conversation"
|
|
17987
|
+
enum:
|
|
17988
|
+
- agent-conversation
|
|
17989
|
+
id:
|
|
17990
|
+
type: string
|
|
17991
|
+
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".
|
|
17992
|
+
title:
|
|
17993
|
+
type: string
|
|
17994
|
+
description: The title of the conversation, generated from the first message. Absent until generated.
|
|
17995
|
+
createdAt:
|
|
17996
|
+
$ref: "#/components/schemas/Timestamp"
|
|
17997
|
+
updatedAt:
|
|
17998
|
+
$ref: "#/components/schemas/Timestamp"
|
|
17999
|
+
required:
|
|
18000
|
+
- object
|
|
18001
|
+
- id
|
|
18002
|
+
- createdAt
|
|
18003
|
+
- updatedAt
|
|
17569
18004
|
PostCommentSchema:
|
|
17570
18005
|
type: object
|
|
17571
18006
|
properties:
|
|
@@ -17682,6 +18117,91 @@ components:
|
|
|
17682
18117
|
- comment
|
|
17683
18118
|
required:
|
|
17684
18119
|
- actionType
|
|
18120
|
+
ChangeRequestContentChangeUpdatePage:
|
|
18121
|
+
type: object
|
|
18122
|
+
description: Replace the document of an existing page with another document.
|
|
18123
|
+
required:
|
|
18124
|
+
- operation
|
|
18125
|
+
- page
|
|
18126
|
+
- document
|
|
18127
|
+
properties:
|
|
18128
|
+
operation:
|
|
18129
|
+
type: string
|
|
18130
|
+
enum:
|
|
18131
|
+
- update_page
|
|
18132
|
+
page:
|
|
18133
|
+
type: string
|
|
18134
|
+
description: ID of the page whose content should be updated.
|
|
18135
|
+
document:
|
|
18136
|
+
$ref: "#/components/schemas/Document"
|
|
18137
|
+
example:
|
|
18138
|
+
operation: update_page
|
|
18139
|
+
page: page_id
|
|
18140
|
+
document:
|
|
18141
|
+
markdown: |
|
|
18142
|
+
# Hello World
|
|
18143
|
+
|
|
18144
|
+
This is a markdown document linking to [another page](/pages/page_id).
|
|
18145
|
+
ChangeRequestContentChangeInsertPage:
|
|
18146
|
+
type: object
|
|
18147
|
+
description: Insert a new page into the change request.
|
|
18148
|
+
required:
|
|
18149
|
+
- operation
|
|
18150
|
+
- title
|
|
18151
|
+
- document
|
|
18152
|
+
properties:
|
|
18153
|
+
operation:
|
|
18154
|
+
type: string
|
|
18155
|
+
enum:
|
|
18156
|
+
- insert_page
|
|
18157
|
+
title:
|
|
18158
|
+
type: string
|
|
18159
|
+
description: Title of the new page.
|
|
18160
|
+
into:
|
|
18161
|
+
type: string
|
|
18162
|
+
description: ID of the parent page to insert the new page into. If omitted, the page is inserted as a root page.
|
|
18163
|
+
at:
|
|
18164
|
+
type: integer
|
|
18165
|
+
minimum: 0
|
|
18166
|
+
description: Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end.
|
|
18167
|
+
document:
|
|
18168
|
+
$ref: "#/components/schemas/Document"
|
|
18169
|
+
example:
|
|
18170
|
+
operation: insert_page
|
|
18171
|
+
title: New page
|
|
18172
|
+
document:
|
|
18173
|
+
markdown: |
|
|
18174
|
+
# New page
|
|
18175
|
+
|
|
18176
|
+
This is a new page.
|
|
18177
|
+
ChangeRequestContentChangeDeletePage:
|
|
18178
|
+
type: object
|
|
18179
|
+
description: Delete an existing page (and its subpages) from the change request.
|
|
18180
|
+
required:
|
|
18181
|
+
- operation
|
|
18182
|
+
- page
|
|
18183
|
+
properties:
|
|
18184
|
+
operation:
|
|
18185
|
+
type: string
|
|
18186
|
+
enum:
|
|
18187
|
+
- delete_page
|
|
18188
|
+
page:
|
|
18189
|
+
type: string
|
|
18190
|
+
description: ID of the page to delete.
|
|
18191
|
+
example:
|
|
18192
|
+
operation: delete_page
|
|
18193
|
+
page: page_id
|
|
18194
|
+
ChangeRequestContentChange:
|
|
18195
|
+
oneOf:
|
|
18196
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
18197
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertPage"
|
|
18198
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
18199
|
+
discriminator:
|
|
18200
|
+
propertyName: operation
|
|
18201
|
+
mapping:
|
|
18202
|
+
update_page: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
18203
|
+
insert_page: "#/components/schemas/ChangeRequestContentChangeInsertPage"
|
|
18204
|
+
delete_page: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
17685
18205
|
RevisionPageType:
|
|
17686
18206
|
type: string
|
|
17687
18207
|
enum:
|
|
@@ -23556,15 +24076,6 @@ components:
|
|
|
23556
24076
|
required:
|
|
23557
24077
|
- default
|
|
23558
24078
|
- toggeable
|
|
23559
|
-
pdf:
|
|
23560
|
-
type: object
|
|
23561
|
-
properties:
|
|
23562
|
-
enabled:
|
|
23563
|
-
type: boolean
|
|
23564
|
-
deprecated: true
|
|
23565
|
-
description: "Deprecated: use `pageActions.items` instead. If true, PDF export is enabled for the published site. Kept in sync with the presence of `pdf` in `pageActions.items`."
|
|
23566
|
-
required:
|
|
23567
|
-
- enabled
|
|
23568
24079
|
feedback:
|
|
23569
24080
|
type: object
|
|
23570
24081
|
properties:
|
|
@@ -23590,47 +24101,21 @@ components:
|
|
|
23590
24101
|
description: If true, Advanced customization is enabled
|
|
23591
24102
|
required:
|
|
23592
24103
|
- enabled
|
|
23593
|
-
git:
|
|
23594
|
-
type: object
|
|
23595
|
-
properties:
|
|
23596
|
-
showEditLink:
|
|
23597
|
-
type: boolean
|
|
23598
|
-
deprecated: true
|
|
23599
|
-
description: "Deprecated: use `pageActions.items` instead. Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Kept in sync with the presence of `git` in `pageActions.items`."
|
|
23600
|
-
required:
|
|
23601
|
-
- showEditLink
|
|
23602
24104
|
pageActions:
|
|
23603
24105
|
type: object
|
|
23604
24106
|
properties:
|
|
23605
|
-
externalAI:
|
|
23606
|
-
type: boolean
|
|
23607
|
-
deprecated: true
|
|
23608
|
-
description: "Deprecated: use `items` instead. Whether actions to open ChatGPT, Anthropic, etc. should be available in the page menu. Kept in sync with the presence of `external-ai` in `items`."
|
|
23609
|
-
markdown:
|
|
23610
|
-
type: boolean
|
|
23611
|
-
deprecated: true
|
|
23612
|
-
description: "Deprecated: use `items` instead. Whether the copy and open the markdown version of the page should be available in the page menu. Kept in sync with the presence of `markdown` in `items`."
|
|
23613
|
-
mcp:
|
|
23614
|
-
type: boolean
|
|
23615
|
-
deprecated: true
|
|
23616
|
-
description: "Deprecated: use `items` instead. Whether an action to connect to the docs using the MCP server should be available in the page menu. Kept in sync with the presence of `mcp` in `items`."
|
|
23617
24107
|
items:
|
|
23618
24108
|
type: array
|
|
23619
24109
|
description: |
|
|
23620
24110
|
Ordered list of the page actions enabled in the page menu. This is the source of truth for
|
|
23621
24111
|
which actions are enabled and in which order: the position defines the display order, the
|
|
23622
24112
|
first action is the default one, surfaced as the main button on the page, and actions not
|
|
23623
|
-
present in the list are disabled.
|
|
23624
|
-
|
|
23625
|
-
|
|
23626
|
-
by default if missing, otherwise keeping its position) when the assistant is enabled, and
|
|
23627
|
-
always absent when it is disabled.
|
|
24113
|
+
present in the list are disabled. The `assistant` action is governed by the `ai.mode` setting
|
|
24114
|
+
rather than this list: it is always present (prepended by default if missing, otherwise
|
|
24115
|
+
keeping its position) when the assistant is enabled, and always absent when it is disabled.
|
|
23628
24116
|
items:
|
|
23629
24117
|
$ref: "#/components/schemas/CustomizationPageActionType"
|
|
23630
24118
|
required:
|
|
23631
|
-
- externalAI
|
|
23632
|
-
- markdown
|
|
23633
|
-
- mcp
|
|
23634
24119
|
- items
|
|
23635
24120
|
externalLinks:
|
|
23636
24121
|
type: object
|
|
@@ -23683,7 +24168,6 @@ components:
|
|
|
23683
24168
|
- header
|
|
23684
24169
|
- footer
|
|
23685
24170
|
- themes
|
|
23686
|
-
- pdf
|
|
23687
24171
|
- feedback
|
|
23688
24172
|
- ai
|
|
23689
24173
|
- advancedCustomization
|
|
@@ -23691,7 +24175,6 @@ components:
|
|
|
23691
24175
|
- externalLinks
|
|
23692
24176
|
- pagination
|
|
23693
24177
|
- pageActions
|
|
23694
|
-
- git
|
|
23695
24178
|
- privacyPolicy
|
|
23696
24179
|
- socialPreview
|
|
23697
24180
|
- socialAccounts
|
|
@@ -24020,6 +24503,7 @@ components:
|
|
|
24020
24503
|
- builtin:github-discussions
|
|
24021
24504
|
- builtin:github-issues
|
|
24022
24505
|
- builtin:intercom
|
|
24506
|
+
- builtin:zendesk
|
|
24023
24507
|
ContextRecordTitle:
|
|
24024
24508
|
type: string
|
|
24025
24509
|
description: Title for the context record
|
|
@@ -24635,6 +25119,31 @@ components:
|
|
|
24635
25119
|
required:
|
|
24636
25120
|
- connector
|
|
24637
25121
|
- setupSettings
|
|
25122
|
+
- type: object
|
|
25123
|
+
properties:
|
|
25124
|
+
connector:
|
|
25125
|
+
type: string
|
|
25126
|
+
enum:
|
|
25127
|
+
- builtin:zendesk
|
|
25128
|
+
setupSettings:
|
|
25129
|
+
type: object
|
|
25130
|
+
properties:
|
|
25131
|
+
subdomain:
|
|
25132
|
+
type: string
|
|
25133
|
+
minLength: 1
|
|
25134
|
+
email:
|
|
25135
|
+
type: string
|
|
25136
|
+
minLength: 1
|
|
25137
|
+
apiToken:
|
|
25138
|
+
type: string
|
|
25139
|
+
minLength: 1
|
|
25140
|
+
required:
|
|
25141
|
+
- subdomain
|
|
25142
|
+
- email
|
|
25143
|
+
- apiToken
|
|
25144
|
+
required:
|
|
25145
|
+
- connector
|
|
25146
|
+
- setupSettings
|
|
24638
25147
|
ContextConnection:
|
|
24639
25148
|
allOf:
|
|
24640
25149
|
- type: object
|
|
@@ -25514,6 +26023,40 @@ components:
|
|
|
25514
26023
|
- spaceId
|
|
25515
26024
|
- action
|
|
25516
26025
|
- changeRequest
|
|
26026
|
+
AIToolCallGetChangeRequestDetails:
|
|
26027
|
+
type: object
|
|
26028
|
+
properties:
|
|
26029
|
+
tool:
|
|
26030
|
+
type: string
|
|
26031
|
+
enum:
|
|
26032
|
+
- getChangeRequestDetails
|
|
26033
|
+
spaceId:
|
|
26034
|
+
type: string
|
|
26035
|
+
description: The ID of the space the change request belongs to.
|
|
26036
|
+
changeRequestId:
|
|
26037
|
+
type: string
|
|
26038
|
+
description: The ID of the change request.
|
|
26039
|
+
required:
|
|
26040
|
+
- tool
|
|
26041
|
+
- spaceId
|
|
26042
|
+
- changeRequestId
|
|
26043
|
+
AIToolCallSetChangeRequestDetails:
|
|
26044
|
+
type: object
|
|
26045
|
+
properties:
|
|
26046
|
+
tool:
|
|
26047
|
+
type: string
|
|
26048
|
+
enum:
|
|
26049
|
+
- setChangeRequestDetails
|
|
26050
|
+
spaceId:
|
|
26051
|
+
type: string
|
|
26052
|
+
description: The ID of the space the change request belongs to.
|
|
26053
|
+
changeRequestId:
|
|
26054
|
+
type: string
|
|
26055
|
+
description: The ID of the change request.
|
|
26056
|
+
required:
|
|
26057
|
+
- tool
|
|
26058
|
+
- spaceId
|
|
26059
|
+
- changeRequestId
|
|
25517
26060
|
AIToolCallComment:
|
|
25518
26061
|
type: object
|
|
25519
26062
|
properties:
|
|
@@ -25655,6 +26198,8 @@ components:
|
|
|
25655
26198
|
- $ref: "#/components/schemas/AIToolCallGetTags"
|
|
25656
26199
|
- $ref: "#/components/schemas/AIToolCallUpdateTags"
|
|
25657
26200
|
- $ref: "#/components/schemas/AIToolCallCreateChangeRequest"
|
|
26201
|
+
- $ref: "#/components/schemas/AIToolCallGetChangeRequestDetails"
|
|
26202
|
+
- $ref: "#/components/schemas/AIToolCallSetChangeRequestDetails"
|
|
25658
26203
|
- $ref: "#/components/schemas/AIToolCallComment"
|
|
25659
26204
|
- $ref: "#/components/schemas/AIToolCallReplyToComment"
|
|
25660
26205
|
- $ref: "#/components/schemas/AIToolCallSubmitChangeRequestReview"
|
|
@@ -26066,13 +26611,6 @@ components:
|
|
|
26066
26611
|
required:
|
|
26067
26612
|
- permission
|
|
26068
26613
|
- team
|
|
26069
|
-
AIMessageMode:
|
|
26070
|
-
type: string
|
|
26071
|
-
description: The mode influences the response time and quality of the AI's answer. Fast mode will prioritize quicker responses with potentially less well reasoned answers and normal mode will allow for more comprehensive responses at the cost of longer response time.
|
|
26072
|
-
default: normal
|
|
26073
|
-
enum:
|
|
26074
|
-
- normal
|
|
26075
|
-
- fast
|
|
26076
26614
|
AIMessageInput:
|
|
26077
26615
|
type: object
|
|
26078
26616
|
description: Input version of an AI message.
|
|
@@ -26090,8 +26628,6 @@ components:
|
|
|
26090
26628
|
type: array
|
|
26091
26629
|
items:
|
|
26092
26630
|
$ref: "#/components/schemas/AIAttachment"
|
|
26093
|
-
mode:
|
|
26094
|
-
$ref: "#/components/schemas/AIMessageMode"
|
|
26095
26631
|
required:
|
|
26096
26632
|
- role
|
|
26097
26633
|
- content
|
|
@@ -28910,6 +29446,49 @@ components:
|
|
|
28910
29446
|
- organizations
|
|
28911
29447
|
- collections
|
|
28912
29448
|
- spaces
|
|
29449
|
+
OrganizationBillingDateOverride:
|
|
29450
|
+
description: Date-based billing override value, either indefinite or a timestamp.
|
|
29451
|
+
oneOf:
|
|
29452
|
+
- type: boolean
|
|
29453
|
+
enum:
|
|
29454
|
+
- true
|
|
29455
|
+
- $ref: "#/components/schemas/Timestamp"
|
|
29456
|
+
OrganizationBillingNumericOverride:
|
|
29457
|
+
type: integer
|
|
29458
|
+
minimum: 0
|
|
29459
|
+
description: Current numeric billing override, when set.
|
|
29460
|
+
OrganizationBillingOverrides:
|
|
29461
|
+
type: object
|
|
29462
|
+
properties:
|
|
29463
|
+
overrides:
|
|
29464
|
+
type: object
|
|
29465
|
+
properties:
|
|
29466
|
+
frozenInterval:
|
|
29467
|
+
description: Current interval-change override, when set.
|
|
29468
|
+
$ref: "#/components/schemas/OrganizationBillingDateOverride"
|
|
29469
|
+
enableSAML:
|
|
29470
|
+
description: Current SAML override, when set.
|
|
29471
|
+
$ref: "#/components/schemas/OrganizationBillingDateOverride"
|
|
29472
|
+
minUsers:
|
|
29473
|
+
description: Current minimum users override, when set.
|
|
29474
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29475
|
+
maxUsers:
|
|
29476
|
+
description: Current maximum users override, when set.
|
|
29477
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29478
|
+
minPremiumSites:
|
|
29479
|
+
description: Current minimum premium sites override, when set.
|
|
29480
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29481
|
+
maxPremiumSites:
|
|
29482
|
+
description: Current maximum premium sites override, when set.
|
|
29483
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29484
|
+
minUltimateSites:
|
|
29485
|
+
description: Current minimum ultimate sites override, when set.
|
|
29486
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29487
|
+
maxUltimateSites:
|
|
29488
|
+
description: Current maximum ultimate sites override, when set.
|
|
29489
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
29490
|
+
required:
|
|
29491
|
+
- overrides
|
|
28913
29492
|
BackOfficeSite:
|
|
28914
29493
|
allOf:
|
|
28915
29494
|
- $ref: "#/components/schemas/Site"
|
|
@@ -29505,6 +30084,746 @@ components:
|
|
|
29505
30084
|
- completedTasks
|
|
29506
30085
|
- startedAt
|
|
29507
30086
|
- updatedAt
|
|
30087
|
+
GitSyncSiteStructureSectionGroup:
|
|
30088
|
+
type: object
|
|
30089
|
+
additionalProperties: false
|
|
30090
|
+
description: |
|
|
30091
|
+
A section group — a container that nests sections (and other section
|
|
30092
|
+
groups). Discriminated by `type: section-group`. Up to one level of nested
|
|
30093
|
+
section groups is allowed.
|
|
30094
|
+
properties:
|
|
30095
|
+
type:
|
|
30096
|
+
type: string
|
|
30097
|
+
enum:
|
|
30098
|
+
- section-group
|
|
30099
|
+
description: Discriminator for a section group node.
|
|
30100
|
+
key:
|
|
30101
|
+
type: string
|
|
30102
|
+
description: |
|
|
30103
|
+
Stable identifier for this section group, used as the Git Sync key.
|
|
30104
|
+
Must be unique amongst all other section groups of the site. For
|
|
30105
|
+
example: `section-group-product` or `section-group-1`.
|
|
30106
|
+
minLength: 1
|
|
30107
|
+
title:
|
|
30108
|
+
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
30109
|
+
localizedTitle:
|
|
30110
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
30111
|
+
icon:
|
|
30112
|
+
$ref: "#/components/schemas/Icon"
|
|
30113
|
+
draft:
|
|
30114
|
+
type: boolean
|
|
30115
|
+
description: Whether the section group is draft and not live.
|
|
30116
|
+
children:
|
|
30117
|
+
type: array
|
|
30118
|
+
description: Section or section group nodes nested under this group.
|
|
30119
|
+
items:
|
|
30120
|
+
oneOf:
|
|
30121
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSectionGroup"
|
|
30122
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSection"
|
|
30123
|
+
required:
|
|
30124
|
+
- type
|
|
30125
|
+
- key
|
|
30126
|
+
- title
|
|
30127
|
+
GitSyncSiteStructureSpace:
|
|
30128
|
+
type: object
|
|
30129
|
+
additionalProperties: false
|
|
30130
|
+
description: |
|
|
30131
|
+
A space — a single content unit in the site's navigation tree. Discriminated
|
|
30132
|
+
by `type: space`.
|
|
30133
|
+
|
|
30134
|
+
The space's content lives in the synced repository at the directory pointed
|
|
30135
|
+
to by `content.directory`. Hierarchy comes from where the space appears in
|
|
30136
|
+
the YAML (under a section, a section group, or at the root), not from an
|
|
30137
|
+
explicit parent reference.
|
|
30138
|
+
properties:
|
|
30139
|
+
type:
|
|
30140
|
+
type: string
|
|
30141
|
+
enum:
|
|
30142
|
+
- space
|
|
30143
|
+
description: Discriminator for a space node.
|
|
30144
|
+
key:
|
|
30145
|
+
type: string
|
|
30146
|
+
description: |
|
|
30147
|
+
Stable identifier for this space, used as the Git Sync key. Must be
|
|
30148
|
+
unique amongst all other spaces of the site. For example: `space-docs`
|
|
30149
|
+
or `space-1`.
|
|
30150
|
+
minLength: 1
|
|
30151
|
+
title:
|
|
30152
|
+
type: string
|
|
30153
|
+
minLength: 1
|
|
30154
|
+
localizedTitle:
|
|
30155
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
30156
|
+
path:
|
|
30157
|
+
$ref: "#/components/schemas/SiteSpacePath"
|
|
30158
|
+
default:
|
|
30159
|
+
type: boolean
|
|
30160
|
+
description: Whether this is the default space for the site.
|
|
30161
|
+
hidden:
|
|
30162
|
+
type: boolean
|
|
30163
|
+
description: Whether the space is hidden from the site's navigation.
|
|
30164
|
+
draft:
|
|
30165
|
+
type: boolean
|
|
30166
|
+
description: Whether the space is draft and not live.
|
|
30167
|
+
condition:
|
|
30168
|
+
$ref: "#/components/schemas/Expression"
|
|
30169
|
+
content:
|
|
30170
|
+
type: object
|
|
30171
|
+
additionalProperties: false
|
|
30172
|
+
description: Where the space's content lives in the synced repository.
|
|
30173
|
+
properties:
|
|
30174
|
+
directory:
|
|
30175
|
+
type: string
|
|
30176
|
+
description: Repository-relative directory containing this space's content.
|
|
30177
|
+
minLength: 1
|
|
30178
|
+
language:
|
|
30179
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
30180
|
+
required:
|
|
30181
|
+
- directory
|
|
30182
|
+
required:
|
|
30183
|
+
- type
|
|
30184
|
+
- key
|
|
30185
|
+
- title
|
|
30186
|
+
- path
|
|
30187
|
+
- content
|
|
30188
|
+
GitSyncSiteStructureSection:
|
|
30189
|
+
type: object
|
|
30190
|
+
additionalProperties: false
|
|
30191
|
+
description: |
|
|
30192
|
+
A section — a group of spaces sharing a top-level navigation entry.
|
|
30193
|
+
Discriminated by `type: section`.
|
|
30194
|
+
|
|
30195
|
+
Spaces inside a section are listed inline under `children`. A site with
|
|
30196
|
+
sections must mark exactly one section with `default: true`.
|
|
30197
|
+
properties:
|
|
30198
|
+
type:
|
|
30199
|
+
type: string
|
|
30200
|
+
enum:
|
|
30201
|
+
- section
|
|
30202
|
+
description: Discriminator for a section node.
|
|
30203
|
+
key:
|
|
30204
|
+
type: string
|
|
30205
|
+
description: |
|
|
30206
|
+
Stable identifier for this section, used as the Git Sync key. Must be
|
|
30207
|
+
unique amongst all other sections of the site. For example:
|
|
30208
|
+
`section-guides` or `section-1`.
|
|
30209
|
+
minLength: 1
|
|
30210
|
+
title:
|
|
30211
|
+
$ref: "#/components/schemas/SiteSectionTitle"
|
|
30212
|
+
localizedTitle:
|
|
30213
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
30214
|
+
description:
|
|
30215
|
+
$ref: "#/components/schemas/SiteSectionDescription"
|
|
30216
|
+
localizedDescription:
|
|
30217
|
+
$ref: "#/components/schemas/LocalizedString256"
|
|
30218
|
+
icon:
|
|
30219
|
+
$ref: "#/components/schemas/Icon"
|
|
30220
|
+
default:
|
|
30221
|
+
type: boolean
|
|
30222
|
+
description: Whether this is the default section for the site.
|
|
30223
|
+
draft:
|
|
30224
|
+
type: boolean
|
|
30225
|
+
description: Whether the section is draft and not live.
|
|
30226
|
+
path:
|
|
30227
|
+
$ref: "#/components/schemas/SiteSectionPath"
|
|
30228
|
+
condition:
|
|
30229
|
+
$ref: "#/components/schemas/Expression"
|
|
30230
|
+
children:
|
|
30231
|
+
type: array
|
|
30232
|
+
description: Space nodes nested under this section.
|
|
30233
|
+
items:
|
|
30234
|
+
$ref: "#/components/schemas/GitSyncSiteStructureSpace"
|
|
30235
|
+
required:
|
|
30236
|
+
- type
|
|
30237
|
+
- key
|
|
30238
|
+
- title
|
|
30239
|
+
- path
|
|
30240
|
+
GitSyncSiteStructureNode:
|
|
30241
|
+
description: |
|
|
30242
|
+
A single node in a Git Sync site structure tree — a section group, a
|
|
30243
|
+
section, or a space, discriminated by `type`.
|
|
30244
|
+
oneOf:
|
|
30245
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSectionGroup"
|
|
30246
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSection"
|
|
30247
|
+
- $ref: "#/components/schemas/GitSyncSiteStructureSpace"
|
|
30248
|
+
GitSyncSiteStructure:
|
|
30249
|
+
type: array
|
|
30250
|
+
description: |
|
|
30251
|
+
Hierarchical structure of a site in a Git Sync YAML. Each entry is one of
|
|
30252
|
+
three node types: a section group, a section, or a space.
|
|
30253
|
+
items:
|
|
30254
|
+
$ref: "#/components/schemas/GitSyncSiteStructureNode"
|
|
30255
|
+
GitSyncSiteCustomizationFontSource:
|
|
30256
|
+
type: string
|
|
30257
|
+
description: |
|
|
30258
|
+
Reserved repository-relative path to the font file:
|
|
30259
|
+
`.gitbook/assets/<key>-<weight>.<ext>`, where `<key>` is the parent
|
|
30260
|
+
font definition's `key`, `<weight>` is this face's `weight`, and
|
|
30261
|
+
`<ext>` is one of `woff2`, `woff`.
|
|
30262
|
+
|
|
30263
|
+
For example, a font with `key: brand` and a `700` face is read from
|
|
30264
|
+
`.gitbook/assets/brand-700.woff2`. Any other path is rejected.
|
|
30265
|
+
minLength: 1
|
|
30266
|
+
GitSyncSiteCustomizationFontDefinition:
|
|
30267
|
+
type: object
|
|
30268
|
+
description: |
|
|
30269
|
+
Custom font definition for a `site.fonts[]` entry. Referenced from
|
|
30270
|
+
`customization.styling.font` or `customization.styling.monospaceFont` via
|
|
30271
|
+
its `key`.
|
|
30272
|
+
|
|
30273
|
+
Rules enforced on a definition:
|
|
30274
|
+
- It must declare exactly one face for the `400` weight and one for the
|
|
30275
|
+
`700` weight; the `600` weight is optional. No other weights are allowed,
|
|
30276
|
+
and a weight may not be declared more than once.
|
|
30277
|
+
- Each face has a single source file whose `url` is the reserved repository
|
|
30278
|
+
asset path `.gitbook/assets/<key>-<weight>.<ext>` (`<ext>` is `woff2` or
|
|
30279
|
+
`woff`). For example a definition with `key: brand` is read from
|
|
30280
|
+
`.gitbook/assets/brand-400.woff2` and `.gitbook/assets/brand-700.woff2`.
|
|
30281
|
+
properties:
|
|
30282
|
+
key:
|
|
30283
|
+
type: string
|
|
30284
|
+
description: |
|
|
30285
|
+
Stable identifier referenced from `styling.font` /
|
|
30286
|
+
`styling.monospaceFont`, and used as the prefix of each face's
|
|
30287
|
+
reserved asset path (`.gitbook/assets/<key>-<weight>.<ext>`).
|
|
30288
|
+
minLength: 1
|
|
30289
|
+
pattern: ^[A-Za-z0-9][A-Za-z0-9_-]*$
|
|
30290
|
+
fontFamily:
|
|
30291
|
+
$ref: "#/components/schemas/FontFamily"
|
|
30292
|
+
fontFaces:
|
|
30293
|
+
type: object
|
|
30294
|
+
description: |
|
|
30295
|
+
Font-face declarations keyed by weight, each specifying its single
|
|
30296
|
+
source file. The `400` and `700` weights are required; `600` is
|
|
30297
|
+
optional.
|
|
30298
|
+
properties:
|
|
30299
|
+
"400":
|
|
30300
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
30301
|
+
"600":
|
|
30302
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
30303
|
+
"700":
|
|
30304
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFontSource"
|
|
30305
|
+
required:
|
|
30306
|
+
- "400"
|
|
30307
|
+
- "700"
|
|
30308
|
+
additionalProperties: false
|
|
30309
|
+
required:
|
|
30310
|
+
- key
|
|
30311
|
+
- fontFamily
|
|
30312
|
+
- fontFaces
|
|
30313
|
+
GitSyncSiteCustomizationThemedColor:
|
|
30314
|
+
type: object
|
|
30315
|
+
description: |
|
|
30316
|
+
Themed color (light + dark).
|
|
30317
|
+
properties:
|
|
30318
|
+
light:
|
|
30319
|
+
$ref: "#/components/schemas/Color"
|
|
30320
|
+
dark:
|
|
30321
|
+
$ref: "#/components/schemas/Color"
|
|
30322
|
+
required:
|
|
30323
|
+
- light
|
|
30324
|
+
- dark
|
|
30325
|
+
GitSyncSiteCustomizationTint:
|
|
30326
|
+
type: object
|
|
30327
|
+
description: |
|
|
30328
|
+
Tint configuration.
|
|
30329
|
+
properties:
|
|
30330
|
+
color:
|
|
30331
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30332
|
+
required:
|
|
30333
|
+
- color
|
|
30334
|
+
GitSyncSiteCustomizationFontReference:
|
|
30335
|
+
type: object
|
|
30336
|
+
description: |
|
|
30337
|
+
Reference to a custom font defined under `site.fonts[]`. Matches by `key`.
|
|
30338
|
+
properties:
|
|
30339
|
+
key:
|
|
30340
|
+
type: string
|
|
30341
|
+
description: Matches the `key` of an entry in `site.fonts[]`.
|
|
30342
|
+
minLength: 1
|
|
30343
|
+
required:
|
|
30344
|
+
- key
|
|
30345
|
+
GitSyncSiteCustomizationFont:
|
|
30346
|
+
description: |
|
|
30347
|
+
Body font for the site. Either one of the built-in `CustomizationDefaultFont`
|
|
30348
|
+
values, or a reference to a custom font declared in `site.fonts[]`.
|
|
30349
|
+
oneOf:
|
|
30350
|
+
- $ref: "#/components/schemas/CustomizationDefaultFont"
|
|
30351
|
+
- $ref: "#/components/schemas/GitSyncSiteCustomizationFontReference"
|
|
30352
|
+
GitSyncSiteCustomizationMonospaceFont:
|
|
30353
|
+
description: |
|
|
30354
|
+
Monospace font for the site. Either one of the built-in
|
|
30355
|
+
`CustomizationDefaultMonospaceFont` values, or a reference to a custom font
|
|
30356
|
+
declared in `site.fonts[]`.
|
|
30357
|
+
oneOf:
|
|
30358
|
+
- $ref: "#/components/schemas/CustomizationDefaultMonospaceFont"
|
|
30359
|
+
- $ref: "#/components/schemas/GitSyncSiteCustomizationFontReference"
|
|
30360
|
+
GitSyncSiteCustomizationThemedCodeTheme:
|
|
30361
|
+
type: object
|
|
30362
|
+
description: |
|
|
30363
|
+
Themed code theme (light + dark).
|
|
30364
|
+
properties:
|
|
30365
|
+
light:
|
|
30366
|
+
$ref: "#/components/schemas/CustomizationCodeTheme"
|
|
30367
|
+
dark:
|
|
30368
|
+
$ref: "#/components/schemas/CustomizationCodeTheme"
|
|
30369
|
+
required:
|
|
30370
|
+
- light
|
|
30371
|
+
- dark
|
|
30372
|
+
GitSyncSiteCustomizationCodeThemes:
|
|
30373
|
+
type: object
|
|
30374
|
+
description: |
|
|
30375
|
+
Code-block syntax-highlighting themes — one for default code blocks and one for OpenAPI request/response samples.
|
|
30376
|
+
properties:
|
|
30377
|
+
default:
|
|
30378
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
|
|
30379
|
+
openapi:
|
|
30380
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedCodeTheme"
|
|
30381
|
+
required:
|
|
30382
|
+
- default
|
|
30383
|
+
- openapi
|
|
30384
|
+
GitSyncSiteCustomizationSidebar:
|
|
30385
|
+
type: object
|
|
30386
|
+
description: |
|
|
30387
|
+
Sidebar style settings.
|
|
30388
|
+
properties:
|
|
30389
|
+
background:
|
|
30390
|
+
$ref: "#/components/schemas/CustomizationSidebarBackgroundStyle"
|
|
30391
|
+
list:
|
|
30392
|
+
$ref: "#/components/schemas/CustomizationSidebarListStyle"
|
|
30393
|
+
required:
|
|
30394
|
+
- background
|
|
30395
|
+
- list
|
|
30396
|
+
GitSyncSiteCustomizationStyling:
|
|
30397
|
+
type: object
|
|
30398
|
+
description: |
|
|
30399
|
+
Styling settings.
|
|
30400
|
+
properties:
|
|
30401
|
+
theme:
|
|
30402
|
+
$ref: "#/components/schemas/CustomizationTheme"
|
|
30403
|
+
primaryColor:
|
|
30404
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30405
|
+
tint:
|
|
30406
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationTint"
|
|
30407
|
+
infoColor:
|
|
30408
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30409
|
+
successColor:
|
|
30410
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30411
|
+
warningColor:
|
|
30412
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30413
|
+
dangerColor:
|
|
30414
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedColor"
|
|
30415
|
+
corners:
|
|
30416
|
+
$ref: "#/components/schemas/CustomizationCorners"
|
|
30417
|
+
depth:
|
|
30418
|
+
$ref: "#/components/schemas/CustomizationDepth"
|
|
30419
|
+
links:
|
|
30420
|
+
$ref: "#/components/schemas/CustomizationLinksStyle"
|
|
30421
|
+
font:
|
|
30422
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFont"
|
|
30423
|
+
monospaceFont:
|
|
30424
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationMonospaceFont"
|
|
30425
|
+
icons:
|
|
30426
|
+
$ref: "#/components/schemas/CustomizationIconsStyle"
|
|
30427
|
+
codeTheme:
|
|
30428
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationCodeThemes"
|
|
30429
|
+
sidebar:
|
|
30430
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationSidebar"
|
|
30431
|
+
search:
|
|
30432
|
+
$ref: "#/components/schemas/CustomizationSearchStyle"
|
|
30433
|
+
GitSyncSiteCustomizationAssetPath:
|
|
30434
|
+
type: string
|
|
30435
|
+
description: |
|
|
30436
|
+
Repository-relative path to an asset in a site Git Sync, e.g.
|
|
30437
|
+
`.gitbook/assets/header-logo-light.svg`. Absolute URLs are not accepted
|
|
30438
|
+
here — Git Sync assets must live in the synced repository under
|
|
30439
|
+
`.gitbook/assets/`.
|
|
30440
|
+
|
|
30441
|
+
This is the shared base type and only validates the `.gitbook/assets/`
|
|
30442
|
+
prefix. Each field that uses it additionally reserves a specific filename
|
|
30443
|
+
and set of allowed extensions (e.g. the header logo must be
|
|
30444
|
+
`header-logo-light.<ext>` / `header-logo-dark.<ext>`); see the description
|
|
30445
|
+
on the consuming field for the exact reserved path.
|
|
30446
|
+
pattern: ^\.gitbook/assets/.+
|
|
30447
|
+
maxLength: 2048
|
|
30448
|
+
GitSyncSiteCustomizationThemedAssetPath:
|
|
30449
|
+
type: object
|
|
30450
|
+
description: |
|
|
30451
|
+
Light/dark variants of a Git Sync repository asset path. Used for logos and
|
|
30452
|
+
favicons that switch with the active theme. Both variants are required.
|
|
30453
|
+
|
|
30454
|
+
Each consuming field reserves the exact light/dark filenames and allowed
|
|
30455
|
+
extensions (e.g. header logo → `header-logo-light.<ext>` /
|
|
30456
|
+
`header-logo-dark.<ext>`); see the description on the consuming field.
|
|
30457
|
+
properties:
|
|
30458
|
+
light:
|
|
30459
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
30460
|
+
dark:
|
|
30461
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
30462
|
+
required:
|
|
30463
|
+
- light
|
|
30464
|
+
- dark
|
|
30465
|
+
GitSyncSiteCustomizationFavicon:
|
|
30466
|
+
description: |
|
|
30467
|
+
Favicon for the published site. The `icon` variant references a repository asset path; the `emoji` variant uses a single emoji character;
|
|
30468
|
+
oneOf:
|
|
30469
|
+
- type: object
|
|
30470
|
+
properties:
|
|
30471
|
+
icon:
|
|
30472
|
+
description: |
|
|
30473
|
+
Themed favicon. Each variant must use its reserved repository
|
|
30474
|
+
asset path — light: `.gitbook/assets/favicon-light.<ext>`,
|
|
30475
|
+
dark: `.gitbook/assets/favicon-dark.<ext>`, where `<ext>` is
|
|
30476
|
+
the image's file extension (e.g. `png`, `svg`, `ico`). Any
|
|
30477
|
+
other filename is rejected.
|
|
30478
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
30479
|
+
required:
|
|
30480
|
+
- icon
|
|
30481
|
+
- type: object
|
|
30482
|
+
properties:
|
|
30483
|
+
emoji:
|
|
30484
|
+
$ref: "#/components/schemas/Emoji"
|
|
30485
|
+
required:
|
|
30486
|
+
- emoji
|
|
30487
|
+
GitSyncSiteCustomizationContentLinkTo:
|
|
30488
|
+
type: string
|
|
30489
|
+
description: |
|
|
30490
|
+
Link destination, written as a path-string in YAML. Same format as
|
|
30491
|
+
markdown content links, e.g. `https://example.com`, `/pages/<id>`,
|
|
30492
|
+
`/spaces/<id>/pages/<id>`, `#anchor`, `/files/<id>`, `/spaces/<id>`.
|
|
30493
|
+
GitSyncSiteCustomizationContentLink:
|
|
30494
|
+
type: object
|
|
30495
|
+
description: |
|
|
30496
|
+
A label plus a destination, used inside header items, footer groups, and announcements.
|
|
30497
|
+
properties:
|
|
30498
|
+
title:
|
|
30499
|
+
$ref: "#/components/schemas/CustomizationContentLinkTitle"
|
|
30500
|
+
localizedTitle:
|
|
30501
|
+
description: Localized overrides for the link title, keyed by locale.
|
|
30502
|
+
$ref: "#/components/schemas/LocalizedString64"
|
|
30503
|
+
to:
|
|
30504
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
30505
|
+
required:
|
|
30506
|
+
- title
|
|
30507
|
+
- to
|
|
30508
|
+
GitSyncSiteCustomizationHeaderItem:
|
|
30509
|
+
type: object
|
|
30510
|
+
description: |
|
|
30511
|
+
A single item in the published site's top navigation bar.
|
|
30512
|
+
properties:
|
|
30513
|
+
title:
|
|
30514
|
+
type: string
|
|
30515
|
+
localizedTitle:
|
|
30516
|
+
description: Localized overrides for the header item title, keyed by locale.
|
|
30517
|
+
$ref: "#/components/schemas/LocalizedString"
|
|
30518
|
+
style:
|
|
30519
|
+
type: string
|
|
30520
|
+
enum:
|
|
30521
|
+
- link
|
|
30522
|
+
- button-primary
|
|
30523
|
+
- button-secondary
|
|
30524
|
+
to:
|
|
30525
|
+
description: |
|
|
30526
|
+
Header item destination. Use `null` for items that act as a
|
|
30527
|
+
dropdown root without a link of their own.
|
|
30528
|
+
oneOf:
|
|
30529
|
+
- $ref: "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
30530
|
+
- type: "null"
|
|
30531
|
+
links:
|
|
30532
|
+
type: array
|
|
30533
|
+
description: Sub-links shown as a dropdown under this header item. Empty array means no dropdown.
|
|
30534
|
+
items:
|
|
30535
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
30536
|
+
condition:
|
|
30537
|
+
description: Conditional expression evaluated to decide whether the item is shown to the visitor.
|
|
30538
|
+
$ref: "#/components/schemas/Expression"
|
|
30539
|
+
required:
|
|
30540
|
+
- title
|
|
30541
|
+
- to
|
|
30542
|
+
- links
|
|
30543
|
+
GitSyncSiteCustomizationHeader:
|
|
30544
|
+
type: object
|
|
30545
|
+
description: |
|
|
30546
|
+
Header settings.
|
|
30547
|
+
properties:
|
|
30548
|
+
logo:
|
|
30549
|
+
description: |
|
|
30550
|
+
Themed header logo. Each variant must use its reserved repository
|
|
30551
|
+
asset path — light: `.gitbook/assets/header-logo-light.<ext>`, dark:
|
|
30552
|
+
`.gitbook/assets/header-logo-dark.<ext>`, where `<ext>` is the
|
|
30553
|
+
image's file extension (e.g. `png`, `svg`). Any other filename is
|
|
30554
|
+
rejected.
|
|
30555
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
30556
|
+
primaryLink:
|
|
30557
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLinkTo"
|
|
30558
|
+
links:
|
|
30559
|
+
type: array
|
|
30560
|
+
items:
|
|
30561
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationHeaderItem"
|
|
30562
|
+
GitSyncSiteCustomizationFooterGroup:
|
|
30563
|
+
type: object
|
|
30564
|
+
description: |
|
|
30565
|
+
A group of links shown in the published site's footer.
|
|
30566
|
+
properties:
|
|
30567
|
+
title:
|
|
30568
|
+
type: string
|
|
30569
|
+
localizedTitle:
|
|
30570
|
+
description: Localized overrides for the footer group title, keyed by locale.
|
|
30571
|
+
$ref: "#/components/schemas/LocalizedString"
|
|
30572
|
+
links:
|
|
30573
|
+
type: array
|
|
30574
|
+
items:
|
|
30575
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
30576
|
+
required:
|
|
30577
|
+
- title
|
|
30578
|
+
- links
|
|
30579
|
+
GitSyncSiteCustomizationFooter:
|
|
30580
|
+
type: object
|
|
30581
|
+
description: |
|
|
30582
|
+
Footer settings.
|
|
30583
|
+
properties:
|
|
30584
|
+
logo:
|
|
30585
|
+
description: |
|
|
30586
|
+
Themed footer logo. Each variant must use its reserved repository
|
|
30587
|
+
asset path — light: `.gitbook/assets/footer-logo-light.<ext>`, dark:
|
|
30588
|
+
`.gitbook/assets/footer-logo-dark.<ext>`, where `<ext>` is the
|
|
30589
|
+
image's file extension (e.g. `png`, `svg`). Any other filename is
|
|
30590
|
+
rejected.
|
|
30591
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemedAssetPath"
|
|
30592
|
+
groups:
|
|
30593
|
+
type: array
|
|
30594
|
+
items:
|
|
30595
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFooterGroup"
|
|
30596
|
+
copyright:
|
|
30597
|
+
type: string
|
|
30598
|
+
maxLength: 300
|
|
30599
|
+
GitSyncSiteCustomizationAnnouncement:
|
|
30600
|
+
type: object
|
|
30601
|
+
description: |
|
|
30602
|
+
Announcement banner shown above the published site.
|
|
30603
|
+
properties:
|
|
30604
|
+
enabled:
|
|
30605
|
+
description: Whether to show the site's announcement.
|
|
30606
|
+
type: boolean
|
|
30607
|
+
message:
|
|
30608
|
+
$ref: "#/components/schemas/CustomizationAnnouncementMessage"
|
|
30609
|
+
localizedMessage:
|
|
30610
|
+
description: Localized overrides for the announcement message, keyed by locale.
|
|
30611
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
30612
|
+
link:
|
|
30613
|
+
description: The content or URL the announcement links to when clicked.
|
|
30614
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationContentLink"
|
|
30615
|
+
style:
|
|
30616
|
+
description: Semantic style of the announcement banner.
|
|
30617
|
+
type: string
|
|
30618
|
+
enum:
|
|
30619
|
+
- info
|
|
30620
|
+
- warning
|
|
30621
|
+
- danger
|
|
30622
|
+
- success
|
|
30623
|
+
required:
|
|
30624
|
+
- enabled
|
|
30625
|
+
- message
|
|
30626
|
+
- style
|
|
30627
|
+
GitSyncSiteCustomizationThemeModes:
|
|
30628
|
+
type: object
|
|
30629
|
+
description: |
|
|
30630
|
+
Dark/light theme mode settings.
|
|
30631
|
+
properties:
|
|
30632
|
+
default:
|
|
30633
|
+
$ref: "#/components/schemas/CustomizationDefaultThemeMode"
|
|
30634
|
+
toggeable:
|
|
30635
|
+
description: Whether readers can switch between dark and light mode.
|
|
30636
|
+
type: boolean
|
|
30637
|
+
required:
|
|
30638
|
+
- default
|
|
30639
|
+
- toggeable
|
|
30640
|
+
GitSyncSiteCustomizationFeedback:
|
|
30641
|
+
type: object
|
|
30642
|
+
description: |
|
|
30643
|
+
Reader feedback settings.
|
|
30644
|
+
properties:
|
|
30645
|
+
enabled:
|
|
30646
|
+
type: boolean
|
|
30647
|
+
description: Whether reader feedback gathering is enabled.
|
|
30648
|
+
required:
|
|
30649
|
+
- enabled
|
|
30650
|
+
GitSyncSiteCustomizationAI:
|
|
30651
|
+
type: object
|
|
30652
|
+
description: |
|
|
30653
|
+
AI assistant settings.
|
|
30654
|
+
properties:
|
|
30655
|
+
mode:
|
|
30656
|
+
$ref: "#/components/schemas/CustomizationAIMode"
|
|
30657
|
+
suggestions:
|
|
30658
|
+
$ref: "#/components/schemas/CustomizationSuggestedQuestions"
|
|
30659
|
+
required:
|
|
30660
|
+
- mode
|
|
30661
|
+
GitSyncSiteCustomizationPageActions:
|
|
30662
|
+
type: array
|
|
30663
|
+
description: |
|
|
30664
|
+
Ordered page-level action buttons exposed in the published site's page menu.
|
|
30665
|
+
uniqueItems: true
|
|
30666
|
+
items:
|
|
30667
|
+
$ref: "#/components/schemas/CustomizationPageActionType"
|
|
30668
|
+
GitSyncSiteCustomizationExternalLinks:
|
|
30669
|
+
type: object
|
|
30670
|
+
description: |
|
|
30671
|
+
External link behavior.
|
|
30672
|
+
properties:
|
|
30673
|
+
target:
|
|
30674
|
+
$ref: "#/components/schemas/SiteExternalLinksTarget"
|
|
30675
|
+
required:
|
|
30676
|
+
- target
|
|
30677
|
+
GitSyncSiteCustomizationPagination:
|
|
30678
|
+
type: object
|
|
30679
|
+
description: |
|
|
30680
|
+
Pagination navigation settings.
|
|
30681
|
+
properties:
|
|
30682
|
+
enabled:
|
|
30683
|
+
type: boolean
|
|
30684
|
+
description: Whether the prev/next pagination navigation is shown on pages.
|
|
30685
|
+
required:
|
|
30686
|
+
- enabled
|
|
30687
|
+
GitSyncSiteCustomizationPrivacyPolicy:
|
|
30688
|
+
type: object
|
|
30689
|
+
description: |
|
|
30690
|
+
Privacy policy link shown on the published site.
|
|
30691
|
+
properties:
|
|
30692
|
+
url:
|
|
30693
|
+
$ref: "#/components/schemas/URL"
|
|
30694
|
+
GitSyncSiteCustomizationSocialPreview:
|
|
30695
|
+
type: object
|
|
30696
|
+
description: |
|
|
30697
|
+
Social preview asset.
|
|
30698
|
+
properties:
|
|
30699
|
+
url:
|
|
30700
|
+
description: |
|
|
30701
|
+
Reserved repository asset path for the social preview image:
|
|
30702
|
+
`.gitbook/assets/social-preview.<ext>`, where `<ext>` is the
|
|
30703
|
+
image's file extension (e.g. `png`, `jpg`). Any other filename is
|
|
30704
|
+
rejected.
|
|
30705
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAssetPath"
|
|
30706
|
+
GitSyncSiteCustomizationSocialAccount:
|
|
30707
|
+
type: object
|
|
30708
|
+
description: |
|
|
30709
|
+
A single social account entry.
|
|
30710
|
+
properties:
|
|
30711
|
+
platform:
|
|
30712
|
+
$ref: "#/components/schemas/SiteSocialAccountPlatform"
|
|
30713
|
+
handle:
|
|
30714
|
+
$ref: "#/components/schemas/SiteSocialAccountHandle"
|
|
30715
|
+
display:
|
|
30716
|
+
type: object
|
|
30717
|
+
properties:
|
|
30718
|
+
footer:
|
|
30719
|
+
type: boolean
|
|
30720
|
+
header:
|
|
30721
|
+
type: boolean
|
|
30722
|
+
required:
|
|
30723
|
+
- footer
|
|
30724
|
+
- header
|
|
30725
|
+
required:
|
|
30726
|
+
- platform
|
|
30727
|
+
- handle
|
|
30728
|
+
- display
|
|
30729
|
+
GitSyncSiteCustomizationInsights:
|
|
30730
|
+
type: object
|
|
30731
|
+
description: |
|
|
30732
|
+
Visitor insights settings.
|
|
30733
|
+
properties:
|
|
30734
|
+
trackingCookie:
|
|
30735
|
+
type: boolean
|
|
30736
|
+
description: Whether GitBook identifies visitors on the site using a cookie.
|
|
30737
|
+
required:
|
|
30738
|
+
- trackingCookie
|
|
30739
|
+
GitSyncSiteCustomization:
|
|
30740
|
+
type: object
|
|
30741
|
+
description: |
|
|
30742
|
+
Customization settings for the published site, authored in `docs.yaml`.
|
|
30743
|
+
|
|
30744
|
+
Every top-level field is optional — a Git Sync YAML is a **sparse override** of
|
|
30745
|
+
the live customization. Fields you don't include stay at whatever the site
|
|
30746
|
+
has as default.
|
|
30747
|
+
|
|
30748
|
+
Custom fonts referenced from `styling.font` / `styling.monospaceFont` must
|
|
30749
|
+
have a matching definition under `site.fonts[]`.
|
|
30750
|
+
properties:
|
|
30751
|
+
publishedTitle:
|
|
30752
|
+
description: Title to use for the published site. If omitted, falls back to the default site title.
|
|
30753
|
+
$ref: "#/components/schemas/SiteTitle"
|
|
30754
|
+
localizedPublishedTitles:
|
|
30755
|
+
description: Localized titles for the published site, keyed by locale.
|
|
30756
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
30757
|
+
styling:
|
|
30758
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationStyling"
|
|
30759
|
+
favicon:
|
|
30760
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFavicon"
|
|
30761
|
+
header:
|
|
30762
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationHeader"
|
|
30763
|
+
footer:
|
|
30764
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFooter"
|
|
30765
|
+
announcement:
|
|
30766
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAnnouncement"
|
|
30767
|
+
themeModes:
|
|
30768
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationThemeModes"
|
|
30769
|
+
feedback:
|
|
30770
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFeedback"
|
|
30771
|
+
ai:
|
|
30772
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationAI"
|
|
30773
|
+
pageActions:
|
|
30774
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationPageActions"
|
|
30775
|
+
externalLinks:
|
|
30776
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationExternalLinks"
|
|
30777
|
+
pagination:
|
|
30778
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationPagination"
|
|
30779
|
+
privacyPolicy:
|
|
30780
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationPrivacyPolicy"
|
|
30781
|
+
socialPreview:
|
|
30782
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationSocialPreview"
|
|
30783
|
+
socialAccounts:
|
|
30784
|
+
type: array
|
|
30785
|
+
description: Social accounts to surface on the site.
|
|
30786
|
+
items:
|
|
30787
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationSocialAccount"
|
|
30788
|
+
maxItems: 10
|
|
30789
|
+
insights:
|
|
30790
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationInsights"
|
|
30791
|
+
GitSyncSiteConfig:
|
|
30792
|
+
type: object
|
|
30793
|
+
description: |
|
|
30794
|
+
Schema for a site `docs.yaml` file — the canonical contract for what
|
|
30795
|
+
can be authored in Git Sync to drive a site's customization and structure.
|
|
30796
|
+
properties:
|
|
30797
|
+
version:
|
|
30798
|
+
type: integer
|
|
30799
|
+
description: |
|
|
30800
|
+
Reserved for future use. When a breaking schema change ships, this
|
|
30801
|
+
field lets the parser branch on the version; absence means v1.
|
|
30802
|
+
enum:
|
|
30803
|
+
- 1
|
|
30804
|
+
default: 1
|
|
30805
|
+
site:
|
|
30806
|
+
type: object
|
|
30807
|
+
additionalProperties: false
|
|
30808
|
+
properties:
|
|
30809
|
+
title:
|
|
30810
|
+
type: string
|
|
30811
|
+
description: Display title for the site.
|
|
30812
|
+
minLength: 1
|
|
30813
|
+
structure:
|
|
30814
|
+
$ref: "#/components/schemas/GitSyncSiteStructure"
|
|
30815
|
+
fonts:
|
|
30816
|
+
type: array
|
|
30817
|
+
description: Custom font definitions referenced from `site.customization.styling`.
|
|
30818
|
+
items:
|
|
30819
|
+
$ref: "#/components/schemas/GitSyncSiteCustomizationFontDefinition"
|
|
30820
|
+
customization:
|
|
30821
|
+
$ref: "#/components/schemas/GitSyncSiteCustomization"
|
|
30822
|
+
required:
|
|
30823
|
+
- title
|
|
30824
|
+
- structure
|
|
30825
|
+
required:
|
|
30826
|
+
- site
|
|
29508
30827
|
IntegrationEnvironmentSpaceInstallation:
|
|
29509
30828
|
allOf:
|
|
29510
30829
|
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
@@ -31003,6 +32322,57 @@ components:
|
|
|
31003
32322
|
- idle
|
|
31004
32323
|
- processing
|
|
31005
32324
|
- errored
|
|
32325
|
+
AgentActivity:
|
|
32326
|
+
type: object
|
|
32327
|
+
description: |
|
|
32328
|
+
Describes what the agent is currently doing while processing, used to display a live activity indicator in the conversation.
|
|
32329
|
+
properties:
|
|
32330
|
+
type:
|
|
32331
|
+
type: string
|
|
32332
|
+
description: |
|
|
32333
|
+
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.
|
|
32334
|
+
enum:
|
|
32335
|
+
- thinking
|
|
32336
|
+
- tool
|
|
32337
|
+
- responding
|
|
32338
|
+
tool:
|
|
32339
|
+
type: string
|
|
32340
|
+
description: |
|
|
32341
|
+
When `type` is `tool`, the name of the tool being called (matches `AIToolCall.tool`).
|
|
32342
|
+
required:
|
|
32343
|
+
- type
|
|
32344
|
+
AgentQuestionOption:
|
|
32345
|
+
type: object
|
|
32346
|
+
description: An option the user can pick when answering a question asked by the agent.
|
|
32347
|
+
properties:
|
|
32348
|
+
label:
|
|
32349
|
+
type: string
|
|
32350
|
+
description: Short label for the option, displayed as a button and used as the answer.
|
|
32351
|
+
description:
|
|
32352
|
+
type: string
|
|
32353
|
+
description: Optional longer description to clarify what the option means.
|
|
32354
|
+
required:
|
|
32355
|
+
- label
|
|
32356
|
+
AgentPendingQuestion:
|
|
32357
|
+
type: object
|
|
32358
|
+
description: |
|
|
32359
|
+
A question the agent is waiting for the user to answer. While set, the client replaces the prompt with a choice control. The user can pick one of the options or answer with a custom free-text message; either way the answer resolves the pending tool call.
|
|
32360
|
+
properties:
|
|
32361
|
+
toolCallId:
|
|
32362
|
+
type: string
|
|
32363
|
+
description: ID of the tool call this question resolves, used to continue the conversation.
|
|
32364
|
+
question:
|
|
32365
|
+
type: string
|
|
32366
|
+
description: The question to display to the user.
|
|
32367
|
+
options:
|
|
32368
|
+
type: array
|
|
32369
|
+
description: The options the user can choose from.
|
|
32370
|
+
items:
|
|
32371
|
+
$ref: "#/components/schemas/AgentQuestionOption"
|
|
32372
|
+
required:
|
|
32373
|
+
- toolCallId
|
|
32374
|
+
- question
|
|
32375
|
+
- options
|
|
31006
32376
|
AgentState:
|
|
31007
32377
|
type: object
|
|
31008
32378
|
properties:
|
|
@@ -31018,6 +32388,14 @@ components:
|
|
|
31018
32388
|
description: List of messages sent by the users queued to processed.
|
|
31019
32389
|
items:
|
|
31020
32390
|
$ref: "#/components/schemas/AIMessageInput"
|
|
32391
|
+
activity:
|
|
32392
|
+
$ref: "#/components/schemas/AgentActivity"
|
|
32393
|
+
description: |
|
|
32394
|
+
What the agent is currently doing. Only set while the agent is processing.
|
|
32395
|
+
pendingQuestion:
|
|
32396
|
+
$ref: "#/components/schemas/AgentPendingQuestion"
|
|
32397
|
+
description: |
|
|
32398
|
+
A question the agent is waiting for the user to answer. While set, the client replaces the prompt with a choice control.
|
|
31021
32399
|
required:
|
|
31022
32400
|
- status
|
|
31023
32401
|
- suggestions
|