@gitbook/api 0.185.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 +92 -67
- package/dist/constants.d.ts +0 -1
- package/dist/index.cjs +1 -11
- package/dist/index.js +1 -9
- package/package.json +1 -1
- package/spec/openapi.json +500 -93
- package/spec/openapi.yaml +360 -71
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:
|
|
@@ -1919,6 +1957,7 @@ paths:
|
|
|
1919
1957
|
get:
|
|
1920
1958
|
operationId: listChangeRequestConversations
|
|
1921
1959
|
summary: List the agent conversations of a change request
|
|
1960
|
+
x-gitbook-mcp: true
|
|
1922
1961
|
tags:
|
|
1923
1962
|
- change-request-conversations
|
|
1924
1963
|
security:
|
|
@@ -1948,6 +1987,7 @@ paths:
|
|
|
1948
1987
|
patch:
|
|
1949
1988
|
operationId: updateChangeRequestConversation
|
|
1950
1989
|
summary: Update an agent conversation
|
|
1990
|
+
x-gitbook-mcp: true
|
|
1951
1991
|
tags:
|
|
1952
1992
|
- change-request-conversations
|
|
1953
1993
|
security:
|
|
@@ -1993,6 +2033,7 @@ paths:
|
|
|
1993
2033
|
get:
|
|
1994
2034
|
operationId: listChangeRequestLinks
|
|
1995
2035
|
summary: List all change request links
|
|
2036
|
+
x-gitbook-mcp: true
|
|
1996
2037
|
tags:
|
|
1997
2038
|
- change-requests-links
|
|
1998
2039
|
- links
|
|
@@ -2043,6 +2084,7 @@ paths:
|
|
|
2043
2084
|
get:
|
|
2044
2085
|
operationId: listCommentsInChangeRequest
|
|
2045
2086
|
summary: List all change request comments
|
|
2087
|
+
x-gitbook-mcp: true
|
|
2046
2088
|
tags:
|
|
2047
2089
|
- change-request-comments
|
|
2048
2090
|
security:
|
|
@@ -2076,6 +2118,7 @@ paths:
|
|
|
2076
2118
|
post:
|
|
2077
2119
|
operationId: postCommentInChangeRequest
|
|
2078
2120
|
summary: Create a change request comment
|
|
2121
|
+
x-gitbook-mcp: true
|
|
2079
2122
|
tags:
|
|
2080
2123
|
- change-request-comments
|
|
2081
2124
|
security:
|
|
@@ -2100,6 +2143,7 @@ paths:
|
|
|
2100
2143
|
get:
|
|
2101
2144
|
operationId: getCommentInChangeRequest
|
|
2102
2145
|
summary: Get a change request comment
|
|
2146
|
+
x-gitbook-mcp: true
|
|
2103
2147
|
tags:
|
|
2104
2148
|
- change-request-comments
|
|
2105
2149
|
security:
|
|
@@ -2135,6 +2179,7 @@ paths:
|
|
|
2135
2179
|
put:
|
|
2136
2180
|
operationId: updateCommentInChangeRequest
|
|
2137
2181
|
summary: Update a change request comment
|
|
2182
|
+
x-gitbook-mcp: true
|
|
2138
2183
|
tags:
|
|
2139
2184
|
- change-request-comments
|
|
2140
2185
|
security:
|
|
@@ -2160,6 +2205,7 @@ paths:
|
|
|
2160
2205
|
get:
|
|
2161
2206
|
operationId: listCommentRepliesInChangeRequest
|
|
2162
2207
|
summary: List all change request comment replies
|
|
2208
|
+
x-gitbook-mcp: true
|
|
2163
2209
|
tags:
|
|
2164
2210
|
- change-request-comments
|
|
2165
2211
|
security:
|
|
@@ -2190,6 +2236,7 @@ paths:
|
|
|
2190
2236
|
post:
|
|
2191
2237
|
operationId: postCommentReplyInChangeRequest
|
|
2192
2238
|
summary: Create a change request comment reply
|
|
2239
|
+
x-gitbook-mcp: true
|
|
2193
2240
|
tags:
|
|
2194
2241
|
- change-request-comments
|
|
2195
2242
|
security:
|
|
@@ -2216,6 +2263,7 @@ paths:
|
|
|
2216
2263
|
get:
|
|
2217
2264
|
operationId: getCommentReplyInChangeRequest
|
|
2218
2265
|
summary: Get a change request comment reply
|
|
2266
|
+
x-gitbook-mcp: true
|
|
2219
2267
|
tags:
|
|
2220
2268
|
- change-request-comments
|
|
2221
2269
|
security:
|
|
@@ -2236,6 +2284,7 @@ paths:
|
|
|
2236
2284
|
put:
|
|
2237
2285
|
operationId: updateCommentReplyInChangeRequest
|
|
2238
2286
|
summary: Update a change request comment reply
|
|
2287
|
+
x-gitbook-mcp: true
|
|
2239
2288
|
tags:
|
|
2240
2289
|
- change-request-comments
|
|
2241
2290
|
security:
|
|
@@ -2279,6 +2328,7 @@ paths:
|
|
|
2279
2328
|
get:
|
|
2280
2329
|
operationId: getContributorsByChangeRequestId
|
|
2281
2330
|
summary: Get all contribors of a change request
|
|
2331
|
+
x-gitbook-mcp: true
|
|
2282
2332
|
tags:
|
|
2283
2333
|
- change-request-contributors
|
|
2284
2334
|
security:
|
|
@@ -2309,6 +2359,7 @@ paths:
|
|
|
2309
2359
|
get:
|
|
2310
2360
|
operationId: getRevisionOfChangeRequestById
|
|
2311
2361
|
summary: Get a change request the latest content revision
|
|
2362
|
+
x-gitbook-mcp: true
|
|
2312
2363
|
tags:
|
|
2313
2364
|
- change-request-content
|
|
2314
2365
|
security:
|
|
@@ -2327,10 +2378,12 @@ paths:
|
|
|
2327
2378
|
$ref: "#/components/schemas/Revision"
|
|
2328
2379
|
post:
|
|
2329
2380
|
operationId: updateChangeRequestContent
|
|
2330
|
-
summary:
|
|
2331
|
-
|
|
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.
|
|
2332
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.
|
|
2333
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
|
|
2334
2387
|
tags:
|
|
2335
2388
|
- change-request-content
|
|
2336
2389
|
security:
|
|
@@ -2367,6 +2420,7 @@ paths:
|
|
|
2367
2420
|
get:
|
|
2368
2421
|
operationId: listPagesInChangeRequest
|
|
2369
2422
|
summary: List all change request pages
|
|
2423
|
+
x-gitbook-mcp: true
|
|
2370
2424
|
tags:
|
|
2371
2425
|
- change-request-content
|
|
2372
2426
|
security:
|
|
@@ -2394,6 +2448,7 @@ paths:
|
|
|
2394
2448
|
get:
|
|
2395
2449
|
operationId: listFilesInChangeRequestById
|
|
2396
2450
|
summary: List all change request files
|
|
2451
|
+
x-gitbook-mcp: true
|
|
2397
2452
|
tags:
|
|
2398
2453
|
- change-request-content
|
|
2399
2454
|
security:
|
|
@@ -2425,6 +2480,7 @@ paths:
|
|
|
2425
2480
|
get:
|
|
2426
2481
|
operationId: getFileInChangeRequestById
|
|
2427
2482
|
summary: Get a change request file by its ID
|
|
2483
|
+
x-gitbook-mcp: true
|
|
2428
2484
|
tags:
|
|
2429
2485
|
- change-request-content
|
|
2430
2486
|
security:
|
|
@@ -2446,6 +2502,7 @@ paths:
|
|
|
2446
2502
|
get:
|
|
2447
2503
|
operationId: listChangeRequestFileBacklinks
|
|
2448
2504
|
summary: List all backlink locations of a change request file
|
|
2505
|
+
x-gitbook-mcp: true
|
|
2449
2506
|
tags:
|
|
2450
2507
|
- change-request-content
|
|
2451
2508
|
security:
|
|
@@ -2476,6 +2533,7 @@ paths:
|
|
|
2476
2533
|
get:
|
|
2477
2534
|
operationId: getPageInChangeRequestById
|
|
2478
2535
|
summary: Get a change request page by its ID
|
|
2536
|
+
x-gitbook-mcp: true
|
|
2479
2537
|
tags:
|
|
2480
2538
|
- change-request-content
|
|
2481
2539
|
security:
|
|
@@ -2501,6 +2559,7 @@ paths:
|
|
|
2501
2559
|
get:
|
|
2502
2560
|
operationId: listPageLinksInChangeRequest
|
|
2503
2561
|
summary: List all change request links
|
|
2562
|
+
x-gitbook-mcp: true
|
|
2504
2563
|
tags:
|
|
2505
2564
|
- change-request-content
|
|
2506
2565
|
- critical
|
|
@@ -2535,6 +2594,7 @@ paths:
|
|
|
2535
2594
|
get:
|
|
2536
2595
|
operationId: listChangeRequestPageBacklinks
|
|
2537
2596
|
summary: List all backlink locations of a change request page
|
|
2597
|
+
x-gitbook-mcp: true
|
|
2538
2598
|
tags:
|
|
2539
2599
|
- change-request-content
|
|
2540
2600
|
security:
|
|
@@ -2565,6 +2625,7 @@ paths:
|
|
|
2565
2625
|
get:
|
|
2566
2626
|
operationId: listChangeRequestPageMetaLinks
|
|
2567
2627
|
summary: List all meta links of a change request page
|
|
2628
|
+
x-gitbook-mcp: true
|
|
2568
2629
|
tags:
|
|
2569
2630
|
- change-request-content
|
|
2570
2631
|
security:
|
|
@@ -2584,6 +2645,7 @@ paths:
|
|
|
2584
2645
|
get:
|
|
2585
2646
|
operationId: getReusableContentInChangeRequestById
|
|
2586
2647
|
summary: Get a change request reusable content by its ID
|
|
2648
|
+
x-gitbook-mcp: true
|
|
2587
2649
|
tags:
|
|
2588
2650
|
- change-request-content
|
|
2589
2651
|
security:
|
|
@@ -2605,6 +2667,7 @@ paths:
|
|
|
2605
2667
|
get:
|
|
2606
2668
|
operationId: getChangeRequestChanges
|
|
2607
2669
|
summary: Get change request semantic changes
|
|
2670
|
+
x-gitbook-mcp: true
|
|
2608
2671
|
description: Return the semantic changes between a change request and its base revision.
|
|
2609
2672
|
tags:
|
|
2610
2673
|
- change-request-content
|
|
@@ -2633,6 +2696,7 @@ paths:
|
|
|
2633
2696
|
get:
|
|
2634
2697
|
operationId: getChangeRequestPDF
|
|
2635
2698
|
summary: Get a URL of the content of a change request as PDF
|
|
2699
|
+
x-gitbook-mcp: true
|
|
2636
2700
|
tags:
|
|
2637
2701
|
- change-requests
|
|
2638
2702
|
security:
|
|
@@ -2667,6 +2731,7 @@ paths:
|
|
|
2667
2731
|
get:
|
|
2668
2732
|
operationId: getRevisionById
|
|
2669
2733
|
summary: Get a space revision
|
|
2734
|
+
x-gitbook-mcp: true
|
|
2670
2735
|
tags:
|
|
2671
2736
|
- space-content
|
|
2672
2737
|
security:
|
|
@@ -2689,6 +2754,7 @@ paths:
|
|
|
2689
2754
|
get:
|
|
2690
2755
|
operationId: getRevisionSemanticChanges
|
|
2691
2756
|
summary: Get space revision semantic changes
|
|
2757
|
+
x-gitbook-mcp: true
|
|
2692
2758
|
description: Return the semantic changes between a revision and its parent.
|
|
2693
2759
|
tags:
|
|
2694
2760
|
- space-content
|
|
@@ -2717,6 +2783,7 @@ paths:
|
|
|
2717
2783
|
/spaces/{spaceId}/revisions/{revisionId}/pages:
|
|
2718
2784
|
get:
|
|
2719
2785
|
summary: List all pages in a space revision
|
|
2786
|
+
x-gitbook-mcp: true
|
|
2720
2787
|
operationId: listPagesInRevisionById
|
|
2721
2788
|
tags:
|
|
2722
2789
|
- space-content
|
|
@@ -2744,6 +2811,7 @@ paths:
|
|
|
2744
2811
|
/spaces/{spaceId}/revisions/{revisionId}/files:
|
|
2745
2812
|
get:
|
|
2746
2813
|
summary: List all space revision files
|
|
2814
|
+
x-gitbook-mcp: true
|
|
2747
2815
|
operationId: listFilesInRevisionById
|
|
2748
2816
|
tags:
|
|
2749
2817
|
- space-content
|
|
@@ -2775,6 +2843,7 @@ paths:
|
|
|
2775
2843
|
/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}:
|
|
2776
2844
|
get:
|
|
2777
2845
|
summary: Get a space revision file by its ID
|
|
2846
|
+
x-gitbook-mcp: true
|
|
2778
2847
|
operationId: getFileInRevisionById
|
|
2779
2848
|
tags:
|
|
2780
2849
|
- space-content
|
|
@@ -2797,6 +2866,7 @@ paths:
|
|
|
2797
2866
|
get:
|
|
2798
2867
|
operationId: getPageInRevisionById
|
|
2799
2868
|
summary: Get a space revision page by its ID
|
|
2869
|
+
x-gitbook-mcp: true
|
|
2800
2870
|
tags:
|
|
2801
2871
|
- space-content
|
|
2802
2872
|
security:
|
|
@@ -2824,6 +2894,7 @@ paths:
|
|
|
2824
2894
|
get:
|
|
2825
2895
|
operationId: getPageDocumentInRevisionById
|
|
2826
2896
|
summary: Get the document of a page in a revision
|
|
2897
|
+
x-gitbook-mcp: true
|
|
2827
2898
|
tags:
|
|
2828
2899
|
- space-content
|
|
2829
2900
|
security:
|
|
@@ -2845,6 +2916,7 @@ paths:
|
|
|
2845
2916
|
get:
|
|
2846
2917
|
operationId: getPageInRevisionByPath
|
|
2847
2918
|
summary: Get a space revision page by its path
|
|
2919
|
+
x-gitbook-mcp: true
|
|
2848
2920
|
tags:
|
|
2849
2921
|
- space-content
|
|
2850
2922
|
security:
|
|
@@ -2872,6 +2944,7 @@ paths:
|
|
|
2872
2944
|
get:
|
|
2873
2945
|
operationId: listRevisionPageMetaLinks
|
|
2874
2946
|
summary: List all meta links for a revision page
|
|
2947
|
+
x-gitbook-mcp: true
|
|
2875
2948
|
tags:
|
|
2876
2949
|
- space-content
|
|
2877
2950
|
security:
|
|
@@ -2891,6 +2964,7 @@ paths:
|
|
|
2891
2964
|
get:
|
|
2892
2965
|
operationId: getPageInChangeRequestByPath
|
|
2893
2966
|
summary: Get a change request page by its path
|
|
2967
|
+
x-gitbook-mcp: true
|
|
2894
2968
|
tags:
|
|
2895
2969
|
- change-request-content
|
|
2896
2970
|
security:
|
|
@@ -2918,6 +2992,7 @@ paths:
|
|
|
2918
2992
|
get:
|
|
2919
2993
|
operationId: getReusableContentInRevisionById
|
|
2920
2994
|
summary: Get a space revision reusable content by its ID
|
|
2995
|
+
x-gitbook-mcp: true
|
|
2921
2996
|
tags:
|
|
2922
2997
|
- space-content
|
|
2923
2998
|
security:
|
|
@@ -2939,6 +3014,7 @@ paths:
|
|
|
2939
3014
|
get:
|
|
2940
3015
|
operationId: getReusableContentDocumentInRevisionById
|
|
2941
3016
|
summary: Get the document of a reusable content in a revision
|
|
3017
|
+
x-gitbook-mcp: true
|
|
2942
3018
|
tags:
|
|
2943
3019
|
- space-content
|
|
2944
3020
|
security:
|
|
@@ -2960,6 +3036,7 @@ paths:
|
|
|
2960
3036
|
get:
|
|
2961
3037
|
operationId: listCommentsInSpace
|
|
2962
3038
|
summary: List all space comments
|
|
3039
|
+
x-gitbook-mcp: true
|
|
2963
3040
|
tags:
|
|
2964
3041
|
- space-comments
|
|
2965
3042
|
- critical
|
|
@@ -2993,6 +3070,7 @@ paths:
|
|
|
2993
3070
|
post:
|
|
2994
3071
|
operationId: postCommentInSpace
|
|
2995
3072
|
summary: Create a space comment
|
|
3073
|
+
x-gitbook-mcp: true
|
|
2996
3074
|
tags:
|
|
2997
3075
|
- space-comments
|
|
2998
3076
|
security:
|
|
@@ -3016,6 +3094,7 @@ paths:
|
|
|
3016
3094
|
get:
|
|
3017
3095
|
operationId: getCommentInSpace
|
|
3018
3096
|
summary: Get a space comment
|
|
3097
|
+
x-gitbook-mcp: true
|
|
3019
3098
|
tags:
|
|
3020
3099
|
- space-comments
|
|
3021
3100
|
security:
|
|
@@ -3049,6 +3128,7 @@ paths:
|
|
|
3049
3128
|
put:
|
|
3050
3129
|
operationId: updateCommentInSpace
|
|
3051
3130
|
summary: Update a space comment
|
|
3131
|
+
x-gitbook-mcp: true
|
|
3052
3132
|
tags:
|
|
3053
3133
|
- space-comments
|
|
3054
3134
|
security:
|
|
@@ -3073,6 +3153,7 @@ paths:
|
|
|
3073
3153
|
get:
|
|
3074
3154
|
operationId: listCommentRepliesInSpace
|
|
3075
3155
|
summary: List all space comment replies
|
|
3156
|
+
x-gitbook-mcp: true
|
|
3076
3157
|
tags:
|
|
3077
3158
|
- space-comment
|
|
3078
3159
|
security:
|
|
@@ -3102,6 +3183,7 @@ paths:
|
|
|
3102
3183
|
post:
|
|
3103
3184
|
operationId: postCommentReplyInSpace
|
|
3104
3185
|
summary: Create a space comment reply
|
|
3186
|
+
x-gitbook-mcp: true
|
|
3105
3187
|
tags:
|
|
3106
3188
|
- space-comments
|
|
3107
3189
|
security:
|
|
@@ -3126,6 +3208,7 @@ paths:
|
|
|
3126
3208
|
get:
|
|
3127
3209
|
operationId: getCommentReplyInSpace
|
|
3128
3210
|
summary: Get a space comment reply
|
|
3211
|
+
x-gitbook-mcp: true
|
|
3129
3212
|
tags:
|
|
3130
3213
|
- space-comments
|
|
3131
3214
|
security:
|
|
@@ -3145,6 +3228,7 @@ paths:
|
|
|
3145
3228
|
put:
|
|
3146
3229
|
operationId: updateCommentReplyInSpace
|
|
3147
3230
|
summary: Update a space comment reply
|
|
3231
|
+
x-gitbook-mcp: true
|
|
3148
3232
|
tags:
|
|
3149
3233
|
- space-comments
|
|
3150
3234
|
security:
|
|
@@ -3186,6 +3270,7 @@ paths:
|
|
|
3186
3270
|
get:
|
|
3187
3271
|
operationId: listCommentersInSpace
|
|
3188
3272
|
summary: List all users who commented in a space
|
|
3273
|
+
x-gitbook-mcp: true
|
|
3189
3274
|
tags:
|
|
3190
3275
|
- space-comments
|
|
3191
3276
|
- critical
|
|
@@ -3215,6 +3300,7 @@ paths:
|
|
|
3215
3300
|
get:
|
|
3216
3301
|
operationId: listCommentersInChangeRequest
|
|
3217
3302
|
summary: List all users who commented in a CR
|
|
3303
|
+
x-gitbook-mcp: true
|
|
3218
3304
|
tags:
|
|
3219
3305
|
- change-request-comments
|
|
3220
3306
|
- critical
|
|
@@ -3278,6 +3364,7 @@ paths:
|
|
|
3278
3364
|
get:
|
|
3279
3365
|
operationId: listSpaceIntegrations
|
|
3280
3366
|
summary: List integrations enabled in a space
|
|
3367
|
+
x-gitbook-mcp: true
|
|
3281
3368
|
tags:
|
|
3282
3369
|
- space-integrations
|
|
3283
3370
|
security:
|
|
@@ -3305,6 +3392,7 @@ paths:
|
|
|
3305
3392
|
get:
|
|
3306
3393
|
operationId: listSpaceIntegrationsBlocks
|
|
3307
3394
|
summary: List all space integrations blocks
|
|
3395
|
+
x-gitbook-mcp: true
|
|
3308
3396
|
tags:
|
|
3309
3397
|
- space-integrations
|
|
3310
3398
|
parameters:
|
|
@@ -3322,6 +3410,7 @@ paths:
|
|
|
3322
3410
|
get:
|
|
3323
3411
|
operationId: getSpacePDF
|
|
3324
3412
|
summary: Get a URL of the content of a space as PDF
|
|
3413
|
+
x-gitbook-mcp: true
|
|
3325
3414
|
tags:
|
|
3326
3415
|
- space-content
|
|
3327
3416
|
security:
|
|
@@ -3355,6 +3444,7 @@ paths:
|
|
|
3355
3444
|
get:
|
|
3356
3445
|
operationId: listSpaceLinks
|
|
3357
3446
|
summary: Get all links in a space including their status and location where they appear.
|
|
3447
|
+
x-gitbook-mcp: true
|
|
3358
3448
|
tags:
|
|
3359
3449
|
- spaces
|
|
3360
3450
|
- links
|
|
@@ -3399,6 +3489,8 @@ paths:
|
|
|
3399
3489
|
- collections
|
|
3400
3490
|
security:
|
|
3401
3491
|
- user: []
|
|
3492
|
+
- oauth:
|
|
3493
|
+
- space:read
|
|
3402
3494
|
parameters:
|
|
3403
3495
|
- $ref: "#/components/parameters/collectionId"
|
|
3404
3496
|
responses:
|
|
@@ -3415,6 +3507,8 @@ paths:
|
|
|
3415
3507
|
- collections
|
|
3416
3508
|
security:
|
|
3417
3509
|
- user: []
|
|
3510
|
+
- oauth:
|
|
3511
|
+
- space:write
|
|
3418
3512
|
parameters:
|
|
3419
3513
|
- $ref: "#/components/parameters/collectionId"
|
|
3420
3514
|
requestBody:
|
|
@@ -3444,6 +3538,8 @@ paths:
|
|
|
3444
3538
|
- collections
|
|
3445
3539
|
security:
|
|
3446
3540
|
- user: []
|
|
3541
|
+
- oauth:
|
|
3542
|
+
- space:write
|
|
3447
3543
|
parameters:
|
|
3448
3544
|
- $ref: "#/components/parameters/collectionId"
|
|
3449
3545
|
responses:
|
|
@@ -3459,6 +3555,8 @@ paths:
|
|
|
3459
3555
|
- collections
|
|
3460
3556
|
security:
|
|
3461
3557
|
- user: []
|
|
3558
|
+
- oauth:
|
|
3559
|
+
- space:read
|
|
3462
3560
|
parameters:
|
|
3463
3561
|
- $ref: "#/components/parameters/collectionId"
|
|
3464
3562
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -3487,6 +3585,8 @@ paths:
|
|
|
3487
3585
|
- collections
|
|
3488
3586
|
security:
|
|
3489
3587
|
- user: []
|
|
3588
|
+
- oauth:
|
|
3589
|
+
- space:write
|
|
3490
3590
|
parameters:
|
|
3491
3591
|
- $ref: "#/components/parameters/collectionId"
|
|
3492
3592
|
requestBody:
|
|
@@ -3529,6 +3629,8 @@ paths:
|
|
|
3529
3629
|
- collections
|
|
3530
3630
|
security:
|
|
3531
3631
|
- user: []
|
|
3632
|
+
- oauth:
|
|
3633
|
+
- space:write
|
|
3532
3634
|
parameters:
|
|
3533
3635
|
- $ref: "#/components/parameters/collectionId"
|
|
3534
3636
|
requestBody:
|
|
@@ -3567,6 +3669,8 @@ paths:
|
|
|
3567
3669
|
- collection-permissions
|
|
3568
3670
|
security:
|
|
3569
3671
|
- user: []
|
|
3672
|
+
- oauth:
|
|
3673
|
+
- space:permissions:write
|
|
3570
3674
|
parameters:
|
|
3571
3675
|
- $ref: "#/components/parameters/collectionId"
|
|
3572
3676
|
responses:
|
|
@@ -3589,6 +3693,8 @@ paths:
|
|
|
3589
3693
|
- collection-permissions
|
|
3590
3694
|
security:
|
|
3591
3695
|
- user: []
|
|
3696
|
+
- oauth:
|
|
3697
|
+
- space:permissions:read
|
|
3592
3698
|
parameters:
|
|
3593
3699
|
- $ref: "#/components/parameters/collectionId"
|
|
3594
3700
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -3626,6 +3732,8 @@ paths:
|
|
|
3626
3732
|
- collection-permissions
|
|
3627
3733
|
security:
|
|
3628
3734
|
- user: []
|
|
3735
|
+
- oauth:
|
|
3736
|
+
- space:permissions:write
|
|
3629
3737
|
parameters:
|
|
3630
3738
|
- $ref: "#/components/parameters/collectionId"
|
|
3631
3739
|
- $ref: "#/components/parameters/teamId"
|
|
@@ -3651,6 +3759,8 @@ paths:
|
|
|
3651
3759
|
- collection-permissions
|
|
3652
3760
|
security:
|
|
3653
3761
|
- user: []
|
|
3762
|
+
- oauth:
|
|
3763
|
+
- space:permissions:write
|
|
3654
3764
|
parameters:
|
|
3655
3765
|
- $ref: "#/components/parameters/collectionId"
|
|
3656
3766
|
- $ref: "#/components/parameters/teamId"
|
|
@@ -3667,6 +3777,8 @@ paths:
|
|
|
3667
3777
|
- collection-permissions
|
|
3668
3778
|
security:
|
|
3669
3779
|
- user: []
|
|
3780
|
+
- oauth:
|
|
3781
|
+
- space:permissions:read
|
|
3670
3782
|
parameters:
|
|
3671
3783
|
- $ref: "#/components/parameters/collectionId"
|
|
3672
3784
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -3698,6 +3810,8 @@ paths:
|
|
|
3698
3810
|
- collection-permissions
|
|
3699
3811
|
security:
|
|
3700
3812
|
- user: []
|
|
3813
|
+
- oauth:
|
|
3814
|
+
- space:permissions:write
|
|
3701
3815
|
parameters:
|
|
3702
3816
|
- $ref: "#/components/parameters/collectionId"
|
|
3703
3817
|
- $ref: "#/components/parameters/userId"
|
|
@@ -3723,6 +3837,8 @@ paths:
|
|
|
3723
3837
|
- collection-permissions
|
|
3724
3838
|
security:
|
|
3725
3839
|
- user: []
|
|
3840
|
+
- oauth:
|
|
3841
|
+
- space:permissions:write
|
|
3726
3842
|
parameters:
|
|
3727
3843
|
- $ref: "#/components/parameters/collectionId"
|
|
3728
3844
|
- $ref: "#/components/parameters/userId"
|
|
@@ -3739,6 +3855,8 @@ paths:
|
|
|
3739
3855
|
- space-permissions
|
|
3740
3856
|
security:
|
|
3741
3857
|
- user: []
|
|
3858
|
+
- oauth:
|
|
3859
|
+
- space:permissions:read
|
|
3742
3860
|
parameters:
|
|
3743
3861
|
- $ref: "#/components/parameters/collectionId"
|
|
3744
3862
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -5324,6 +5442,7 @@ paths:
|
|
|
5324
5442
|
get:
|
|
5325
5443
|
operationId: listChangeRequestsForOrganization
|
|
5326
5444
|
summary: List all change requests in an organization
|
|
5445
|
+
x-gitbook-mcp: true
|
|
5327
5446
|
tags:
|
|
5328
5447
|
- change-requests
|
|
5329
5448
|
security:
|
|
@@ -5412,6 +5531,7 @@ paths:
|
|
|
5412
5531
|
get:
|
|
5413
5532
|
operationId: listSpacesInOrganizationById
|
|
5414
5533
|
summary: List all spaces
|
|
5534
|
+
x-gitbook-mcp: true
|
|
5415
5535
|
tags:
|
|
5416
5536
|
- spaces
|
|
5417
5537
|
security:
|
|
@@ -5440,6 +5560,7 @@ paths:
|
|
|
5440
5560
|
post:
|
|
5441
5561
|
operationId: createSpace
|
|
5442
5562
|
summary: Create a space
|
|
5563
|
+
x-gitbook-mcp: true
|
|
5443
5564
|
tags:
|
|
5444
5565
|
- spaces
|
|
5445
5566
|
security:
|
|
@@ -5471,6 +5592,8 @@ paths:
|
|
|
5471
5592
|
- collections
|
|
5472
5593
|
security:
|
|
5473
5594
|
- user: []
|
|
5595
|
+
- oauth:
|
|
5596
|
+
- space:read
|
|
5474
5597
|
parameters:
|
|
5475
5598
|
- $ref: "#/components/parameters/organizationId"
|
|
5476
5599
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -5504,6 +5627,8 @@ paths:
|
|
|
5504
5627
|
- collections
|
|
5505
5628
|
security:
|
|
5506
5629
|
- user: []
|
|
5630
|
+
- oauth:
|
|
5631
|
+
- space:write
|
|
5507
5632
|
parameters:
|
|
5508
5633
|
- $ref: "#/components/parameters/organizationId"
|
|
5509
5634
|
requestBody:
|
|
@@ -5932,6 +6057,8 @@ paths:
|
|
|
5932
6057
|
- openapi
|
|
5933
6058
|
security:
|
|
5934
6059
|
- user: []
|
|
6060
|
+
- oauth:
|
|
6061
|
+
- openapi:read
|
|
5935
6062
|
parameters:
|
|
5936
6063
|
- $ref: "#/components/parameters/organizationId"
|
|
5937
6064
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -5959,6 +6086,8 @@ paths:
|
|
|
5959
6086
|
- openapi
|
|
5960
6087
|
security:
|
|
5961
6088
|
- user: []
|
|
6089
|
+
- oauth:
|
|
6090
|
+
- openapi:write
|
|
5962
6091
|
parameters:
|
|
5963
6092
|
- $ref: "#/components/parameters/organizationId"
|
|
5964
6093
|
requestBody:
|
|
@@ -5992,6 +6121,8 @@ paths:
|
|
|
5992
6121
|
- openapi
|
|
5993
6122
|
security:
|
|
5994
6123
|
- user: []
|
|
6124
|
+
- oauth:
|
|
6125
|
+
- openapi:read
|
|
5995
6126
|
parameters:
|
|
5996
6127
|
- $ref: "#/components/parameters/organizationId"
|
|
5997
6128
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6012,6 +6143,8 @@ paths:
|
|
|
6012
6143
|
- openapi
|
|
6013
6144
|
security:
|
|
6014
6145
|
- user: []
|
|
6146
|
+
- oauth:
|
|
6147
|
+
- openapi:write
|
|
6015
6148
|
parameters:
|
|
6016
6149
|
- $ref: "#/components/parameters/organizationId"
|
|
6017
6150
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6048,6 +6181,8 @@ paths:
|
|
|
6048
6181
|
- openapi
|
|
6049
6182
|
security:
|
|
6050
6183
|
- user: []
|
|
6184
|
+
- oauth:
|
|
6185
|
+
- openapi:write
|
|
6051
6186
|
parameters:
|
|
6052
6187
|
- $ref: "#/components/parameters/organizationId"
|
|
6053
6188
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6081,6 +6216,8 @@ paths:
|
|
|
6081
6216
|
- openapi
|
|
6082
6217
|
security:
|
|
6083
6218
|
- user: []
|
|
6219
|
+
- oauth:
|
|
6220
|
+
- openapi:write
|
|
6084
6221
|
parameters:
|
|
6085
6222
|
- $ref: "#/components/parameters/organizationId"
|
|
6086
6223
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6097,6 +6234,8 @@ paths:
|
|
|
6097
6234
|
- openapi-versions
|
|
6098
6235
|
security:
|
|
6099
6236
|
- user: []
|
|
6237
|
+
- oauth:
|
|
6238
|
+
- openapi:read
|
|
6100
6239
|
parameters:
|
|
6101
6240
|
- $ref: "#/components/parameters/organizationId"
|
|
6102
6241
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6129,6 +6268,8 @@ paths:
|
|
|
6129
6268
|
- openapi-versions
|
|
6130
6269
|
security:
|
|
6131
6270
|
- user: []
|
|
6271
|
+
- oauth:
|
|
6272
|
+
- openapi:read
|
|
6132
6273
|
parameters:
|
|
6133
6274
|
- $ref: "#/components/parameters/organizationId"
|
|
6134
6275
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6150,6 +6291,8 @@ paths:
|
|
|
6150
6291
|
- openapi-versions
|
|
6151
6292
|
security:
|
|
6152
6293
|
- user: []
|
|
6294
|
+
- oauth:
|
|
6295
|
+
- openapi:read
|
|
6153
6296
|
parameters:
|
|
6154
6297
|
- $ref: "#/components/parameters/organizationId"
|
|
6155
6298
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6171,6 +6314,8 @@ paths:
|
|
|
6171
6314
|
- openapi-versions
|
|
6172
6315
|
security:
|
|
6173
6316
|
- user: []
|
|
6317
|
+
- oauth:
|
|
6318
|
+
- openapi:read
|
|
6174
6319
|
parameters:
|
|
6175
6320
|
- $ref: "#/components/parameters/organizationId"
|
|
6176
6321
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6193,6 +6338,8 @@ paths:
|
|
|
6193
6338
|
- openapi-versions
|
|
6194
6339
|
security:
|
|
6195
6340
|
- user: []
|
|
6341
|
+
- oauth:
|
|
6342
|
+
- openapi:read
|
|
6196
6343
|
parameters:
|
|
6197
6344
|
- $ref: "#/components/parameters/organizationId"
|
|
6198
6345
|
- $ref: "#/components/parameters/openapiSpecSlug"
|
|
@@ -6740,6 +6887,7 @@ paths:
|
|
|
6740
6887
|
get:
|
|
6741
6888
|
operationId: listSites
|
|
6742
6889
|
summary: List all sites
|
|
6890
|
+
x-gitbook-mcp: true
|
|
6743
6891
|
tags:
|
|
6744
6892
|
- sites
|
|
6745
6893
|
- critical
|
|
@@ -6794,6 +6942,7 @@ paths:
|
|
|
6794
6942
|
post:
|
|
6795
6943
|
operationId: createSite
|
|
6796
6944
|
summary: Create a site
|
|
6945
|
+
x-gitbook-mcp: true
|
|
6797
6946
|
tags:
|
|
6798
6947
|
- sites
|
|
6799
6948
|
security:
|
|
@@ -6834,6 +6983,7 @@ paths:
|
|
|
6834
6983
|
get:
|
|
6835
6984
|
operationId: getSiteById
|
|
6836
6985
|
summary: Get a site by its ID
|
|
6986
|
+
x-gitbook-mcp: true
|
|
6837
6987
|
tags:
|
|
6838
6988
|
- sites
|
|
6839
6989
|
parameters:
|
|
@@ -6852,6 +7002,7 @@ paths:
|
|
|
6852
7002
|
patch:
|
|
6853
7003
|
operationId: updateSiteById
|
|
6854
7004
|
summary: Update a site
|
|
7005
|
+
x-gitbook-mcp: true
|
|
6855
7006
|
tags:
|
|
6856
7007
|
- sites
|
|
6857
7008
|
security:
|
|
@@ -6948,6 +7099,7 @@ paths:
|
|
|
6948
7099
|
get:
|
|
6949
7100
|
operationId: getSiteAdaptiveSchema
|
|
6950
7101
|
summary: Get the JSON schema describing the attributes expected for an Adaptive content site visitor.
|
|
7102
|
+
x-gitbook-mcp: true
|
|
6951
7103
|
tags:
|
|
6952
7104
|
- sites
|
|
6953
7105
|
security:
|
|
@@ -6972,6 +7124,7 @@ paths:
|
|
|
6972
7124
|
put:
|
|
6973
7125
|
operationId: updateSiteAdaptiveSchema
|
|
6974
7126
|
summary: Update the JSON schema of the attributes expected for an Adaptive content site visitor.
|
|
7127
|
+
x-gitbook-mcp: true
|
|
6975
7128
|
tags:
|
|
6976
7129
|
- sites
|
|
6977
7130
|
security:
|
|
@@ -7008,6 +7161,7 @@ paths:
|
|
|
7008
7161
|
get:
|
|
7009
7162
|
operationId: listSiteAdaptiveTemplateConditions
|
|
7010
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
|
|
7011
7165
|
tags:
|
|
7012
7166
|
- sites
|
|
7013
7167
|
parameters:
|
|
@@ -7031,6 +7185,7 @@ paths:
|
|
|
7031
7185
|
get:
|
|
7032
7186
|
operationId: getPublishedContentSite
|
|
7033
7187
|
summary: Get a published site
|
|
7188
|
+
x-gitbook-mcp: true
|
|
7034
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.
|
|
7035
7190
|
tags:
|
|
7036
7191
|
- sites
|
|
@@ -7054,6 +7209,7 @@ paths:
|
|
|
7054
7209
|
post:
|
|
7055
7210
|
operationId: publishSite
|
|
7056
7211
|
summary: Publish a site
|
|
7212
|
+
x-gitbook-mcp: true
|
|
7057
7213
|
tags:
|
|
7058
7214
|
- sites
|
|
7059
7215
|
security:
|
|
@@ -7086,6 +7242,7 @@ paths:
|
|
|
7086
7242
|
post:
|
|
7087
7243
|
operationId: unpublishSite
|
|
7088
7244
|
summary: Unpublish a site
|
|
7245
|
+
x-gitbook-mcp: true
|
|
7089
7246
|
tags:
|
|
7090
7247
|
- sites
|
|
7091
7248
|
security:
|
|
@@ -7104,6 +7261,7 @@ paths:
|
|
|
7104
7261
|
get:
|
|
7105
7262
|
operationId: listSiteShareLinks
|
|
7106
7263
|
summary: List all share links
|
|
7264
|
+
x-gitbook-mcp: true
|
|
7107
7265
|
tags:
|
|
7108
7266
|
- site-share-links
|
|
7109
7267
|
security:
|
|
@@ -7137,6 +7295,7 @@ paths:
|
|
|
7137
7295
|
post:
|
|
7138
7296
|
operationId: createSiteShareLink
|
|
7139
7297
|
summary: Create a share link
|
|
7298
|
+
x-gitbook-mcp: true
|
|
7140
7299
|
tags:
|
|
7141
7300
|
- site-share-links
|
|
7142
7301
|
security:
|
|
@@ -7171,6 +7330,7 @@ paths:
|
|
|
7171
7330
|
patch:
|
|
7172
7331
|
operationId: updateSiteShareLinkById
|
|
7173
7332
|
summary: Update a share link
|
|
7333
|
+
x-gitbook-mcp: true
|
|
7174
7334
|
tags:
|
|
7175
7335
|
- site-share-links
|
|
7176
7336
|
security:
|
|
@@ -7218,6 +7378,7 @@ paths:
|
|
|
7218
7378
|
get:
|
|
7219
7379
|
operationId: getSiteStructure
|
|
7220
7380
|
summary: Get a site structure
|
|
7381
|
+
x-gitbook-mcp: true
|
|
7221
7382
|
description: Get the complete structure of a site that includes all its site-sections and site-spaces.
|
|
7222
7383
|
tags:
|
|
7223
7384
|
- site-structure
|
|
@@ -7241,6 +7402,7 @@ paths:
|
|
|
7241
7402
|
patch:
|
|
7242
7403
|
operationId: sortSiteStructure
|
|
7243
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
|
|
7244
7406
|
tags:
|
|
7245
7407
|
- sites
|
|
7246
7408
|
security:
|
|
@@ -7282,6 +7444,7 @@ paths:
|
|
|
7282
7444
|
get:
|
|
7283
7445
|
operationId: getSitePublishingAuthById
|
|
7284
7446
|
summary: Get a site auth config
|
|
7447
|
+
x-gitbook-mcp: true
|
|
7285
7448
|
tags:
|
|
7286
7449
|
- site-publishing-auth
|
|
7287
7450
|
security:
|
|
@@ -7301,6 +7464,7 @@ paths:
|
|
|
7301
7464
|
patch:
|
|
7302
7465
|
operationId: updateSitePublishingAuthById
|
|
7303
7466
|
summary: Update a site auth config
|
|
7467
|
+
x-gitbook-mcp: true
|
|
7304
7468
|
tags:
|
|
7305
7469
|
- site-publishing-auth
|
|
7306
7470
|
security:
|
|
@@ -7327,6 +7491,7 @@ paths:
|
|
|
7327
7491
|
post:
|
|
7328
7492
|
operationId: regenerateSitePublishingAuthById
|
|
7329
7493
|
summary: Regenerate a site auth
|
|
7494
|
+
x-gitbook-mcp: true
|
|
7330
7495
|
description: Regenerate the publishing authentication settings for a site. This will re-generate the private key.
|
|
7331
7496
|
tags:
|
|
7332
7497
|
- site-publishing-auth
|
|
@@ -7348,6 +7513,7 @@ paths:
|
|
|
7348
7513
|
get:
|
|
7349
7514
|
operationId: getSitePublishingPreviewById
|
|
7350
7515
|
summary: Get a site preview URL
|
|
7516
|
+
x-gitbook-mcp: true
|
|
7351
7517
|
description: Generate a URL to preview the published content of a site. The URL will be valid for 1 hour.
|
|
7352
7518
|
tags:
|
|
7353
7519
|
- site-preview
|
|
@@ -7395,6 +7561,7 @@ paths:
|
|
|
7395
7561
|
get:
|
|
7396
7562
|
operationId: getSiteCustomizationById
|
|
7397
7563
|
summary: Get a site customization settings
|
|
7564
|
+
x-gitbook-mcp: true
|
|
7398
7565
|
tags:
|
|
7399
7566
|
- site-customization
|
|
7400
7567
|
security:
|
|
@@ -7415,6 +7582,7 @@ paths:
|
|
|
7415
7582
|
put:
|
|
7416
7583
|
operationId: updateSiteCustomizationById
|
|
7417
7584
|
summary: Update a site customization settings
|
|
7585
|
+
x-gitbook-mcp: true
|
|
7418
7586
|
tags:
|
|
7419
7587
|
- site-customization
|
|
7420
7588
|
security:
|
|
@@ -7441,6 +7609,7 @@ paths:
|
|
|
7441
7609
|
get:
|
|
7442
7610
|
operationId: listSiteIntegrationScripts
|
|
7443
7611
|
summary: List the scripts to embed in published content for a site.
|
|
7612
|
+
x-gitbook-mcp: true
|
|
7444
7613
|
tags:
|
|
7445
7614
|
- integrations
|
|
7446
7615
|
- sites
|
|
@@ -7464,6 +7633,7 @@ paths:
|
|
|
7464
7633
|
get:
|
|
7465
7634
|
operationId: listSiteIntegrations
|
|
7466
7635
|
summary: List integrations enabled in a site.
|
|
7636
|
+
x-gitbook-mcp: true
|
|
7467
7637
|
tags:
|
|
7468
7638
|
- integrations
|
|
7469
7639
|
- sites
|
|
@@ -7493,6 +7663,7 @@ paths:
|
|
|
7493
7663
|
post:
|
|
7494
7664
|
operationId: addSpaceToSite
|
|
7495
7665
|
summary: Add a space to a site
|
|
7666
|
+
x-gitbook-mcp: true
|
|
7496
7667
|
tags:
|
|
7497
7668
|
- site-spaces
|
|
7498
7669
|
security:
|
|
@@ -7534,6 +7705,7 @@ paths:
|
|
|
7534
7705
|
get:
|
|
7535
7706
|
operationId: listSiteSpaces
|
|
7536
7707
|
summary: List all the site spaces
|
|
7708
|
+
x-gitbook-mcp: true
|
|
7537
7709
|
tags:
|
|
7538
7710
|
- site-spaces
|
|
7539
7711
|
- critical
|
|
@@ -7570,6 +7742,7 @@ paths:
|
|
|
7570
7742
|
get:
|
|
7571
7743
|
operationId: listSiteSectionGroups
|
|
7572
7744
|
summary: List all site section groups
|
|
7745
|
+
x-gitbook-mcp: true
|
|
7573
7746
|
tags:
|
|
7574
7747
|
- site-section-groups
|
|
7575
7748
|
security:
|
|
@@ -7598,6 +7771,7 @@ paths:
|
|
|
7598
7771
|
post:
|
|
7599
7772
|
operationId: addSectionGroupToSite
|
|
7600
7773
|
summary: Add a section group to a site
|
|
7774
|
+
x-gitbook-mcp: true
|
|
7601
7775
|
tags:
|
|
7602
7776
|
- site-section-groups
|
|
7603
7777
|
security:
|
|
@@ -7647,6 +7821,7 @@ paths:
|
|
|
7647
7821
|
patch:
|
|
7648
7822
|
operationId: updateSiteSectionGroupById
|
|
7649
7823
|
summary: Update a site section group
|
|
7824
|
+
x-gitbook-mcp: true
|
|
7650
7825
|
tags:
|
|
7651
7826
|
- site-section-groups
|
|
7652
7827
|
security:
|
|
@@ -7700,6 +7875,7 @@ paths:
|
|
|
7700
7875
|
post:
|
|
7701
7876
|
operationId: addSectionToSite
|
|
7702
7877
|
summary: Add a section to a site
|
|
7878
|
+
x-gitbook-mcp: true
|
|
7703
7879
|
tags:
|
|
7704
7880
|
- site-sections
|
|
7705
7881
|
security:
|
|
@@ -7748,6 +7924,7 @@ paths:
|
|
|
7748
7924
|
get:
|
|
7749
7925
|
operationId: listSiteSections
|
|
7750
7926
|
summary: List all site sections
|
|
7927
|
+
x-gitbook-mcp: true
|
|
7751
7928
|
tags:
|
|
7752
7929
|
- site-sections
|
|
7753
7930
|
security:
|
|
@@ -7778,6 +7955,7 @@ paths:
|
|
|
7778
7955
|
patch:
|
|
7779
7956
|
operationId: updateSiteSectionById
|
|
7780
7957
|
summary: Update a site section
|
|
7958
|
+
x-gitbook-mcp: true
|
|
7781
7959
|
tags:
|
|
7782
7960
|
- site-sections
|
|
7783
7961
|
security:
|
|
@@ -7852,6 +8030,7 @@ paths:
|
|
|
7852
8030
|
post:
|
|
7853
8031
|
operationId: searchSiteContent
|
|
7854
8032
|
summary: Search in a site
|
|
8033
|
+
x-gitbook-mcp: true
|
|
7855
8034
|
tags:
|
|
7856
8035
|
- sites
|
|
7857
8036
|
security:
|
|
@@ -8290,6 +8469,7 @@ paths:
|
|
|
8290
8469
|
type: string
|
|
8291
8470
|
enum:
|
|
8292
8471
|
- open
|
|
8472
|
+
- done
|
|
8293
8473
|
- canceled
|
|
8294
8474
|
required:
|
|
8295
8475
|
- status
|
|
@@ -9089,6 +9269,7 @@ paths:
|
|
|
9089
9269
|
patch:
|
|
9090
9270
|
operationId: updateSiteSpaceById
|
|
9091
9271
|
summary: Update a site space
|
|
9272
|
+
x-gitbook-mcp: true
|
|
9092
9273
|
tags:
|
|
9093
9274
|
- site-spaces
|
|
9094
9275
|
security:
|
|
@@ -9147,6 +9328,7 @@ paths:
|
|
|
9147
9328
|
get:
|
|
9148
9329
|
operationId: getSiteSpaceCustomizationById
|
|
9149
9330
|
summary: Get a site space customization settings
|
|
9331
|
+
x-gitbook-mcp: true
|
|
9150
9332
|
tags:
|
|
9151
9333
|
- site-customization
|
|
9152
9334
|
security:
|
|
@@ -9168,6 +9350,7 @@ paths:
|
|
|
9168
9350
|
patch:
|
|
9169
9351
|
operationId: overrideSiteSpaceCustomizationById
|
|
9170
9352
|
summary: Override a site space customization settings
|
|
9353
|
+
x-gitbook-mcp: true
|
|
9171
9354
|
tags:
|
|
9172
9355
|
- site-customization
|
|
9173
9356
|
security:
|
|
@@ -9373,16 +9556,6 @@ paths:
|
|
|
9373
9556
|
type:
|
|
9374
9557
|
- boolean
|
|
9375
9558
|
- "null"
|
|
9376
|
-
pdf:
|
|
9377
|
-
type: object
|
|
9378
|
-
properties:
|
|
9379
|
-
enabled:
|
|
9380
|
-
type:
|
|
9381
|
-
- boolean
|
|
9382
|
-
- "null"
|
|
9383
|
-
description: If true, PDF export is enabled for the published site. Set to null to reset the override.
|
|
9384
|
-
required:
|
|
9385
|
-
- enabled
|
|
9386
9559
|
feedback:
|
|
9387
9560
|
type: object
|
|
9388
9561
|
properties:
|
|
@@ -9393,16 +9566,6 @@ paths:
|
|
|
9393
9566
|
description: If true, feedback gathering is enabled. Set to null to reset the override.
|
|
9394
9567
|
required:
|
|
9395
9568
|
- enabled
|
|
9396
|
-
git:
|
|
9397
|
-
type: object
|
|
9398
|
-
properties:
|
|
9399
|
-
showEditLink:
|
|
9400
|
-
type:
|
|
9401
|
-
- boolean
|
|
9402
|
-
- "null"
|
|
9403
|
-
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.
|
|
9404
|
-
required:
|
|
9405
|
-
- showEditLink
|
|
9406
9569
|
externalLinks:
|
|
9407
9570
|
type: object
|
|
9408
9571
|
properties:
|
|
@@ -9843,6 +10006,7 @@ paths:
|
|
|
9843
10006
|
get:
|
|
9844
10007
|
operationId: getSiteAgentSettingsById
|
|
9845
10008
|
summary: Get site agent settings
|
|
10009
|
+
x-gitbook-mcp: true
|
|
9846
10010
|
tags:
|
|
9847
10011
|
- site-agent-settings
|
|
9848
10012
|
security:
|
|
@@ -9862,6 +10026,7 @@ paths:
|
|
|
9862
10026
|
put:
|
|
9863
10027
|
operationId: updateSiteAgentSettingsById
|
|
9864
10028
|
summary: Update site agent settings
|
|
10029
|
+
x-gitbook-mcp: true
|
|
9865
10030
|
tags:
|
|
9866
10031
|
- site-agent-settings
|
|
9867
10032
|
security:
|
|
@@ -9888,6 +10053,7 @@ paths:
|
|
|
9888
10053
|
post:
|
|
9889
10054
|
operationId: createSiteStyleguideById
|
|
9890
10055
|
summary: Create or return a site's styleguide
|
|
10056
|
+
x-gitbook-mcp: true
|
|
9891
10057
|
description: |
|
|
9892
10058
|
Ensures the site has a site-owned styleguide backing space and returns
|
|
9893
10059
|
a reference to it.
|
|
@@ -10002,6 +10168,7 @@ paths:
|
|
|
10002
10168
|
post:
|
|
10003
10169
|
operationId: updateSiteAdsById
|
|
10004
10170
|
summary: Update a site ads settings
|
|
10171
|
+
x-gitbook-mcp: true
|
|
10005
10172
|
tags:
|
|
10006
10173
|
- site-ads
|
|
10007
10174
|
security:
|
|
@@ -10030,6 +10197,7 @@ paths:
|
|
|
10030
10197
|
post:
|
|
10031
10198
|
operationId: createSiteRedirect
|
|
10032
10199
|
summary: Create a site redirect
|
|
10200
|
+
x-gitbook-mcp: true
|
|
10033
10201
|
tags:
|
|
10034
10202
|
- site-redirects
|
|
10035
10203
|
security:
|
|
@@ -10069,6 +10237,7 @@ paths:
|
|
|
10069
10237
|
put:
|
|
10070
10238
|
operationId: bulkUpsertSiteRedirects
|
|
10071
10239
|
summary: Create or update site redirects in bulk
|
|
10240
|
+
x-gitbook-mcp: true
|
|
10072
10241
|
tags:
|
|
10073
10242
|
- site-redirects
|
|
10074
10243
|
security:
|
|
@@ -10243,6 +10412,7 @@ paths:
|
|
|
10243
10412
|
get:
|
|
10244
10413
|
operationId: listSiteRedirects
|
|
10245
10414
|
summary: List all site redirects
|
|
10415
|
+
x-gitbook-mcp: true
|
|
10246
10416
|
tags:
|
|
10247
10417
|
- site-redirects
|
|
10248
10418
|
security:
|
|
@@ -10283,6 +10453,7 @@ paths:
|
|
|
10283
10453
|
patch:
|
|
10284
10454
|
operationId: updateSiteRedirectById
|
|
10285
10455
|
summary: Update a site redirect
|
|
10456
|
+
x-gitbook-mcp: true
|
|
10286
10457
|
tags:
|
|
10287
10458
|
- site-redirects
|
|
10288
10459
|
security:
|
|
@@ -10335,6 +10506,7 @@ paths:
|
|
|
10335
10506
|
get:
|
|
10336
10507
|
operationId: getSiteRedirectBySource
|
|
10337
10508
|
summary: Get a site redirect by its source
|
|
10509
|
+
x-gitbook-mcp: true
|
|
10338
10510
|
tags:
|
|
10339
10511
|
- site-redirects
|
|
10340
10512
|
security:
|
|
@@ -10371,6 +10543,7 @@ paths:
|
|
|
10371
10543
|
get:
|
|
10372
10544
|
operationId: listSiteMcpServers
|
|
10373
10545
|
summary: List all MCP servers for a site
|
|
10546
|
+
x-gitbook-mcp: true
|
|
10374
10547
|
tags:
|
|
10375
10548
|
- site-mcp-servers
|
|
10376
10549
|
security:
|
|
@@ -10399,6 +10572,7 @@ paths:
|
|
|
10399
10572
|
post:
|
|
10400
10573
|
operationId: createSiteMcpServer
|
|
10401
10574
|
summary: Create a new MCP server
|
|
10575
|
+
x-gitbook-mcp: true
|
|
10402
10576
|
tags:
|
|
10403
10577
|
- site-mcp-servers
|
|
10404
10578
|
security:
|
|
@@ -10441,6 +10615,7 @@ paths:
|
|
|
10441
10615
|
get:
|
|
10442
10616
|
operationId: getSiteMcpServerById
|
|
10443
10617
|
summary: Get a site MCP server
|
|
10618
|
+
x-gitbook-mcp: true
|
|
10444
10619
|
tags:
|
|
10445
10620
|
- site-mcp-servers
|
|
10446
10621
|
security:
|
|
@@ -10459,6 +10634,7 @@ paths:
|
|
|
10459
10634
|
patch:
|
|
10460
10635
|
operationId: updateSiteMcpServerById
|
|
10461
10636
|
summary: Update a site MCP server
|
|
10637
|
+
x-gitbook-mcp: true
|
|
10462
10638
|
tags:
|
|
10463
10639
|
- site-mcp-servers
|
|
10464
10640
|
security:
|
|
@@ -10516,6 +10692,7 @@ paths:
|
|
|
10516
10692
|
get:
|
|
10517
10693
|
operationId: listSiteChannels
|
|
10518
10694
|
summary: List all site channels for a site
|
|
10695
|
+
x-gitbook-mcp: true
|
|
10519
10696
|
tags:
|
|
10520
10697
|
- site-channels
|
|
10521
10698
|
security:
|
|
@@ -10544,6 +10721,7 @@ paths:
|
|
|
10544
10721
|
post:
|
|
10545
10722
|
operationId: createSiteChannel
|
|
10546
10723
|
summary: Create a site channel
|
|
10724
|
+
x-gitbook-mcp: true
|
|
10547
10725
|
tags:
|
|
10548
10726
|
- site-channels
|
|
10549
10727
|
security:
|
|
@@ -10573,6 +10751,7 @@ paths:
|
|
|
10573
10751
|
get:
|
|
10574
10752
|
operationId: getSiteChannelById
|
|
10575
10753
|
summary: Get a site channel
|
|
10754
|
+
x-gitbook-mcp: true
|
|
10576
10755
|
tags:
|
|
10577
10756
|
- site-channels
|
|
10578
10757
|
security:
|
|
@@ -10591,6 +10770,7 @@ paths:
|
|
|
10591
10770
|
patch:
|
|
10592
10771
|
operationId: updateSiteChannelById
|
|
10593
10772
|
summary: Update a site channel
|
|
10773
|
+
x-gitbook-mcp: true
|
|
10594
10774
|
tags:
|
|
10595
10775
|
- site-channels
|
|
10596
10776
|
security:
|
|
@@ -12809,6 +12989,10 @@ components:
|
|
|
12809
12989
|
markdown:
|
|
12810
12990
|
type: string
|
|
12811
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).
|
|
12812
12996
|
required:
|
|
12813
12997
|
- markdown
|
|
12814
12998
|
DocumentMarkBold:
|
|
@@ -14031,6 +14215,9 @@ components:
|
|
|
14031
14215
|
fullWidth:
|
|
14032
14216
|
type: boolean
|
|
14033
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.
|
|
14034
14221
|
required:
|
|
14035
14222
|
- view
|
|
14036
14223
|
- records
|
|
@@ -15525,6 +15712,19 @@ components:
|
|
|
15525
15712
|
- object
|
|
15526
15713
|
- data
|
|
15527
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: []
|
|
15528
15728
|
Document:
|
|
15529
15729
|
oneOf:
|
|
15530
15730
|
- $ref: "#/components/schemas/MarkdownDocument"
|
|
@@ -17934,11 +18134,74 @@ components:
|
|
|
17934
18134
|
description: ID of the page whose content should be updated.
|
|
17935
18135
|
document:
|
|
17936
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
|
|
17937
18194
|
ChangeRequestContentChange:
|
|
17938
18195
|
oneOf:
|
|
17939
18196
|
- $ref: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
18197
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertPage"
|
|
18198
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
17940
18199
|
discriminator:
|
|
17941
18200
|
propertyName: operation
|
|
18201
|
+
mapping:
|
|
18202
|
+
update_page: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
18203
|
+
insert_page: "#/components/schemas/ChangeRequestContentChangeInsertPage"
|
|
18204
|
+
delete_page: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
17942
18205
|
RevisionPageType:
|
|
17943
18206
|
type: string
|
|
17944
18207
|
enum:
|
|
@@ -23813,15 +24076,6 @@ components:
|
|
|
23813
24076
|
required:
|
|
23814
24077
|
- default
|
|
23815
24078
|
- toggeable
|
|
23816
|
-
pdf:
|
|
23817
|
-
type: object
|
|
23818
|
-
properties:
|
|
23819
|
-
enabled:
|
|
23820
|
-
type: boolean
|
|
23821
|
-
deprecated: true
|
|
23822
|
-
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`."
|
|
23823
|
-
required:
|
|
23824
|
-
- enabled
|
|
23825
24079
|
feedback:
|
|
23826
24080
|
type: object
|
|
23827
24081
|
properties:
|
|
@@ -23847,47 +24101,21 @@ components:
|
|
|
23847
24101
|
description: If true, Advanced customization is enabled
|
|
23848
24102
|
required:
|
|
23849
24103
|
- enabled
|
|
23850
|
-
git:
|
|
23851
|
-
type: object
|
|
23852
|
-
properties:
|
|
23853
|
-
showEditLink:
|
|
23854
|
-
type: boolean
|
|
23855
|
-
deprecated: true
|
|
23856
|
-
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`."
|
|
23857
|
-
required:
|
|
23858
|
-
- showEditLink
|
|
23859
24104
|
pageActions:
|
|
23860
24105
|
type: object
|
|
23861
24106
|
properties:
|
|
23862
|
-
externalAI:
|
|
23863
|
-
type: boolean
|
|
23864
|
-
deprecated: true
|
|
23865
|
-
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`."
|
|
23866
|
-
markdown:
|
|
23867
|
-
type: boolean
|
|
23868
|
-
deprecated: true
|
|
23869
|
-
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`."
|
|
23870
|
-
mcp:
|
|
23871
|
-
type: boolean
|
|
23872
|
-
deprecated: true
|
|
23873
|
-
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`."
|
|
23874
24107
|
items:
|
|
23875
24108
|
type: array
|
|
23876
24109
|
description: |
|
|
23877
24110
|
Ordered list of the page actions enabled in the page menu. This is the source of truth for
|
|
23878
24111
|
which actions are enabled and in which order: the position defines the display order, the
|
|
23879
24112
|
first action is the default one, surfaced as the main button on the page, and actions not
|
|
23880
|
-
present in the list are disabled.
|
|
23881
|
-
|
|
23882
|
-
|
|
23883
|
-
by default if missing, otherwise keeping its position) when the assistant is enabled, and
|
|
23884
|
-
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.
|
|
23885
24116
|
items:
|
|
23886
24117
|
$ref: "#/components/schemas/CustomizationPageActionType"
|
|
23887
24118
|
required:
|
|
23888
|
-
- externalAI
|
|
23889
|
-
- markdown
|
|
23890
|
-
- mcp
|
|
23891
24119
|
- items
|
|
23892
24120
|
externalLinks:
|
|
23893
24121
|
type: object
|
|
@@ -23940,7 +24168,6 @@ components:
|
|
|
23940
24168
|
- header
|
|
23941
24169
|
- footer
|
|
23942
24170
|
- themes
|
|
23943
|
-
- pdf
|
|
23944
24171
|
- feedback
|
|
23945
24172
|
- ai
|
|
23946
24173
|
- advancedCustomization
|
|
@@ -23948,7 +24175,6 @@ components:
|
|
|
23948
24175
|
- externalLinks
|
|
23949
24176
|
- pagination
|
|
23950
24177
|
- pageActions
|
|
23951
|
-
- git
|
|
23952
24178
|
- privacyPolicy
|
|
23953
24179
|
- socialPreview
|
|
23954
24180
|
- socialAccounts
|
|
@@ -25797,6 +26023,40 @@ components:
|
|
|
25797
26023
|
- spaceId
|
|
25798
26024
|
- action
|
|
25799
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
|
|
25800
26060
|
AIToolCallComment:
|
|
25801
26061
|
type: object
|
|
25802
26062
|
properties:
|
|
@@ -25938,6 +26198,8 @@ components:
|
|
|
25938
26198
|
- $ref: "#/components/schemas/AIToolCallGetTags"
|
|
25939
26199
|
- $ref: "#/components/schemas/AIToolCallUpdateTags"
|
|
25940
26200
|
- $ref: "#/components/schemas/AIToolCallCreateChangeRequest"
|
|
26201
|
+
- $ref: "#/components/schemas/AIToolCallGetChangeRequestDetails"
|
|
26202
|
+
- $ref: "#/components/schemas/AIToolCallSetChangeRequestDetails"
|
|
25941
26203
|
- $ref: "#/components/schemas/AIToolCallComment"
|
|
25942
26204
|
- $ref: "#/components/schemas/AIToolCallReplyToComment"
|
|
25943
26205
|
- $ref: "#/components/schemas/AIToolCallSubmitChangeRequestReview"
|
|
@@ -26349,13 +26611,6 @@ components:
|
|
|
26349
26611
|
required:
|
|
26350
26612
|
- permission
|
|
26351
26613
|
- team
|
|
26352
|
-
AIMessageMode:
|
|
26353
|
-
type: string
|
|
26354
|
-
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.
|
|
26355
|
-
default: normal
|
|
26356
|
-
enum:
|
|
26357
|
-
- normal
|
|
26358
|
-
- fast
|
|
26359
26614
|
AIMessageInput:
|
|
26360
26615
|
type: object
|
|
26361
26616
|
description: Input version of an AI message.
|
|
@@ -26373,8 +26628,6 @@ components:
|
|
|
26373
26628
|
type: array
|
|
26374
26629
|
items:
|
|
26375
26630
|
$ref: "#/components/schemas/AIAttachment"
|
|
26376
|
-
mode:
|
|
26377
|
-
$ref: "#/components/schemas/AIMessageMode"
|
|
26378
26631
|
required:
|
|
26379
26632
|
- role
|
|
26380
26633
|
- content
|
|
@@ -32088,6 +32341,38 @@ components:
|
|
|
32088
32341
|
When `type` is `tool`, the name of the tool being called (matches `AIToolCall.tool`).
|
|
32089
32342
|
required:
|
|
32090
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
|
|
32091
32376
|
AgentState:
|
|
32092
32377
|
type: object
|
|
32093
32378
|
properties:
|
|
@@ -32107,6 +32392,10 @@ components:
|
|
|
32107
32392
|
$ref: "#/components/schemas/AgentActivity"
|
|
32108
32393
|
description: |
|
|
32109
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.
|
|
32110
32399
|
required:
|
|
32111
32400
|
- status
|
|
32112
32401
|
- suggestions
|