@gitbook/api 0.182.0 → 0.183.1
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 +149 -11
- package/dist/constants.d.ts +3 -2
- package/dist/index.cjs +31 -3
- package/dist/index.js +29 -3
- package/package.json +1 -1
- package/spec/openapi.json +427 -22
- package/spec/openapi.yaml +510 -250
package/spec/openapi.yaml
CHANGED
|
@@ -17,7 +17,6 @@ security:
|
|
|
17
17
|
- user: []
|
|
18
18
|
- user-internal: []
|
|
19
19
|
- user-staff: []
|
|
20
|
-
- user-internal-or-staff: []
|
|
21
20
|
- integration: []
|
|
22
21
|
- integration-installation: []
|
|
23
22
|
tags:
|
|
@@ -554,7 +553,7 @@ paths:
|
|
|
554
553
|
application/json:
|
|
555
554
|
schema:
|
|
556
555
|
$ref: "#/components/schemas/APITemporaryToken"
|
|
557
|
-
|
|
556
|
+
/users/{userId}:
|
|
558
557
|
get:
|
|
559
558
|
operationId: getUserById
|
|
560
559
|
summary: Get a user by its ID
|
|
@@ -614,7 +613,7 @@ paths:
|
|
|
614
613
|
"404":
|
|
615
614
|
description: User not found
|
|
616
615
|
$ref: "#/components/responses/NotFoundError"
|
|
617
|
-
|
|
616
|
+
/spaces/{spaceId}:
|
|
618
617
|
get:
|
|
619
618
|
operationId: getSpaceById
|
|
620
619
|
summary: Get a space by its ID
|
|
@@ -623,6 +622,8 @@ paths:
|
|
|
623
622
|
- critical
|
|
624
623
|
security:
|
|
625
624
|
- user: []
|
|
625
|
+
- integration: []
|
|
626
|
+
- integration-installation: []
|
|
626
627
|
parameters:
|
|
627
628
|
- $ref: "#/components/parameters/spaceId"
|
|
628
629
|
- $ref: "#/components/parameters/siteShareKey"
|
|
@@ -704,7 +705,7 @@ paths:
|
|
|
704
705
|
description: Space did not exist
|
|
705
706
|
"205":
|
|
706
707
|
description: Space has been deleted
|
|
707
|
-
|
|
708
|
+
/spaces/{spaceId}/duplicate:
|
|
708
709
|
post:
|
|
709
710
|
operationId: duplicateSpace
|
|
710
711
|
summary: Duplicate a space
|
|
@@ -726,7 +727,7 @@ paths:
|
|
|
726
727
|
application/json:
|
|
727
728
|
schema:
|
|
728
729
|
$ref: "#/components/schemas/Space"
|
|
729
|
-
|
|
730
|
+
/spaces/{spaceId}/restore:
|
|
730
731
|
post:
|
|
731
732
|
operationId: restoreSpace
|
|
732
733
|
summary: Restore a deleted space
|
|
@@ -744,7 +745,7 @@ paths:
|
|
|
744
745
|
application/json:
|
|
745
746
|
schema:
|
|
746
747
|
$ref: "#/components/schemas/Space"
|
|
747
|
-
|
|
748
|
+
/spaces/{spaceId}/move:
|
|
748
749
|
post:
|
|
749
750
|
operationId: moveSpace
|
|
750
751
|
summary: Move a space to a new position
|
|
@@ -786,7 +787,7 @@ paths:
|
|
|
786
787
|
"409":
|
|
787
788
|
description: Operation would not result in any update
|
|
788
789
|
$ref: "#/components/responses/ConflictError"
|
|
789
|
-
|
|
790
|
+
/spaces/{spaceId}/embed:
|
|
790
791
|
get:
|
|
791
792
|
operationId: getEmbedByUrlInSpace
|
|
792
793
|
summary: Resolve a URL to an embed in a given space
|
|
@@ -809,7 +810,7 @@ paths:
|
|
|
809
810
|
application/json:
|
|
810
811
|
schema:
|
|
811
812
|
$ref: "#/components/schemas/Embed"
|
|
812
|
-
|
|
813
|
+
/spaces/{spaceId}/search:
|
|
813
814
|
get:
|
|
814
815
|
operationId: searchSpaceContent
|
|
815
816
|
summary: Search content in a space
|
|
@@ -843,7 +844,7 @@ paths:
|
|
|
843
844
|
type: array
|
|
844
845
|
items:
|
|
845
846
|
$ref: "#/components/schemas/SearchPageResult"
|
|
846
|
-
|
|
847
|
+
/spaces/{spaceId}/git/import:
|
|
847
848
|
post:
|
|
848
849
|
operationId: importGitRepository
|
|
849
850
|
summary: Import a Git repository
|
|
@@ -851,6 +852,8 @@ paths:
|
|
|
851
852
|
- space-git
|
|
852
853
|
security:
|
|
853
854
|
- user: []
|
|
855
|
+
- integration: []
|
|
856
|
+
- integration-installation: []
|
|
854
857
|
parameters:
|
|
855
858
|
- $ref: "#/components/parameters/spaceId"
|
|
856
859
|
responses:
|
|
@@ -862,7 +865,7 @@ paths:
|
|
|
862
865
|
application/json:
|
|
863
866
|
schema:
|
|
864
867
|
$ref: "#/components/schemas/ImportGitRepository"
|
|
865
|
-
|
|
868
|
+
/spaces/{spaceId}/git/export:
|
|
866
869
|
post:
|
|
867
870
|
operationId: exportToGitRepository
|
|
868
871
|
summary: Export the to a Git repository
|
|
@@ -870,6 +873,8 @@ paths:
|
|
|
870
873
|
- space-git
|
|
871
874
|
security:
|
|
872
875
|
- user: []
|
|
876
|
+
- integration: []
|
|
877
|
+
- integration-installation: []
|
|
873
878
|
parameters:
|
|
874
879
|
- $ref: "#/components/parameters/spaceId"
|
|
875
880
|
responses:
|
|
@@ -881,7 +886,7 @@ paths:
|
|
|
881
886
|
application/json:
|
|
882
887
|
schema:
|
|
883
888
|
$ref: "#/components/schemas/ExportToGitRepository"
|
|
884
|
-
|
|
889
|
+
/spaces/{spaceId}/git/info:
|
|
885
890
|
get:
|
|
886
891
|
operationId: getSpaceGitInfo
|
|
887
892
|
summary: Get space Git info
|
|
@@ -902,7 +907,7 @@ paths:
|
|
|
902
907
|
"404":
|
|
903
908
|
description: No Git provider currently set up on the space
|
|
904
909
|
$ref: "#/components/responses/NotFoundError"
|
|
905
|
-
|
|
910
|
+
/spaces/{spaceId}/git/legacy-installation:
|
|
906
911
|
delete:
|
|
907
912
|
operationId: deleteLegacyGitInstallation
|
|
908
913
|
summary: Remove the legacy Git Sync installation from the space to be able to upgrade it to use the new Git integrations
|
|
@@ -917,7 +922,7 @@ paths:
|
|
|
917
922
|
description: The legacy Git installation was already removed
|
|
918
923
|
"205":
|
|
919
924
|
description: The legacy Git installation was successfully removed
|
|
920
|
-
|
|
925
|
+
/spaces/{spaceId}/permissions:
|
|
921
926
|
post:
|
|
922
927
|
operationId: inviteToSpace
|
|
923
928
|
summary: Invite a user or a team to a space
|
|
@@ -939,7 +944,7 @@ paths:
|
|
|
939
944
|
application/json:
|
|
940
945
|
schema:
|
|
941
946
|
$ref: "#/components/schemas/InviteUsersAndTeams"
|
|
942
|
-
|
|
947
|
+
/spaces/{spaceId}/permissions/teams/{teamId}:
|
|
943
948
|
patch:
|
|
944
949
|
operationId: updateTeamPermissionInSpace
|
|
945
950
|
summary: Update an org team's permission in a space
|
|
@@ -983,7 +988,7 @@ paths:
|
|
|
983
988
|
"400":
|
|
984
989
|
description: Team does not have access to space
|
|
985
990
|
$ref: "#/components/responses/BadRequestError"
|
|
986
|
-
|
|
991
|
+
/spaces/{spaceId}/permissions/users:
|
|
987
992
|
get:
|
|
988
993
|
operationId: listUserPermissionsInSpace
|
|
989
994
|
summary: List space user permissions
|
|
@@ -1014,7 +1019,7 @@ paths:
|
|
|
1014
1019
|
"404":
|
|
1015
1020
|
description: No space was found with the given Id
|
|
1016
1021
|
$ref: "#/components/responses/NotFoundError"
|
|
1017
|
-
|
|
1022
|
+
/spaces/{spaceId}/permissions/users/{userId}:
|
|
1018
1023
|
patch:
|
|
1019
1024
|
operationId: updateUserPermissionInSpace
|
|
1020
1025
|
summary: Update space user permissions
|
|
@@ -1055,7 +1060,7 @@ paths:
|
|
|
1055
1060
|
description: The user was not found in the space
|
|
1056
1061
|
"205":
|
|
1057
1062
|
description: The user has been removed from the space
|
|
1058
|
-
|
|
1063
|
+
/spaces/{spaceId}/permissions/teams:
|
|
1059
1064
|
get:
|
|
1060
1065
|
operationId: listTeamPermissionsInSpace
|
|
1061
1066
|
summary: List an org team's permission in a space
|
|
@@ -1095,7 +1100,7 @@ paths:
|
|
|
1095
1100
|
"404":
|
|
1096
1101
|
description: No space was found with the given Id
|
|
1097
1102
|
$ref: "#/components/responses/NotFoundError"
|
|
1098
|
-
|
|
1103
|
+
/spaces/{spaceId}/content:
|
|
1099
1104
|
get:
|
|
1100
1105
|
operationId: getCurrentRevision
|
|
1101
1106
|
summary: Get a space current revision
|
|
@@ -1103,6 +1108,8 @@ paths:
|
|
|
1103
1108
|
- space-content
|
|
1104
1109
|
security:
|
|
1105
1110
|
- user: []
|
|
1111
|
+
- integration: []
|
|
1112
|
+
- integration-installation: []
|
|
1106
1113
|
parameters:
|
|
1107
1114
|
- $ref: "#/components/parameters/spaceId"
|
|
1108
1115
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
@@ -1114,7 +1121,7 @@ paths:
|
|
|
1114
1121
|
application/json:
|
|
1115
1122
|
schema:
|
|
1116
1123
|
$ref: "#/components/schemas/Revision"
|
|
1117
|
-
|
|
1124
|
+
/spaces/{spaceId}/content/template:
|
|
1118
1125
|
post:
|
|
1119
1126
|
operationId: applyTemplateToSpace
|
|
1120
1127
|
summary: Apply a template to a space.
|
|
@@ -1139,7 +1146,7 @@ paths:
|
|
|
1139
1146
|
changeRequestId:
|
|
1140
1147
|
type: string
|
|
1141
1148
|
description: The ID of the change request to apply the template to. If not provided, the template is applied to the main content.
|
|
1142
|
-
|
|
1149
|
+
/spaces/{spaceId}/content/pages:
|
|
1143
1150
|
get:
|
|
1144
1151
|
operationId: listPages
|
|
1145
1152
|
summary: List all space pages
|
|
@@ -1165,7 +1172,7 @@ paths:
|
|
|
1165
1172
|
$ref: "#/components/schemas/RevisionPage"
|
|
1166
1173
|
required:
|
|
1167
1174
|
- pages
|
|
1168
|
-
|
|
1175
|
+
/spaces/{spaceId}/content/files:
|
|
1169
1176
|
get:
|
|
1170
1177
|
operationId: listFiles
|
|
1171
1178
|
summary: List all space files
|
|
@@ -1195,7 +1202,7 @@ paths:
|
|
|
1195
1202
|
type: array
|
|
1196
1203
|
items:
|
|
1197
1204
|
$ref: "#/components/schemas/RevisionFile"
|
|
1198
|
-
|
|
1205
|
+
/spaces/{spaceId}/content/files/{fileId}:
|
|
1199
1206
|
get:
|
|
1200
1207
|
operationId: getFileById
|
|
1201
1208
|
summary: Get a space file by its ID
|
|
@@ -1215,7 +1222,7 @@ paths:
|
|
|
1215
1222
|
application/json:
|
|
1216
1223
|
schema:
|
|
1217
1224
|
$ref: "#/components/schemas/RevisionFile"
|
|
1218
|
-
|
|
1225
|
+
/spaces/{spaceId}/content/files/{fileId}/backlinks:
|
|
1219
1226
|
get:
|
|
1220
1227
|
operationId: listSpaceFileBacklinks
|
|
1221
1228
|
summary: List all space file backlink locations
|
|
@@ -1244,7 +1251,7 @@ paths:
|
|
|
1244
1251
|
type: array
|
|
1245
1252
|
items:
|
|
1246
1253
|
$ref: "#/components/schemas/ContentLocation"
|
|
1247
|
-
|
|
1254
|
+
/spaces/{spaceId}/content/page/{pageId}:
|
|
1248
1255
|
get:
|
|
1249
1256
|
operationId: getPageById
|
|
1250
1257
|
summary: Get a space page by its ID
|
|
@@ -1268,7 +1275,7 @@ paths:
|
|
|
1268
1275
|
application/json:
|
|
1269
1276
|
schema:
|
|
1270
1277
|
$ref: "#/components/schemas/RevisionPage"
|
|
1271
|
-
|
|
1278
|
+
/spaces/{spaceId}/content/page/{pageId}/links:
|
|
1272
1279
|
get:
|
|
1273
1280
|
operationId: listPageLinksInSpace
|
|
1274
1281
|
summary: List all space page links
|
|
@@ -1306,7 +1313,7 @@ paths:
|
|
|
1306
1313
|
required:
|
|
1307
1314
|
- items
|
|
1308
1315
|
- stats
|
|
1309
|
-
|
|
1316
|
+
/spaces/{spaceId}/content/page/{pageId}/backlinks:
|
|
1310
1317
|
get:
|
|
1311
1318
|
operationId: listSpacePageBacklinks
|
|
1312
1319
|
summary: List all space page backlink locations
|
|
@@ -1335,7 +1342,7 @@ paths:
|
|
|
1335
1342
|
type: array
|
|
1336
1343
|
items:
|
|
1337
1344
|
$ref: "#/components/schemas/ContentLocation"
|
|
1338
|
-
|
|
1345
|
+
/spaces/{spaceId}/content/page/{pageId}/meta-links:
|
|
1339
1346
|
get:
|
|
1340
1347
|
operationId: listSpacePageMetaLinks
|
|
1341
1348
|
summary: List all meta links for a space page
|
|
@@ -1353,7 +1360,7 @@ paths:
|
|
|
1353
1360
|
application/json:
|
|
1354
1361
|
schema:
|
|
1355
1362
|
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
1356
|
-
|
|
1363
|
+
/spaces/{spaceId}/content/path/{pagePath}:
|
|
1357
1364
|
get:
|
|
1358
1365
|
operationId: getPageByPath
|
|
1359
1366
|
summary: Get a space page by its path
|
|
@@ -1379,7 +1386,7 @@ paths:
|
|
|
1379
1386
|
oneOf:
|
|
1380
1387
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
1381
1388
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
1382
|
-
|
|
1389
|
+
/spaces/{spaceId}/content/reusable-contents/{reusableContentId}:
|
|
1383
1390
|
get:
|
|
1384
1391
|
operationId: getReusableContentById
|
|
1385
1392
|
summary: Get a space reusable content by its ID
|
|
@@ -1399,7 +1406,7 @@ paths:
|
|
|
1399
1406
|
application/json:
|
|
1400
1407
|
schema:
|
|
1401
1408
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
1402
|
-
|
|
1409
|
+
/spaces/{spaceId}/content/computed/document:
|
|
1403
1410
|
post:
|
|
1404
1411
|
operationId: getComputedDocument
|
|
1405
1412
|
summary: Get a space computed document
|
|
@@ -1432,7 +1439,7 @@ paths:
|
|
|
1432
1439
|
application/json:
|
|
1433
1440
|
schema:
|
|
1434
1441
|
$ref: "#/components/schemas/JSONDocument"
|
|
1435
|
-
|
|
1442
|
+
/spaces/{spaceId}/content/computed/revision:
|
|
1436
1443
|
post:
|
|
1437
1444
|
operationId: getComputedRevision
|
|
1438
1445
|
summary: Get a space computed revision
|
|
@@ -1481,7 +1488,7 @@ paths:
|
|
|
1481
1488
|
- pages
|
|
1482
1489
|
- files
|
|
1483
1490
|
- reusableContents
|
|
1484
|
-
|
|
1491
|
+
/spaces/{spaceId}/documents/{documentId}:
|
|
1485
1492
|
get:
|
|
1486
1493
|
operationId: getDocumentById
|
|
1487
1494
|
summary: Get a space document by its ID
|
|
@@ -1505,7 +1512,7 @@ paths:
|
|
|
1505
1512
|
application/json:
|
|
1506
1513
|
schema:
|
|
1507
1514
|
$ref: "#/components/schemas/JSONDocument"
|
|
1508
|
-
|
|
1515
|
+
/spaces/{spaceId}/change-requests:
|
|
1509
1516
|
post:
|
|
1510
1517
|
operationId: createChangeRequest
|
|
1511
1518
|
summary: Create a change request
|
|
@@ -1604,7 +1611,7 @@ paths:
|
|
|
1604
1611
|
type: array
|
|
1605
1612
|
items:
|
|
1606
1613
|
$ref: "#/components/schemas/ChangeRequest"
|
|
1607
|
-
|
|
1614
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}:
|
|
1608
1615
|
get:
|
|
1609
1616
|
operationId: getChangeRequestById
|
|
1610
1617
|
summary: Get a change request by its ID
|
|
@@ -1661,7 +1668,7 @@ paths:
|
|
|
1661
1668
|
application/json:
|
|
1662
1669
|
schema:
|
|
1663
1670
|
$ref: "#/components/schemas/ChangeRequest"
|
|
1664
|
-
|
|
1671
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/merge:
|
|
1665
1672
|
post:
|
|
1666
1673
|
operationId: mergeChangeRequest
|
|
1667
1674
|
summary: Merge a change request
|
|
@@ -1691,7 +1698,7 @@ paths:
|
|
|
1691
1698
|
required:
|
|
1692
1699
|
- revision
|
|
1693
1700
|
- result
|
|
1694
|
-
|
|
1701
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/update:
|
|
1695
1702
|
post:
|
|
1696
1703
|
operationId: updateChangeRequest
|
|
1697
1704
|
summary: Pull primary content into the change request
|
|
@@ -1721,7 +1728,7 @@ paths:
|
|
|
1721
1728
|
required:
|
|
1722
1729
|
- revision
|
|
1723
1730
|
- result
|
|
1724
|
-
|
|
1731
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/reviews:
|
|
1725
1732
|
get:
|
|
1726
1733
|
operationId: getReviewsByChangeRequestId
|
|
1727
1734
|
summary: List all change request reviews
|
|
@@ -1796,7 +1803,7 @@ paths:
|
|
|
1796
1803
|
$ref: "#/components/schemas/Document"
|
|
1797
1804
|
required:
|
|
1798
1805
|
- status
|
|
1799
|
-
|
|
1806
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/reviews/{reviewId}:
|
|
1800
1807
|
get:
|
|
1801
1808
|
operationId: getChangeRequestReviewById
|
|
1802
1809
|
summary: Get a change request review by its ID
|
|
@@ -1819,7 +1826,7 @@ paths:
|
|
|
1819
1826
|
"404":
|
|
1820
1827
|
description: The change request review could not be found.
|
|
1821
1828
|
$ref: "#/components/responses/NotFoundError"
|
|
1822
|
-
|
|
1829
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers:
|
|
1823
1830
|
get:
|
|
1824
1831
|
operationId: getRequestedReviewersByChangeRequestId
|
|
1825
1832
|
summary: Get all change request reviewers
|
|
@@ -1891,7 +1898,7 @@ paths:
|
|
|
1891
1898
|
description: Optionally, update the description of the change request when requesting reviewers.
|
|
1892
1899
|
required:
|
|
1893
1900
|
- users
|
|
1894
|
-
|
|
1901
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers/{userId}:
|
|
1895
1902
|
delete:
|
|
1896
1903
|
operationId: removeRequestedReviewerFromChangeRequest
|
|
1897
1904
|
summary: Remove a reviewer from a change request
|
|
@@ -1908,7 +1915,7 @@ paths:
|
|
|
1908
1915
|
description: Reviewer was not found
|
|
1909
1916
|
"205":
|
|
1910
1917
|
description: The reviewer has been removed from the change request
|
|
1911
|
-
|
|
1918
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/links:
|
|
1912
1919
|
get:
|
|
1913
1920
|
operationId: listChangeRequestLinks
|
|
1914
1921
|
summary: List all change request links
|
|
@@ -1958,7 +1965,7 @@ paths:
|
|
|
1958
1965
|
"404":
|
|
1959
1966
|
description: The change request could not be found.
|
|
1960
1967
|
$ref: "#/components/responses/NotFoundError"
|
|
1961
|
-
|
|
1968
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/comments:
|
|
1962
1969
|
get:
|
|
1963
1970
|
operationId: listCommentsInChangeRequest
|
|
1964
1971
|
summary: List all change request comments
|
|
@@ -2015,7 +2022,7 @@ paths:
|
|
|
2015
2022
|
application/json:
|
|
2016
2023
|
schema:
|
|
2017
2024
|
$ref: "#/components/schemas/Comment"
|
|
2018
|
-
|
|
2025
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}:
|
|
2019
2026
|
get:
|
|
2020
2027
|
operationId: getCommentInChangeRequest
|
|
2021
2028
|
summary: Get a change request comment
|
|
@@ -2075,7 +2082,7 @@ paths:
|
|
|
2075
2082
|
application/json:
|
|
2076
2083
|
schema:
|
|
2077
2084
|
$ref: "#/components/schemas/Comment"
|
|
2078
|
-
|
|
2085
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies:
|
|
2079
2086
|
get:
|
|
2080
2087
|
operationId: listCommentRepliesInChangeRequest
|
|
2081
2088
|
summary: List all change request comment replies
|
|
@@ -2131,7 +2138,7 @@ paths:
|
|
|
2131
2138
|
application/json:
|
|
2132
2139
|
schema:
|
|
2133
2140
|
$ref: "#/components/schemas/CommentReply"
|
|
2134
|
-
|
|
2141
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}:
|
|
2135
2142
|
get:
|
|
2136
2143
|
operationId: getCommentReplyInChangeRequest
|
|
2137
2144
|
summary: Get a change request comment reply
|
|
@@ -2194,7 +2201,7 @@ paths:
|
|
|
2194
2201
|
description: Comment reply did not exist.
|
|
2195
2202
|
"205":
|
|
2196
2203
|
description: The comment has been deleted.
|
|
2197
|
-
|
|
2204
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/contributors:
|
|
2198
2205
|
get:
|
|
2199
2206
|
operationId: getContributorsByChangeRequestId
|
|
2200
2207
|
summary: Get all contribors of a change request
|
|
@@ -2224,7 +2231,7 @@ paths:
|
|
|
2224
2231
|
"404":
|
|
2225
2232
|
description: The change request could not be found.
|
|
2226
2233
|
$ref: "#/components/responses/NotFoundError"
|
|
2227
|
-
|
|
2234
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content:
|
|
2228
2235
|
get:
|
|
2229
2236
|
operationId: getRevisionOfChangeRequestById
|
|
2230
2237
|
summary: Get a change request the latest content revision
|
|
@@ -2244,7 +2251,7 @@ paths:
|
|
|
2244
2251
|
application/json:
|
|
2245
2252
|
schema:
|
|
2246
2253
|
$ref: "#/components/schemas/Revision"
|
|
2247
|
-
|
|
2254
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages:
|
|
2248
2255
|
get:
|
|
2249
2256
|
operationId: listPagesInChangeRequest
|
|
2250
2257
|
summary: List all change request pages
|
|
@@ -2271,7 +2278,7 @@ paths:
|
|
|
2271
2278
|
$ref: "#/components/schemas/RevisionPage"
|
|
2272
2279
|
required:
|
|
2273
2280
|
- pages
|
|
2274
|
-
|
|
2281
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/files:
|
|
2275
2282
|
get:
|
|
2276
2283
|
operationId: listFilesInChangeRequestById
|
|
2277
2284
|
summary: List all change request files
|
|
@@ -2302,7 +2309,7 @@ paths:
|
|
|
2302
2309
|
type: array
|
|
2303
2310
|
items:
|
|
2304
2311
|
$ref: "#/components/schemas/RevisionFile"
|
|
2305
|
-
|
|
2312
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}:
|
|
2306
2313
|
get:
|
|
2307
2314
|
operationId: getFileInChangeRequestById
|
|
2308
2315
|
summary: Get a change request file by its ID
|
|
@@ -2323,7 +2330,7 @@ paths:
|
|
|
2323
2330
|
application/json:
|
|
2324
2331
|
schema:
|
|
2325
2332
|
$ref: "#/components/schemas/RevisionFile"
|
|
2326
|
-
|
|
2333
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks:
|
|
2327
2334
|
get:
|
|
2328
2335
|
operationId: listChangeRequestFileBacklinks
|
|
2329
2336
|
summary: List all backlink locations of a change request file
|
|
@@ -2353,7 +2360,7 @@ paths:
|
|
|
2353
2360
|
type: array
|
|
2354
2361
|
items:
|
|
2355
2362
|
$ref: "#/components/schemas/ContentLocation"
|
|
2356
|
-
|
|
2363
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}:
|
|
2357
2364
|
get:
|
|
2358
2365
|
operationId: getPageInChangeRequestById
|
|
2359
2366
|
summary: Get a change request page by its ID
|
|
@@ -2378,7 +2385,7 @@ paths:
|
|
|
2378
2385
|
application/json:
|
|
2379
2386
|
schema:
|
|
2380
2387
|
$ref: "#/components/schemas/RevisionPage"
|
|
2381
|
-
|
|
2388
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links:
|
|
2382
2389
|
get:
|
|
2383
2390
|
operationId: listPageLinksInChangeRequest
|
|
2384
2391
|
summary: List all change request links
|
|
@@ -2412,7 +2419,7 @@ paths:
|
|
|
2412
2419
|
required:
|
|
2413
2420
|
- items
|
|
2414
2421
|
- stats
|
|
2415
|
-
|
|
2422
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks:
|
|
2416
2423
|
get:
|
|
2417
2424
|
operationId: listChangeRequestPageBacklinks
|
|
2418
2425
|
summary: List all backlink locations of a change request page
|
|
@@ -2442,7 +2449,7 @@ paths:
|
|
|
2442
2449
|
type: array
|
|
2443
2450
|
items:
|
|
2444
2451
|
$ref: "#/components/schemas/ContentLocation"
|
|
2445
|
-
|
|
2452
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/meta-links:
|
|
2446
2453
|
get:
|
|
2447
2454
|
operationId: listChangeRequestPageMetaLinks
|
|
2448
2455
|
summary: List all meta links of a change request page
|
|
@@ -2461,7 +2468,7 @@ paths:
|
|
|
2461
2468
|
application/json:
|
|
2462
2469
|
schema:
|
|
2463
2470
|
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
2464
|
-
|
|
2471
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}:
|
|
2465
2472
|
get:
|
|
2466
2473
|
operationId: getReusableContentInChangeRequestById
|
|
2467
2474
|
summary: Get a change request reusable content by its ID
|
|
@@ -2482,7 +2489,7 @@ paths:
|
|
|
2482
2489
|
application/json:
|
|
2483
2490
|
schema:
|
|
2484
2491
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
2485
|
-
|
|
2492
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/changes:
|
|
2486
2493
|
get:
|
|
2487
2494
|
operationId: getChangeRequestChanges
|
|
2488
2495
|
summary: Get change request semantic changes
|
|
@@ -2510,7 +2517,7 @@ paths:
|
|
|
2510
2517
|
"404":
|
|
2511
2518
|
description: The change request could not be found.
|
|
2512
2519
|
$ref: "#/components/responses/NotFoundError"
|
|
2513
|
-
|
|
2520
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/pdf:
|
|
2514
2521
|
get:
|
|
2515
2522
|
operationId: getChangeRequestPDF
|
|
2516
2523
|
summary: Get a URL of the content of a change request as PDF
|
|
@@ -2544,7 +2551,7 @@ paths:
|
|
|
2544
2551
|
$ref: "#/components/schemas/URL"
|
|
2545
2552
|
required:
|
|
2546
2553
|
- url
|
|
2547
|
-
|
|
2554
|
+
/spaces/{spaceId}/revisions/{revisionId}:
|
|
2548
2555
|
get:
|
|
2549
2556
|
operationId: getRevisionById
|
|
2550
2557
|
summary: Get a space revision
|
|
@@ -2552,6 +2559,8 @@ paths:
|
|
|
2552
2559
|
- space-content
|
|
2553
2560
|
security:
|
|
2554
2561
|
- user: []
|
|
2562
|
+
- integration: []
|
|
2563
|
+
- integration-installation: []
|
|
2555
2564
|
parameters:
|
|
2556
2565
|
- $ref: "#/components/parameters/spaceId"
|
|
2557
2566
|
- $ref: "#/components/parameters/revisionId"
|
|
@@ -2564,7 +2573,7 @@ paths:
|
|
|
2564
2573
|
application/json:
|
|
2565
2574
|
schema:
|
|
2566
2575
|
$ref: "#/components/schemas/Revision"
|
|
2567
|
-
|
|
2576
|
+
/spaces/{spaceId}/revisions/{revisionId}/changes:
|
|
2568
2577
|
get:
|
|
2569
2578
|
operationId: getRevisionSemanticChanges
|
|
2570
2579
|
summary: Get space revision semantic changes
|
|
@@ -2573,6 +2582,8 @@ paths:
|
|
|
2573
2582
|
- space-content
|
|
2574
2583
|
security:
|
|
2575
2584
|
- user: []
|
|
2585
|
+
- integration: []
|
|
2586
|
+
- integration-installation: []
|
|
2576
2587
|
parameters:
|
|
2577
2588
|
- $ref: "#/components/parameters/spaceId"
|
|
2578
2589
|
- $ref: "#/components/parameters/revisionId"
|
|
@@ -2591,7 +2602,7 @@ paths:
|
|
|
2591
2602
|
application/json:
|
|
2592
2603
|
schema:
|
|
2593
2604
|
$ref: "#/components/schemas/RevisionSemanticChanges"
|
|
2594
|
-
|
|
2605
|
+
/spaces/{spaceId}/revisions/{revisionId}/pages:
|
|
2595
2606
|
get:
|
|
2596
2607
|
summary: List all pages in a space revision
|
|
2597
2608
|
operationId: listPagesInRevisionById
|
|
@@ -2618,7 +2629,7 @@ paths:
|
|
|
2618
2629
|
$ref: "#/components/schemas/RevisionPage"
|
|
2619
2630
|
required:
|
|
2620
2631
|
- pages
|
|
2621
|
-
|
|
2632
|
+
/spaces/{spaceId}/revisions/{revisionId}/files:
|
|
2622
2633
|
get:
|
|
2623
2634
|
summary: List all space revision files
|
|
2624
2635
|
operationId: listFilesInRevisionById
|
|
@@ -2649,7 +2660,7 @@ paths:
|
|
|
2649
2660
|
type: array
|
|
2650
2661
|
items:
|
|
2651
2662
|
$ref: "#/components/schemas/RevisionFile"
|
|
2652
|
-
|
|
2663
|
+
/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}:
|
|
2653
2664
|
get:
|
|
2654
2665
|
summary: Get a space revision file by its ID
|
|
2655
2666
|
operationId: getFileInRevisionById
|
|
@@ -2670,7 +2681,7 @@ paths:
|
|
|
2670
2681
|
application/json:
|
|
2671
2682
|
schema:
|
|
2672
2683
|
$ref: "#/components/schemas/RevisionFile"
|
|
2673
|
-
|
|
2684
|
+
/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}:
|
|
2674
2685
|
get:
|
|
2675
2686
|
operationId: getPageInRevisionById
|
|
2676
2687
|
summary: Get a space revision page by its ID
|
|
@@ -2678,6 +2689,8 @@ paths:
|
|
|
2678
2689
|
- space-content
|
|
2679
2690
|
security:
|
|
2680
2691
|
- user: []
|
|
2692
|
+
- integration: []
|
|
2693
|
+
- integration-installation: []
|
|
2681
2694
|
parameters:
|
|
2682
2695
|
- $ref: "#/components/parameters/spaceId"
|
|
2683
2696
|
- $ref: "#/components/parameters/revisionId"
|
|
@@ -2695,7 +2708,7 @@ paths:
|
|
|
2695
2708
|
application/json:
|
|
2696
2709
|
schema:
|
|
2697
2710
|
$ref: "#/components/schemas/RevisionPage"
|
|
2698
|
-
|
|
2711
|
+
/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document:
|
|
2699
2712
|
get:
|
|
2700
2713
|
operationId: getPageDocumentInRevisionById
|
|
2701
2714
|
summary: Get the document of a page in a revision
|
|
@@ -2716,7 +2729,7 @@ paths:
|
|
|
2716
2729
|
application/json:
|
|
2717
2730
|
schema:
|
|
2718
2731
|
$ref: "#/components/schemas/JSONDocument"
|
|
2719
|
-
|
|
2732
|
+
/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}:
|
|
2720
2733
|
get:
|
|
2721
2734
|
operationId: getPageInRevisionByPath
|
|
2722
2735
|
summary: Get a space revision page by its path
|
|
@@ -2743,7 +2756,7 @@ paths:
|
|
|
2743
2756
|
oneOf:
|
|
2744
2757
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
2745
2758
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
2746
|
-
|
|
2759
|
+
/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/meta-links:
|
|
2747
2760
|
get:
|
|
2748
2761
|
operationId: listRevisionPageMetaLinks
|
|
2749
2762
|
summary: List all meta links for a revision page
|
|
@@ -2762,7 +2775,7 @@ paths:
|
|
|
2762
2775
|
application/json:
|
|
2763
2776
|
schema:
|
|
2764
2777
|
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
2765
|
-
|
|
2778
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}:
|
|
2766
2779
|
get:
|
|
2767
2780
|
operationId: getPageInChangeRequestByPath
|
|
2768
2781
|
summary: Get a change request page by its path
|
|
@@ -2789,7 +2802,7 @@ paths:
|
|
|
2789
2802
|
oneOf:
|
|
2790
2803
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
2791
2804
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
2792
|
-
|
|
2805
|
+
/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}:
|
|
2793
2806
|
get:
|
|
2794
2807
|
operationId: getReusableContentInRevisionById
|
|
2795
2808
|
summary: Get a space revision reusable content by its ID
|
|
@@ -2810,7 +2823,7 @@ paths:
|
|
|
2810
2823
|
application/json:
|
|
2811
2824
|
schema:
|
|
2812
2825
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
2813
|
-
|
|
2826
|
+
/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document:
|
|
2814
2827
|
get:
|
|
2815
2828
|
operationId: getReusableContentDocumentInRevisionById
|
|
2816
2829
|
summary: Get the document of a reusable content in a revision
|
|
@@ -2831,7 +2844,7 @@ paths:
|
|
|
2831
2844
|
application/json:
|
|
2832
2845
|
schema:
|
|
2833
2846
|
$ref: "#/components/schemas/JSONDocument"
|
|
2834
|
-
|
|
2847
|
+
/spaces/{spaceId}/comments:
|
|
2835
2848
|
get:
|
|
2836
2849
|
operationId: listCommentsInSpace
|
|
2837
2850
|
summary: List all space comments
|
|
@@ -2887,7 +2900,7 @@ paths:
|
|
|
2887
2900
|
application/json:
|
|
2888
2901
|
schema:
|
|
2889
2902
|
$ref: "#/components/schemas/Comment"
|
|
2890
|
-
|
|
2903
|
+
/spaces/{spaceId}/comments/{commentId}:
|
|
2891
2904
|
get:
|
|
2892
2905
|
operationId: getCommentInSpace
|
|
2893
2906
|
summary: Get a space comment
|
|
@@ -2944,7 +2957,7 @@ paths:
|
|
|
2944
2957
|
application/json:
|
|
2945
2958
|
schema:
|
|
2946
2959
|
$ref: "#/components/schemas/Comment"
|
|
2947
|
-
|
|
2960
|
+
/spaces/{spaceId}/comments/{commentId}/replies:
|
|
2948
2961
|
get:
|
|
2949
2962
|
operationId: listCommentRepliesInSpace
|
|
2950
2963
|
summary: List all space comment replies
|
|
@@ -2997,7 +3010,7 @@ paths:
|
|
|
2997
3010
|
application/json:
|
|
2998
3011
|
schema:
|
|
2999
3012
|
$ref: "#/components/schemas/CommentReply"
|
|
3000
|
-
|
|
3013
|
+
/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}:
|
|
3001
3014
|
get:
|
|
3002
3015
|
operationId: getCommentReplyInSpace
|
|
3003
3016
|
summary: Get a space comment reply
|
|
@@ -3057,7 +3070,7 @@ paths:
|
|
|
3057
3070
|
description: Comment reply did not exist.
|
|
3058
3071
|
"205":
|
|
3059
3072
|
description: The comment has been deleted.
|
|
3060
|
-
|
|
3073
|
+
/spaces/{spaceId}/commenters:
|
|
3061
3074
|
get:
|
|
3062
3075
|
operationId: listCommentersInSpace
|
|
3063
3076
|
summary: List all users who commented in a space
|
|
@@ -3086,7 +3099,7 @@ paths:
|
|
|
3086
3099
|
type: array
|
|
3087
3100
|
items:
|
|
3088
3101
|
$ref: "#/components/schemas/OrganizationMember"
|
|
3089
|
-
|
|
3102
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/commenters:
|
|
3090
3103
|
get:
|
|
3091
3104
|
operationId: listCommentersInChangeRequest
|
|
3092
3105
|
summary: List all users who commented in a CR
|
|
@@ -3116,7 +3129,7 @@ paths:
|
|
|
3116
3129
|
type: array
|
|
3117
3130
|
items:
|
|
3118
3131
|
$ref: "#/components/schemas/OrganizationMember"
|
|
3119
|
-
|
|
3132
|
+
/spaces/{spaceId}/permissions/aggregate:
|
|
3120
3133
|
get:
|
|
3121
3134
|
operationId: listPermissionsAggregateInSpace
|
|
3122
3135
|
summary: List all space users permissions
|
|
@@ -3149,7 +3162,7 @@ paths:
|
|
|
3149
3162
|
type: array
|
|
3150
3163
|
items:
|
|
3151
3164
|
$ref: "#/components/schemas/UserContentPermission"
|
|
3152
|
-
|
|
3165
|
+
/spaces/{spaceId}/integrations:
|
|
3153
3166
|
get:
|
|
3154
3167
|
operationId: listSpaceIntegrations
|
|
3155
3168
|
summary: List integrations enabled in a space
|
|
@@ -3176,7 +3189,7 @@ paths:
|
|
|
3176
3189
|
type: array
|
|
3177
3190
|
items:
|
|
3178
3191
|
$ref: "#/components/schemas/Integration"
|
|
3179
|
-
|
|
3192
|
+
/spaces/{spaceId}/integration-blocks:
|
|
3180
3193
|
get:
|
|
3181
3194
|
operationId: listSpaceIntegrationsBlocks
|
|
3182
3195
|
summary: List all space integrations blocks
|
|
@@ -3193,7 +3206,7 @@ paths:
|
|
|
3193
3206
|
$ref: "#/components/schemas/SpaceIntegrationBlocks"
|
|
3194
3207
|
"404":
|
|
3195
3208
|
$ref: "#/components/responses/NotFoundError"
|
|
3196
|
-
|
|
3209
|
+
/spaces/{spaceId}/pdf:
|
|
3197
3210
|
get:
|
|
3198
3211
|
operationId: getSpacePDF
|
|
3199
3212
|
summary: Get a URL of the content of a space as PDF
|
|
@@ -3226,7 +3239,7 @@ paths:
|
|
|
3226
3239
|
$ref: "#/components/schemas/URL"
|
|
3227
3240
|
required:
|
|
3228
3241
|
- url
|
|
3229
|
-
|
|
3242
|
+
/spaces/{spaceId}/links:
|
|
3230
3243
|
get:
|
|
3231
3244
|
operationId: listSpaceLinks
|
|
3232
3245
|
summary: Get all links in a space including their status and location where they appear.
|
|
@@ -3266,7 +3279,7 @@ paths:
|
|
|
3266
3279
|
"404":
|
|
3267
3280
|
description: The space could not be found.
|
|
3268
3281
|
$ref: "#/components/responses/NotFoundError"
|
|
3269
|
-
|
|
3282
|
+
/collections/{collectionId}:
|
|
3270
3283
|
get:
|
|
3271
3284
|
operationId: getCollectionById
|
|
3272
3285
|
summary: Get a collection by its ID
|
|
@@ -3326,7 +3339,7 @@ paths:
|
|
|
3326
3339
|
description: Collection did not exist
|
|
3327
3340
|
"205":
|
|
3328
3341
|
description: Collection has been deleted
|
|
3329
|
-
|
|
3342
|
+
/collections/{collectionId}/spaces:
|
|
3330
3343
|
get:
|
|
3331
3344
|
operationId: listSpacesInCollectionById
|
|
3332
3345
|
summary: List all collection spaces
|
|
@@ -3354,7 +3367,7 @@ paths:
|
|
|
3354
3367
|
type: array
|
|
3355
3368
|
items:
|
|
3356
3369
|
$ref: "#/components/schemas/Space"
|
|
3357
|
-
|
|
3370
|
+
/collections/{collectionId}/move:
|
|
3358
3371
|
post:
|
|
3359
3372
|
operationId: moveCollection
|
|
3360
3373
|
summary: Move a collection to a new position.
|
|
@@ -3396,7 +3409,7 @@ paths:
|
|
|
3396
3409
|
"409":
|
|
3397
3410
|
description: Operation would not result in any update
|
|
3398
3411
|
$ref: "#/components/responses/ConflictError"
|
|
3399
|
-
|
|
3412
|
+
/collections/{collectionId}/transfer:
|
|
3400
3413
|
post:
|
|
3401
3414
|
operationId: transferCollection
|
|
3402
3415
|
summary: Transfer a collection
|
|
@@ -3434,7 +3447,7 @@ paths:
|
|
|
3434
3447
|
"412":
|
|
3435
3448
|
description: The collection cannot be moved.
|
|
3436
3449
|
$ref: "#/components/responses/PreconditionFailedError"
|
|
3437
|
-
|
|
3450
|
+
/collections/{collectionId}/permissions:
|
|
3438
3451
|
post:
|
|
3439
3452
|
operationId: inviteToCollection
|
|
3440
3453
|
summary: Invite to a collection
|
|
@@ -3456,7 +3469,7 @@ paths:
|
|
|
3456
3469
|
application/json:
|
|
3457
3470
|
schema:
|
|
3458
3471
|
$ref: "#/components/schemas/InviteUsersAndTeams"
|
|
3459
|
-
|
|
3472
|
+
/collections/{collectionId}/permissions/teams:
|
|
3460
3473
|
get:
|
|
3461
3474
|
operationId: listTeamPermissionsInCollection
|
|
3462
3475
|
summary: List an org team's permission in collection
|
|
@@ -3493,7 +3506,7 @@ paths:
|
|
|
3493
3506
|
required:
|
|
3494
3507
|
- permission
|
|
3495
3508
|
- team
|
|
3496
|
-
|
|
3509
|
+
/collections/{collectionId}/permissions/teams/{teamId}:
|
|
3497
3510
|
patch:
|
|
3498
3511
|
operationId: updateTeamPermissionInCollection
|
|
3499
3512
|
summary: Update an org team's permission in a collection
|
|
@@ -3534,7 +3547,7 @@ paths:
|
|
|
3534
3547
|
description: The team was not found in the collection
|
|
3535
3548
|
"205":
|
|
3536
3549
|
description: The team has been removed from the collection
|
|
3537
|
-
|
|
3550
|
+
/collections/{collectionId}/permissions/users:
|
|
3538
3551
|
get:
|
|
3539
3552
|
operationId: listUserPermissionsInCollection
|
|
3540
3553
|
summary: List collection user permissions
|
|
@@ -3565,7 +3578,7 @@ paths:
|
|
|
3565
3578
|
"404":
|
|
3566
3579
|
description: No space found with the given Id
|
|
3567
3580
|
$ref: "#/components/responses/NotFoundError"
|
|
3568
|
-
|
|
3581
|
+
/collections/{collectionId}/permissions/users/{userId}:
|
|
3569
3582
|
patch:
|
|
3570
3583
|
operationId: updateUserPermissionInCollection
|
|
3571
3584
|
summary: Update a collection user permission
|
|
@@ -3606,7 +3619,7 @@ paths:
|
|
|
3606
3619
|
description: The user was not found in the collection
|
|
3607
3620
|
"205":
|
|
3608
3621
|
description: The user has been removed from the collection
|
|
3609
|
-
|
|
3622
|
+
/collections/{collectionId}/permissions/aggregate:
|
|
3610
3623
|
get:
|
|
3611
3624
|
operationId: listPermissionsAggregateInCollection
|
|
3612
3625
|
summary: List all collections users permissions
|
|
@@ -3672,7 +3685,7 @@ paths:
|
|
|
3672
3685
|
type: array
|
|
3673
3686
|
items:
|
|
3674
3687
|
$ref: "#/components/schemas/Integration"
|
|
3675
|
-
|
|
3688
|
+
/integrations/{integrationName}:
|
|
3676
3689
|
get:
|
|
3677
3690
|
operationId: getIntegrationByName
|
|
3678
3691
|
summary: Get an integration by its name
|
|
@@ -3729,7 +3742,7 @@ paths:
|
|
|
3729
3742
|
description: Integration did not exist
|
|
3730
3743
|
"205":
|
|
3731
3744
|
description: Integration has been deleted
|
|
3732
|
-
|
|
3745
|
+
/integrations/{integrationName}/installations:
|
|
3733
3746
|
get:
|
|
3734
3747
|
operationId: listIntegrationInstallations
|
|
3735
3748
|
summary: List all integration installations
|
|
@@ -3737,6 +3750,7 @@ paths:
|
|
|
3737
3750
|
- integrations
|
|
3738
3751
|
security:
|
|
3739
3752
|
- integration: []
|
|
3753
|
+
- integration-installation: []
|
|
3740
3754
|
parameters:
|
|
3741
3755
|
- $ref: "#/components/parameters/integrationName"
|
|
3742
3756
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -3791,7 +3805,7 @@ paths:
|
|
|
3791
3805
|
$ref: "#/components/schemas/IntegrationInstallation"
|
|
3792
3806
|
"404":
|
|
3793
3807
|
$ref: "#/components/responses/NotFoundError"
|
|
3794
|
-
|
|
3808
|
+
/integrations/{integrationName}/events:
|
|
3795
3809
|
get:
|
|
3796
3810
|
operationId: listIntegrationEvents
|
|
3797
3811
|
summary: List all integration events
|
|
@@ -3817,7 +3831,7 @@ paths:
|
|
|
3817
3831
|
type: array
|
|
3818
3832
|
items:
|
|
3819
3833
|
$ref: "#/components/schemas/IntegrationEvent"
|
|
3820
|
-
|
|
3834
|
+
/integrations/{integrationName}/events/{eventId}:
|
|
3821
3835
|
get:
|
|
3822
3836
|
operationId: getIntegrationEvent
|
|
3823
3837
|
summary: Get an integration event by its ID
|
|
@@ -3842,7 +3856,7 @@ paths:
|
|
|
3842
3856
|
$ref: "#/components/schemas/IntegrationEventTrace"
|
|
3843
3857
|
"404":
|
|
3844
3858
|
$ref: "#/components/responses/NotFoundError"
|
|
3845
|
-
|
|
3859
|
+
/integrations/{integrationName}/spaces:
|
|
3846
3860
|
get:
|
|
3847
3861
|
operationId: listIntegrationSpaceInstallations
|
|
3848
3862
|
summary: List all integration space installations
|
|
@@ -3850,6 +3864,7 @@ paths:
|
|
|
3850
3864
|
- integrations
|
|
3851
3865
|
security:
|
|
3852
3866
|
- integration: []
|
|
3867
|
+
- integration-installation: []
|
|
3853
3868
|
parameters:
|
|
3854
3869
|
- $ref: "#/components/parameters/integrationName"
|
|
3855
3870
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -3881,7 +3896,7 @@ paths:
|
|
|
3881
3896
|
type: array
|
|
3882
3897
|
items:
|
|
3883
3898
|
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
3884
|
-
|
|
3899
|
+
/integrations/{integrationName}/sites:
|
|
3885
3900
|
get:
|
|
3886
3901
|
operationId: listIntegrationSiteInstallations
|
|
3887
3902
|
summary: List all integration site installations
|
|
@@ -3920,7 +3935,7 @@ paths:
|
|
|
3920
3935
|
type: array
|
|
3921
3936
|
items:
|
|
3922
3937
|
$ref: "#/components/schemas/IntegrationSiteInstallation"
|
|
3923
|
-
|
|
3938
|
+
/integrations/{integrationName}/dev:
|
|
3924
3939
|
put:
|
|
3925
3940
|
operationId: setIntegrationDevelopmentMode
|
|
3926
3941
|
summary: Enable integration dev mode
|
|
@@ -3966,7 +3981,7 @@ paths:
|
|
|
3966
3981
|
responses:
|
|
3967
3982
|
"205":
|
|
3968
3983
|
description: Disabled development mode successfully
|
|
3969
|
-
|
|
3984
|
+
/integrations/{integrationName}/render:
|
|
3970
3985
|
get:
|
|
3971
3986
|
operationId: renderIntegrationUIWithGet
|
|
3972
3987
|
summary: Render an integration UI with GET method
|
|
@@ -4015,7 +4030,7 @@ paths:
|
|
|
4015
4030
|
application/json:
|
|
4016
4031
|
schema:
|
|
4017
4032
|
$ref: "#/components/schemas/RenderIntegrationUI"
|
|
4018
|
-
|
|
4033
|
+
/integrations/{integrationName}/tasks:
|
|
4019
4034
|
post:
|
|
4020
4035
|
operationId: queueIntegrationTask
|
|
4021
4036
|
summary: Queue an integration task
|
|
@@ -4035,6 +4050,9 @@ paths:
|
|
|
4035
4050
|
task:
|
|
4036
4051
|
type: object
|
|
4037
4052
|
description: Payload for the integration task
|
|
4053
|
+
additionalProperties:
|
|
4054
|
+
type: string
|
|
4055
|
+
x-typescript: unknown
|
|
4038
4056
|
schedule:
|
|
4039
4057
|
type: number
|
|
4040
4058
|
description: Number of seconds to wait before executing the task, defaults to 0
|
|
@@ -4047,7 +4065,7 @@ paths:
|
|
|
4047
4065
|
description: Integration task created successfully
|
|
4048
4066
|
"404":
|
|
4049
4067
|
$ref: "#/components/responses/NotFoundError"
|
|
4050
|
-
|
|
4068
|
+
/integrations/{integrationName}/installations/{installationId}:
|
|
4051
4069
|
get:
|
|
4052
4070
|
operationId: getIntegrationInstallationById
|
|
4053
4071
|
summary: Get an integration installation by its ID
|
|
@@ -4055,6 +4073,8 @@ paths:
|
|
|
4055
4073
|
- integrations
|
|
4056
4074
|
security:
|
|
4057
4075
|
- user: []
|
|
4076
|
+
- integration: []
|
|
4077
|
+
- integration-installation: []
|
|
4058
4078
|
parameters:
|
|
4059
4079
|
- $ref: "#/components/parameters/integrationName"
|
|
4060
4080
|
- $ref: "#/components/parameters/installationId"
|
|
@@ -4074,6 +4094,8 @@ paths:
|
|
|
4074
4094
|
- integrations
|
|
4075
4095
|
security:
|
|
4076
4096
|
- user: []
|
|
4097
|
+
- integration: []
|
|
4098
|
+
- integration-installation: []
|
|
4077
4099
|
parameters:
|
|
4078
4100
|
- $ref: "#/components/parameters/integrationName"
|
|
4079
4101
|
- $ref: "#/components/parameters/installationId"
|
|
@@ -4105,7 +4127,7 @@ paths:
|
|
|
4105
4127
|
description: Integration installation did not exist
|
|
4106
4128
|
"205":
|
|
4107
4129
|
description: Integration uninstalled successfully
|
|
4108
|
-
|
|
4130
|
+
/integrations/{integrationName}/installations/{installationId}/tokens:
|
|
4109
4131
|
post:
|
|
4110
4132
|
operationId: createIntegrationInstallationToken
|
|
4111
4133
|
summary: Create an integration installation API token
|
|
@@ -4128,7 +4150,7 @@ paths:
|
|
|
4128
4150
|
"404":
|
|
4129
4151
|
description: Installation could not be found
|
|
4130
4152
|
$ref: "#/components/responses/NotFoundError"
|
|
4131
|
-
|
|
4153
|
+
/integrations/{integrationName}/installations/{installationId}/spaces:
|
|
4132
4154
|
get:
|
|
4133
4155
|
operationId: listIntegrationInstallationSpaces
|
|
4134
4156
|
summary: List all space integration installations
|
|
@@ -4199,7 +4221,7 @@ paths:
|
|
|
4199
4221
|
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
4200
4222
|
"404":
|
|
4201
4223
|
$ref: "#/components/responses/NotFoundError"
|
|
4202
|
-
|
|
4224
|
+
/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}:
|
|
4203
4225
|
get:
|
|
4204
4226
|
operationId: getIntegrationSpaceInstallation
|
|
4205
4227
|
summary: Get an integration space installation
|
|
@@ -4266,7 +4288,7 @@ paths:
|
|
|
4266
4288
|
description: The space installation did not exist.
|
|
4267
4289
|
"205":
|
|
4268
4290
|
description: The space installation has been deleted.
|
|
4269
|
-
|
|
4291
|
+
/integrations/{integrationName}/installations/{installationId}/sites:
|
|
4270
4292
|
get:
|
|
4271
4293
|
operationId: listIntegrationInstallationSites
|
|
4272
4294
|
summary: List all site integration installations
|
|
@@ -4339,7 +4361,7 @@ paths:
|
|
|
4339
4361
|
$ref: "#/components/schemas/IntegrationSiteInstallation"
|
|
4340
4362
|
"404":
|
|
4341
4363
|
$ref: "#/components/responses/NotFoundError"
|
|
4342
|
-
|
|
4364
|
+
/integrations/{integrationName}/installations/{installationId}/sites/{siteId}:
|
|
4343
4365
|
get:
|
|
4344
4366
|
operationId: getIntegrationSiteInstallation
|
|
4345
4367
|
summary: Get an integration site installation
|
|
@@ -4434,7 +4456,7 @@ paths:
|
|
|
4434
4456
|
$ref: "#/components/schemas/Organization"
|
|
4435
4457
|
required:
|
|
4436
4458
|
- items
|
|
4437
|
-
|
|
4459
|
+
/orgs/{organizationId}:
|
|
4438
4460
|
get:
|
|
4439
4461
|
operationId: getOrganizationById
|
|
4440
4462
|
summary: Get an organization by its ID
|
|
@@ -4503,7 +4525,7 @@ paths:
|
|
|
4503
4525
|
"400":
|
|
4504
4526
|
description: Invalid default content space or collection provided
|
|
4505
4527
|
$ref: "#/components/responses/BadRequestError"
|
|
4506
|
-
|
|
4528
|
+
/orgs/{organizationId}/members:
|
|
4507
4529
|
get:
|
|
4508
4530
|
operationId: listMembersInOrganizationById
|
|
4509
4531
|
summary: List all organization members
|
|
@@ -4555,7 +4577,7 @@ paths:
|
|
|
4555
4577
|
type: array
|
|
4556
4578
|
items:
|
|
4557
4579
|
$ref: "#/components/schemas/OrganizationMember"
|
|
4558
|
-
|
|
4580
|
+
/orgs/{organizationId}/members/{userId}:
|
|
4559
4581
|
get:
|
|
4560
4582
|
operationId: getMemberInOrganizationById
|
|
4561
4583
|
summary: Get an organization member by its ID
|
|
@@ -4615,7 +4637,7 @@ paths:
|
|
|
4615
4637
|
description: Member did not exist in the organization.
|
|
4616
4638
|
"205":
|
|
4617
4639
|
description: The member was deleted from the organization.
|
|
4618
|
-
|
|
4640
|
+
/orgs/{organizationId}/ping:
|
|
4619
4641
|
post:
|
|
4620
4642
|
operationId: updateOrganizationMemberLastSeenAt
|
|
4621
4643
|
summary: Update an organization member last seen at
|
|
@@ -4636,7 +4658,7 @@ paths:
|
|
|
4636
4658
|
gitbookVisitorClaims:
|
|
4637
4659
|
description: A JTW token containing the claims to attach to this user.
|
|
4638
4660
|
type: string
|
|
4639
|
-
|
|
4661
|
+
/orgs/{organizationId}/members/{userId}/sso:
|
|
4640
4662
|
post:
|
|
4641
4663
|
operationId: setUserAsSSOMemberForOrganization
|
|
4642
4664
|
summary: Set a user as an SSO member of an organization
|
|
@@ -4654,7 +4676,7 @@ paths:
|
|
|
4654
4676
|
application/json:
|
|
4655
4677
|
schema:
|
|
4656
4678
|
$ref: "#/components/schemas/OrganizationMember"
|
|
4657
|
-
|
|
4679
|
+
/orgs/{organizationId}/members/{userId}/spaces:
|
|
4658
4680
|
get:
|
|
4659
4681
|
operationId: listSpacesForOrganizationMember
|
|
4660
4682
|
summary: List an organization member space permissions
|
|
@@ -4684,7 +4706,7 @@ paths:
|
|
|
4684
4706
|
type: array
|
|
4685
4707
|
items:
|
|
4686
4708
|
$ref: "#/components/schemas/MemberContentPermission"
|
|
4687
|
-
|
|
4709
|
+
/orgs/{organizationId}/members/{userId}/teams:
|
|
4688
4710
|
get:
|
|
4689
4711
|
operationId: listTeamsForOrganizationMember
|
|
4690
4712
|
summary: List all organization member teams
|
|
@@ -4726,7 +4748,7 @@ paths:
|
|
|
4726
4748
|
$ref: "#/components/schemas/OrganizationTeam"
|
|
4727
4749
|
member:
|
|
4728
4750
|
$ref: "#/components/schemas/TeamMember"
|
|
4729
|
-
|
|
4751
|
+
/orgs/{organizationId}/teams:
|
|
4730
4752
|
get:
|
|
4731
4753
|
operationId: listTeamsInOrganizationById
|
|
4732
4754
|
summary: List all teams
|
|
@@ -4796,7 +4818,7 @@ paths:
|
|
|
4796
4818
|
type: string
|
|
4797
4819
|
required:
|
|
4798
4820
|
- title
|
|
4799
|
-
|
|
4821
|
+
/orgs/{organizationId}/teams/{teamId}:
|
|
4800
4822
|
get:
|
|
4801
4823
|
operationId: getTeamInOrganizationById
|
|
4802
4824
|
summary: Get a team
|
|
@@ -4857,7 +4879,7 @@ paths:
|
|
|
4857
4879
|
description: The team did not exist in the organization.
|
|
4858
4880
|
"205":
|
|
4859
4881
|
description: The team was deleted from the organization.
|
|
4860
|
-
|
|
4882
|
+
/orgs/{organizationId}/teams/{teamId}/members:
|
|
4861
4883
|
put:
|
|
4862
4884
|
operationId: updateMembersInOrganizationTeam
|
|
4863
4885
|
summary: Updates members of a team
|
|
@@ -4909,7 +4931,7 @@ paths:
|
|
|
4909
4931
|
type: array
|
|
4910
4932
|
items:
|
|
4911
4933
|
$ref: "#/components/schemas/OrganizationTeamMember"
|
|
4912
|
-
|
|
4934
|
+
/orgs/{organizationId}/teams/{teamId}/members/{userId}:
|
|
4913
4935
|
put:
|
|
4914
4936
|
operationId: addMemberToOrganizationTeamById
|
|
4915
4937
|
summary: Add a team member
|
|
@@ -4952,7 +4974,7 @@ paths:
|
|
|
4952
4974
|
description: Member was not part of the team
|
|
4953
4975
|
"205":
|
|
4954
4976
|
description: Member has been deleted from the team
|
|
4955
|
-
|
|
4977
|
+
/orgs/{organizationId}/invites:
|
|
4956
4978
|
post:
|
|
4957
4979
|
operationId: inviteUsersToOrganization
|
|
4958
4980
|
summary: Invite users in an organization
|
|
@@ -4994,7 +5016,7 @@ paths:
|
|
|
4994
5016
|
application/json:
|
|
4995
5017
|
schema:
|
|
4996
5018
|
$ref: "#/components/schemas/InviteUsersToOrganization"
|
|
4997
|
-
|
|
5019
|
+
/orgs/{organizationId}/invites/{inviteId}:
|
|
4998
5020
|
post:
|
|
4999
5021
|
operationId: joinOrganizationWithInvite
|
|
5000
5022
|
summary: Join an organization with an invite
|
|
@@ -5013,7 +5035,7 @@ paths:
|
|
|
5013
5035
|
schema:
|
|
5014
5036
|
type: object
|
|
5015
5037
|
properties: {}
|
|
5016
|
-
|
|
5038
|
+
/orgs/{organizationId}/link-invites:
|
|
5017
5039
|
get:
|
|
5018
5040
|
operationId: listOrganizationInviteLinks
|
|
5019
5041
|
summary: List organization invites
|
|
@@ -5063,7 +5085,7 @@ paths:
|
|
|
5063
5085
|
application/json:
|
|
5064
5086
|
schema:
|
|
5065
5087
|
$ref: "#/components/schemas/OrganizationInviteLink"
|
|
5066
|
-
|
|
5088
|
+
/orgs/{organizationId}/link-invites/{inviteId}:
|
|
5067
5089
|
get:
|
|
5068
5090
|
operationId: getOrganizationInviteLink
|
|
5069
5091
|
summary: Get an organization by its ID
|
|
@@ -5133,7 +5155,7 @@ paths:
|
|
|
5133
5155
|
description: Organization invite did not exist
|
|
5134
5156
|
"205":
|
|
5135
5157
|
description: The organization invite has been deleted
|
|
5136
|
-
|
|
5158
|
+
/orgs/{organizationId}/join:
|
|
5137
5159
|
post:
|
|
5138
5160
|
operationId: joinOrganization
|
|
5139
5161
|
summary: Join an organization
|
|
@@ -5155,7 +5177,7 @@ paths:
|
|
|
5155
5177
|
"404":
|
|
5156
5178
|
description: Organization not found
|
|
5157
5179
|
$ref: "#/components/responses/NotFoundError"
|
|
5158
|
-
|
|
5180
|
+
/orgs/{organizationId}/search:
|
|
5159
5181
|
get:
|
|
5160
5182
|
operationId: searchOrganizationContent
|
|
5161
5183
|
summary: Search content in an organization
|
|
@@ -5189,7 +5211,7 @@ paths:
|
|
|
5189
5211
|
type: array
|
|
5190
5212
|
items:
|
|
5191
5213
|
$ref: "#/components/schemas/SearchSpaceResult"
|
|
5192
|
-
|
|
5214
|
+
/orgs/{organizationId}/change-requests:
|
|
5193
5215
|
get:
|
|
5194
5216
|
operationId: listChangeRequestsForOrganization
|
|
5195
5217
|
summary: List all change requests in an organization
|
|
@@ -5268,7 +5290,7 @@ paths:
|
|
|
5268
5290
|
type: array
|
|
5269
5291
|
items:
|
|
5270
5292
|
$ref: "#/components/schemas/ChangeRequest"
|
|
5271
|
-
|
|
5293
|
+
/orgs/{organizationId}/spaces:
|
|
5272
5294
|
get:
|
|
5273
5295
|
operationId: listSpacesInOrganizationById
|
|
5274
5296
|
summary: List all spaces
|
|
@@ -5276,6 +5298,7 @@ paths:
|
|
|
5276
5298
|
- spaces
|
|
5277
5299
|
security:
|
|
5278
5300
|
- user: []
|
|
5301
|
+
- integration-installation: []
|
|
5279
5302
|
parameters:
|
|
5280
5303
|
- $ref: "#/components/parameters/organizationId"
|
|
5281
5304
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -5322,7 +5345,7 @@ paths:
|
|
|
5322
5345
|
application/json:
|
|
5323
5346
|
schema:
|
|
5324
5347
|
$ref: "#/components/schemas/Space"
|
|
5325
|
-
|
|
5348
|
+
/orgs/{organizationId}/collections:
|
|
5326
5349
|
get:
|
|
5327
5350
|
operationId: listCollectionsInOrganizationById
|
|
5328
5351
|
summary: List all collections
|
|
@@ -5389,7 +5412,7 @@ paths:
|
|
|
5389
5412
|
application/json:
|
|
5390
5413
|
schema:
|
|
5391
5414
|
$ref: "#/components/schemas/Collection"
|
|
5392
|
-
|
|
5415
|
+
/orgs/{organizationId}/integrations:
|
|
5393
5416
|
get:
|
|
5394
5417
|
operationId: listOrganizationIntegrations
|
|
5395
5418
|
summary: List all public integrations along with private ones trusted by the specific org.
|
|
@@ -5423,7 +5446,7 @@ paths:
|
|
|
5423
5446
|
type: array
|
|
5424
5447
|
items:
|
|
5425
5448
|
$ref: "#/components/schemas/Integration"
|
|
5426
|
-
|
|
5449
|
+
/orgs/{organizationId}/integrations/{integrationName}/installation_status:
|
|
5427
5450
|
get:
|
|
5428
5451
|
operationId: getOrganizationIntegrationStatus
|
|
5429
5452
|
summary: Get the status of an integration
|
|
@@ -5447,7 +5470,7 @@ paths:
|
|
|
5447
5470
|
- status
|
|
5448
5471
|
"404":
|
|
5449
5472
|
$ref: "#/components/responses/NotFoundError"
|
|
5450
|
-
|
|
5473
|
+
/orgs/{organizationId}/installations:
|
|
5451
5474
|
get:
|
|
5452
5475
|
operationId: listOrganizationInstallations
|
|
5453
5476
|
summary: List all integration installations
|
|
@@ -5482,7 +5505,7 @@ paths:
|
|
|
5482
5505
|
required:
|
|
5483
5506
|
- integration
|
|
5484
5507
|
- installation
|
|
5485
|
-
|
|
5508
|
+
/orgs/{organizationId}/integrations/installations-status:
|
|
5486
5509
|
get:
|
|
5487
5510
|
operationId: listOrganizationIntegrationsStatus
|
|
5488
5511
|
summary: List all integration statuses
|
|
@@ -5519,7 +5542,7 @@ paths:
|
|
|
5519
5542
|
type: array
|
|
5520
5543
|
items:
|
|
5521
5544
|
$ref: "#/components/schemas/InstalledIntegration"
|
|
5522
|
-
|
|
5545
|
+
/orgs/{organizationId}/saml:
|
|
5523
5546
|
get:
|
|
5524
5547
|
operationId: listSAMLProvidersInOrganizationById
|
|
5525
5548
|
summary: List all SAML providers
|
|
@@ -5591,7 +5614,7 @@ paths:
|
|
|
5591
5614
|
application/json:
|
|
5592
5615
|
schema:
|
|
5593
5616
|
$ref: "#/components/schemas/OrganizationSAMLProvider"
|
|
5594
|
-
|
|
5617
|
+
/orgs/{organizationId}/saml/{samlProviderId}:
|
|
5595
5618
|
get:
|
|
5596
5619
|
operationId: getOrganizationSAMLProviderById
|
|
5597
5620
|
summary: Get a SAML provider by its ID
|
|
@@ -5663,7 +5686,7 @@ paths:
|
|
|
5663
5686
|
description: SAML provider did not exist
|
|
5664
5687
|
"205":
|
|
5665
5688
|
description: SAML provider has been deleted
|
|
5666
|
-
|
|
5689
|
+
/orgs/{organizationId}/sso:
|
|
5667
5690
|
get:
|
|
5668
5691
|
operationId: listSSOProviderLoginsInOrganization
|
|
5669
5692
|
summary: List all SSO provider login infos
|
|
@@ -5685,7 +5708,7 @@ paths:
|
|
|
5685
5708
|
type: array
|
|
5686
5709
|
items:
|
|
5687
5710
|
$ref: "#/components/schemas/OrganizationSSOProviderLogin"
|
|
5688
|
-
|
|
5711
|
+
/orgs/{organizationId}/ask:
|
|
5689
5712
|
post:
|
|
5690
5713
|
operationId: askInOrganization
|
|
5691
5714
|
summary: Ask a question in an organization
|
|
@@ -5718,7 +5741,7 @@ paths:
|
|
|
5718
5741
|
properties:
|
|
5719
5742
|
answer:
|
|
5720
5743
|
$ref: "#/components/schemas/SearchAIAnswer"
|
|
5721
|
-
|
|
5744
|
+
/orgs/{organizationId}/ask/questions:
|
|
5722
5745
|
get:
|
|
5723
5746
|
operationId: getRecommendedQuestionsInOrganization
|
|
5724
5747
|
summary: List recommended questions to ask in an organization
|
|
@@ -5735,7 +5758,7 @@ paths:
|
|
|
5735
5758
|
application/json:
|
|
5736
5759
|
schema:
|
|
5737
5760
|
$ref: "#/components/schemas/SearchAIRecommendedQuestions"
|
|
5738
|
-
|
|
5761
|
+
/orgs/{organizationId}/ask/questions/stream:
|
|
5739
5762
|
get:
|
|
5740
5763
|
operationId: streamRecommendedQuestionsInOrganization
|
|
5741
5764
|
summary: List recommended questions to ask in an organization (streamed)
|
|
@@ -5752,7 +5775,7 @@ paths:
|
|
|
5752
5775
|
text/event-stream:
|
|
5753
5776
|
schema:
|
|
5754
5777
|
$ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
|
|
5755
|
-
|
|
5778
|
+
/orgs/{organizationId}/ask/stream:
|
|
5756
5779
|
get:
|
|
5757
5780
|
operationId: streamAskInOrganization
|
|
5758
5781
|
summary: Ask a question in an organization (streamed)
|
|
@@ -5761,6 +5784,8 @@ paths:
|
|
|
5761
5784
|
- organization-ask
|
|
5762
5785
|
security:
|
|
5763
5786
|
- user: []
|
|
5787
|
+
- integration: []
|
|
5788
|
+
- integration-installation: []
|
|
5764
5789
|
parameters:
|
|
5765
5790
|
- $ref: "#/components/parameters/organizationId"
|
|
5766
5791
|
- name: query
|
|
@@ -5781,7 +5806,7 @@ paths:
|
|
|
5781
5806
|
text/event-stream:
|
|
5782
5807
|
schema:
|
|
5783
5808
|
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
5784
|
-
|
|
5809
|
+
/orgs/{organizationId}/openapi:
|
|
5785
5810
|
get:
|
|
5786
5811
|
operationId: listOpenAPISpecs
|
|
5787
5812
|
summary: List all OpenAPI spec
|
|
@@ -5841,7 +5866,7 @@ paths:
|
|
|
5841
5866
|
$ref: "#/components/schemas/OpenAPISpec"
|
|
5842
5867
|
"400":
|
|
5843
5868
|
$ref: "#/components/responses/BadRequestError"
|
|
5844
|
-
|
|
5869
|
+
/orgs/{organizationId}/openapi/{specSlug}:
|
|
5845
5870
|
get:
|
|
5846
5871
|
operationId: getOpenAPISpecBySlug
|
|
5847
5872
|
summary: Get an OpenAPI spec by its slug
|
|
@@ -5946,7 +5971,7 @@ paths:
|
|
|
5946
5971
|
description: Specification did not exist
|
|
5947
5972
|
"205":
|
|
5948
5973
|
description: OpenAPI specification has been deleted
|
|
5949
|
-
|
|
5974
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions:
|
|
5950
5975
|
get:
|
|
5951
5976
|
operationId: listOpenAPISpecVersions
|
|
5952
5977
|
summary: List all OpenAPI spec versions
|
|
@@ -5978,7 +6003,7 @@ paths:
|
|
|
5978
6003
|
"404":
|
|
5979
6004
|
description: No matching OpenAPI specification found
|
|
5980
6005
|
$ref: "#/components/responses/NotFoundError"
|
|
5981
|
-
|
|
6006
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions/latest:
|
|
5982
6007
|
get:
|
|
5983
6008
|
operationId: getLatestOpenAPISpecVersion
|
|
5984
6009
|
summary: Get the latest OpenAPI spec version
|
|
@@ -5999,7 +6024,7 @@ paths:
|
|
|
5999
6024
|
"404":
|
|
6000
6025
|
description: No matching OpenAPI specification version found
|
|
6001
6026
|
$ref: "#/components/responses/NotFoundError"
|
|
6002
|
-
|
|
6027
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content:
|
|
6003
6028
|
get:
|
|
6004
6029
|
operationId: getLatestOpenAPISpecVersionContent
|
|
6005
6030
|
summary: Get the latest OpenAPI spec version content
|
|
@@ -6020,7 +6045,7 @@ paths:
|
|
|
6020
6045
|
"404":
|
|
6021
6046
|
description: No matching OpenAPI specification version found
|
|
6022
6047
|
$ref: "#/components/responses/NotFoundError"
|
|
6023
|
-
|
|
6048
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}:
|
|
6024
6049
|
get:
|
|
6025
6050
|
operationId: getOpenAPISpecVersionById
|
|
6026
6051
|
summary: Get an OpenAPI spec version by its ID
|
|
@@ -6042,7 +6067,7 @@ paths:
|
|
|
6042
6067
|
"404":
|
|
6043
6068
|
description: No matching OpenAPI specification version found
|
|
6044
6069
|
$ref: "#/components/responses/NotFoundError"
|
|
6045
|
-
|
|
6070
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content:
|
|
6046
6071
|
get:
|
|
6047
6072
|
operationId: getOpenAPISpecVersionContentById
|
|
6048
6073
|
summary: Get an OpenAPI spec version content by its ID
|
|
@@ -6064,7 +6089,7 @@ paths:
|
|
|
6064
6089
|
"404":
|
|
6065
6090
|
description: No matching OpenAPI specification version found
|
|
6066
6091
|
$ref: "#/components/responses/NotFoundError"
|
|
6067
|
-
|
|
6092
|
+
/orgs/{organizationId}/agent-instructions:
|
|
6068
6093
|
get:
|
|
6069
6094
|
operationId: getOrganizationAgentInstructions
|
|
6070
6095
|
summary: Get Docs agent instructions for an organization
|
|
@@ -6111,7 +6136,7 @@ paths:
|
|
|
6111
6136
|
application/json:
|
|
6112
6137
|
schema:
|
|
6113
6138
|
$ref: "#/components/schemas/OrganizationAgentInstructions"
|
|
6114
|
-
|
|
6139
|
+
/orgs/{organizationId}/translations:
|
|
6115
6140
|
get:
|
|
6116
6141
|
operationId: listTranslations
|
|
6117
6142
|
summary: List all the translations
|
|
@@ -6173,7 +6198,7 @@ paths:
|
|
|
6173
6198
|
$ref: "#/components/schemas/Translation"
|
|
6174
6199
|
"400":
|
|
6175
6200
|
$ref: "#/components/responses/BadRequestError"
|
|
6176
|
-
|
|
6201
|
+
/orgs/{organizationId}/translations/{translationId}:
|
|
6177
6202
|
get:
|
|
6178
6203
|
operationId: getTranslation
|
|
6179
6204
|
summary: Get a translation by its ID
|
|
@@ -6239,7 +6264,7 @@ paths:
|
|
|
6239
6264
|
description: Translation did not exist
|
|
6240
6265
|
"205":
|
|
6241
6266
|
description: Translation has been deleted
|
|
6242
|
-
|
|
6267
|
+
/orgs/{organizationId}/translations/{translationId}/run:
|
|
6243
6268
|
post:
|
|
6244
6269
|
operationId: runTranslation
|
|
6245
6270
|
summary: Run a translation again
|
|
@@ -6256,7 +6281,7 @@ paths:
|
|
|
6256
6281
|
"404":
|
|
6257
6282
|
description: No matching translation found
|
|
6258
6283
|
$ref: "#/components/responses/NotFoundError"
|
|
6259
|
-
|
|
6284
|
+
/orgs/{organizationId}/translations-glossary:
|
|
6260
6285
|
get:
|
|
6261
6286
|
operationId: listGlossaryEntries
|
|
6262
6287
|
summary: List glossary entries
|
|
@@ -6316,7 +6341,7 @@ paths:
|
|
|
6316
6341
|
description: Glossary entries updated
|
|
6317
6342
|
"400":
|
|
6318
6343
|
$ref: "#/components/responses/BadRequestError"
|
|
6319
|
-
|
|
6344
|
+
/orgs/{organizationId}/translations-glossary/{glossaryEntryId}:
|
|
6320
6345
|
get:
|
|
6321
6346
|
operationId: getGlossaryEntry
|
|
6322
6347
|
summary: Get a glossary entry by its ID
|
|
@@ -6336,7 +6361,7 @@ paths:
|
|
|
6336
6361
|
$ref: "#/components/schemas/GlossaryEntry"
|
|
6337
6362
|
"404":
|
|
6338
6363
|
$ref: "#/components/responses/NotFoundError"
|
|
6339
|
-
|
|
6364
|
+
/orgs/{organizationId}/storage/upload:
|
|
6340
6365
|
post:
|
|
6341
6366
|
operationId: generateStorageUploadURL
|
|
6342
6367
|
summary: Create a signed URL to upload a file
|
|
@@ -6370,7 +6395,7 @@ paths:
|
|
|
6370
6395
|
$ref: "#/components/schemas/StorageUploadURL"
|
|
6371
6396
|
"400":
|
|
6372
6397
|
$ref: "#/components/responses/BadRequestError"
|
|
6373
|
-
|
|
6398
|
+
/orgs/{organizationId}/fonts:
|
|
6374
6399
|
get:
|
|
6375
6400
|
operationId: listCustomFonts
|
|
6376
6401
|
summary: List all custom fonts
|
|
@@ -6448,7 +6473,7 @@ paths:
|
|
|
6448
6473
|
"412":
|
|
6449
6474
|
description: Invalid request data, such as missing required font weights.
|
|
6450
6475
|
$ref: "#/components/responses/PreconditionFailedError"
|
|
6451
|
-
|
|
6476
|
+
/orgs/{organizationId}/fonts/{fontId}:
|
|
6452
6477
|
get:
|
|
6453
6478
|
operationId: getCustomFont
|
|
6454
6479
|
summary: Get a custom font by its ID
|
|
@@ -6532,7 +6557,7 @@ paths:
|
|
|
6532
6557
|
description: Organization or font not found.
|
|
6533
6558
|
"205":
|
|
6534
6559
|
description: Custom font deleted successfully.
|
|
6535
|
-
|
|
6560
|
+
/org/{organizationId}/imports:
|
|
6536
6561
|
post:
|
|
6537
6562
|
operationId: startImportRun
|
|
6538
6563
|
summary: Import content into a space from a website
|
|
@@ -6571,7 +6596,7 @@ paths:
|
|
|
6571
6596
|
$ref: "#/components/responses/BadRequestError"
|
|
6572
6597
|
"404":
|
|
6573
6598
|
$ref: "#/components/responses/NotFoundError"
|
|
6574
|
-
|
|
6599
|
+
/org/{organizationId}/imports/{importRunId}/cancel:
|
|
6575
6600
|
post:
|
|
6576
6601
|
operationId: cancelImportRun
|
|
6577
6602
|
summary: Cancel an import run
|
|
@@ -6593,7 +6618,7 @@ paths:
|
|
|
6593
6618
|
$ref: "#/components/responses/BadRequestError"
|
|
6594
6619
|
"404":
|
|
6595
6620
|
$ref: "#/components/responses/NotFoundError"
|
|
6596
|
-
|
|
6621
|
+
/orgs/{organizationId}/sites:
|
|
6597
6622
|
get:
|
|
6598
6623
|
operationId: listSites
|
|
6599
6624
|
summary: List all sites
|
|
@@ -6687,7 +6712,7 @@ paths:
|
|
|
6687
6712
|
application/json:
|
|
6688
6713
|
schema:
|
|
6689
6714
|
$ref: "#/components/schemas/Site"
|
|
6690
|
-
|
|
6715
|
+
/orgs/{organizationId}/sites/{siteId}:
|
|
6691
6716
|
get:
|
|
6692
6717
|
operationId: getSiteById
|
|
6693
6718
|
summary: Get a site by its ID
|
|
@@ -6770,7 +6795,7 @@ paths:
|
|
|
6770
6795
|
description: Site did not exist
|
|
6771
6796
|
"205":
|
|
6772
6797
|
description: Site has been deleted
|
|
6773
|
-
|
|
6798
|
+
/orgs/{organizationId}/sites/{siteId}/adaptive-schema:
|
|
6774
6799
|
get:
|
|
6775
6800
|
operationId: getSiteAdaptiveSchema
|
|
6776
6801
|
summary: Get the JSON schema describing the attributes expected for an Adaptive content site visitor.
|
|
@@ -6778,6 +6803,8 @@ paths:
|
|
|
6778
6803
|
- sites
|
|
6779
6804
|
security:
|
|
6780
6805
|
- user: []
|
|
6806
|
+
- integration: []
|
|
6807
|
+
- integration-installation: []
|
|
6781
6808
|
parameters:
|
|
6782
6809
|
- $ref: "#/components/parameters/organizationId"
|
|
6783
6810
|
- $ref: "#/components/parameters/siteId"
|
|
@@ -6800,6 +6827,8 @@ paths:
|
|
|
6800
6827
|
- sites
|
|
6801
6828
|
security:
|
|
6802
6829
|
- user: []
|
|
6830
|
+
- integration: []
|
|
6831
|
+
- integration-installation: []
|
|
6803
6832
|
parameters:
|
|
6804
6833
|
- $ref: "#/components/parameters/organizationId"
|
|
6805
6834
|
- $ref: "#/components/parameters/siteId"
|
|
@@ -6826,7 +6855,7 @@ paths:
|
|
|
6826
6855
|
$ref: "#/components/responses/BadRequestError"
|
|
6827
6856
|
default:
|
|
6828
6857
|
$ref: "#/components/responses/UnexpectedError"
|
|
6829
|
-
|
|
6858
|
+
/orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions:
|
|
6830
6859
|
get:
|
|
6831
6860
|
operationId: listSiteAdaptiveTemplateConditions
|
|
6832
6861
|
summary: List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.
|
|
@@ -6849,7 +6878,7 @@ paths:
|
|
|
6849
6878
|
$ref: "#/components/schemas/SiteAdaptiveTemplateCondition"
|
|
6850
6879
|
required:
|
|
6851
6880
|
- items
|
|
6852
|
-
|
|
6881
|
+
/orgs/{organizationId}/sites/{siteId}/published:
|
|
6853
6882
|
get:
|
|
6854
6883
|
operationId: getPublishedContentSite
|
|
6855
6884
|
summary: Get a published site
|
|
@@ -6872,7 +6901,7 @@ paths:
|
|
|
6872
6901
|
"404":
|
|
6873
6902
|
description: No matching site found
|
|
6874
6903
|
$ref: "#/components/responses/NotFoundError"
|
|
6875
|
-
|
|
6904
|
+
/orgs/{organizationId}/sites/{siteId}/publish:
|
|
6876
6905
|
post:
|
|
6877
6906
|
operationId: publishSite
|
|
6878
6907
|
summary: Publish a site
|
|
@@ -6904,7 +6933,7 @@ paths:
|
|
|
6904
6933
|
required:
|
|
6905
6934
|
- type
|
|
6906
6935
|
- sessionId
|
|
6907
|
-
|
|
6936
|
+
/orgs/{organizationId}/sites/{siteId}/unpublish:
|
|
6908
6937
|
post:
|
|
6909
6938
|
operationId: unpublishSite
|
|
6910
6939
|
summary: Unpublish a site
|
|
@@ -6922,7 +6951,7 @@ paths:
|
|
|
6922
6951
|
application/json:
|
|
6923
6952
|
schema:
|
|
6924
6953
|
$ref: "#/components/schemas/Site"
|
|
6925
|
-
|
|
6954
|
+
/orgs/{organizationId}/sites/{siteId}/share-links:
|
|
6926
6955
|
get:
|
|
6927
6956
|
operationId: listSiteShareLinks
|
|
6928
6957
|
summary: List all share links
|
|
@@ -6989,7 +7018,7 @@ paths:
|
|
|
6989
7018
|
application/json:
|
|
6990
7019
|
schema:
|
|
6991
7020
|
$ref: "#/components/schemas/ShareLink"
|
|
6992
|
-
|
|
7021
|
+
/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}:
|
|
6993
7022
|
patch:
|
|
6994
7023
|
operationId: updateSiteShareLinkById
|
|
6995
7024
|
summary: Update a share link
|
|
@@ -7036,7 +7065,7 @@ paths:
|
|
|
7036
7065
|
description: Site share link did not exist
|
|
7037
7066
|
"205":
|
|
7038
7067
|
description: Site share link has been deleted
|
|
7039
|
-
|
|
7068
|
+
/orgs/{organizationId}/sites/{siteId}/structure:
|
|
7040
7069
|
get:
|
|
7041
7070
|
operationId: getSiteStructure
|
|
7042
7071
|
summary: Get a site structure
|
|
@@ -7059,7 +7088,7 @@ paths:
|
|
|
7059
7088
|
"404":
|
|
7060
7089
|
description: No matching site found
|
|
7061
7090
|
$ref: "#/components/responses/NotFoundError"
|
|
7062
|
-
|
|
7091
|
+
/orgs/{organizationId}/sites/{siteId}/structure/sort:
|
|
7063
7092
|
patch:
|
|
7064
7093
|
operationId: sortSiteStructure
|
|
7065
7094
|
summary: Move a site space, site section or site section group to a new position in the site structure.
|
|
@@ -7100,7 +7129,7 @@ paths:
|
|
|
7100
7129
|
$ref: "#/components/responses/NotFoundError"
|
|
7101
7130
|
default:
|
|
7102
7131
|
$ref: "#/components/responses/UnexpectedError"
|
|
7103
|
-
|
|
7132
|
+
/orgs/{organizationId}/sites/{siteId}/publishing/auth:
|
|
7104
7133
|
get:
|
|
7105
7134
|
operationId: getSitePublishingAuthById
|
|
7106
7135
|
summary: Get a site auth config
|
|
@@ -7145,7 +7174,7 @@ paths:
|
|
|
7145
7174
|
$ref: "#/components/schemas/SitePublishingAuth"
|
|
7146
7175
|
"400":
|
|
7147
7176
|
$ref: "#/components/responses/BadRequestError"
|
|
7148
|
-
|
|
7177
|
+
/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate:
|
|
7149
7178
|
post:
|
|
7150
7179
|
operationId: regenerateSitePublishingAuthById
|
|
7151
7180
|
summary: Regenerate a site auth
|
|
@@ -7166,7 +7195,7 @@ paths:
|
|
|
7166
7195
|
$ref: "#/components/schemas/SitePublishingAuth"
|
|
7167
7196
|
"400":
|
|
7168
7197
|
$ref: "#/components/responses/BadRequestError"
|
|
7169
|
-
|
|
7198
|
+
/orgs/{organizationId}/sites/{siteId}/publishing/preview:
|
|
7170
7199
|
get:
|
|
7171
7200
|
operationId: getSitePublishingPreviewById
|
|
7172
7201
|
summary: Get a site preview URL
|
|
@@ -7213,7 +7242,7 @@ paths:
|
|
|
7213
7242
|
- url
|
|
7214
7243
|
"400":
|
|
7215
7244
|
$ref: "#/components/responses/BadRequestError"
|
|
7216
|
-
|
|
7245
|
+
/orgs/{organizationId}/sites/{siteId}/customization:
|
|
7217
7246
|
get:
|
|
7218
7247
|
operationId: getSiteCustomizationById
|
|
7219
7248
|
summary: Get a site customization settings
|
|
@@ -7259,7 +7288,7 @@ paths:
|
|
|
7259
7288
|
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
7260
7289
|
"400":
|
|
7261
7290
|
$ref: "#/components/responses/BadRequestError"
|
|
7262
|
-
|
|
7291
|
+
/orgs/{organizationId}/sites/{siteId}/integration-scripts:
|
|
7263
7292
|
get:
|
|
7264
7293
|
operationId: listSiteIntegrationScripts
|
|
7265
7294
|
summary: List the scripts to embed in published content for a site.
|
|
@@ -7282,7 +7311,7 @@ paths:
|
|
|
7282
7311
|
$ref: "#/components/schemas/SiteIntegrationScript"
|
|
7283
7312
|
"400":
|
|
7284
7313
|
$ref: "#/components/responses/BadRequestError"
|
|
7285
|
-
|
|
7314
|
+
/orgs/{organizationId}/sites/{siteId}/integrations:
|
|
7286
7315
|
get:
|
|
7287
7316
|
operationId: listSiteIntegrations
|
|
7288
7317
|
summary: List integrations enabled in a site.
|
|
@@ -7311,7 +7340,7 @@ paths:
|
|
|
7311
7340
|
type: array
|
|
7312
7341
|
items:
|
|
7313
7342
|
$ref: "#/components/schemas/Integration"
|
|
7314
|
-
|
|
7343
|
+
/orgs/{organizationId}/sites/{siteId}/site-spaces:
|
|
7315
7344
|
post:
|
|
7316
7345
|
operationId: addSpaceToSite
|
|
7317
7346
|
summary: Add a space to a site
|
|
@@ -7388,7 +7417,7 @@ paths:
|
|
|
7388
7417
|
type: array
|
|
7389
7418
|
items:
|
|
7390
7419
|
$ref: "#/components/schemas/SiteSpace"
|
|
7391
|
-
|
|
7420
|
+
/orgs/{organizationId}/sites/{siteId}/section-groups:
|
|
7392
7421
|
get:
|
|
7393
7422
|
operationId: listSiteSectionGroups
|
|
7394
7423
|
summary: List all site section groups
|
|
@@ -7465,7 +7494,7 @@ paths:
|
|
|
7465
7494
|
application/json:
|
|
7466
7495
|
schema:
|
|
7467
7496
|
$ref: "#/components/schemas/SiteSectionGroup"
|
|
7468
|
-
|
|
7497
|
+
/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}:
|
|
7469
7498
|
patch:
|
|
7470
7499
|
operationId: updateSiteSectionGroupById
|
|
7471
7500
|
summary: Update a site section group
|
|
@@ -7494,7 +7523,7 @@ paths:
|
|
|
7494
7523
|
- type: "null"
|
|
7495
7524
|
draft:
|
|
7496
7525
|
type: boolean
|
|
7497
|
-
description: Whether the site section group
|
|
7526
|
+
description: Whether the site section group should be kept in draft mode. Setting it to true makes the site section group draft. Setting it to false makes the site section group live.
|
|
7498
7527
|
responses:
|
|
7499
7528
|
"200":
|
|
7500
7529
|
description: OK
|
|
@@ -7518,7 +7547,7 @@ paths:
|
|
|
7518
7547
|
description: Site section group did not exist
|
|
7519
7548
|
"205":
|
|
7520
7549
|
description: Site section group has been deleted
|
|
7521
|
-
|
|
7550
|
+
/orgs/{organizationId}/sites/{siteId}/sections:
|
|
7522
7551
|
post:
|
|
7523
7552
|
operationId: addSectionToSite
|
|
7524
7553
|
summary: Add a section to a site
|
|
@@ -7596,7 +7625,7 @@ paths:
|
|
|
7596
7625
|
type: array
|
|
7597
7626
|
items:
|
|
7598
7627
|
$ref: "#/components/schemas/SiteSection"
|
|
7599
|
-
|
|
7628
|
+
/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}:
|
|
7600
7629
|
patch:
|
|
7601
7630
|
operationId: updateSiteSectionById
|
|
7602
7631
|
summary: Update a site section
|
|
@@ -7635,7 +7664,7 @@ paths:
|
|
|
7635
7664
|
- type: "null"
|
|
7636
7665
|
draft:
|
|
7637
7666
|
type: boolean
|
|
7638
|
-
description: Whether the site section
|
|
7667
|
+
description: Whether the site section should be kept in draft mode. Setting it to true makes the site section draft. Setting it to false makes the site section live.
|
|
7639
7668
|
description:
|
|
7640
7669
|
oneOf:
|
|
7641
7670
|
- $ref: "#/components/schemas/SiteSectionDescription"
|
|
@@ -7670,7 +7699,7 @@ paths:
|
|
|
7670
7699
|
description: Site section did not exist
|
|
7671
7700
|
"205":
|
|
7672
7701
|
description: Site section has been deleted
|
|
7673
|
-
|
|
7702
|
+
/orgs/{organizationId}/sites/{siteId}/search:
|
|
7674
7703
|
post:
|
|
7675
7704
|
operationId: searchSiteContent
|
|
7676
7705
|
summary: Search in a site
|
|
@@ -7762,7 +7791,7 @@ paths:
|
|
|
7762
7791
|
- $ref: "#/components/schemas/SearchRecordResult"
|
|
7763
7792
|
discriminator:
|
|
7764
7793
|
propertyName: type
|
|
7765
|
-
|
|
7794
|
+
/orgs/{organizationId}/sites/{siteId}/ask:
|
|
7766
7795
|
post:
|
|
7767
7796
|
operationId: streamAskInSite
|
|
7768
7797
|
summary: Ask a question in a site
|
|
@@ -7806,7 +7835,7 @@ paths:
|
|
|
7806
7835
|
text/event-stream:
|
|
7807
7836
|
schema:
|
|
7808
7837
|
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
7809
|
-
|
|
7838
|
+
/orgs/{organizationId}/sites/{siteId}/ask/questions:
|
|
7810
7839
|
get:
|
|
7811
7840
|
operationId: streamRecommendedQuestionsInSite
|
|
7812
7841
|
summary: List recommended questions to ask in a site
|
|
@@ -7836,7 +7865,7 @@ paths:
|
|
|
7836
7865
|
text/event-stream:
|
|
7837
7866
|
schema:
|
|
7838
7867
|
$ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
|
|
7839
|
-
|
|
7868
|
+
/orgs/{organizationId}/sites/{siteId}/context-records:
|
|
7840
7869
|
get:
|
|
7841
7870
|
operationId: listSiteContextRecords
|
|
7842
7871
|
summary: List all context records
|
|
@@ -7906,7 +7935,7 @@ paths:
|
|
|
7906
7935
|
responses:
|
|
7907
7936
|
"204":
|
|
7908
7937
|
description: The context records have been created or updated
|
|
7909
|
-
|
|
7938
|
+
/orgs/{organizationId}/sites/{siteId}/context-records/{siteContextRecordId}:
|
|
7910
7939
|
get:
|
|
7911
7940
|
operationId: getSiteContextRecordById
|
|
7912
7941
|
summary: Get a context record
|
|
@@ -7925,7 +7954,7 @@ paths:
|
|
|
7925
7954
|
application/json:
|
|
7926
7955
|
schema:
|
|
7927
7956
|
$ref: "#/components/schemas/ContextRecord"
|
|
7928
|
-
|
|
7957
|
+
/orgs/{organizationId}/sites/{siteId}/scans:
|
|
7929
7958
|
get:
|
|
7930
7959
|
operationId: listSiteScans
|
|
7931
7960
|
summary: List all site scans
|
|
@@ -7993,7 +8022,7 @@ paths:
|
|
|
7993
8022
|
application/json:
|
|
7994
8023
|
schema:
|
|
7995
8024
|
$ref: "#/components/schemas/SiteScan"
|
|
7996
|
-
|
|
8025
|
+
/orgs/{organizationId}/sites/{siteId}/scans/{siteScanId}:
|
|
7997
8026
|
get:
|
|
7998
8027
|
operationId: getSiteScanById
|
|
7999
8028
|
summary: Get a site scan by ID
|
|
@@ -8012,7 +8041,7 @@ paths:
|
|
|
8012
8041
|
application/json:
|
|
8013
8042
|
schema:
|
|
8014
8043
|
$ref: "#/components/schemas/SiteScan"
|
|
8015
|
-
|
|
8044
|
+
/orgs/{organizationId}/sites/{siteId}/findings:
|
|
8016
8045
|
get:
|
|
8017
8046
|
operationId: listSiteFindings
|
|
8018
8047
|
summary: List all site context findings
|
|
@@ -8061,7 +8090,7 @@ paths:
|
|
|
8061
8090
|
type: array
|
|
8062
8091
|
items:
|
|
8063
8092
|
$ref: "#/components/schemas/SiteFinding"
|
|
8064
|
-
|
|
8093
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}:
|
|
8065
8094
|
get:
|
|
8066
8095
|
operationId: getSiteFindingById
|
|
8067
8096
|
summary: Get a site finding by ID
|
|
@@ -8112,7 +8141,7 @@ paths:
|
|
|
8112
8141
|
application/json:
|
|
8113
8142
|
schema:
|
|
8114
8143
|
$ref: "#/components/schemas/SiteFinding"
|
|
8115
|
-
|
|
8144
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/change-requests:
|
|
8116
8145
|
get:
|
|
8117
8146
|
operationId: listChangeRequestsForSiteFinding
|
|
8118
8147
|
summary: List change requests linked to a site finding
|
|
@@ -8156,7 +8185,7 @@ paths:
|
|
|
8156
8185
|
responses:
|
|
8157
8186
|
"202":
|
|
8158
8187
|
description: Site finding processing has been started
|
|
8159
|
-
|
|
8188
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/pages:
|
|
8160
8189
|
get:
|
|
8161
8190
|
operationId: listPagesForSiteFinding
|
|
8162
8191
|
summary: List pages linked to a site finding
|
|
@@ -8186,7 +8215,7 @@ paths:
|
|
|
8186
8215
|
type: array
|
|
8187
8216
|
items:
|
|
8188
8217
|
$ref: "#/components/schemas/SiteFindingPage"
|
|
8189
|
-
|
|
8218
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/questions:
|
|
8190
8219
|
get:
|
|
8191
8220
|
operationId: listQuestionsForSiteFinding
|
|
8192
8221
|
summary: List questions linked to a site finding
|
|
@@ -8216,7 +8245,7 @@ paths:
|
|
|
8216
8245
|
type: array
|
|
8217
8246
|
items:
|
|
8218
8247
|
$ref: "#/components/schemas/SiteQuestion"
|
|
8219
|
-
|
|
8248
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/records:
|
|
8220
8249
|
get:
|
|
8221
8250
|
operationId: listRecordsForSiteFinding
|
|
8222
8251
|
summary: List records linked to a site finding
|
|
@@ -8246,7 +8275,7 @@ paths:
|
|
|
8246
8275
|
type: array
|
|
8247
8276
|
items:
|
|
8248
8277
|
$ref: "#/components/schemas/ContextRecord"
|
|
8249
|
-
|
|
8278
|
+
/orgs/{organizationId}/sites/{siteId}/context-connections:
|
|
8250
8279
|
get:
|
|
8251
8280
|
operationId: listSiteContextConnections
|
|
8252
8281
|
summary: List all context connections
|
|
@@ -8303,7 +8332,7 @@ paths:
|
|
|
8303
8332
|
application/json:
|
|
8304
8333
|
schema:
|
|
8305
8334
|
$ref: "#/components/schemas/ContextConnection"
|
|
8306
|
-
|
|
8335
|
+
/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}:
|
|
8307
8336
|
get:
|
|
8308
8337
|
operationId: getSiteContextConnectionById
|
|
8309
8338
|
summary: Get a context connection
|
|
@@ -8369,7 +8398,7 @@ paths:
|
|
|
8369
8398
|
description: Context connection did not exist
|
|
8370
8399
|
"205":
|
|
8371
8400
|
description: Context connection deleted
|
|
8372
|
-
|
|
8401
|
+
/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}/sync:
|
|
8373
8402
|
post:
|
|
8374
8403
|
operationId: syncSiteContextConnection
|
|
8375
8404
|
summary: Trigger a sync for a context connection
|
|
@@ -8387,7 +8416,7 @@ paths:
|
|
|
8387
8416
|
"400":
|
|
8388
8417
|
description: Connection was synced less than an hour ago or invalid connector
|
|
8389
8418
|
$ref: "#/components/responses/BadRequestError"
|
|
8390
|
-
|
|
8419
|
+
/orgs/{organizationId}/sites/{siteId}/topics:
|
|
8391
8420
|
get:
|
|
8392
8421
|
operationId: listSiteTopics
|
|
8393
8422
|
summary: List all topics
|
|
@@ -8422,7 +8451,7 @@ paths:
|
|
|
8422
8451
|
type: array
|
|
8423
8452
|
items:
|
|
8424
8453
|
$ref: "#/components/schemas/SiteTopic"
|
|
8425
|
-
|
|
8454
|
+
/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}:
|
|
8426
8455
|
get:
|
|
8427
8456
|
operationId: getSiteTopicById
|
|
8428
8457
|
summary: Get a topic
|
|
@@ -8470,7 +8499,7 @@ paths:
|
|
|
8470
8499
|
application/json:
|
|
8471
8500
|
schema:
|
|
8472
8501
|
$ref: "#/components/schemas/SiteTopic"
|
|
8473
|
-
|
|
8502
|
+
/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/findings:
|
|
8474
8503
|
delete:
|
|
8475
8504
|
operationId: deleteSiteTopicFindings
|
|
8476
8505
|
summary: Delete all findings for a topic
|
|
@@ -8487,7 +8516,7 @@ paths:
|
|
|
8487
8516
|
description: Topic had no findings or did not exist
|
|
8488
8517
|
"205":
|
|
8489
8518
|
description: Topic findings deleted
|
|
8490
|
-
|
|
8519
|
+
/orgs/{organizationId}/sites/{siteId}/questions:
|
|
8491
8520
|
get:
|
|
8492
8521
|
operationId: listSiteQuestions
|
|
8493
8522
|
summary: List all questions in a site
|
|
@@ -8570,7 +8599,7 @@ paths:
|
|
|
8570
8599
|
type: array
|
|
8571
8600
|
items:
|
|
8572
8601
|
$ref: "#/components/schemas/SiteQuestion"
|
|
8573
|
-
|
|
8602
|
+
/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}:
|
|
8574
8603
|
get:
|
|
8575
8604
|
operationId: getSiteQuestionById
|
|
8576
8605
|
summary: Get a site question by ID
|
|
@@ -8620,7 +8649,7 @@ paths:
|
|
|
8620
8649
|
application/json:
|
|
8621
8650
|
schema:
|
|
8622
8651
|
$ref: "#/components/schemas/SiteQuestion"
|
|
8623
|
-
|
|
8652
|
+
/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}/sources:
|
|
8624
8653
|
get:
|
|
8625
8654
|
operationId: listSiteQuestionSources
|
|
8626
8655
|
summary: List sources for a question
|
|
@@ -8681,7 +8710,7 @@ paths:
|
|
|
8681
8710
|
type: array
|
|
8682
8711
|
items:
|
|
8683
8712
|
$ref: "#/components/schemas/SiteQuestionAnswerSource"
|
|
8684
|
-
|
|
8713
|
+
/orgs/{organizationId}/sites/{siteId}/question-stats:
|
|
8685
8714
|
get:
|
|
8686
8715
|
operationId: getSiteQuestionStats
|
|
8687
8716
|
summary: Get question stats for a site
|
|
@@ -8737,7 +8766,7 @@ paths:
|
|
|
8737
8766
|
application/json:
|
|
8738
8767
|
schema:
|
|
8739
8768
|
$ref: "#/components/schemas/SiteQuestionStats"
|
|
8740
|
-
|
|
8769
|
+
/orgs/{organizationId}/sites/{siteId}/answers:
|
|
8741
8770
|
get:
|
|
8742
8771
|
operationId: listSiteQuestionAnswers
|
|
8743
8772
|
summary: List all answers for a site
|
|
@@ -8827,7 +8856,7 @@ paths:
|
|
|
8827
8856
|
type: array
|
|
8828
8857
|
items:
|
|
8829
8858
|
$ref: "#/components/schemas/SiteQuestionAnswer"
|
|
8830
|
-
|
|
8859
|
+
/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}:
|
|
8831
8860
|
get:
|
|
8832
8861
|
operationId: getSiteQuestionAnswerById
|
|
8833
8862
|
summary: Get a site answer by ID
|
|
@@ -8846,7 +8875,7 @@ paths:
|
|
|
8846
8875
|
application/json:
|
|
8847
8876
|
schema:
|
|
8848
8877
|
$ref: "#/components/schemas/SiteQuestionAnswerWithResponse"
|
|
8849
|
-
|
|
8878
|
+
/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/thread:
|
|
8850
8879
|
get:
|
|
8851
8880
|
operationId: getSiteQuestionAnswerThreadById
|
|
8852
8881
|
summary: Get a site answer thread by answer ID
|
|
@@ -8867,7 +8896,7 @@ paths:
|
|
|
8867
8896
|
type: array
|
|
8868
8897
|
items:
|
|
8869
8898
|
$ref: "#/components/schemas/SiteQuestionAnswerWithResponse"
|
|
8870
|
-
|
|
8899
|
+
/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/sources:
|
|
8871
8900
|
get:
|
|
8872
8901
|
operationId: listSiteQuestionAnswerSources
|
|
8873
8902
|
summary: List the sources for an answer
|
|
@@ -8897,7 +8926,7 @@ paths:
|
|
|
8897
8926
|
type: array
|
|
8898
8927
|
items:
|
|
8899
8928
|
$ref: "#/components/schemas/SiteQuestionAnswerSource"
|
|
8900
|
-
|
|
8929
|
+
/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}:
|
|
8901
8930
|
patch:
|
|
8902
8931
|
operationId: updateSiteSpaceById
|
|
8903
8932
|
summary: Update a site space
|
|
@@ -8931,7 +8960,7 @@ paths:
|
|
|
8931
8960
|
description: Whether the site space is hidden. If true, the site space will not be shown in the site's navigation. If not set, the hidden state will remain unchanged. If set to false, the site space will be shown in site navigation.
|
|
8932
8961
|
draft:
|
|
8933
8962
|
type: boolean
|
|
8934
|
-
description: Whether the site space should be kept in draft mode. Setting it to false makes the site space live.
|
|
8963
|
+
description: Whether the site space should be kept in draft mode. Setting it to true makes the site space draft. Setting it to false makes the site space live.
|
|
8935
8964
|
responses:
|
|
8936
8965
|
"200":
|
|
8937
8966
|
description: OK
|
|
@@ -8955,7 +8984,7 @@ paths:
|
|
|
8955
8984
|
description: Site space did not exist
|
|
8956
8985
|
"205":
|
|
8957
8986
|
description: Site space has been deleted
|
|
8958
|
-
|
|
8987
|
+
/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization:
|
|
8959
8988
|
get:
|
|
8960
8989
|
operationId: getSiteSpaceCustomizationById
|
|
8961
8990
|
summary: Get a site space customization settings
|
|
@@ -9288,7 +9317,7 @@ paths:
|
|
|
9288
9317
|
description: Site space customization removed
|
|
9289
9318
|
"400":
|
|
9290
9319
|
$ref: "#/components/responses/BadRequestError"
|
|
9291
|
-
|
|
9320
|
+
/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move:
|
|
9292
9321
|
post:
|
|
9293
9322
|
operationId: moveSiteSectionGroup
|
|
9294
9323
|
deprecated: true
|
|
@@ -9323,7 +9352,7 @@ paths:
|
|
|
9323
9352
|
"404":
|
|
9324
9353
|
description: No matching site section group found
|
|
9325
9354
|
$ref: "#/components/responses/NotFoundError"
|
|
9326
|
-
|
|
9355
|
+
/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move:
|
|
9327
9356
|
post:
|
|
9328
9357
|
operationId: moveSiteSection
|
|
9329
9358
|
deprecated: true
|
|
@@ -9358,7 +9387,7 @@ paths:
|
|
|
9358
9387
|
"404":
|
|
9359
9388
|
description: No matching Site section found
|
|
9360
9389
|
$ref: "#/components/responses/NotFoundError"
|
|
9361
|
-
|
|
9390
|
+
/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move:
|
|
9362
9391
|
post:
|
|
9363
9392
|
operationId: moveSiteSpace
|
|
9364
9393
|
deprecated: true
|
|
@@ -9393,7 +9422,7 @@ paths:
|
|
|
9393
9422
|
"404":
|
|
9394
9423
|
description: No matching Site space found
|
|
9395
9424
|
$ref: "#/components/responses/NotFoundError"
|
|
9396
|
-
|
|
9425
|
+
/orgs/{organizationId}/sites/{siteId}/permissions:
|
|
9397
9426
|
post:
|
|
9398
9427
|
operationId: inviteToSite
|
|
9399
9428
|
summary: Invite a user or a team to a site
|
|
@@ -9416,7 +9445,7 @@ paths:
|
|
|
9416
9445
|
application/json:
|
|
9417
9446
|
schema:
|
|
9418
9447
|
$ref: "#/components/schemas/InviteSiteUsersAndTeams"
|
|
9419
|
-
|
|
9448
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/aggregate:
|
|
9420
9449
|
get:
|
|
9421
9450
|
operationId: listPermissionsAggregateInSite
|
|
9422
9451
|
summary: List all sites users permissions
|
|
@@ -9445,7 +9474,7 @@ paths:
|
|
|
9445
9474
|
type: array
|
|
9446
9475
|
items:
|
|
9447
9476
|
$ref: "#/components/schemas/UserSitePermission"
|
|
9448
|
-
|
|
9477
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/users:
|
|
9449
9478
|
get:
|
|
9450
9479
|
operationId: listUserPermissionsInSite
|
|
9451
9480
|
summary: List site user permissions
|
|
@@ -9477,7 +9506,7 @@ paths:
|
|
|
9477
9506
|
"404":
|
|
9478
9507
|
description: No site was found with the given Id
|
|
9479
9508
|
$ref: "#/components/responses/NotFoundError"
|
|
9480
|
-
|
|
9509
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/users/{userId}:
|
|
9481
9510
|
patch:
|
|
9482
9511
|
operationId: updateUserPermissionInSite
|
|
9483
9512
|
summary: Update site user permissions
|
|
@@ -9520,7 +9549,7 @@ paths:
|
|
|
9520
9549
|
description: The user was not found in the site
|
|
9521
9550
|
"205":
|
|
9522
9551
|
description: The user has been removed from the site
|
|
9523
|
-
|
|
9552
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/teams:
|
|
9524
9553
|
get:
|
|
9525
9554
|
operationId: listTeamPermissionsInSite
|
|
9526
9555
|
summary: List an org team's permission in a site
|
|
@@ -9552,7 +9581,7 @@ paths:
|
|
|
9552
9581
|
"404":
|
|
9553
9582
|
description: No site was found with the given Id
|
|
9554
9583
|
$ref: "#/components/responses/NotFoundError"
|
|
9555
|
-
|
|
9584
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}:
|
|
9556
9585
|
patch:
|
|
9557
9586
|
operationId: updateTeamPermissionInSite
|
|
9558
9587
|
summary: Update an org team's permission in a site
|
|
@@ -9595,7 +9624,7 @@ paths:
|
|
|
9595
9624
|
description: The team was not found in the site
|
|
9596
9625
|
"205":
|
|
9597
9626
|
description: The team has been removed from the site
|
|
9598
|
-
|
|
9627
|
+
/orgs/{organizationId}/sites/{siteId}/ai/response:
|
|
9599
9628
|
post:
|
|
9600
9629
|
operationId: streamAIResponseInSite
|
|
9601
9630
|
summary: Generate an AI response in a site
|
|
@@ -9651,7 +9680,7 @@ paths:
|
|
|
9651
9680
|
text/event-stream:
|
|
9652
9681
|
schema:
|
|
9653
9682
|
$ref: "#/components/schemas/AIStreamResponse"
|
|
9654
|
-
|
|
9683
|
+
/orgs/{organizationId}/sites/{siteId}/agent-settings:
|
|
9655
9684
|
get:
|
|
9656
9685
|
operationId: getSiteAgentSettingsById
|
|
9657
9686
|
summary: Get site agent settings
|
|
@@ -9696,7 +9725,47 @@ paths:
|
|
|
9696
9725
|
$ref: "#/components/schemas/SiteAgentSettings"
|
|
9697
9726
|
"400":
|
|
9698
9727
|
$ref: "#/components/responses/BadRequestError"
|
|
9699
|
-
|
|
9728
|
+
/orgs/{organizationId}/sites/{siteId}/styleguide:
|
|
9729
|
+
post:
|
|
9730
|
+
operationId: createSiteStyleguideById
|
|
9731
|
+
summary: Create or return a site's styleguide
|
|
9732
|
+
description: |
|
|
9733
|
+
Ensures the site has a site-owned styleguide backing space and returns
|
|
9734
|
+
a reference to it.
|
|
9735
|
+
tags:
|
|
9736
|
+
- sites
|
|
9737
|
+
security:
|
|
9738
|
+
- user: []
|
|
9739
|
+
parameters:
|
|
9740
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9741
|
+
- $ref: "#/components/parameters/siteId"
|
|
9742
|
+
responses:
|
|
9743
|
+
"200":
|
|
9744
|
+
description: Styleguide created or already exists.
|
|
9745
|
+
content:
|
|
9746
|
+
application/json:
|
|
9747
|
+
schema:
|
|
9748
|
+
$ref: "#/components/schemas/ContentRefSpace"
|
|
9749
|
+
"404":
|
|
9750
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9751
|
+
delete:
|
|
9752
|
+
operationId: deleteSiteStyleguideById
|
|
9753
|
+
summary: Delete a site's styleguide
|
|
9754
|
+
description: |
|
|
9755
|
+
Clears the site's styleguide reference and soft-deletes the space.
|
|
9756
|
+
tags:
|
|
9757
|
+
- sites
|
|
9758
|
+
security:
|
|
9759
|
+
- user: []
|
|
9760
|
+
parameters:
|
|
9761
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9762
|
+
- $ref: "#/components/parameters/siteId"
|
|
9763
|
+
responses:
|
|
9764
|
+
"204":
|
|
9765
|
+
description: Styleguide deleted.
|
|
9766
|
+
"404":
|
|
9767
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9768
|
+
/orgs/{organizationId}/sites/{siteId}/insights/events:
|
|
9700
9769
|
post:
|
|
9701
9770
|
operationId: trackEventsInSiteById
|
|
9702
9771
|
summary: Track site events
|
|
@@ -9721,7 +9790,7 @@ paths:
|
|
|
9721
9790
|
$ref: "#/components/schemas/SiteInsightsEvent"
|
|
9722
9791
|
required:
|
|
9723
9792
|
- events
|
|
9724
|
-
|
|
9793
|
+
/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate:
|
|
9725
9794
|
post:
|
|
9726
9795
|
operationId: aggregateSiteEvents
|
|
9727
9796
|
summary: Query site events
|
|
@@ -9745,7 +9814,7 @@ paths:
|
|
|
9745
9814
|
application/json:
|
|
9746
9815
|
schema:
|
|
9747
9816
|
$ref: "#/components/schemas/SiteInsightsQueryEventsAggregationResult"
|
|
9748
|
-
|
|
9817
|
+
/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments:
|
|
9749
9818
|
get:
|
|
9750
9819
|
operationId: listSiteVisitorSegments
|
|
9751
9820
|
summary: List a site visitor segments
|
|
@@ -9770,7 +9839,7 @@ paths:
|
|
|
9770
9839
|
type: array
|
|
9771
9840
|
items:
|
|
9772
9841
|
$ref: "#/components/schemas/SiteInsightsVisitorSegment"
|
|
9773
|
-
|
|
9842
|
+
/orgs/{organizationId}/sites/{siteId}/ads:
|
|
9774
9843
|
post:
|
|
9775
9844
|
operationId: updateSiteAdsById
|
|
9776
9845
|
summary: Update a site ads settings
|
|
@@ -9798,7 +9867,7 @@ paths:
|
|
|
9798
9867
|
responses:
|
|
9799
9868
|
"204":
|
|
9800
9869
|
description: OK
|
|
9801
|
-
|
|
9870
|
+
/orgs/{organizationId}/sites/{siteId}/redirects:
|
|
9802
9871
|
post:
|
|
9803
9872
|
operationId: createSiteRedirect
|
|
9804
9873
|
summary: Create a site redirect
|
|
@@ -10051,7 +10120,7 @@ paths:
|
|
|
10051
10120
|
type: array
|
|
10052
10121
|
items:
|
|
10053
10122
|
$ref: "#/components/schemas/SiteRedirect"
|
|
10054
|
-
|
|
10123
|
+
/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}:
|
|
10055
10124
|
patch:
|
|
10056
10125
|
operationId: updateSiteRedirectById
|
|
10057
10126
|
summary: Update a site redirect
|
|
@@ -10103,7 +10172,7 @@ paths:
|
|
|
10103
10172
|
description: Site redirect did not exist
|
|
10104
10173
|
"205":
|
|
10105
10174
|
description: Site redirect deleted
|
|
10106
|
-
|
|
10175
|
+
/orgs/{organizationId}/sites/{siteId}/redirect:
|
|
10107
10176
|
get:
|
|
10108
10177
|
operationId: getSiteRedirectBySource
|
|
10109
10178
|
summary: Get a site redirect by its source
|
|
@@ -10139,7 +10208,7 @@ paths:
|
|
|
10139
10208
|
- target
|
|
10140
10209
|
"404":
|
|
10141
10210
|
$ref: "#/components/responses/NotFoundError"
|
|
10142
|
-
|
|
10211
|
+
/orgs/{organizationId}/sites/{siteId}/mcp-servers:
|
|
10143
10212
|
get:
|
|
10144
10213
|
operationId: listSiteMcpServers
|
|
10145
10214
|
summary: List all MCP servers for a site
|
|
@@ -10209,7 +10278,7 @@ paths:
|
|
|
10209
10278
|
application/json:
|
|
10210
10279
|
schema:
|
|
10211
10280
|
$ref: "#/components/schemas/SiteMcpServer"
|
|
10212
|
-
|
|
10281
|
+
/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}:
|
|
10213
10282
|
get:
|
|
10214
10283
|
operationId: getSiteMcpServerById
|
|
10215
10284
|
summary: Get a site MCP server
|
|
@@ -10284,7 +10353,7 @@ paths:
|
|
|
10284
10353
|
description: MCP server did not exist
|
|
10285
10354
|
"205":
|
|
10286
10355
|
description: MCP server deleted
|
|
10287
|
-
|
|
10356
|
+
/orgs/{organizationId}/sites/{siteId}/channels:
|
|
10288
10357
|
get:
|
|
10289
10358
|
operationId: listSiteChannels
|
|
10290
10359
|
summary: List all site channels for a site
|
|
@@ -10341,7 +10410,7 @@ paths:
|
|
|
10341
10410
|
application/json:
|
|
10342
10411
|
schema:
|
|
10343
10412
|
$ref: "#/components/schemas/SiteChannel"
|
|
10344
|
-
|
|
10413
|
+
/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}:
|
|
10345
10414
|
get:
|
|
10346
10415
|
operationId: getSiteChannelById
|
|
10347
10416
|
summary: Get a site channel
|
|
@@ -10405,7 +10474,7 @@ paths:
|
|
|
10405
10474
|
description: Site channel did not exist
|
|
10406
10475
|
"205":
|
|
10407
10476
|
description: Site channel deleted
|
|
10408
|
-
|
|
10477
|
+
/subdomains/{subdomain}:
|
|
10409
10478
|
get:
|
|
10410
10479
|
operationId: getSubdomain
|
|
10411
10480
|
summary: Get a subdomain
|
|
@@ -10422,14 +10491,15 @@ paths:
|
|
|
10422
10491
|
application/json:
|
|
10423
10492
|
schema:
|
|
10424
10493
|
$ref: "#/components/schemas/Subdomain"
|
|
10425
|
-
|
|
10494
|
+
/custom-hostnames/{hostname}:
|
|
10426
10495
|
get:
|
|
10427
10496
|
operationId: getCustomHostname
|
|
10428
10497
|
summary: Get a custom hostname
|
|
10429
10498
|
tags:
|
|
10430
10499
|
- custom-hostnames
|
|
10431
10500
|
security:
|
|
10432
|
-
- user-internal
|
|
10501
|
+
- user-internal: []
|
|
10502
|
+
- user-staff: []
|
|
10433
10503
|
parameters:
|
|
10434
10504
|
- $ref: "#/components/parameters/hostname"
|
|
10435
10505
|
responses:
|
|
@@ -10473,7 +10543,7 @@ paths:
|
|
|
10473
10543
|
description: Custom hostname did not exist
|
|
10474
10544
|
"205":
|
|
10475
10545
|
description: Custom hostname has been removed
|
|
10476
|
-
|
|
10546
|
+
/email-domains/{emailDomain}/orgs:
|
|
10477
10547
|
get:
|
|
10478
10548
|
operationId: getOrganizationsForEmailDomain
|
|
10479
10549
|
summary: Get all organizations by email domain
|
|
@@ -10581,7 +10651,7 @@ paths:
|
|
|
10581
10651
|
reason:
|
|
10582
10652
|
type: string
|
|
10583
10653
|
description: Reason for the rejection
|
|
10584
|
-
|
|
10654
|
+
/ads/sites/{siteId}:
|
|
10585
10655
|
patch:
|
|
10586
10656
|
operationId: adsUpdateSite
|
|
10587
10657
|
summary: Update the Ads configuration for a site
|
|
@@ -10643,6 +10713,8 @@ paths:
|
|
|
10643
10713
|
- urls
|
|
10644
10714
|
security:
|
|
10645
10715
|
- user: []
|
|
10716
|
+
- integration: []
|
|
10717
|
+
- integration-installation: []
|
|
10646
10718
|
parameters:
|
|
10647
10719
|
- name: url
|
|
10648
10720
|
in: query
|
|
@@ -10800,7 +10872,7 @@ paths:
|
|
|
10800
10872
|
$ref: "#/components/responses/NotFoundError"
|
|
10801
10873
|
"409":
|
|
10802
10874
|
$ref: "#/components/responses/ConflictError"
|
|
10803
|
-
|
|
10875
|
+
/git/installations/{installationId}:
|
|
10804
10876
|
get:
|
|
10805
10877
|
operationId: getGitSyncInstallationById
|
|
10806
10878
|
summary: Get a Git Sync installation
|
|
@@ -10863,7 +10935,7 @@ paths:
|
|
|
10863
10935
|
description: Git Sync installation was removed successfully
|
|
10864
10936
|
"404":
|
|
10865
10937
|
$ref: "#/components/responses/NotFoundError"
|
|
10866
|
-
|
|
10938
|
+
/git/installations/{installationId}/github/repos:
|
|
10867
10939
|
get:
|
|
10868
10940
|
operationId: listGitHubRepositoriesForGitSyncInstallation
|
|
10869
10941
|
summary: List GitHub repositories available for a Git Sync installation
|
|
@@ -10891,7 +10963,7 @@ paths:
|
|
|
10891
10963
|
$ref: "#/components/responses/UnauthorizedError"
|
|
10892
10964
|
"404":
|
|
10893
10965
|
$ref: "#/components/responses/NotFoundError"
|
|
10894
|
-
|
|
10966
|
+
/git/installations/{installationId}/github/repos/{accountName}/{repositoryName}/branches:
|
|
10895
10967
|
get:
|
|
10896
10968
|
operationId: listGitHubRepoBranchesForGitSyncInstallation
|
|
10897
10969
|
summary: List GitHub repository branches available for a Git Sync installation
|
|
@@ -10929,7 +11001,7 @@ paths:
|
|
|
10929
11001
|
$ref: "#/components/responses/UnauthorizedError"
|
|
10930
11002
|
"404":
|
|
10931
11003
|
$ref: "#/components/responses/NotFoundError"
|
|
10932
|
-
|
|
11004
|
+
/git/installations/{installationId}/gitlab/projects:
|
|
10933
11005
|
get:
|
|
10934
11006
|
operationId: listGitLabProjectsForGitSyncInstallation
|
|
10935
11007
|
summary: List GitLab projects available for a Git Sync installation
|
|
@@ -10957,7 +11029,7 @@ paths:
|
|
|
10957
11029
|
$ref: "#/components/responses/UnauthorizedError"
|
|
10958
11030
|
"404":
|
|
10959
11031
|
$ref: "#/components/responses/NotFoundError"
|
|
10960
|
-
|
|
11032
|
+
/git/installations/{installationId}/gitlab/projects/{projectId}/branches:
|
|
10961
11033
|
get:
|
|
10962
11034
|
operationId: listGitLabProjectBranchesForGitSyncInstallation
|
|
10963
11035
|
summary: List GitLab project branches available for a Git Sync installation
|
|
@@ -11001,15 +11073,20 @@ components:
|
|
|
11001
11073
|
user-staff:
|
|
11002
11074
|
type: http
|
|
11003
11075
|
scheme: bearer
|
|
11004
|
-
user-internal-or-staff:
|
|
11005
|
-
type: http
|
|
11006
|
-
scheme: bearer
|
|
11007
11076
|
integration:
|
|
11008
11077
|
type: http
|
|
11009
11078
|
scheme: bearer
|
|
11010
11079
|
integration-installation:
|
|
11011
11080
|
type: http
|
|
11012
11081
|
scheme: bearer
|
|
11082
|
+
oauth:
|
|
11083
|
+
type: oauth2
|
|
11084
|
+
flows:
|
|
11085
|
+
authorizationCode:
|
|
11086
|
+
authorizationUrl: https://oauth.gitbook.com/authorize
|
|
11087
|
+
tokenUrl: https://oauth.gitbook.com/token
|
|
11088
|
+
scopes:
|
|
11089
|
+
api:read: Read GitBook API resources.
|
|
11013
11090
|
parameters:
|
|
11014
11091
|
listPage:
|
|
11015
11092
|
name: page
|
|
@@ -11783,6 +11860,9 @@ components:
|
|
|
11783
11860
|
- custom
|
|
11784
11861
|
expression:
|
|
11785
11862
|
$ref: "#/components/schemas/Expression"
|
|
11863
|
+
message:
|
|
11864
|
+
type: string
|
|
11865
|
+
description: Optional message to display when the expression evaluates to false.
|
|
11786
11866
|
required:
|
|
11787
11867
|
- rule
|
|
11788
11868
|
- expression
|
|
@@ -15417,6 +15497,12 @@ components:
|
|
|
15417
15497
|
downloadLink:
|
|
15418
15498
|
type: boolean
|
|
15419
15499
|
description: Whether to show a link to download the OpenAPI spec.
|
|
15500
|
+
grouping:
|
|
15501
|
+
type: string
|
|
15502
|
+
enum:
|
|
15503
|
+
- by-tag
|
|
15504
|
+
- by-operation
|
|
15505
|
+
description: How GitBook will group generated pages. "by-tag" groups operations under their tag; "by-operation" creates a separate page per operation. Defaults to "by-tag" when absent.
|
|
15420
15506
|
required:
|
|
15421
15507
|
- models
|
|
15422
15508
|
TranslationRef:
|
|
@@ -15740,6 +15826,45 @@ components:
|
|
|
15740
15826
|
page:
|
|
15741
15827
|
type: string
|
|
15742
15828
|
minLength: 1
|
|
15829
|
+
- type: object
|
|
15830
|
+
required:
|
|
15831
|
+
- doc
|
|
15832
|
+
- page
|
|
15833
|
+
- method
|
|
15834
|
+
properties:
|
|
15835
|
+
doc:
|
|
15836
|
+
type: string
|
|
15837
|
+
enum:
|
|
15838
|
+
- operation
|
|
15839
|
+
page:
|
|
15840
|
+
type: string
|
|
15841
|
+
minLength: 1
|
|
15842
|
+
method:
|
|
15843
|
+
type: string
|
|
15844
|
+
enum:
|
|
15845
|
+
- get
|
|
15846
|
+
- post
|
|
15847
|
+
- put
|
|
15848
|
+
- delete
|
|
15849
|
+
- patch
|
|
15850
|
+
- options
|
|
15851
|
+
- head
|
|
15852
|
+
- trace
|
|
15853
|
+
- hook
|
|
15854
|
+
deprecated:
|
|
15855
|
+
type: boolean
|
|
15856
|
+
- type: object
|
|
15857
|
+
required:
|
|
15858
|
+
- doc
|
|
15859
|
+
- page
|
|
15860
|
+
properties:
|
|
15861
|
+
doc:
|
|
15862
|
+
type: string
|
|
15863
|
+
enum:
|
|
15864
|
+
- tag
|
|
15865
|
+
page:
|
|
15866
|
+
type: string
|
|
15867
|
+
minLength: 1
|
|
15743
15868
|
ComputedContentSourceDocumentTranslation:
|
|
15744
15869
|
type: object
|
|
15745
15870
|
description: Parameters for a document translation computed content source
|
|
@@ -18046,6 +18171,7 @@ components:
|
|
|
18046
18171
|
- site:script:inject
|
|
18047
18172
|
- site:script:cookies
|
|
18048
18173
|
- site:visitor:auth
|
|
18174
|
+
- site:visitor:claims
|
|
18049
18175
|
- site:adaptive:read
|
|
18050
18176
|
- site:adaptive:write
|
|
18051
18177
|
- conversations:ingest
|
|
@@ -18360,11 +18486,16 @@ components:
|
|
|
18360
18486
|
type: string
|
|
18361
18487
|
description: Public HTTP endpoint for the integration
|
|
18362
18488
|
format: uri
|
|
18489
|
+
publicContentEndpoint:
|
|
18490
|
+
type: string
|
|
18491
|
+
description: Public endpoint serving the integration's rendered content (e.g. WebFrames), isolated from the cookie-bearing publicEndpoint origin. Equals publicEndpoint when no separate content origin is configured.
|
|
18492
|
+
format: uri
|
|
18363
18493
|
required:
|
|
18364
18494
|
- location
|
|
18365
18495
|
- app
|
|
18366
18496
|
- assets
|
|
18367
18497
|
- publicEndpoint
|
|
18498
|
+
- publicContentEndpoint
|
|
18368
18499
|
permissions:
|
|
18369
18500
|
type: object
|
|
18370
18501
|
description: The set of permissions for the integration
|
|
@@ -18556,10 +18687,15 @@ components:
|
|
|
18556
18687
|
type: string
|
|
18557
18688
|
description: Public HTTP endpoint for the integration's installation
|
|
18558
18689
|
format: uri
|
|
18690
|
+
publicContentEndpoint:
|
|
18691
|
+
type: string
|
|
18692
|
+
description: Public endpoint serving the integration's rendered content (e.g. WebFrames), isolated from the cookie-bearing publicEndpoint origin. Equals publicEndpoint when no separate content origin is configured.
|
|
18693
|
+
format: uri
|
|
18559
18694
|
required:
|
|
18560
18695
|
- location
|
|
18561
18696
|
- app
|
|
18562
18697
|
- publicEndpoint
|
|
18698
|
+
- publicContentEndpoint
|
|
18563
18699
|
externalIds:
|
|
18564
18700
|
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
18565
18701
|
target:
|
|
@@ -18836,9 +18972,15 @@ components:
|
|
|
18836
18972
|
revisionId:
|
|
18837
18973
|
type: string
|
|
18838
18974
|
description: Unique identifier of the new content revision
|
|
18975
|
+
updatedBy:
|
|
18976
|
+
type: array
|
|
18977
|
+
description: Users who updated the content
|
|
18978
|
+
items:
|
|
18979
|
+
$ref: "#/components/schemas/User"
|
|
18839
18980
|
required:
|
|
18840
18981
|
- type
|
|
18841
18982
|
- revisionId
|
|
18983
|
+
- updatedBy
|
|
18842
18984
|
SpaceGitSyncCompletedEvent:
|
|
18843
18985
|
allOf:
|
|
18844
18986
|
- $ref: "#/components/schemas/SpaceEvent"
|
|
@@ -19362,9 +19504,14 @@ components:
|
|
|
19362
19504
|
type: string
|
|
19363
19505
|
description: Public HTTP endpoint for the integration's installation
|
|
19364
19506
|
format: uri
|
|
19507
|
+
publicContentEndpoint:
|
|
19508
|
+
type: string
|
|
19509
|
+
description: Public endpoint serving the integration's rendered content (e.g. WebFrames), isolated from the cookie-bearing publicEndpoint origin. Equals publicEndpoint when no separate content origin is configured.
|
|
19510
|
+
format: uri
|
|
19365
19511
|
required:
|
|
19366
19512
|
- location
|
|
19367
19513
|
- publicEndpoint
|
|
19514
|
+
- publicContentEndpoint
|
|
19368
19515
|
required:
|
|
19369
19516
|
- integration
|
|
19370
19517
|
- installation
|
|
@@ -19653,6 +19800,13 @@ components:
|
|
|
19653
19800
|
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
19654
19801
|
ads:
|
|
19655
19802
|
$ref: "#/components/schemas/SiteAds"
|
|
19803
|
+
styleguide:
|
|
19804
|
+
$ref: "#/components/schemas/ContentRefSpace"
|
|
19805
|
+
description: |
|
|
19806
|
+
Reference to a GitBook space holding the team's writing styleguide.
|
|
19807
|
+
When present on a site, the editing agent receives the styleguide
|
|
19808
|
+
table of contents in its system prompt and can fetch sections on
|
|
19809
|
+
demand to check edits against the rules.
|
|
19656
19810
|
features:
|
|
19657
19811
|
description: |
|
|
19658
19812
|
A list of all premium features enabled on this site. For each feature we list the plan they belong to and whether the feature is frozen. A frozen feature is still enabled but cannot be changed or modified.
|
|
@@ -20520,6 +20674,9 @@ components:
|
|
|
20520
20674
|
type: object
|
|
20521
20675
|
props:
|
|
20522
20676
|
$ref: "#/components/schemas/PlainObject"
|
|
20677
|
+
canAccessVisitorClaims:
|
|
20678
|
+
type: boolean
|
|
20679
|
+
description: Whether the rendered integration UI can receive visitor claims.
|
|
20523
20680
|
required:
|
|
20524
20681
|
- element
|
|
20525
20682
|
- state
|
|
@@ -22987,6 +23144,16 @@ components:
|
|
|
22987
23144
|
items:
|
|
22988
23145
|
$ref: "#/components/schemas/CustomizationSuggestedQuestion"
|
|
22989
23146
|
maxItems: 5
|
|
23147
|
+
CustomizationPageActionType:
|
|
23148
|
+
type: string
|
|
23149
|
+
description: Type of a built-in page action that can be displayed in the page actions menu of a published page.
|
|
23150
|
+
enum:
|
|
23151
|
+
- assistant
|
|
23152
|
+
- external-ai
|
|
23153
|
+
- markdown
|
|
23154
|
+
- mcp
|
|
23155
|
+
- git
|
|
23156
|
+
- pdf
|
|
22990
23157
|
SiteExternalLinksTarget:
|
|
22991
23158
|
type: string
|
|
22992
23159
|
description: |
|
|
@@ -23197,7 +23364,8 @@ components:
|
|
|
23197
23364
|
properties:
|
|
23198
23365
|
enabled:
|
|
23199
23366
|
type: boolean
|
|
23200
|
-
|
|
23367
|
+
deprecated: true
|
|
23368
|
+
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`."
|
|
23201
23369
|
required:
|
|
23202
23370
|
- enabled
|
|
23203
23371
|
feedback:
|
|
@@ -23230,7 +23398,8 @@ components:
|
|
|
23230
23398
|
properties:
|
|
23231
23399
|
showEditLink:
|
|
23232
23400
|
type: boolean
|
|
23233
|
-
|
|
23401
|
+
deprecated: true
|
|
23402
|
+
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`."
|
|
23234
23403
|
required:
|
|
23235
23404
|
- showEditLink
|
|
23236
23405
|
pageActions:
|
|
@@ -23238,13 +23407,29 @@ components:
|
|
|
23238
23407
|
properties:
|
|
23239
23408
|
externalAI:
|
|
23240
23409
|
type: boolean
|
|
23241
|
-
|
|
23410
|
+
deprecated: true
|
|
23411
|
+
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`."
|
|
23242
23412
|
markdown:
|
|
23243
23413
|
type: boolean
|
|
23244
|
-
|
|
23414
|
+
deprecated: true
|
|
23415
|
+
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`."
|
|
23245
23416
|
mcp:
|
|
23246
23417
|
type: boolean
|
|
23247
|
-
|
|
23418
|
+
deprecated: true
|
|
23419
|
+
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`."
|
|
23420
|
+
items:
|
|
23421
|
+
type: array
|
|
23422
|
+
description: |
|
|
23423
|
+
Ordered list of the page actions enabled in the page menu. This is the source of truth for
|
|
23424
|
+
which actions are enabled and in which order: the position defines the display order, the
|
|
23425
|
+
first action is the default one, surfaced as the main button on the page, and actions not
|
|
23426
|
+
present in the list are disabled. When omitted on input, the deprecated `externalAI`,
|
|
23427
|
+
`markdown`, `mcp`, `pdf` and `git` flags are used to derive the list. The `assistant` action
|
|
23428
|
+
is governed by the `ai.mode` setting rather than this list: it is always present (prepended
|
|
23429
|
+
by default if missing, otherwise keeping its position) when the assistant is enabled, and
|
|
23430
|
+
always absent when it is disabled.
|
|
23431
|
+
items:
|
|
23432
|
+
$ref: "#/components/schemas/CustomizationPageActionType"
|
|
23248
23433
|
required:
|
|
23249
23434
|
- externalAI
|
|
23250
23435
|
- markdown
|
|
@@ -25024,6 +25209,77 @@ components:
|
|
|
25024
25209
|
- spaceId
|
|
25025
25210
|
- reusableContent
|
|
25026
25211
|
- revisionId
|
|
25212
|
+
AIToolCallGetVariables:
|
|
25213
|
+
type: object
|
|
25214
|
+
properties:
|
|
25215
|
+
tool:
|
|
25216
|
+
type: string
|
|
25217
|
+
enum:
|
|
25218
|
+
- getVariables
|
|
25219
|
+
spaceId:
|
|
25220
|
+
type: string
|
|
25221
|
+
description: The ID of the space being accessed.
|
|
25222
|
+
revisionId:
|
|
25223
|
+
type: string
|
|
25224
|
+
description: The revision ID of the space.
|
|
25225
|
+
required:
|
|
25226
|
+
- tool
|
|
25227
|
+
- spaceId
|
|
25228
|
+
- revisionId
|
|
25229
|
+
AIToolCallUpdateVariables:
|
|
25230
|
+
type: object
|
|
25231
|
+
properties:
|
|
25232
|
+
tool:
|
|
25233
|
+
type: string
|
|
25234
|
+
enum:
|
|
25235
|
+
- updateVariables
|
|
25236
|
+
spaceId:
|
|
25237
|
+
type: string
|
|
25238
|
+
description: The ID of the space being edited.
|
|
25239
|
+
baseRevisionId:
|
|
25240
|
+
type: string
|
|
25241
|
+
description: The base revision ID used to compare the change in the current conversation.
|
|
25242
|
+
page:
|
|
25243
|
+
description: The page whose variables are being updated. Omitted when updating space variables.
|
|
25244
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
25245
|
+
required:
|
|
25246
|
+
- tool
|
|
25247
|
+
- spaceId
|
|
25248
|
+
- baseRevisionId
|
|
25249
|
+
AIToolCallGetTags:
|
|
25250
|
+
type: object
|
|
25251
|
+
properties:
|
|
25252
|
+
tool:
|
|
25253
|
+
type: string
|
|
25254
|
+
enum:
|
|
25255
|
+
- getTags
|
|
25256
|
+
spaceId:
|
|
25257
|
+
type: string
|
|
25258
|
+
description: The ID of the space being accessed.
|
|
25259
|
+
revisionId:
|
|
25260
|
+
type: string
|
|
25261
|
+
description: The revision ID of the space.
|
|
25262
|
+
required:
|
|
25263
|
+
- tool
|
|
25264
|
+
- spaceId
|
|
25265
|
+
- revisionId
|
|
25266
|
+
AIToolCallUpdateTags:
|
|
25267
|
+
type: object
|
|
25268
|
+
properties:
|
|
25269
|
+
tool:
|
|
25270
|
+
type: string
|
|
25271
|
+
enum:
|
|
25272
|
+
- updateTags
|
|
25273
|
+
spaceId:
|
|
25274
|
+
type: string
|
|
25275
|
+
description: The ID of the space being edited.
|
|
25276
|
+
baseRevisionId:
|
|
25277
|
+
type: string
|
|
25278
|
+
description: The base revision ID used to compare the change in the current conversation.
|
|
25279
|
+
required:
|
|
25280
|
+
- tool
|
|
25281
|
+
- spaceId
|
|
25282
|
+
- baseRevisionId
|
|
25027
25283
|
AIToolCallCreateChangeRequest:
|
|
25028
25284
|
type: object
|
|
25029
25285
|
properties:
|
|
@@ -25196,6 +25452,10 @@ components:
|
|
|
25196
25452
|
- $ref: "#/components/schemas/AIToolCallCreateReusableContent"
|
|
25197
25453
|
- $ref: "#/components/schemas/AIToolCallEditReusableContent"
|
|
25198
25454
|
- $ref: "#/components/schemas/AIToolCallGetReusableContent"
|
|
25455
|
+
- $ref: "#/components/schemas/AIToolCallGetVariables"
|
|
25456
|
+
- $ref: "#/components/schemas/AIToolCallUpdateVariables"
|
|
25457
|
+
- $ref: "#/components/schemas/AIToolCallGetTags"
|
|
25458
|
+
- $ref: "#/components/schemas/AIToolCallUpdateTags"
|
|
25199
25459
|
- $ref: "#/components/schemas/AIToolCallCreateChangeRequest"
|
|
25200
25460
|
- $ref: "#/components/schemas/AIToolCallComment"
|
|
25201
25461
|
- $ref: "#/components/schemas/AIToolCallReplyToComment"
|
|
@@ -27754,7 +28014,7 @@ components:
|
|
|
27754
28014
|
type: string
|
|
27755
28015
|
description: The source path to redirect from.
|
|
27756
28016
|
maxLength: 512
|
|
27757
|
-
pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._
|
|
28017
|
+
pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
|
|
27758
28018
|
SiteRedirectDestinationSiteSection:
|
|
27759
28019
|
type: object
|
|
27760
28020
|
properties:
|