@gitbook/api 0.182.0 → 0.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +67 -5
- package/dist/constants.d.ts +2 -2
- package/dist/index.cjs +17 -3
- package/dist/index.js +17 -3
- package/package.json +1 -1
- package/spec/openapi.json +155 -13
- package/spec/openapi.yaml +341 -245
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
|
|
@@ -704,7 +703,7 @@ paths:
|
|
|
704
703
|
description: Space did not exist
|
|
705
704
|
"205":
|
|
706
705
|
description: Space has been deleted
|
|
707
|
-
|
|
706
|
+
/spaces/{spaceId}/duplicate:
|
|
708
707
|
post:
|
|
709
708
|
operationId: duplicateSpace
|
|
710
709
|
summary: Duplicate a space
|
|
@@ -726,7 +725,7 @@ paths:
|
|
|
726
725
|
application/json:
|
|
727
726
|
schema:
|
|
728
727
|
$ref: "#/components/schemas/Space"
|
|
729
|
-
|
|
728
|
+
/spaces/{spaceId}/restore:
|
|
730
729
|
post:
|
|
731
730
|
operationId: restoreSpace
|
|
732
731
|
summary: Restore a deleted space
|
|
@@ -744,7 +743,7 @@ paths:
|
|
|
744
743
|
application/json:
|
|
745
744
|
schema:
|
|
746
745
|
$ref: "#/components/schemas/Space"
|
|
747
|
-
|
|
746
|
+
/spaces/{spaceId}/move:
|
|
748
747
|
post:
|
|
749
748
|
operationId: moveSpace
|
|
750
749
|
summary: Move a space to a new position
|
|
@@ -786,7 +785,7 @@ paths:
|
|
|
786
785
|
"409":
|
|
787
786
|
description: Operation would not result in any update
|
|
788
787
|
$ref: "#/components/responses/ConflictError"
|
|
789
|
-
|
|
788
|
+
/spaces/{spaceId}/embed:
|
|
790
789
|
get:
|
|
791
790
|
operationId: getEmbedByUrlInSpace
|
|
792
791
|
summary: Resolve a URL to an embed in a given space
|
|
@@ -809,7 +808,7 @@ paths:
|
|
|
809
808
|
application/json:
|
|
810
809
|
schema:
|
|
811
810
|
$ref: "#/components/schemas/Embed"
|
|
812
|
-
|
|
811
|
+
/spaces/{spaceId}/search:
|
|
813
812
|
get:
|
|
814
813
|
operationId: searchSpaceContent
|
|
815
814
|
summary: Search content in a space
|
|
@@ -843,7 +842,7 @@ paths:
|
|
|
843
842
|
type: array
|
|
844
843
|
items:
|
|
845
844
|
$ref: "#/components/schemas/SearchPageResult"
|
|
846
|
-
|
|
845
|
+
/spaces/{spaceId}/git/import:
|
|
847
846
|
post:
|
|
848
847
|
operationId: importGitRepository
|
|
849
848
|
summary: Import a Git repository
|
|
@@ -862,7 +861,7 @@ paths:
|
|
|
862
861
|
application/json:
|
|
863
862
|
schema:
|
|
864
863
|
$ref: "#/components/schemas/ImportGitRepository"
|
|
865
|
-
|
|
864
|
+
/spaces/{spaceId}/git/export:
|
|
866
865
|
post:
|
|
867
866
|
operationId: exportToGitRepository
|
|
868
867
|
summary: Export the to a Git repository
|
|
@@ -881,7 +880,7 @@ paths:
|
|
|
881
880
|
application/json:
|
|
882
881
|
schema:
|
|
883
882
|
$ref: "#/components/schemas/ExportToGitRepository"
|
|
884
|
-
|
|
883
|
+
/spaces/{spaceId}/git/info:
|
|
885
884
|
get:
|
|
886
885
|
operationId: getSpaceGitInfo
|
|
887
886
|
summary: Get space Git info
|
|
@@ -902,7 +901,7 @@ paths:
|
|
|
902
901
|
"404":
|
|
903
902
|
description: No Git provider currently set up on the space
|
|
904
903
|
$ref: "#/components/responses/NotFoundError"
|
|
905
|
-
|
|
904
|
+
/spaces/{spaceId}/git/legacy-installation:
|
|
906
905
|
delete:
|
|
907
906
|
operationId: deleteLegacyGitInstallation
|
|
908
907
|
summary: Remove the legacy Git Sync installation from the space to be able to upgrade it to use the new Git integrations
|
|
@@ -917,7 +916,7 @@ paths:
|
|
|
917
916
|
description: The legacy Git installation was already removed
|
|
918
917
|
"205":
|
|
919
918
|
description: The legacy Git installation was successfully removed
|
|
920
|
-
|
|
919
|
+
/spaces/{spaceId}/permissions:
|
|
921
920
|
post:
|
|
922
921
|
operationId: inviteToSpace
|
|
923
922
|
summary: Invite a user or a team to a space
|
|
@@ -939,7 +938,7 @@ paths:
|
|
|
939
938
|
application/json:
|
|
940
939
|
schema:
|
|
941
940
|
$ref: "#/components/schemas/InviteUsersAndTeams"
|
|
942
|
-
|
|
941
|
+
/spaces/{spaceId}/permissions/teams/{teamId}:
|
|
943
942
|
patch:
|
|
944
943
|
operationId: updateTeamPermissionInSpace
|
|
945
944
|
summary: Update an org team's permission in a space
|
|
@@ -983,7 +982,7 @@ paths:
|
|
|
983
982
|
"400":
|
|
984
983
|
description: Team does not have access to space
|
|
985
984
|
$ref: "#/components/responses/BadRequestError"
|
|
986
|
-
|
|
985
|
+
/spaces/{spaceId}/permissions/users:
|
|
987
986
|
get:
|
|
988
987
|
operationId: listUserPermissionsInSpace
|
|
989
988
|
summary: List space user permissions
|
|
@@ -1014,7 +1013,7 @@ paths:
|
|
|
1014
1013
|
"404":
|
|
1015
1014
|
description: No space was found with the given Id
|
|
1016
1015
|
$ref: "#/components/responses/NotFoundError"
|
|
1017
|
-
|
|
1016
|
+
/spaces/{spaceId}/permissions/users/{userId}:
|
|
1018
1017
|
patch:
|
|
1019
1018
|
operationId: updateUserPermissionInSpace
|
|
1020
1019
|
summary: Update space user permissions
|
|
@@ -1055,7 +1054,7 @@ paths:
|
|
|
1055
1054
|
description: The user was not found in the space
|
|
1056
1055
|
"205":
|
|
1057
1056
|
description: The user has been removed from the space
|
|
1058
|
-
|
|
1057
|
+
/spaces/{spaceId}/permissions/teams:
|
|
1059
1058
|
get:
|
|
1060
1059
|
operationId: listTeamPermissionsInSpace
|
|
1061
1060
|
summary: List an org team's permission in a space
|
|
@@ -1095,7 +1094,7 @@ paths:
|
|
|
1095
1094
|
"404":
|
|
1096
1095
|
description: No space was found with the given Id
|
|
1097
1096
|
$ref: "#/components/responses/NotFoundError"
|
|
1098
|
-
|
|
1097
|
+
/spaces/{spaceId}/content:
|
|
1099
1098
|
get:
|
|
1100
1099
|
operationId: getCurrentRevision
|
|
1101
1100
|
summary: Get a space current revision
|
|
@@ -1114,7 +1113,7 @@ paths:
|
|
|
1114
1113
|
application/json:
|
|
1115
1114
|
schema:
|
|
1116
1115
|
$ref: "#/components/schemas/Revision"
|
|
1117
|
-
|
|
1116
|
+
/spaces/{spaceId}/content/template:
|
|
1118
1117
|
post:
|
|
1119
1118
|
operationId: applyTemplateToSpace
|
|
1120
1119
|
summary: Apply a template to a space.
|
|
@@ -1139,7 +1138,7 @@ paths:
|
|
|
1139
1138
|
changeRequestId:
|
|
1140
1139
|
type: string
|
|
1141
1140
|
description: The ID of the change request to apply the template to. If not provided, the template is applied to the main content.
|
|
1142
|
-
|
|
1141
|
+
/spaces/{spaceId}/content/pages:
|
|
1143
1142
|
get:
|
|
1144
1143
|
operationId: listPages
|
|
1145
1144
|
summary: List all space pages
|
|
@@ -1165,7 +1164,7 @@ paths:
|
|
|
1165
1164
|
$ref: "#/components/schemas/RevisionPage"
|
|
1166
1165
|
required:
|
|
1167
1166
|
- pages
|
|
1168
|
-
|
|
1167
|
+
/spaces/{spaceId}/content/files:
|
|
1169
1168
|
get:
|
|
1170
1169
|
operationId: listFiles
|
|
1171
1170
|
summary: List all space files
|
|
@@ -1195,7 +1194,7 @@ paths:
|
|
|
1195
1194
|
type: array
|
|
1196
1195
|
items:
|
|
1197
1196
|
$ref: "#/components/schemas/RevisionFile"
|
|
1198
|
-
|
|
1197
|
+
/spaces/{spaceId}/content/files/{fileId}:
|
|
1199
1198
|
get:
|
|
1200
1199
|
operationId: getFileById
|
|
1201
1200
|
summary: Get a space file by its ID
|
|
@@ -1215,7 +1214,7 @@ paths:
|
|
|
1215
1214
|
application/json:
|
|
1216
1215
|
schema:
|
|
1217
1216
|
$ref: "#/components/schemas/RevisionFile"
|
|
1218
|
-
|
|
1217
|
+
/spaces/{spaceId}/content/files/{fileId}/backlinks:
|
|
1219
1218
|
get:
|
|
1220
1219
|
operationId: listSpaceFileBacklinks
|
|
1221
1220
|
summary: List all space file backlink locations
|
|
@@ -1244,7 +1243,7 @@ paths:
|
|
|
1244
1243
|
type: array
|
|
1245
1244
|
items:
|
|
1246
1245
|
$ref: "#/components/schemas/ContentLocation"
|
|
1247
|
-
|
|
1246
|
+
/spaces/{spaceId}/content/page/{pageId}:
|
|
1248
1247
|
get:
|
|
1249
1248
|
operationId: getPageById
|
|
1250
1249
|
summary: Get a space page by its ID
|
|
@@ -1268,7 +1267,7 @@ paths:
|
|
|
1268
1267
|
application/json:
|
|
1269
1268
|
schema:
|
|
1270
1269
|
$ref: "#/components/schemas/RevisionPage"
|
|
1271
|
-
|
|
1270
|
+
/spaces/{spaceId}/content/page/{pageId}/links:
|
|
1272
1271
|
get:
|
|
1273
1272
|
operationId: listPageLinksInSpace
|
|
1274
1273
|
summary: List all space page links
|
|
@@ -1306,7 +1305,7 @@ paths:
|
|
|
1306
1305
|
required:
|
|
1307
1306
|
- items
|
|
1308
1307
|
- stats
|
|
1309
|
-
|
|
1308
|
+
/spaces/{spaceId}/content/page/{pageId}/backlinks:
|
|
1310
1309
|
get:
|
|
1311
1310
|
operationId: listSpacePageBacklinks
|
|
1312
1311
|
summary: List all space page backlink locations
|
|
@@ -1335,7 +1334,7 @@ paths:
|
|
|
1335
1334
|
type: array
|
|
1336
1335
|
items:
|
|
1337
1336
|
$ref: "#/components/schemas/ContentLocation"
|
|
1338
|
-
|
|
1337
|
+
/spaces/{spaceId}/content/page/{pageId}/meta-links:
|
|
1339
1338
|
get:
|
|
1340
1339
|
operationId: listSpacePageMetaLinks
|
|
1341
1340
|
summary: List all meta links for a space page
|
|
@@ -1353,7 +1352,7 @@ paths:
|
|
|
1353
1352
|
application/json:
|
|
1354
1353
|
schema:
|
|
1355
1354
|
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
1356
|
-
|
|
1355
|
+
/spaces/{spaceId}/content/path/{pagePath}:
|
|
1357
1356
|
get:
|
|
1358
1357
|
operationId: getPageByPath
|
|
1359
1358
|
summary: Get a space page by its path
|
|
@@ -1379,7 +1378,7 @@ paths:
|
|
|
1379
1378
|
oneOf:
|
|
1380
1379
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
1381
1380
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
1382
|
-
|
|
1381
|
+
/spaces/{spaceId}/content/reusable-contents/{reusableContentId}:
|
|
1383
1382
|
get:
|
|
1384
1383
|
operationId: getReusableContentById
|
|
1385
1384
|
summary: Get a space reusable content by its ID
|
|
@@ -1399,7 +1398,7 @@ paths:
|
|
|
1399
1398
|
application/json:
|
|
1400
1399
|
schema:
|
|
1401
1400
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
1402
|
-
|
|
1401
|
+
/spaces/{spaceId}/content/computed/document:
|
|
1403
1402
|
post:
|
|
1404
1403
|
operationId: getComputedDocument
|
|
1405
1404
|
summary: Get a space computed document
|
|
@@ -1432,7 +1431,7 @@ paths:
|
|
|
1432
1431
|
application/json:
|
|
1433
1432
|
schema:
|
|
1434
1433
|
$ref: "#/components/schemas/JSONDocument"
|
|
1435
|
-
|
|
1434
|
+
/spaces/{spaceId}/content/computed/revision:
|
|
1436
1435
|
post:
|
|
1437
1436
|
operationId: getComputedRevision
|
|
1438
1437
|
summary: Get a space computed revision
|
|
@@ -1481,7 +1480,7 @@ paths:
|
|
|
1481
1480
|
- pages
|
|
1482
1481
|
- files
|
|
1483
1482
|
- reusableContents
|
|
1484
|
-
|
|
1483
|
+
/spaces/{spaceId}/documents/{documentId}:
|
|
1485
1484
|
get:
|
|
1486
1485
|
operationId: getDocumentById
|
|
1487
1486
|
summary: Get a space document by its ID
|
|
@@ -1505,7 +1504,7 @@ paths:
|
|
|
1505
1504
|
application/json:
|
|
1506
1505
|
schema:
|
|
1507
1506
|
$ref: "#/components/schemas/JSONDocument"
|
|
1508
|
-
|
|
1507
|
+
/spaces/{spaceId}/change-requests:
|
|
1509
1508
|
post:
|
|
1510
1509
|
operationId: createChangeRequest
|
|
1511
1510
|
summary: Create a change request
|
|
@@ -1604,7 +1603,7 @@ paths:
|
|
|
1604
1603
|
type: array
|
|
1605
1604
|
items:
|
|
1606
1605
|
$ref: "#/components/schemas/ChangeRequest"
|
|
1607
|
-
|
|
1606
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}:
|
|
1608
1607
|
get:
|
|
1609
1608
|
operationId: getChangeRequestById
|
|
1610
1609
|
summary: Get a change request by its ID
|
|
@@ -1661,7 +1660,7 @@ paths:
|
|
|
1661
1660
|
application/json:
|
|
1662
1661
|
schema:
|
|
1663
1662
|
$ref: "#/components/schemas/ChangeRequest"
|
|
1664
|
-
|
|
1663
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/merge:
|
|
1665
1664
|
post:
|
|
1666
1665
|
operationId: mergeChangeRequest
|
|
1667
1666
|
summary: Merge a change request
|
|
@@ -1691,7 +1690,7 @@ paths:
|
|
|
1691
1690
|
required:
|
|
1692
1691
|
- revision
|
|
1693
1692
|
- result
|
|
1694
|
-
|
|
1693
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/update:
|
|
1695
1694
|
post:
|
|
1696
1695
|
operationId: updateChangeRequest
|
|
1697
1696
|
summary: Pull primary content into the change request
|
|
@@ -1721,7 +1720,7 @@ paths:
|
|
|
1721
1720
|
required:
|
|
1722
1721
|
- revision
|
|
1723
1722
|
- result
|
|
1724
|
-
|
|
1723
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/reviews:
|
|
1725
1724
|
get:
|
|
1726
1725
|
operationId: getReviewsByChangeRequestId
|
|
1727
1726
|
summary: List all change request reviews
|
|
@@ -1796,7 +1795,7 @@ paths:
|
|
|
1796
1795
|
$ref: "#/components/schemas/Document"
|
|
1797
1796
|
required:
|
|
1798
1797
|
- status
|
|
1799
|
-
|
|
1798
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/reviews/{reviewId}:
|
|
1800
1799
|
get:
|
|
1801
1800
|
operationId: getChangeRequestReviewById
|
|
1802
1801
|
summary: Get a change request review by its ID
|
|
@@ -1819,7 +1818,7 @@ paths:
|
|
|
1819
1818
|
"404":
|
|
1820
1819
|
description: The change request review could not be found.
|
|
1821
1820
|
$ref: "#/components/responses/NotFoundError"
|
|
1822
|
-
|
|
1821
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers:
|
|
1823
1822
|
get:
|
|
1824
1823
|
operationId: getRequestedReviewersByChangeRequestId
|
|
1825
1824
|
summary: Get all change request reviewers
|
|
@@ -1891,7 +1890,7 @@ paths:
|
|
|
1891
1890
|
description: Optionally, update the description of the change request when requesting reviewers.
|
|
1892
1891
|
required:
|
|
1893
1892
|
- users
|
|
1894
|
-
|
|
1893
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers/{userId}:
|
|
1895
1894
|
delete:
|
|
1896
1895
|
operationId: removeRequestedReviewerFromChangeRequest
|
|
1897
1896
|
summary: Remove a reviewer from a change request
|
|
@@ -1908,7 +1907,7 @@ paths:
|
|
|
1908
1907
|
description: Reviewer was not found
|
|
1909
1908
|
"205":
|
|
1910
1909
|
description: The reviewer has been removed from the change request
|
|
1911
|
-
|
|
1910
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/links:
|
|
1912
1911
|
get:
|
|
1913
1912
|
operationId: listChangeRequestLinks
|
|
1914
1913
|
summary: List all change request links
|
|
@@ -1958,7 +1957,7 @@ paths:
|
|
|
1958
1957
|
"404":
|
|
1959
1958
|
description: The change request could not be found.
|
|
1960
1959
|
$ref: "#/components/responses/NotFoundError"
|
|
1961
|
-
|
|
1960
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/comments:
|
|
1962
1961
|
get:
|
|
1963
1962
|
operationId: listCommentsInChangeRequest
|
|
1964
1963
|
summary: List all change request comments
|
|
@@ -2015,7 +2014,7 @@ paths:
|
|
|
2015
2014
|
application/json:
|
|
2016
2015
|
schema:
|
|
2017
2016
|
$ref: "#/components/schemas/Comment"
|
|
2018
|
-
|
|
2017
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}:
|
|
2019
2018
|
get:
|
|
2020
2019
|
operationId: getCommentInChangeRequest
|
|
2021
2020
|
summary: Get a change request comment
|
|
@@ -2075,7 +2074,7 @@ paths:
|
|
|
2075
2074
|
application/json:
|
|
2076
2075
|
schema:
|
|
2077
2076
|
$ref: "#/components/schemas/Comment"
|
|
2078
|
-
|
|
2077
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies:
|
|
2079
2078
|
get:
|
|
2080
2079
|
operationId: listCommentRepliesInChangeRequest
|
|
2081
2080
|
summary: List all change request comment replies
|
|
@@ -2131,7 +2130,7 @@ paths:
|
|
|
2131
2130
|
application/json:
|
|
2132
2131
|
schema:
|
|
2133
2132
|
$ref: "#/components/schemas/CommentReply"
|
|
2134
|
-
|
|
2133
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}:
|
|
2135
2134
|
get:
|
|
2136
2135
|
operationId: getCommentReplyInChangeRequest
|
|
2137
2136
|
summary: Get a change request comment reply
|
|
@@ -2194,7 +2193,7 @@ paths:
|
|
|
2194
2193
|
description: Comment reply did not exist.
|
|
2195
2194
|
"205":
|
|
2196
2195
|
description: The comment has been deleted.
|
|
2197
|
-
|
|
2196
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/contributors:
|
|
2198
2197
|
get:
|
|
2199
2198
|
operationId: getContributorsByChangeRequestId
|
|
2200
2199
|
summary: Get all contribors of a change request
|
|
@@ -2224,7 +2223,7 @@ paths:
|
|
|
2224
2223
|
"404":
|
|
2225
2224
|
description: The change request could not be found.
|
|
2226
2225
|
$ref: "#/components/responses/NotFoundError"
|
|
2227
|
-
|
|
2226
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content:
|
|
2228
2227
|
get:
|
|
2229
2228
|
operationId: getRevisionOfChangeRequestById
|
|
2230
2229
|
summary: Get a change request the latest content revision
|
|
@@ -2244,7 +2243,7 @@ paths:
|
|
|
2244
2243
|
application/json:
|
|
2245
2244
|
schema:
|
|
2246
2245
|
$ref: "#/components/schemas/Revision"
|
|
2247
|
-
|
|
2246
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages:
|
|
2248
2247
|
get:
|
|
2249
2248
|
operationId: listPagesInChangeRequest
|
|
2250
2249
|
summary: List all change request pages
|
|
@@ -2271,7 +2270,7 @@ paths:
|
|
|
2271
2270
|
$ref: "#/components/schemas/RevisionPage"
|
|
2272
2271
|
required:
|
|
2273
2272
|
- pages
|
|
2274
|
-
|
|
2273
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/files:
|
|
2275
2274
|
get:
|
|
2276
2275
|
operationId: listFilesInChangeRequestById
|
|
2277
2276
|
summary: List all change request files
|
|
@@ -2302,7 +2301,7 @@ paths:
|
|
|
2302
2301
|
type: array
|
|
2303
2302
|
items:
|
|
2304
2303
|
$ref: "#/components/schemas/RevisionFile"
|
|
2305
|
-
|
|
2304
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}:
|
|
2306
2305
|
get:
|
|
2307
2306
|
operationId: getFileInChangeRequestById
|
|
2308
2307
|
summary: Get a change request file by its ID
|
|
@@ -2323,7 +2322,7 @@ paths:
|
|
|
2323
2322
|
application/json:
|
|
2324
2323
|
schema:
|
|
2325
2324
|
$ref: "#/components/schemas/RevisionFile"
|
|
2326
|
-
|
|
2325
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks:
|
|
2327
2326
|
get:
|
|
2328
2327
|
operationId: listChangeRequestFileBacklinks
|
|
2329
2328
|
summary: List all backlink locations of a change request file
|
|
@@ -2353,7 +2352,7 @@ paths:
|
|
|
2353
2352
|
type: array
|
|
2354
2353
|
items:
|
|
2355
2354
|
$ref: "#/components/schemas/ContentLocation"
|
|
2356
|
-
|
|
2355
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}:
|
|
2357
2356
|
get:
|
|
2358
2357
|
operationId: getPageInChangeRequestById
|
|
2359
2358
|
summary: Get a change request page by its ID
|
|
@@ -2378,7 +2377,7 @@ paths:
|
|
|
2378
2377
|
application/json:
|
|
2379
2378
|
schema:
|
|
2380
2379
|
$ref: "#/components/schemas/RevisionPage"
|
|
2381
|
-
|
|
2380
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links:
|
|
2382
2381
|
get:
|
|
2383
2382
|
operationId: listPageLinksInChangeRequest
|
|
2384
2383
|
summary: List all change request links
|
|
@@ -2412,7 +2411,7 @@ paths:
|
|
|
2412
2411
|
required:
|
|
2413
2412
|
- items
|
|
2414
2413
|
- stats
|
|
2415
|
-
|
|
2414
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks:
|
|
2416
2415
|
get:
|
|
2417
2416
|
operationId: listChangeRequestPageBacklinks
|
|
2418
2417
|
summary: List all backlink locations of a change request page
|
|
@@ -2442,7 +2441,7 @@ paths:
|
|
|
2442
2441
|
type: array
|
|
2443
2442
|
items:
|
|
2444
2443
|
$ref: "#/components/schemas/ContentLocation"
|
|
2445
|
-
|
|
2444
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/meta-links:
|
|
2446
2445
|
get:
|
|
2447
2446
|
operationId: listChangeRequestPageMetaLinks
|
|
2448
2447
|
summary: List all meta links of a change request page
|
|
@@ -2461,7 +2460,7 @@ paths:
|
|
|
2461
2460
|
application/json:
|
|
2462
2461
|
schema:
|
|
2463
2462
|
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
2464
|
-
|
|
2463
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}:
|
|
2465
2464
|
get:
|
|
2466
2465
|
operationId: getReusableContentInChangeRequestById
|
|
2467
2466
|
summary: Get a change request reusable content by its ID
|
|
@@ -2482,7 +2481,7 @@ paths:
|
|
|
2482
2481
|
application/json:
|
|
2483
2482
|
schema:
|
|
2484
2483
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
2485
|
-
|
|
2484
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/changes:
|
|
2486
2485
|
get:
|
|
2487
2486
|
operationId: getChangeRequestChanges
|
|
2488
2487
|
summary: Get change request semantic changes
|
|
@@ -2510,7 +2509,7 @@ paths:
|
|
|
2510
2509
|
"404":
|
|
2511
2510
|
description: The change request could not be found.
|
|
2512
2511
|
$ref: "#/components/responses/NotFoundError"
|
|
2513
|
-
|
|
2512
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/pdf:
|
|
2514
2513
|
get:
|
|
2515
2514
|
operationId: getChangeRequestPDF
|
|
2516
2515
|
summary: Get a URL of the content of a change request as PDF
|
|
@@ -2544,7 +2543,7 @@ paths:
|
|
|
2544
2543
|
$ref: "#/components/schemas/URL"
|
|
2545
2544
|
required:
|
|
2546
2545
|
- url
|
|
2547
|
-
|
|
2546
|
+
/spaces/{spaceId}/revisions/{revisionId}:
|
|
2548
2547
|
get:
|
|
2549
2548
|
operationId: getRevisionById
|
|
2550
2549
|
summary: Get a space revision
|
|
@@ -2564,7 +2563,7 @@ paths:
|
|
|
2564
2563
|
application/json:
|
|
2565
2564
|
schema:
|
|
2566
2565
|
$ref: "#/components/schemas/Revision"
|
|
2567
|
-
|
|
2566
|
+
/spaces/{spaceId}/revisions/{revisionId}/changes:
|
|
2568
2567
|
get:
|
|
2569
2568
|
operationId: getRevisionSemanticChanges
|
|
2570
2569
|
summary: Get space revision semantic changes
|
|
@@ -2591,7 +2590,7 @@ paths:
|
|
|
2591
2590
|
application/json:
|
|
2592
2591
|
schema:
|
|
2593
2592
|
$ref: "#/components/schemas/RevisionSemanticChanges"
|
|
2594
|
-
|
|
2593
|
+
/spaces/{spaceId}/revisions/{revisionId}/pages:
|
|
2595
2594
|
get:
|
|
2596
2595
|
summary: List all pages in a space revision
|
|
2597
2596
|
operationId: listPagesInRevisionById
|
|
@@ -2618,7 +2617,7 @@ paths:
|
|
|
2618
2617
|
$ref: "#/components/schemas/RevisionPage"
|
|
2619
2618
|
required:
|
|
2620
2619
|
- pages
|
|
2621
|
-
|
|
2620
|
+
/spaces/{spaceId}/revisions/{revisionId}/files:
|
|
2622
2621
|
get:
|
|
2623
2622
|
summary: List all space revision files
|
|
2624
2623
|
operationId: listFilesInRevisionById
|
|
@@ -2649,7 +2648,7 @@ paths:
|
|
|
2649
2648
|
type: array
|
|
2650
2649
|
items:
|
|
2651
2650
|
$ref: "#/components/schemas/RevisionFile"
|
|
2652
|
-
|
|
2651
|
+
/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}:
|
|
2653
2652
|
get:
|
|
2654
2653
|
summary: Get a space revision file by its ID
|
|
2655
2654
|
operationId: getFileInRevisionById
|
|
@@ -2670,7 +2669,7 @@ paths:
|
|
|
2670
2669
|
application/json:
|
|
2671
2670
|
schema:
|
|
2672
2671
|
$ref: "#/components/schemas/RevisionFile"
|
|
2673
|
-
|
|
2672
|
+
/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}:
|
|
2674
2673
|
get:
|
|
2675
2674
|
operationId: getPageInRevisionById
|
|
2676
2675
|
summary: Get a space revision page by its ID
|
|
@@ -2695,7 +2694,7 @@ paths:
|
|
|
2695
2694
|
application/json:
|
|
2696
2695
|
schema:
|
|
2697
2696
|
$ref: "#/components/schemas/RevisionPage"
|
|
2698
|
-
|
|
2697
|
+
/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document:
|
|
2699
2698
|
get:
|
|
2700
2699
|
operationId: getPageDocumentInRevisionById
|
|
2701
2700
|
summary: Get the document of a page in a revision
|
|
@@ -2716,7 +2715,7 @@ paths:
|
|
|
2716
2715
|
application/json:
|
|
2717
2716
|
schema:
|
|
2718
2717
|
$ref: "#/components/schemas/JSONDocument"
|
|
2719
|
-
|
|
2718
|
+
/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}:
|
|
2720
2719
|
get:
|
|
2721
2720
|
operationId: getPageInRevisionByPath
|
|
2722
2721
|
summary: Get a space revision page by its path
|
|
@@ -2743,7 +2742,7 @@ paths:
|
|
|
2743
2742
|
oneOf:
|
|
2744
2743
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
2745
2744
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
2746
|
-
|
|
2745
|
+
/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/meta-links:
|
|
2747
2746
|
get:
|
|
2748
2747
|
operationId: listRevisionPageMetaLinks
|
|
2749
2748
|
summary: List all meta links for a revision page
|
|
@@ -2762,7 +2761,7 @@ paths:
|
|
|
2762
2761
|
application/json:
|
|
2763
2762
|
schema:
|
|
2764
2763
|
$ref: "#/components/schemas/RevisionPageMetaLinks"
|
|
2765
|
-
|
|
2764
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}:
|
|
2766
2765
|
get:
|
|
2767
2766
|
operationId: getPageInChangeRequestByPath
|
|
2768
2767
|
summary: Get a change request page by its path
|
|
@@ -2789,7 +2788,7 @@ paths:
|
|
|
2789
2788
|
oneOf:
|
|
2790
2789
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
2791
2790
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
2792
|
-
|
|
2791
|
+
/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}:
|
|
2793
2792
|
get:
|
|
2794
2793
|
operationId: getReusableContentInRevisionById
|
|
2795
2794
|
summary: Get a space revision reusable content by its ID
|
|
@@ -2810,7 +2809,7 @@ paths:
|
|
|
2810
2809
|
application/json:
|
|
2811
2810
|
schema:
|
|
2812
2811
|
$ref: "#/components/schemas/RevisionReusableContent"
|
|
2813
|
-
|
|
2812
|
+
/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document:
|
|
2814
2813
|
get:
|
|
2815
2814
|
operationId: getReusableContentDocumentInRevisionById
|
|
2816
2815
|
summary: Get the document of a reusable content in a revision
|
|
@@ -2831,7 +2830,7 @@ paths:
|
|
|
2831
2830
|
application/json:
|
|
2832
2831
|
schema:
|
|
2833
2832
|
$ref: "#/components/schemas/JSONDocument"
|
|
2834
|
-
|
|
2833
|
+
/spaces/{spaceId}/comments:
|
|
2835
2834
|
get:
|
|
2836
2835
|
operationId: listCommentsInSpace
|
|
2837
2836
|
summary: List all space comments
|
|
@@ -2887,7 +2886,7 @@ paths:
|
|
|
2887
2886
|
application/json:
|
|
2888
2887
|
schema:
|
|
2889
2888
|
$ref: "#/components/schemas/Comment"
|
|
2890
|
-
|
|
2889
|
+
/spaces/{spaceId}/comments/{commentId}:
|
|
2891
2890
|
get:
|
|
2892
2891
|
operationId: getCommentInSpace
|
|
2893
2892
|
summary: Get a space comment
|
|
@@ -2944,7 +2943,7 @@ paths:
|
|
|
2944
2943
|
application/json:
|
|
2945
2944
|
schema:
|
|
2946
2945
|
$ref: "#/components/schemas/Comment"
|
|
2947
|
-
|
|
2946
|
+
/spaces/{spaceId}/comments/{commentId}/replies:
|
|
2948
2947
|
get:
|
|
2949
2948
|
operationId: listCommentRepliesInSpace
|
|
2950
2949
|
summary: List all space comment replies
|
|
@@ -2997,7 +2996,7 @@ paths:
|
|
|
2997
2996
|
application/json:
|
|
2998
2997
|
schema:
|
|
2999
2998
|
$ref: "#/components/schemas/CommentReply"
|
|
3000
|
-
|
|
2999
|
+
/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}:
|
|
3001
3000
|
get:
|
|
3002
3001
|
operationId: getCommentReplyInSpace
|
|
3003
3002
|
summary: Get a space comment reply
|
|
@@ -3057,7 +3056,7 @@ paths:
|
|
|
3057
3056
|
description: Comment reply did not exist.
|
|
3058
3057
|
"205":
|
|
3059
3058
|
description: The comment has been deleted.
|
|
3060
|
-
|
|
3059
|
+
/spaces/{spaceId}/commenters:
|
|
3061
3060
|
get:
|
|
3062
3061
|
operationId: listCommentersInSpace
|
|
3063
3062
|
summary: List all users who commented in a space
|
|
@@ -3086,7 +3085,7 @@ paths:
|
|
|
3086
3085
|
type: array
|
|
3087
3086
|
items:
|
|
3088
3087
|
$ref: "#/components/schemas/OrganizationMember"
|
|
3089
|
-
|
|
3088
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/commenters:
|
|
3090
3089
|
get:
|
|
3091
3090
|
operationId: listCommentersInChangeRequest
|
|
3092
3091
|
summary: List all users who commented in a CR
|
|
@@ -3116,7 +3115,7 @@ paths:
|
|
|
3116
3115
|
type: array
|
|
3117
3116
|
items:
|
|
3118
3117
|
$ref: "#/components/schemas/OrganizationMember"
|
|
3119
|
-
|
|
3118
|
+
/spaces/{spaceId}/permissions/aggregate:
|
|
3120
3119
|
get:
|
|
3121
3120
|
operationId: listPermissionsAggregateInSpace
|
|
3122
3121
|
summary: List all space users permissions
|
|
@@ -3149,7 +3148,7 @@ paths:
|
|
|
3149
3148
|
type: array
|
|
3150
3149
|
items:
|
|
3151
3150
|
$ref: "#/components/schemas/UserContentPermission"
|
|
3152
|
-
|
|
3151
|
+
/spaces/{spaceId}/integrations:
|
|
3153
3152
|
get:
|
|
3154
3153
|
operationId: listSpaceIntegrations
|
|
3155
3154
|
summary: List integrations enabled in a space
|
|
@@ -3176,7 +3175,7 @@ paths:
|
|
|
3176
3175
|
type: array
|
|
3177
3176
|
items:
|
|
3178
3177
|
$ref: "#/components/schemas/Integration"
|
|
3179
|
-
|
|
3178
|
+
/spaces/{spaceId}/integration-blocks:
|
|
3180
3179
|
get:
|
|
3181
3180
|
operationId: listSpaceIntegrationsBlocks
|
|
3182
3181
|
summary: List all space integrations blocks
|
|
@@ -3193,7 +3192,7 @@ paths:
|
|
|
3193
3192
|
$ref: "#/components/schemas/SpaceIntegrationBlocks"
|
|
3194
3193
|
"404":
|
|
3195
3194
|
$ref: "#/components/responses/NotFoundError"
|
|
3196
|
-
|
|
3195
|
+
/spaces/{spaceId}/pdf:
|
|
3197
3196
|
get:
|
|
3198
3197
|
operationId: getSpacePDF
|
|
3199
3198
|
summary: Get a URL of the content of a space as PDF
|
|
@@ -3226,7 +3225,7 @@ paths:
|
|
|
3226
3225
|
$ref: "#/components/schemas/URL"
|
|
3227
3226
|
required:
|
|
3228
3227
|
- url
|
|
3229
|
-
|
|
3228
|
+
/spaces/{spaceId}/links:
|
|
3230
3229
|
get:
|
|
3231
3230
|
operationId: listSpaceLinks
|
|
3232
3231
|
summary: Get all links in a space including their status and location where they appear.
|
|
@@ -3266,7 +3265,7 @@ paths:
|
|
|
3266
3265
|
"404":
|
|
3267
3266
|
description: The space could not be found.
|
|
3268
3267
|
$ref: "#/components/responses/NotFoundError"
|
|
3269
|
-
|
|
3268
|
+
/collections/{collectionId}:
|
|
3270
3269
|
get:
|
|
3271
3270
|
operationId: getCollectionById
|
|
3272
3271
|
summary: Get a collection by its ID
|
|
@@ -3326,7 +3325,7 @@ paths:
|
|
|
3326
3325
|
description: Collection did not exist
|
|
3327
3326
|
"205":
|
|
3328
3327
|
description: Collection has been deleted
|
|
3329
|
-
|
|
3328
|
+
/collections/{collectionId}/spaces:
|
|
3330
3329
|
get:
|
|
3331
3330
|
operationId: listSpacesInCollectionById
|
|
3332
3331
|
summary: List all collection spaces
|
|
@@ -3354,7 +3353,7 @@ paths:
|
|
|
3354
3353
|
type: array
|
|
3355
3354
|
items:
|
|
3356
3355
|
$ref: "#/components/schemas/Space"
|
|
3357
|
-
|
|
3356
|
+
/collections/{collectionId}/move:
|
|
3358
3357
|
post:
|
|
3359
3358
|
operationId: moveCollection
|
|
3360
3359
|
summary: Move a collection to a new position.
|
|
@@ -3396,7 +3395,7 @@ paths:
|
|
|
3396
3395
|
"409":
|
|
3397
3396
|
description: Operation would not result in any update
|
|
3398
3397
|
$ref: "#/components/responses/ConflictError"
|
|
3399
|
-
|
|
3398
|
+
/collections/{collectionId}/transfer:
|
|
3400
3399
|
post:
|
|
3401
3400
|
operationId: transferCollection
|
|
3402
3401
|
summary: Transfer a collection
|
|
@@ -3434,7 +3433,7 @@ paths:
|
|
|
3434
3433
|
"412":
|
|
3435
3434
|
description: The collection cannot be moved.
|
|
3436
3435
|
$ref: "#/components/responses/PreconditionFailedError"
|
|
3437
|
-
|
|
3436
|
+
/collections/{collectionId}/permissions:
|
|
3438
3437
|
post:
|
|
3439
3438
|
operationId: inviteToCollection
|
|
3440
3439
|
summary: Invite to a collection
|
|
@@ -3456,7 +3455,7 @@ paths:
|
|
|
3456
3455
|
application/json:
|
|
3457
3456
|
schema:
|
|
3458
3457
|
$ref: "#/components/schemas/InviteUsersAndTeams"
|
|
3459
|
-
|
|
3458
|
+
/collections/{collectionId}/permissions/teams:
|
|
3460
3459
|
get:
|
|
3461
3460
|
operationId: listTeamPermissionsInCollection
|
|
3462
3461
|
summary: List an org team's permission in collection
|
|
@@ -3493,7 +3492,7 @@ paths:
|
|
|
3493
3492
|
required:
|
|
3494
3493
|
- permission
|
|
3495
3494
|
- team
|
|
3496
|
-
|
|
3495
|
+
/collections/{collectionId}/permissions/teams/{teamId}:
|
|
3497
3496
|
patch:
|
|
3498
3497
|
operationId: updateTeamPermissionInCollection
|
|
3499
3498
|
summary: Update an org team's permission in a collection
|
|
@@ -3534,7 +3533,7 @@ paths:
|
|
|
3534
3533
|
description: The team was not found in the collection
|
|
3535
3534
|
"205":
|
|
3536
3535
|
description: The team has been removed from the collection
|
|
3537
|
-
|
|
3536
|
+
/collections/{collectionId}/permissions/users:
|
|
3538
3537
|
get:
|
|
3539
3538
|
operationId: listUserPermissionsInCollection
|
|
3540
3539
|
summary: List collection user permissions
|
|
@@ -3565,7 +3564,7 @@ paths:
|
|
|
3565
3564
|
"404":
|
|
3566
3565
|
description: No space found with the given Id
|
|
3567
3566
|
$ref: "#/components/responses/NotFoundError"
|
|
3568
|
-
|
|
3567
|
+
/collections/{collectionId}/permissions/users/{userId}:
|
|
3569
3568
|
patch:
|
|
3570
3569
|
operationId: updateUserPermissionInCollection
|
|
3571
3570
|
summary: Update a collection user permission
|
|
@@ -3606,7 +3605,7 @@ paths:
|
|
|
3606
3605
|
description: The user was not found in the collection
|
|
3607
3606
|
"205":
|
|
3608
3607
|
description: The user has been removed from the collection
|
|
3609
|
-
|
|
3608
|
+
/collections/{collectionId}/permissions/aggregate:
|
|
3610
3609
|
get:
|
|
3611
3610
|
operationId: listPermissionsAggregateInCollection
|
|
3612
3611
|
summary: List all collections users permissions
|
|
@@ -3672,7 +3671,7 @@ paths:
|
|
|
3672
3671
|
type: array
|
|
3673
3672
|
items:
|
|
3674
3673
|
$ref: "#/components/schemas/Integration"
|
|
3675
|
-
|
|
3674
|
+
/integrations/{integrationName}:
|
|
3676
3675
|
get:
|
|
3677
3676
|
operationId: getIntegrationByName
|
|
3678
3677
|
summary: Get an integration by its name
|
|
@@ -3729,7 +3728,7 @@ paths:
|
|
|
3729
3728
|
description: Integration did not exist
|
|
3730
3729
|
"205":
|
|
3731
3730
|
description: Integration has been deleted
|
|
3732
|
-
|
|
3731
|
+
/integrations/{integrationName}/installations:
|
|
3733
3732
|
get:
|
|
3734
3733
|
operationId: listIntegrationInstallations
|
|
3735
3734
|
summary: List all integration installations
|
|
@@ -3791,7 +3790,7 @@ paths:
|
|
|
3791
3790
|
$ref: "#/components/schemas/IntegrationInstallation"
|
|
3792
3791
|
"404":
|
|
3793
3792
|
$ref: "#/components/responses/NotFoundError"
|
|
3794
|
-
|
|
3793
|
+
/integrations/{integrationName}/events:
|
|
3795
3794
|
get:
|
|
3796
3795
|
operationId: listIntegrationEvents
|
|
3797
3796
|
summary: List all integration events
|
|
@@ -3817,7 +3816,7 @@ paths:
|
|
|
3817
3816
|
type: array
|
|
3818
3817
|
items:
|
|
3819
3818
|
$ref: "#/components/schemas/IntegrationEvent"
|
|
3820
|
-
|
|
3819
|
+
/integrations/{integrationName}/events/{eventId}:
|
|
3821
3820
|
get:
|
|
3822
3821
|
operationId: getIntegrationEvent
|
|
3823
3822
|
summary: Get an integration event by its ID
|
|
@@ -3842,7 +3841,7 @@ paths:
|
|
|
3842
3841
|
$ref: "#/components/schemas/IntegrationEventTrace"
|
|
3843
3842
|
"404":
|
|
3844
3843
|
$ref: "#/components/responses/NotFoundError"
|
|
3845
|
-
|
|
3844
|
+
/integrations/{integrationName}/spaces:
|
|
3846
3845
|
get:
|
|
3847
3846
|
operationId: listIntegrationSpaceInstallations
|
|
3848
3847
|
summary: List all integration space installations
|
|
@@ -3881,7 +3880,7 @@ paths:
|
|
|
3881
3880
|
type: array
|
|
3882
3881
|
items:
|
|
3883
3882
|
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
3884
|
-
|
|
3883
|
+
/integrations/{integrationName}/sites:
|
|
3885
3884
|
get:
|
|
3886
3885
|
operationId: listIntegrationSiteInstallations
|
|
3887
3886
|
summary: List all integration site installations
|
|
@@ -3920,7 +3919,7 @@ paths:
|
|
|
3920
3919
|
type: array
|
|
3921
3920
|
items:
|
|
3922
3921
|
$ref: "#/components/schemas/IntegrationSiteInstallation"
|
|
3923
|
-
|
|
3922
|
+
/integrations/{integrationName}/dev:
|
|
3924
3923
|
put:
|
|
3925
3924
|
operationId: setIntegrationDevelopmentMode
|
|
3926
3925
|
summary: Enable integration dev mode
|
|
@@ -3966,7 +3965,7 @@ paths:
|
|
|
3966
3965
|
responses:
|
|
3967
3966
|
"205":
|
|
3968
3967
|
description: Disabled development mode successfully
|
|
3969
|
-
|
|
3968
|
+
/integrations/{integrationName}/render:
|
|
3970
3969
|
get:
|
|
3971
3970
|
operationId: renderIntegrationUIWithGet
|
|
3972
3971
|
summary: Render an integration UI with GET method
|
|
@@ -4015,7 +4014,7 @@ paths:
|
|
|
4015
4014
|
application/json:
|
|
4016
4015
|
schema:
|
|
4017
4016
|
$ref: "#/components/schemas/RenderIntegrationUI"
|
|
4018
|
-
|
|
4017
|
+
/integrations/{integrationName}/tasks:
|
|
4019
4018
|
post:
|
|
4020
4019
|
operationId: queueIntegrationTask
|
|
4021
4020
|
summary: Queue an integration task
|
|
@@ -4047,7 +4046,7 @@ paths:
|
|
|
4047
4046
|
description: Integration task created successfully
|
|
4048
4047
|
"404":
|
|
4049
4048
|
$ref: "#/components/responses/NotFoundError"
|
|
4050
|
-
|
|
4049
|
+
/integrations/{integrationName}/installations/{installationId}:
|
|
4051
4050
|
get:
|
|
4052
4051
|
operationId: getIntegrationInstallationById
|
|
4053
4052
|
summary: Get an integration installation by its ID
|
|
@@ -4105,7 +4104,7 @@ paths:
|
|
|
4105
4104
|
description: Integration installation did not exist
|
|
4106
4105
|
"205":
|
|
4107
4106
|
description: Integration uninstalled successfully
|
|
4108
|
-
|
|
4107
|
+
/integrations/{integrationName}/installations/{installationId}/tokens:
|
|
4109
4108
|
post:
|
|
4110
4109
|
operationId: createIntegrationInstallationToken
|
|
4111
4110
|
summary: Create an integration installation API token
|
|
@@ -4128,7 +4127,7 @@ paths:
|
|
|
4128
4127
|
"404":
|
|
4129
4128
|
description: Installation could not be found
|
|
4130
4129
|
$ref: "#/components/responses/NotFoundError"
|
|
4131
|
-
|
|
4130
|
+
/integrations/{integrationName}/installations/{installationId}/spaces:
|
|
4132
4131
|
get:
|
|
4133
4132
|
operationId: listIntegrationInstallationSpaces
|
|
4134
4133
|
summary: List all space integration installations
|
|
@@ -4199,7 +4198,7 @@ paths:
|
|
|
4199
4198
|
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
4200
4199
|
"404":
|
|
4201
4200
|
$ref: "#/components/responses/NotFoundError"
|
|
4202
|
-
|
|
4201
|
+
/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}:
|
|
4203
4202
|
get:
|
|
4204
4203
|
operationId: getIntegrationSpaceInstallation
|
|
4205
4204
|
summary: Get an integration space installation
|
|
@@ -4266,7 +4265,7 @@ paths:
|
|
|
4266
4265
|
description: The space installation did not exist.
|
|
4267
4266
|
"205":
|
|
4268
4267
|
description: The space installation has been deleted.
|
|
4269
|
-
|
|
4268
|
+
/integrations/{integrationName}/installations/{installationId}/sites:
|
|
4270
4269
|
get:
|
|
4271
4270
|
operationId: listIntegrationInstallationSites
|
|
4272
4271
|
summary: List all site integration installations
|
|
@@ -4339,7 +4338,7 @@ paths:
|
|
|
4339
4338
|
$ref: "#/components/schemas/IntegrationSiteInstallation"
|
|
4340
4339
|
"404":
|
|
4341
4340
|
$ref: "#/components/responses/NotFoundError"
|
|
4342
|
-
|
|
4341
|
+
/integrations/{integrationName}/installations/{installationId}/sites/{siteId}:
|
|
4343
4342
|
get:
|
|
4344
4343
|
operationId: getIntegrationSiteInstallation
|
|
4345
4344
|
summary: Get an integration site installation
|
|
@@ -4434,7 +4433,7 @@ paths:
|
|
|
4434
4433
|
$ref: "#/components/schemas/Organization"
|
|
4435
4434
|
required:
|
|
4436
4435
|
- items
|
|
4437
|
-
|
|
4436
|
+
/orgs/{organizationId}:
|
|
4438
4437
|
get:
|
|
4439
4438
|
operationId: getOrganizationById
|
|
4440
4439
|
summary: Get an organization by its ID
|
|
@@ -4503,7 +4502,7 @@ paths:
|
|
|
4503
4502
|
"400":
|
|
4504
4503
|
description: Invalid default content space or collection provided
|
|
4505
4504
|
$ref: "#/components/responses/BadRequestError"
|
|
4506
|
-
|
|
4505
|
+
/orgs/{organizationId}/members:
|
|
4507
4506
|
get:
|
|
4508
4507
|
operationId: listMembersInOrganizationById
|
|
4509
4508
|
summary: List all organization members
|
|
@@ -4555,7 +4554,7 @@ paths:
|
|
|
4555
4554
|
type: array
|
|
4556
4555
|
items:
|
|
4557
4556
|
$ref: "#/components/schemas/OrganizationMember"
|
|
4558
|
-
|
|
4557
|
+
/orgs/{organizationId}/members/{userId}:
|
|
4559
4558
|
get:
|
|
4560
4559
|
operationId: getMemberInOrganizationById
|
|
4561
4560
|
summary: Get an organization member by its ID
|
|
@@ -4615,7 +4614,7 @@ paths:
|
|
|
4615
4614
|
description: Member did not exist in the organization.
|
|
4616
4615
|
"205":
|
|
4617
4616
|
description: The member was deleted from the organization.
|
|
4618
|
-
|
|
4617
|
+
/orgs/{organizationId}/ping:
|
|
4619
4618
|
post:
|
|
4620
4619
|
operationId: updateOrganizationMemberLastSeenAt
|
|
4621
4620
|
summary: Update an organization member last seen at
|
|
@@ -4636,7 +4635,7 @@ paths:
|
|
|
4636
4635
|
gitbookVisitorClaims:
|
|
4637
4636
|
description: A JTW token containing the claims to attach to this user.
|
|
4638
4637
|
type: string
|
|
4639
|
-
|
|
4638
|
+
/orgs/{organizationId}/members/{userId}/sso:
|
|
4640
4639
|
post:
|
|
4641
4640
|
operationId: setUserAsSSOMemberForOrganization
|
|
4642
4641
|
summary: Set a user as an SSO member of an organization
|
|
@@ -4654,7 +4653,7 @@ paths:
|
|
|
4654
4653
|
application/json:
|
|
4655
4654
|
schema:
|
|
4656
4655
|
$ref: "#/components/schemas/OrganizationMember"
|
|
4657
|
-
|
|
4656
|
+
/orgs/{organizationId}/members/{userId}/spaces:
|
|
4658
4657
|
get:
|
|
4659
4658
|
operationId: listSpacesForOrganizationMember
|
|
4660
4659
|
summary: List an organization member space permissions
|
|
@@ -4684,7 +4683,7 @@ paths:
|
|
|
4684
4683
|
type: array
|
|
4685
4684
|
items:
|
|
4686
4685
|
$ref: "#/components/schemas/MemberContentPermission"
|
|
4687
|
-
|
|
4686
|
+
/orgs/{organizationId}/members/{userId}/teams:
|
|
4688
4687
|
get:
|
|
4689
4688
|
operationId: listTeamsForOrganizationMember
|
|
4690
4689
|
summary: List all organization member teams
|
|
@@ -4726,7 +4725,7 @@ paths:
|
|
|
4726
4725
|
$ref: "#/components/schemas/OrganizationTeam"
|
|
4727
4726
|
member:
|
|
4728
4727
|
$ref: "#/components/schemas/TeamMember"
|
|
4729
|
-
|
|
4728
|
+
/orgs/{organizationId}/teams:
|
|
4730
4729
|
get:
|
|
4731
4730
|
operationId: listTeamsInOrganizationById
|
|
4732
4731
|
summary: List all teams
|
|
@@ -4796,7 +4795,7 @@ paths:
|
|
|
4796
4795
|
type: string
|
|
4797
4796
|
required:
|
|
4798
4797
|
- title
|
|
4799
|
-
|
|
4798
|
+
/orgs/{organizationId}/teams/{teamId}:
|
|
4800
4799
|
get:
|
|
4801
4800
|
operationId: getTeamInOrganizationById
|
|
4802
4801
|
summary: Get a team
|
|
@@ -4857,7 +4856,7 @@ paths:
|
|
|
4857
4856
|
description: The team did not exist in the organization.
|
|
4858
4857
|
"205":
|
|
4859
4858
|
description: The team was deleted from the organization.
|
|
4860
|
-
|
|
4859
|
+
/orgs/{organizationId}/teams/{teamId}/members:
|
|
4861
4860
|
put:
|
|
4862
4861
|
operationId: updateMembersInOrganizationTeam
|
|
4863
4862
|
summary: Updates members of a team
|
|
@@ -4909,7 +4908,7 @@ paths:
|
|
|
4909
4908
|
type: array
|
|
4910
4909
|
items:
|
|
4911
4910
|
$ref: "#/components/schemas/OrganizationTeamMember"
|
|
4912
|
-
|
|
4911
|
+
/orgs/{organizationId}/teams/{teamId}/members/{userId}:
|
|
4913
4912
|
put:
|
|
4914
4913
|
operationId: addMemberToOrganizationTeamById
|
|
4915
4914
|
summary: Add a team member
|
|
@@ -4952,7 +4951,7 @@ paths:
|
|
|
4952
4951
|
description: Member was not part of the team
|
|
4953
4952
|
"205":
|
|
4954
4953
|
description: Member has been deleted from the team
|
|
4955
|
-
|
|
4954
|
+
/orgs/{organizationId}/invites:
|
|
4956
4955
|
post:
|
|
4957
4956
|
operationId: inviteUsersToOrganization
|
|
4958
4957
|
summary: Invite users in an organization
|
|
@@ -4994,7 +4993,7 @@ paths:
|
|
|
4994
4993
|
application/json:
|
|
4995
4994
|
schema:
|
|
4996
4995
|
$ref: "#/components/schemas/InviteUsersToOrganization"
|
|
4997
|
-
|
|
4996
|
+
/orgs/{organizationId}/invites/{inviteId}:
|
|
4998
4997
|
post:
|
|
4999
4998
|
operationId: joinOrganizationWithInvite
|
|
5000
4999
|
summary: Join an organization with an invite
|
|
@@ -5013,7 +5012,7 @@ paths:
|
|
|
5013
5012
|
schema:
|
|
5014
5013
|
type: object
|
|
5015
5014
|
properties: {}
|
|
5016
|
-
|
|
5015
|
+
/orgs/{organizationId}/link-invites:
|
|
5017
5016
|
get:
|
|
5018
5017
|
operationId: listOrganizationInviteLinks
|
|
5019
5018
|
summary: List organization invites
|
|
@@ -5063,7 +5062,7 @@ paths:
|
|
|
5063
5062
|
application/json:
|
|
5064
5063
|
schema:
|
|
5065
5064
|
$ref: "#/components/schemas/OrganizationInviteLink"
|
|
5066
|
-
|
|
5065
|
+
/orgs/{organizationId}/link-invites/{inviteId}:
|
|
5067
5066
|
get:
|
|
5068
5067
|
operationId: getOrganizationInviteLink
|
|
5069
5068
|
summary: Get an organization by its ID
|
|
@@ -5133,7 +5132,7 @@ paths:
|
|
|
5133
5132
|
description: Organization invite did not exist
|
|
5134
5133
|
"205":
|
|
5135
5134
|
description: The organization invite has been deleted
|
|
5136
|
-
|
|
5135
|
+
/orgs/{organizationId}/join:
|
|
5137
5136
|
post:
|
|
5138
5137
|
operationId: joinOrganization
|
|
5139
5138
|
summary: Join an organization
|
|
@@ -5155,7 +5154,7 @@ paths:
|
|
|
5155
5154
|
"404":
|
|
5156
5155
|
description: Organization not found
|
|
5157
5156
|
$ref: "#/components/responses/NotFoundError"
|
|
5158
|
-
|
|
5157
|
+
/orgs/{organizationId}/search:
|
|
5159
5158
|
get:
|
|
5160
5159
|
operationId: searchOrganizationContent
|
|
5161
5160
|
summary: Search content in an organization
|
|
@@ -5189,7 +5188,7 @@ paths:
|
|
|
5189
5188
|
type: array
|
|
5190
5189
|
items:
|
|
5191
5190
|
$ref: "#/components/schemas/SearchSpaceResult"
|
|
5192
|
-
|
|
5191
|
+
/orgs/{organizationId}/change-requests:
|
|
5193
5192
|
get:
|
|
5194
5193
|
operationId: listChangeRequestsForOrganization
|
|
5195
5194
|
summary: List all change requests in an organization
|
|
@@ -5268,7 +5267,7 @@ paths:
|
|
|
5268
5267
|
type: array
|
|
5269
5268
|
items:
|
|
5270
5269
|
$ref: "#/components/schemas/ChangeRequest"
|
|
5271
|
-
|
|
5270
|
+
/orgs/{organizationId}/spaces:
|
|
5272
5271
|
get:
|
|
5273
5272
|
operationId: listSpacesInOrganizationById
|
|
5274
5273
|
summary: List all spaces
|
|
@@ -5322,7 +5321,7 @@ paths:
|
|
|
5322
5321
|
application/json:
|
|
5323
5322
|
schema:
|
|
5324
5323
|
$ref: "#/components/schemas/Space"
|
|
5325
|
-
|
|
5324
|
+
/orgs/{organizationId}/collections:
|
|
5326
5325
|
get:
|
|
5327
5326
|
operationId: listCollectionsInOrganizationById
|
|
5328
5327
|
summary: List all collections
|
|
@@ -5389,7 +5388,7 @@ paths:
|
|
|
5389
5388
|
application/json:
|
|
5390
5389
|
schema:
|
|
5391
5390
|
$ref: "#/components/schemas/Collection"
|
|
5392
|
-
|
|
5391
|
+
/orgs/{organizationId}/integrations:
|
|
5393
5392
|
get:
|
|
5394
5393
|
operationId: listOrganizationIntegrations
|
|
5395
5394
|
summary: List all public integrations along with private ones trusted by the specific org.
|
|
@@ -5423,7 +5422,7 @@ paths:
|
|
|
5423
5422
|
type: array
|
|
5424
5423
|
items:
|
|
5425
5424
|
$ref: "#/components/schemas/Integration"
|
|
5426
|
-
|
|
5425
|
+
/orgs/{organizationId}/integrations/{integrationName}/installation_status:
|
|
5427
5426
|
get:
|
|
5428
5427
|
operationId: getOrganizationIntegrationStatus
|
|
5429
5428
|
summary: Get the status of an integration
|
|
@@ -5447,7 +5446,7 @@ paths:
|
|
|
5447
5446
|
- status
|
|
5448
5447
|
"404":
|
|
5449
5448
|
$ref: "#/components/responses/NotFoundError"
|
|
5450
|
-
|
|
5449
|
+
/orgs/{organizationId}/installations:
|
|
5451
5450
|
get:
|
|
5452
5451
|
operationId: listOrganizationInstallations
|
|
5453
5452
|
summary: List all integration installations
|
|
@@ -5482,7 +5481,7 @@ paths:
|
|
|
5482
5481
|
required:
|
|
5483
5482
|
- integration
|
|
5484
5483
|
- installation
|
|
5485
|
-
|
|
5484
|
+
/orgs/{organizationId}/integrations/installations-status:
|
|
5486
5485
|
get:
|
|
5487
5486
|
operationId: listOrganizationIntegrationsStatus
|
|
5488
5487
|
summary: List all integration statuses
|
|
@@ -5519,7 +5518,7 @@ paths:
|
|
|
5519
5518
|
type: array
|
|
5520
5519
|
items:
|
|
5521
5520
|
$ref: "#/components/schemas/InstalledIntegration"
|
|
5522
|
-
|
|
5521
|
+
/orgs/{organizationId}/saml:
|
|
5523
5522
|
get:
|
|
5524
5523
|
operationId: listSAMLProvidersInOrganizationById
|
|
5525
5524
|
summary: List all SAML providers
|
|
@@ -5591,7 +5590,7 @@ paths:
|
|
|
5591
5590
|
application/json:
|
|
5592
5591
|
schema:
|
|
5593
5592
|
$ref: "#/components/schemas/OrganizationSAMLProvider"
|
|
5594
|
-
|
|
5593
|
+
/orgs/{organizationId}/saml/{samlProviderId}:
|
|
5595
5594
|
get:
|
|
5596
5595
|
operationId: getOrganizationSAMLProviderById
|
|
5597
5596
|
summary: Get a SAML provider by its ID
|
|
@@ -5663,7 +5662,7 @@ paths:
|
|
|
5663
5662
|
description: SAML provider did not exist
|
|
5664
5663
|
"205":
|
|
5665
5664
|
description: SAML provider has been deleted
|
|
5666
|
-
|
|
5665
|
+
/orgs/{organizationId}/sso:
|
|
5667
5666
|
get:
|
|
5668
5667
|
operationId: listSSOProviderLoginsInOrganization
|
|
5669
5668
|
summary: List all SSO provider login infos
|
|
@@ -5685,7 +5684,7 @@ paths:
|
|
|
5685
5684
|
type: array
|
|
5686
5685
|
items:
|
|
5687
5686
|
$ref: "#/components/schemas/OrganizationSSOProviderLogin"
|
|
5688
|
-
|
|
5687
|
+
/orgs/{organizationId}/ask:
|
|
5689
5688
|
post:
|
|
5690
5689
|
operationId: askInOrganization
|
|
5691
5690
|
summary: Ask a question in an organization
|
|
@@ -5718,7 +5717,7 @@ paths:
|
|
|
5718
5717
|
properties:
|
|
5719
5718
|
answer:
|
|
5720
5719
|
$ref: "#/components/schemas/SearchAIAnswer"
|
|
5721
|
-
|
|
5720
|
+
/orgs/{organizationId}/ask/questions:
|
|
5722
5721
|
get:
|
|
5723
5722
|
operationId: getRecommendedQuestionsInOrganization
|
|
5724
5723
|
summary: List recommended questions to ask in an organization
|
|
@@ -5735,7 +5734,7 @@ paths:
|
|
|
5735
5734
|
application/json:
|
|
5736
5735
|
schema:
|
|
5737
5736
|
$ref: "#/components/schemas/SearchAIRecommendedQuestions"
|
|
5738
|
-
|
|
5737
|
+
/orgs/{organizationId}/ask/questions/stream:
|
|
5739
5738
|
get:
|
|
5740
5739
|
operationId: streamRecommendedQuestionsInOrganization
|
|
5741
5740
|
summary: List recommended questions to ask in an organization (streamed)
|
|
@@ -5752,7 +5751,7 @@ paths:
|
|
|
5752
5751
|
text/event-stream:
|
|
5753
5752
|
schema:
|
|
5754
5753
|
$ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
|
|
5755
|
-
|
|
5754
|
+
/orgs/{organizationId}/ask/stream:
|
|
5756
5755
|
get:
|
|
5757
5756
|
operationId: streamAskInOrganization
|
|
5758
5757
|
summary: Ask a question in an organization (streamed)
|
|
@@ -5781,7 +5780,7 @@ paths:
|
|
|
5781
5780
|
text/event-stream:
|
|
5782
5781
|
schema:
|
|
5783
5782
|
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
5784
|
-
|
|
5783
|
+
/orgs/{organizationId}/openapi:
|
|
5785
5784
|
get:
|
|
5786
5785
|
operationId: listOpenAPISpecs
|
|
5787
5786
|
summary: List all OpenAPI spec
|
|
@@ -5841,7 +5840,7 @@ paths:
|
|
|
5841
5840
|
$ref: "#/components/schemas/OpenAPISpec"
|
|
5842
5841
|
"400":
|
|
5843
5842
|
$ref: "#/components/responses/BadRequestError"
|
|
5844
|
-
|
|
5843
|
+
/orgs/{organizationId}/openapi/{specSlug}:
|
|
5845
5844
|
get:
|
|
5846
5845
|
operationId: getOpenAPISpecBySlug
|
|
5847
5846
|
summary: Get an OpenAPI spec by its slug
|
|
@@ -5946,7 +5945,7 @@ paths:
|
|
|
5946
5945
|
description: Specification did not exist
|
|
5947
5946
|
"205":
|
|
5948
5947
|
description: OpenAPI specification has been deleted
|
|
5949
|
-
|
|
5948
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions:
|
|
5950
5949
|
get:
|
|
5951
5950
|
operationId: listOpenAPISpecVersions
|
|
5952
5951
|
summary: List all OpenAPI spec versions
|
|
@@ -5978,7 +5977,7 @@ paths:
|
|
|
5978
5977
|
"404":
|
|
5979
5978
|
description: No matching OpenAPI specification found
|
|
5980
5979
|
$ref: "#/components/responses/NotFoundError"
|
|
5981
|
-
|
|
5980
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions/latest:
|
|
5982
5981
|
get:
|
|
5983
5982
|
operationId: getLatestOpenAPISpecVersion
|
|
5984
5983
|
summary: Get the latest OpenAPI spec version
|
|
@@ -5999,7 +5998,7 @@ paths:
|
|
|
5999
5998
|
"404":
|
|
6000
5999
|
description: No matching OpenAPI specification version found
|
|
6001
6000
|
$ref: "#/components/responses/NotFoundError"
|
|
6002
|
-
|
|
6001
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content:
|
|
6003
6002
|
get:
|
|
6004
6003
|
operationId: getLatestOpenAPISpecVersionContent
|
|
6005
6004
|
summary: Get the latest OpenAPI spec version content
|
|
@@ -6020,7 +6019,7 @@ paths:
|
|
|
6020
6019
|
"404":
|
|
6021
6020
|
description: No matching OpenAPI specification version found
|
|
6022
6021
|
$ref: "#/components/responses/NotFoundError"
|
|
6023
|
-
|
|
6022
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}:
|
|
6024
6023
|
get:
|
|
6025
6024
|
operationId: getOpenAPISpecVersionById
|
|
6026
6025
|
summary: Get an OpenAPI spec version by its ID
|
|
@@ -6042,7 +6041,7 @@ paths:
|
|
|
6042
6041
|
"404":
|
|
6043
6042
|
description: No matching OpenAPI specification version found
|
|
6044
6043
|
$ref: "#/components/responses/NotFoundError"
|
|
6045
|
-
|
|
6044
|
+
/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content:
|
|
6046
6045
|
get:
|
|
6047
6046
|
operationId: getOpenAPISpecVersionContentById
|
|
6048
6047
|
summary: Get an OpenAPI spec version content by its ID
|
|
@@ -6064,7 +6063,7 @@ paths:
|
|
|
6064
6063
|
"404":
|
|
6065
6064
|
description: No matching OpenAPI specification version found
|
|
6066
6065
|
$ref: "#/components/responses/NotFoundError"
|
|
6067
|
-
|
|
6066
|
+
/orgs/{organizationId}/agent-instructions:
|
|
6068
6067
|
get:
|
|
6069
6068
|
operationId: getOrganizationAgentInstructions
|
|
6070
6069
|
summary: Get Docs agent instructions for an organization
|
|
@@ -6111,7 +6110,7 @@ paths:
|
|
|
6111
6110
|
application/json:
|
|
6112
6111
|
schema:
|
|
6113
6112
|
$ref: "#/components/schemas/OrganizationAgentInstructions"
|
|
6114
|
-
|
|
6113
|
+
/orgs/{organizationId}/translations:
|
|
6115
6114
|
get:
|
|
6116
6115
|
operationId: listTranslations
|
|
6117
6116
|
summary: List all the translations
|
|
@@ -6173,7 +6172,7 @@ paths:
|
|
|
6173
6172
|
$ref: "#/components/schemas/Translation"
|
|
6174
6173
|
"400":
|
|
6175
6174
|
$ref: "#/components/responses/BadRequestError"
|
|
6176
|
-
|
|
6175
|
+
/orgs/{organizationId}/translations/{translationId}:
|
|
6177
6176
|
get:
|
|
6178
6177
|
operationId: getTranslation
|
|
6179
6178
|
summary: Get a translation by its ID
|
|
@@ -6239,7 +6238,7 @@ paths:
|
|
|
6239
6238
|
description: Translation did not exist
|
|
6240
6239
|
"205":
|
|
6241
6240
|
description: Translation has been deleted
|
|
6242
|
-
|
|
6241
|
+
/orgs/{organizationId}/translations/{translationId}/run:
|
|
6243
6242
|
post:
|
|
6244
6243
|
operationId: runTranslation
|
|
6245
6244
|
summary: Run a translation again
|
|
@@ -6256,7 +6255,7 @@ paths:
|
|
|
6256
6255
|
"404":
|
|
6257
6256
|
description: No matching translation found
|
|
6258
6257
|
$ref: "#/components/responses/NotFoundError"
|
|
6259
|
-
|
|
6258
|
+
/orgs/{organizationId}/translations-glossary:
|
|
6260
6259
|
get:
|
|
6261
6260
|
operationId: listGlossaryEntries
|
|
6262
6261
|
summary: List glossary entries
|
|
@@ -6316,7 +6315,7 @@ paths:
|
|
|
6316
6315
|
description: Glossary entries updated
|
|
6317
6316
|
"400":
|
|
6318
6317
|
$ref: "#/components/responses/BadRequestError"
|
|
6319
|
-
|
|
6318
|
+
/orgs/{organizationId}/translations-glossary/{glossaryEntryId}:
|
|
6320
6319
|
get:
|
|
6321
6320
|
operationId: getGlossaryEntry
|
|
6322
6321
|
summary: Get a glossary entry by its ID
|
|
@@ -6336,7 +6335,7 @@ paths:
|
|
|
6336
6335
|
$ref: "#/components/schemas/GlossaryEntry"
|
|
6337
6336
|
"404":
|
|
6338
6337
|
$ref: "#/components/responses/NotFoundError"
|
|
6339
|
-
|
|
6338
|
+
/orgs/{organizationId}/storage/upload:
|
|
6340
6339
|
post:
|
|
6341
6340
|
operationId: generateStorageUploadURL
|
|
6342
6341
|
summary: Create a signed URL to upload a file
|
|
@@ -6370,7 +6369,7 @@ paths:
|
|
|
6370
6369
|
$ref: "#/components/schemas/StorageUploadURL"
|
|
6371
6370
|
"400":
|
|
6372
6371
|
$ref: "#/components/responses/BadRequestError"
|
|
6373
|
-
|
|
6372
|
+
/orgs/{organizationId}/fonts:
|
|
6374
6373
|
get:
|
|
6375
6374
|
operationId: listCustomFonts
|
|
6376
6375
|
summary: List all custom fonts
|
|
@@ -6448,7 +6447,7 @@ paths:
|
|
|
6448
6447
|
"412":
|
|
6449
6448
|
description: Invalid request data, such as missing required font weights.
|
|
6450
6449
|
$ref: "#/components/responses/PreconditionFailedError"
|
|
6451
|
-
|
|
6450
|
+
/orgs/{organizationId}/fonts/{fontId}:
|
|
6452
6451
|
get:
|
|
6453
6452
|
operationId: getCustomFont
|
|
6454
6453
|
summary: Get a custom font by its ID
|
|
@@ -6532,7 +6531,7 @@ paths:
|
|
|
6532
6531
|
description: Organization or font not found.
|
|
6533
6532
|
"205":
|
|
6534
6533
|
description: Custom font deleted successfully.
|
|
6535
|
-
|
|
6534
|
+
/org/{organizationId}/imports:
|
|
6536
6535
|
post:
|
|
6537
6536
|
operationId: startImportRun
|
|
6538
6537
|
summary: Import content into a space from a website
|
|
@@ -6571,7 +6570,7 @@ paths:
|
|
|
6571
6570
|
$ref: "#/components/responses/BadRequestError"
|
|
6572
6571
|
"404":
|
|
6573
6572
|
$ref: "#/components/responses/NotFoundError"
|
|
6574
|
-
|
|
6573
|
+
/org/{organizationId}/imports/{importRunId}/cancel:
|
|
6575
6574
|
post:
|
|
6576
6575
|
operationId: cancelImportRun
|
|
6577
6576
|
summary: Cancel an import run
|
|
@@ -6593,7 +6592,7 @@ paths:
|
|
|
6593
6592
|
$ref: "#/components/responses/BadRequestError"
|
|
6594
6593
|
"404":
|
|
6595
6594
|
$ref: "#/components/responses/NotFoundError"
|
|
6596
|
-
|
|
6595
|
+
/orgs/{organizationId}/sites:
|
|
6597
6596
|
get:
|
|
6598
6597
|
operationId: listSites
|
|
6599
6598
|
summary: List all sites
|
|
@@ -6687,7 +6686,7 @@ paths:
|
|
|
6687
6686
|
application/json:
|
|
6688
6687
|
schema:
|
|
6689
6688
|
$ref: "#/components/schemas/Site"
|
|
6690
|
-
|
|
6689
|
+
/orgs/{organizationId}/sites/{siteId}:
|
|
6691
6690
|
get:
|
|
6692
6691
|
operationId: getSiteById
|
|
6693
6692
|
summary: Get a site by its ID
|
|
@@ -6770,7 +6769,7 @@ paths:
|
|
|
6770
6769
|
description: Site did not exist
|
|
6771
6770
|
"205":
|
|
6772
6771
|
description: Site has been deleted
|
|
6773
|
-
|
|
6772
|
+
/orgs/{organizationId}/sites/{siteId}/adaptive-schema:
|
|
6774
6773
|
get:
|
|
6775
6774
|
operationId: getSiteAdaptiveSchema
|
|
6776
6775
|
summary: Get the JSON schema describing the attributes expected for an Adaptive content site visitor.
|
|
@@ -6826,7 +6825,7 @@ paths:
|
|
|
6826
6825
|
$ref: "#/components/responses/BadRequestError"
|
|
6827
6826
|
default:
|
|
6828
6827
|
$ref: "#/components/responses/UnexpectedError"
|
|
6829
|
-
|
|
6828
|
+
/orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions:
|
|
6830
6829
|
get:
|
|
6831
6830
|
operationId: listSiteAdaptiveTemplateConditions
|
|
6832
6831
|
summary: List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.
|
|
@@ -6849,7 +6848,7 @@ paths:
|
|
|
6849
6848
|
$ref: "#/components/schemas/SiteAdaptiveTemplateCondition"
|
|
6850
6849
|
required:
|
|
6851
6850
|
- items
|
|
6852
|
-
|
|
6851
|
+
/orgs/{organizationId}/sites/{siteId}/published:
|
|
6853
6852
|
get:
|
|
6854
6853
|
operationId: getPublishedContentSite
|
|
6855
6854
|
summary: Get a published site
|
|
@@ -6872,7 +6871,7 @@ paths:
|
|
|
6872
6871
|
"404":
|
|
6873
6872
|
description: No matching site found
|
|
6874
6873
|
$ref: "#/components/responses/NotFoundError"
|
|
6875
|
-
|
|
6874
|
+
/orgs/{organizationId}/sites/{siteId}/publish:
|
|
6876
6875
|
post:
|
|
6877
6876
|
operationId: publishSite
|
|
6878
6877
|
summary: Publish a site
|
|
@@ -6904,7 +6903,7 @@ paths:
|
|
|
6904
6903
|
required:
|
|
6905
6904
|
- type
|
|
6906
6905
|
- sessionId
|
|
6907
|
-
|
|
6906
|
+
/orgs/{organizationId}/sites/{siteId}/unpublish:
|
|
6908
6907
|
post:
|
|
6909
6908
|
operationId: unpublishSite
|
|
6910
6909
|
summary: Unpublish a site
|
|
@@ -6922,7 +6921,7 @@ paths:
|
|
|
6922
6921
|
application/json:
|
|
6923
6922
|
schema:
|
|
6924
6923
|
$ref: "#/components/schemas/Site"
|
|
6925
|
-
|
|
6924
|
+
/orgs/{organizationId}/sites/{siteId}/share-links:
|
|
6926
6925
|
get:
|
|
6927
6926
|
operationId: listSiteShareLinks
|
|
6928
6927
|
summary: List all share links
|
|
@@ -6989,7 +6988,7 @@ paths:
|
|
|
6989
6988
|
application/json:
|
|
6990
6989
|
schema:
|
|
6991
6990
|
$ref: "#/components/schemas/ShareLink"
|
|
6992
|
-
|
|
6991
|
+
/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}:
|
|
6993
6992
|
patch:
|
|
6994
6993
|
operationId: updateSiteShareLinkById
|
|
6995
6994
|
summary: Update a share link
|
|
@@ -7036,7 +7035,7 @@ paths:
|
|
|
7036
7035
|
description: Site share link did not exist
|
|
7037
7036
|
"205":
|
|
7038
7037
|
description: Site share link has been deleted
|
|
7039
|
-
|
|
7038
|
+
/orgs/{organizationId}/sites/{siteId}/structure:
|
|
7040
7039
|
get:
|
|
7041
7040
|
operationId: getSiteStructure
|
|
7042
7041
|
summary: Get a site structure
|
|
@@ -7059,7 +7058,7 @@ paths:
|
|
|
7059
7058
|
"404":
|
|
7060
7059
|
description: No matching site found
|
|
7061
7060
|
$ref: "#/components/responses/NotFoundError"
|
|
7062
|
-
|
|
7061
|
+
/orgs/{organizationId}/sites/{siteId}/structure/sort:
|
|
7063
7062
|
patch:
|
|
7064
7063
|
operationId: sortSiteStructure
|
|
7065
7064
|
summary: Move a site space, site section or site section group to a new position in the site structure.
|
|
@@ -7100,7 +7099,7 @@ paths:
|
|
|
7100
7099
|
$ref: "#/components/responses/NotFoundError"
|
|
7101
7100
|
default:
|
|
7102
7101
|
$ref: "#/components/responses/UnexpectedError"
|
|
7103
|
-
|
|
7102
|
+
/orgs/{organizationId}/sites/{siteId}/publishing/auth:
|
|
7104
7103
|
get:
|
|
7105
7104
|
operationId: getSitePublishingAuthById
|
|
7106
7105
|
summary: Get a site auth config
|
|
@@ -7145,7 +7144,7 @@ paths:
|
|
|
7145
7144
|
$ref: "#/components/schemas/SitePublishingAuth"
|
|
7146
7145
|
"400":
|
|
7147
7146
|
$ref: "#/components/responses/BadRequestError"
|
|
7148
|
-
|
|
7147
|
+
/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate:
|
|
7149
7148
|
post:
|
|
7150
7149
|
operationId: regenerateSitePublishingAuthById
|
|
7151
7150
|
summary: Regenerate a site auth
|
|
@@ -7166,7 +7165,7 @@ paths:
|
|
|
7166
7165
|
$ref: "#/components/schemas/SitePublishingAuth"
|
|
7167
7166
|
"400":
|
|
7168
7167
|
$ref: "#/components/responses/BadRequestError"
|
|
7169
|
-
|
|
7168
|
+
/orgs/{organizationId}/sites/{siteId}/publishing/preview:
|
|
7170
7169
|
get:
|
|
7171
7170
|
operationId: getSitePublishingPreviewById
|
|
7172
7171
|
summary: Get a site preview URL
|
|
@@ -7213,7 +7212,7 @@ paths:
|
|
|
7213
7212
|
- url
|
|
7214
7213
|
"400":
|
|
7215
7214
|
$ref: "#/components/responses/BadRequestError"
|
|
7216
|
-
|
|
7215
|
+
/orgs/{organizationId}/sites/{siteId}/customization:
|
|
7217
7216
|
get:
|
|
7218
7217
|
operationId: getSiteCustomizationById
|
|
7219
7218
|
summary: Get a site customization settings
|
|
@@ -7259,7 +7258,7 @@ paths:
|
|
|
7259
7258
|
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
7260
7259
|
"400":
|
|
7261
7260
|
$ref: "#/components/responses/BadRequestError"
|
|
7262
|
-
|
|
7261
|
+
/orgs/{organizationId}/sites/{siteId}/integration-scripts:
|
|
7263
7262
|
get:
|
|
7264
7263
|
operationId: listSiteIntegrationScripts
|
|
7265
7264
|
summary: List the scripts to embed in published content for a site.
|
|
@@ -7282,7 +7281,7 @@ paths:
|
|
|
7282
7281
|
$ref: "#/components/schemas/SiteIntegrationScript"
|
|
7283
7282
|
"400":
|
|
7284
7283
|
$ref: "#/components/responses/BadRequestError"
|
|
7285
|
-
|
|
7284
|
+
/orgs/{organizationId}/sites/{siteId}/integrations:
|
|
7286
7285
|
get:
|
|
7287
7286
|
operationId: listSiteIntegrations
|
|
7288
7287
|
summary: List integrations enabled in a site.
|
|
@@ -7311,7 +7310,7 @@ paths:
|
|
|
7311
7310
|
type: array
|
|
7312
7311
|
items:
|
|
7313
7312
|
$ref: "#/components/schemas/Integration"
|
|
7314
|
-
|
|
7313
|
+
/orgs/{organizationId}/sites/{siteId}/site-spaces:
|
|
7315
7314
|
post:
|
|
7316
7315
|
operationId: addSpaceToSite
|
|
7317
7316
|
summary: Add a space to a site
|
|
@@ -7388,7 +7387,7 @@ paths:
|
|
|
7388
7387
|
type: array
|
|
7389
7388
|
items:
|
|
7390
7389
|
$ref: "#/components/schemas/SiteSpace"
|
|
7391
|
-
|
|
7390
|
+
/orgs/{organizationId}/sites/{siteId}/section-groups:
|
|
7392
7391
|
get:
|
|
7393
7392
|
operationId: listSiteSectionGroups
|
|
7394
7393
|
summary: List all site section groups
|
|
@@ -7465,7 +7464,7 @@ paths:
|
|
|
7465
7464
|
application/json:
|
|
7466
7465
|
schema:
|
|
7467
7466
|
$ref: "#/components/schemas/SiteSectionGroup"
|
|
7468
|
-
|
|
7467
|
+
/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}:
|
|
7469
7468
|
patch:
|
|
7470
7469
|
operationId: updateSiteSectionGroupById
|
|
7471
7470
|
summary: Update a site section group
|
|
@@ -7494,7 +7493,7 @@ paths:
|
|
|
7494
7493
|
- type: "null"
|
|
7495
7494
|
draft:
|
|
7496
7495
|
type: boolean
|
|
7497
|
-
description: Whether the site section group
|
|
7496
|
+
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
7497
|
responses:
|
|
7499
7498
|
"200":
|
|
7500
7499
|
description: OK
|
|
@@ -7518,7 +7517,7 @@ paths:
|
|
|
7518
7517
|
description: Site section group did not exist
|
|
7519
7518
|
"205":
|
|
7520
7519
|
description: Site section group has been deleted
|
|
7521
|
-
|
|
7520
|
+
/orgs/{organizationId}/sites/{siteId}/sections:
|
|
7522
7521
|
post:
|
|
7523
7522
|
operationId: addSectionToSite
|
|
7524
7523
|
summary: Add a section to a site
|
|
@@ -7596,7 +7595,7 @@ paths:
|
|
|
7596
7595
|
type: array
|
|
7597
7596
|
items:
|
|
7598
7597
|
$ref: "#/components/schemas/SiteSection"
|
|
7599
|
-
|
|
7598
|
+
/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}:
|
|
7600
7599
|
patch:
|
|
7601
7600
|
operationId: updateSiteSectionById
|
|
7602
7601
|
summary: Update a site section
|
|
@@ -7635,7 +7634,7 @@ paths:
|
|
|
7635
7634
|
- type: "null"
|
|
7636
7635
|
draft:
|
|
7637
7636
|
type: boolean
|
|
7638
|
-
description: Whether the site section
|
|
7637
|
+
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
7638
|
description:
|
|
7640
7639
|
oneOf:
|
|
7641
7640
|
- $ref: "#/components/schemas/SiteSectionDescription"
|
|
@@ -7670,7 +7669,7 @@ paths:
|
|
|
7670
7669
|
description: Site section did not exist
|
|
7671
7670
|
"205":
|
|
7672
7671
|
description: Site section has been deleted
|
|
7673
|
-
|
|
7672
|
+
/orgs/{organizationId}/sites/{siteId}/search:
|
|
7674
7673
|
post:
|
|
7675
7674
|
operationId: searchSiteContent
|
|
7676
7675
|
summary: Search in a site
|
|
@@ -7762,7 +7761,7 @@ paths:
|
|
|
7762
7761
|
- $ref: "#/components/schemas/SearchRecordResult"
|
|
7763
7762
|
discriminator:
|
|
7764
7763
|
propertyName: type
|
|
7765
|
-
|
|
7764
|
+
/orgs/{organizationId}/sites/{siteId}/ask:
|
|
7766
7765
|
post:
|
|
7767
7766
|
operationId: streamAskInSite
|
|
7768
7767
|
summary: Ask a question in a site
|
|
@@ -7806,7 +7805,7 @@ paths:
|
|
|
7806
7805
|
text/event-stream:
|
|
7807
7806
|
schema:
|
|
7808
7807
|
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
7809
|
-
|
|
7808
|
+
/orgs/{organizationId}/sites/{siteId}/ask/questions:
|
|
7810
7809
|
get:
|
|
7811
7810
|
operationId: streamRecommendedQuestionsInSite
|
|
7812
7811
|
summary: List recommended questions to ask in a site
|
|
@@ -7836,7 +7835,7 @@ paths:
|
|
|
7836
7835
|
text/event-stream:
|
|
7837
7836
|
schema:
|
|
7838
7837
|
$ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
|
|
7839
|
-
|
|
7838
|
+
/orgs/{organizationId}/sites/{siteId}/context-records:
|
|
7840
7839
|
get:
|
|
7841
7840
|
operationId: listSiteContextRecords
|
|
7842
7841
|
summary: List all context records
|
|
@@ -7906,7 +7905,7 @@ paths:
|
|
|
7906
7905
|
responses:
|
|
7907
7906
|
"204":
|
|
7908
7907
|
description: The context records have been created or updated
|
|
7909
|
-
|
|
7908
|
+
/orgs/{organizationId}/sites/{siteId}/context-records/{siteContextRecordId}:
|
|
7910
7909
|
get:
|
|
7911
7910
|
operationId: getSiteContextRecordById
|
|
7912
7911
|
summary: Get a context record
|
|
@@ -7925,7 +7924,7 @@ paths:
|
|
|
7925
7924
|
application/json:
|
|
7926
7925
|
schema:
|
|
7927
7926
|
$ref: "#/components/schemas/ContextRecord"
|
|
7928
|
-
|
|
7927
|
+
/orgs/{organizationId}/sites/{siteId}/scans:
|
|
7929
7928
|
get:
|
|
7930
7929
|
operationId: listSiteScans
|
|
7931
7930
|
summary: List all site scans
|
|
@@ -7993,7 +7992,7 @@ paths:
|
|
|
7993
7992
|
application/json:
|
|
7994
7993
|
schema:
|
|
7995
7994
|
$ref: "#/components/schemas/SiteScan"
|
|
7996
|
-
|
|
7995
|
+
/orgs/{organizationId}/sites/{siteId}/scans/{siteScanId}:
|
|
7997
7996
|
get:
|
|
7998
7997
|
operationId: getSiteScanById
|
|
7999
7998
|
summary: Get a site scan by ID
|
|
@@ -8012,7 +8011,7 @@ paths:
|
|
|
8012
8011
|
application/json:
|
|
8013
8012
|
schema:
|
|
8014
8013
|
$ref: "#/components/schemas/SiteScan"
|
|
8015
|
-
|
|
8014
|
+
/orgs/{organizationId}/sites/{siteId}/findings:
|
|
8016
8015
|
get:
|
|
8017
8016
|
operationId: listSiteFindings
|
|
8018
8017
|
summary: List all site context findings
|
|
@@ -8061,7 +8060,7 @@ paths:
|
|
|
8061
8060
|
type: array
|
|
8062
8061
|
items:
|
|
8063
8062
|
$ref: "#/components/schemas/SiteFinding"
|
|
8064
|
-
|
|
8063
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}:
|
|
8065
8064
|
get:
|
|
8066
8065
|
operationId: getSiteFindingById
|
|
8067
8066
|
summary: Get a site finding by ID
|
|
@@ -8112,7 +8111,7 @@ paths:
|
|
|
8112
8111
|
application/json:
|
|
8113
8112
|
schema:
|
|
8114
8113
|
$ref: "#/components/schemas/SiteFinding"
|
|
8115
|
-
|
|
8114
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/change-requests:
|
|
8116
8115
|
get:
|
|
8117
8116
|
operationId: listChangeRequestsForSiteFinding
|
|
8118
8117
|
summary: List change requests linked to a site finding
|
|
@@ -8156,7 +8155,7 @@ paths:
|
|
|
8156
8155
|
responses:
|
|
8157
8156
|
"202":
|
|
8158
8157
|
description: Site finding processing has been started
|
|
8159
|
-
|
|
8158
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/pages:
|
|
8160
8159
|
get:
|
|
8161
8160
|
operationId: listPagesForSiteFinding
|
|
8162
8161
|
summary: List pages linked to a site finding
|
|
@@ -8186,7 +8185,7 @@ paths:
|
|
|
8186
8185
|
type: array
|
|
8187
8186
|
items:
|
|
8188
8187
|
$ref: "#/components/schemas/SiteFindingPage"
|
|
8189
|
-
|
|
8188
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/questions:
|
|
8190
8189
|
get:
|
|
8191
8190
|
operationId: listQuestionsForSiteFinding
|
|
8192
8191
|
summary: List questions linked to a site finding
|
|
@@ -8216,7 +8215,7 @@ paths:
|
|
|
8216
8215
|
type: array
|
|
8217
8216
|
items:
|
|
8218
8217
|
$ref: "#/components/schemas/SiteQuestion"
|
|
8219
|
-
|
|
8218
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/records:
|
|
8220
8219
|
get:
|
|
8221
8220
|
operationId: listRecordsForSiteFinding
|
|
8222
8221
|
summary: List records linked to a site finding
|
|
@@ -8246,7 +8245,7 @@ paths:
|
|
|
8246
8245
|
type: array
|
|
8247
8246
|
items:
|
|
8248
8247
|
$ref: "#/components/schemas/ContextRecord"
|
|
8249
|
-
|
|
8248
|
+
/orgs/{organizationId}/sites/{siteId}/context-connections:
|
|
8250
8249
|
get:
|
|
8251
8250
|
operationId: listSiteContextConnections
|
|
8252
8251
|
summary: List all context connections
|
|
@@ -8303,7 +8302,7 @@ paths:
|
|
|
8303
8302
|
application/json:
|
|
8304
8303
|
schema:
|
|
8305
8304
|
$ref: "#/components/schemas/ContextConnection"
|
|
8306
|
-
|
|
8305
|
+
/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}:
|
|
8307
8306
|
get:
|
|
8308
8307
|
operationId: getSiteContextConnectionById
|
|
8309
8308
|
summary: Get a context connection
|
|
@@ -8369,7 +8368,7 @@ paths:
|
|
|
8369
8368
|
description: Context connection did not exist
|
|
8370
8369
|
"205":
|
|
8371
8370
|
description: Context connection deleted
|
|
8372
|
-
|
|
8371
|
+
/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}/sync:
|
|
8373
8372
|
post:
|
|
8374
8373
|
operationId: syncSiteContextConnection
|
|
8375
8374
|
summary: Trigger a sync for a context connection
|
|
@@ -8387,7 +8386,7 @@ paths:
|
|
|
8387
8386
|
"400":
|
|
8388
8387
|
description: Connection was synced less than an hour ago or invalid connector
|
|
8389
8388
|
$ref: "#/components/responses/BadRequestError"
|
|
8390
|
-
|
|
8389
|
+
/orgs/{organizationId}/sites/{siteId}/topics:
|
|
8391
8390
|
get:
|
|
8392
8391
|
operationId: listSiteTopics
|
|
8393
8392
|
summary: List all topics
|
|
@@ -8422,7 +8421,7 @@ paths:
|
|
|
8422
8421
|
type: array
|
|
8423
8422
|
items:
|
|
8424
8423
|
$ref: "#/components/schemas/SiteTopic"
|
|
8425
|
-
|
|
8424
|
+
/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}:
|
|
8426
8425
|
get:
|
|
8427
8426
|
operationId: getSiteTopicById
|
|
8428
8427
|
summary: Get a topic
|
|
@@ -8470,7 +8469,7 @@ paths:
|
|
|
8470
8469
|
application/json:
|
|
8471
8470
|
schema:
|
|
8472
8471
|
$ref: "#/components/schemas/SiteTopic"
|
|
8473
|
-
|
|
8472
|
+
/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/findings:
|
|
8474
8473
|
delete:
|
|
8475
8474
|
operationId: deleteSiteTopicFindings
|
|
8476
8475
|
summary: Delete all findings for a topic
|
|
@@ -8487,7 +8486,7 @@ paths:
|
|
|
8487
8486
|
description: Topic had no findings or did not exist
|
|
8488
8487
|
"205":
|
|
8489
8488
|
description: Topic findings deleted
|
|
8490
|
-
|
|
8489
|
+
/orgs/{organizationId}/sites/{siteId}/questions:
|
|
8491
8490
|
get:
|
|
8492
8491
|
operationId: listSiteQuestions
|
|
8493
8492
|
summary: List all questions in a site
|
|
@@ -8570,7 +8569,7 @@ paths:
|
|
|
8570
8569
|
type: array
|
|
8571
8570
|
items:
|
|
8572
8571
|
$ref: "#/components/schemas/SiteQuestion"
|
|
8573
|
-
|
|
8572
|
+
/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}:
|
|
8574
8573
|
get:
|
|
8575
8574
|
operationId: getSiteQuestionById
|
|
8576
8575
|
summary: Get a site question by ID
|
|
@@ -8620,7 +8619,7 @@ paths:
|
|
|
8620
8619
|
application/json:
|
|
8621
8620
|
schema:
|
|
8622
8621
|
$ref: "#/components/schemas/SiteQuestion"
|
|
8623
|
-
|
|
8622
|
+
/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}/sources:
|
|
8624
8623
|
get:
|
|
8625
8624
|
operationId: listSiteQuestionSources
|
|
8626
8625
|
summary: List sources for a question
|
|
@@ -8681,7 +8680,7 @@ paths:
|
|
|
8681
8680
|
type: array
|
|
8682
8681
|
items:
|
|
8683
8682
|
$ref: "#/components/schemas/SiteQuestionAnswerSource"
|
|
8684
|
-
|
|
8683
|
+
/orgs/{organizationId}/sites/{siteId}/question-stats:
|
|
8685
8684
|
get:
|
|
8686
8685
|
operationId: getSiteQuestionStats
|
|
8687
8686
|
summary: Get question stats for a site
|
|
@@ -8737,7 +8736,7 @@ paths:
|
|
|
8737
8736
|
application/json:
|
|
8738
8737
|
schema:
|
|
8739
8738
|
$ref: "#/components/schemas/SiteQuestionStats"
|
|
8740
|
-
|
|
8739
|
+
/orgs/{organizationId}/sites/{siteId}/answers:
|
|
8741
8740
|
get:
|
|
8742
8741
|
operationId: listSiteQuestionAnswers
|
|
8743
8742
|
summary: List all answers for a site
|
|
@@ -8827,7 +8826,7 @@ paths:
|
|
|
8827
8826
|
type: array
|
|
8828
8827
|
items:
|
|
8829
8828
|
$ref: "#/components/schemas/SiteQuestionAnswer"
|
|
8830
|
-
|
|
8829
|
+
/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}:
|
|
8831
8830
|
get:
|
|
8832
8831
|
operationId: getSiteQuestionAnswerById
|
|
8833
8832
|
summary: Get a site answer by ID
|
|
@@ -8846,7 +8845,7 @@ paths:
|
|
|
8846
8845
|
application/json:
|
|
8847
8846
|
schema:
|
|
8848
8847
|
$ref: "#/components/schemas/SiteQuestionAnswerWithResponse"
|
|
8849
|
-
|
|
8848
|
+
/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/thread:
|
|
8850
8849
|
get:
|
|
8851
8850
|
operationId: getSiteQuestionAnswerThreadById
|
|
8852
8851
|
summary: Get a site answer thread by answer ID
|
|
@@ -8867,7 +8866,7 @@ paths:
|
|
|
8867
8866
|
type: array
|
|
8868
8867
|
items:
|
|
8869
8868
|
$ref: "#/components/schemas/SiteQuestionAnswerWithResponse"
|
|
8870
|
-
|
|
8869
|
+
/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/sources:
|
|
8871
8870
|
get:
|
|
8872
8871
|
operationId: listSiteQuestionAnswerSources
|
|
8873
8872
|
summary: List the sources for an answer
|
|
@@ -8897,7 +8896,7 @@ paths:
|
|
|
8897
8896
|
type: array
|
|
8898
8897
|
items:
|
|
8899
8898
|
$ref: "#/components/schemas/SiteQuestionAnswerSource"
|
|
8900
|
-
|
|
8899
|
+
/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}:
|
|
8901
8900
|
patch:
|
|
8902
8901
|
operationId: updateSiteSpaceById
|
|
8903
8902
|
summary: Update a site space
|
|
@@ -8931,7 +8930,7 @@ paths:
|
|
|
8931
8930
|
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
8931
|
draft:
|
|
8933
8932
|
type: boolean
|
|
8934
|
-
description: Whether the site space should be kept in draft mode. Setting it to false makes the site space live.
|
|
8933
|
+
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
8934
|
responses:
|
|
8936
8935
|
"200":
|
|
8937
8936
|
description: OK
|
|
@@ -8955,7 +8954,7 @@ paths:
|
|
|
8955
8954
|
description: Site space did not exist
|
|
8956
8955
|
"205":
|
|
8957
8956
|
description: Site space has been deleted
|
|
8958
|
-
|
|
8957
|
+
/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization:
|
|
8959
8958
|
get:
|
|
8960
8959
|
operationId: getSiteSpaceCustomizationById
|
|
8961
8960
|
summary: Get a site space customization settings
|
|
@@ -9288,7 +9287,7 @@ paths:
|
|
|
9288
9287
|
description: Site space customization removed
|
|
9289
9288
|
"400":
|
|
9290
9289
|
$ref: "#/components/responses/BadRequestError"
|
|
9291
|
-
|
|
9290
|
+
/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move:
|
|
9292
9291
|
post:
|
|
9293
9292
|
operationId: moveSiteSectionGroup
|
|
9294
9293
|
deprecated: true
|
|
@@ -9323,7 +9322,7 @@ paths:
|
|
|
9323
9322
|
"404":
|
|
9324
9323
|
description: No matching site section group found
|
|
9325
9324
|
$ref: "#/components/responses/NotFoundError"
|
|
9326
|
-
|
|
9325
|
+
/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move:
|
|
9327
9326
|
post:
|
|
9328
9327
|
operationId: moveSiteSection
|
|
9329
9328
|
deprecated: true
|
|
@@ -9358,7 +9357,7 @@ paths:
|
|
|
9358
9357
|
"404":
|
|
9359
9358
|
description: No matching Site section found
|
|
9360
9359
|
$ref: "#/components/responses/NotFoundError"
|
|
9361
|
-
|
|
9360
|
+
/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move:
|
|
9362
9361
|
post:
|
|
9363
9362
|
operationId: moveSiteSpace
|
|
9364
9363
|
deprecated: true
|
|
@@ -9393,7 +9392,7 @@ paths:
|
|
|
9393
9392
|
"404":
|
|
9394
9393
|
description: No matching Site space found
|
|
9395
9394
|
$ref: "#/components/responses/NotFoundError"
|
|
9396
|
-
|
|
9395
|
+
/orgs/{organizationId}/sites/{siteId}/permissions:
|
|
9397
9396
|
post:
|
|
9398
9397
|
operationId: inviteToSite
|
|
9399
9398
|
summary: Invite a user or a team to a site
|
|
@@ -9416,7 +9415,7 @@ paths:
|
|
|
9416
9415
|
application/json:
|
|
9417
9416
|
schema:
|
|
9418
9417
|
$ref: "#/components/schemas/InviteSiteUsersAndTeams"
|
|
9419
|
-
|
|
9418
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/aggregate:
|
|
9420
9419
|
get:
|
|
9421
9420
|
operationId: listPermissionsAggregateInSite
|
|
9422
9421
|
summary: List all sites users permissions
|
|
@@ -9445,7 +9444,7 @@ paths:
|
|
|
9445
9444
|
type: array
|
|
9446
9445
|
items:
|
|
9447
9446
|
$ref: "#/components/schemas/UserSitePermission"
|
|
9448
|
-
|
|
9447
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/users:
|
|
9449
9448
|
get:
|
|
9450
9449
|
operationId: listUserPermissionsInSite
|
|
9451
9450
|
summary: List site user permissions
|
|
@@ -9477,7 +9476,7 @@ paths:
|
|
|
9477
9476
|
"404":
|
|
9478
9477
|
description: No site was found with the given Id
|
|
9479
9478
|
$ref: "#/components/responses/NotFoundError"
|
|
9480
|
-
|
|
9479
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/users/{userId}:
|
|
9481
9480
|
patch:
|
|
9482
9481
|
operationId: updateUserPermissionInSite
|
|
9483
9482
|
summary: Update site user permissions
|
|
@@ -9520,7 +9519,7 @@ paths:
|
|
|
9520
9519
|
description: The user was not found in the site
|
|
9521
9520
|
"205":
|
|
9522
9521
|
description: The user has been removed from the site
|
|
9523
|
-
|
|
9522
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/teams:
|
|
9524
9523
|
get:
|
|
9525
9524
|
operationId: listTeamPermissionsInSite
|
|
9526
9525
|
summary: List an org team's permission in a site
|
|
@@ -9552,7 +9551,7 @@ paths:
|
|
|
9552
9551
|
"404":
|
|
9553
9552
|
description: No site was found with the given Id
|
|
9554
9553
|
$ref: "#/components/responses/NotFoundError"
|
|
9555
|
-
|
|
9554
|
+
/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}:
|
|
9556
9555
|
patch:
|
|
9557
9556
|
operationId: updateTeamPermissionInSite
|
|
9558
9557
|
summary: Update an org team's permission in a site
|
|
@@ -9595,7 +9594,7 @@ paths:
|
|
|
9595
9594
|
description: The team was not found in the site
|
|
9596
9595
|
"205":
|
|
9597
9596
|
description: The team has been removed from the site
|
|
9598
|
-
|
|
9597
|
+
/orgs/{organizationId}/sites/{siteId}/ai/response:
|
|
9599
9598
|
post:
|
|
9600
9599
|
operationId: streamAIResponseInSite
|
|
9601
9600
|
summary: Generate an AI response in a site
|
|
@@ -9651,7 +9650,7 @@ paths:
|
|
|
9651
9650
|
text/event-stream:
|
|
9652
9651
|
schema:
|
|
9653
9652
|
$ref: "#/components/schemas/AIStreamResponse"
|
|
9654
|
-
|
|
9653
|
+
/orgs/{organizationId}/sites/{siteId}/agent-settings:
|
|
9655
9654
|
get:
|
|
9656
9655
|
operationId: getSiteAgentSettingsById
|
|
9657
9656
|
summary: Get site agent settings
|
|
@@ -9696,7 +9695,47 @@ paths:
|
|
|
9696
9695
|
$ref: "#/components/schemas/SiteAgentSettings"
|
|
9697
9696
|
"400":
|
|
9698
9697
|
$ref: "#/components/responses/BadRequestError"
|
|
9699
|
-
|
|
9698
|
+
/orgs/{organizationId}/sites/{siteId}/styleguide:
|
|
9699
|
+
post:
|
|
9700
|
+
operationId: createSiteStyleguideById
|
|
9701
|
+
summary: Create or return a site's styleguide
|
|
9702
|
+
description: |
|
|
9703
|
+
Ensures the site has a site-owned styleguide backing space and returns
|
|
9704
|
+
a reference to it.
|
|
9705
|
+
tags:
|
|
9706
|
+
- sites
|
|
9707
|
+
security:
|
|
9708
|
+
- user: []
|
|
9709
|
+
parameters:
|
|
9710
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9711
|
+
- $ref: "#/components/parameters/siteId"
|
|
9712
|
+
responses:
|
|
9713
|
+
"200":
|
|
9714
|
+
description: Styleguide created or already exists.
|
|
9715
|
+
content:
|
|
9716
|
+
application/json:
|
|
9717
|
+
schema:
|
|
9718
|
+
$ref: "#/components/schemas/ContentRefSpace"
|
|
9719
|
+
"404":
|
|
9720
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9721
|
+
delete:
|
|
9722
|
+
operationId: deleteSiteStyleguideById
|
|
9723
|
+
summary: Delete a site's styleguide
|
|
9724
|
+
description: |
|
|
9725
|
+
Clears the site's styleguide reference and soft-deletes the space.
|
|
9726
|
+
tags:
|
|
9727
|
+
- sites
|
|
9728
|
+
security:
|
|
9729
|
+
- user: []
|
|
9730
|
+
parameters:
|
|
9731
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9732
|
+
- $ref: "#/components/parameters/siteId"
|
|
9733
|
+
responses:
|
|
9734
|
+
"204":
|
|
9735
|
+
description: Styleguide deleted.
|
|
9736
|
+
"404":
|
|
9737
|
+
$ref: "#/components/responses/NotFoundError"
|
|
9738
|
+
/orgs/{organizationId}/sites/{siteId}/insights/events:
|
|
9700
9739
|
post:
|
|
9701
9740
|
operationId: trackEventsInSiteById
|
|
9702
9741
|
summary: Track site events
|
|
@@ -9721,7 +9760,7 @@ paths:
|
|
|
9721
9760
|
$ref: "#/components/schemas/SiteInsightsEvent"
|
|
9722
9761
|
required:
|
|
9723
9762
|
- events
|
|
9724
|
-
|
|
9763
|
+
/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate:
|
|
9725
9764
|
post:
|
|
9726
9765
|
operationId: aggregateSiteEvents
|
|
9727
9766
|
summary: Query site events
|
|
@@ -9745,7 +9784,7 @@ paths:
|
|
|
9745
9784
|
application/json:
|
|
9746
9785
|
schema:
|
|
9747
9786
|
$ref: "#/components/schemas/SiteInsightsQueryEventsAggregationResult"
|
|
9748
|
-
|
|
9787
|
+
/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments:
|
|
9749
9788
|
get:
|
|
9750
9789
|
operationId: listSiteVisitorSegments
|
|
9751
9790
|
summary: List a site visitor segments
|
|
@@ -9770,7 +9809,7 @@ paths:
|
|
|
9770
9809
|
type: array
|
|
9771
9810
|
items:
|
|
9772
9811
|
$ref: "#/components/schemas/SiteInsightsVisitorSegment"
|
|
9773
|
-
|
|
9812
|
+
/orgs/{organizationId}/sites/{siteId}/ads:
|
|
9774
9813
|
post:
|
|
9775
9814
|
operationId: updateSiteAdsById
|
|
9776
9815
|
summary: Update a site ads settings
|
|
@@ -9798,7 +9837,7 @@ paths:
|
|
|
9798
9837
|
responses:
|
|
9799
9838
|
"204":
|
|
9800
9839
|
description: OK
|
|
9801
|
-
|
|
9840
|
+
/orgs/{organizationId}/sites/{siteId}/redirects:
|
|
9802
9841
|
post:
|
|
9803
9842
|
operationId: createSiteRedirect
|
|
9804
9843
|
summary: Create a site redirect
|
|
@@ -10051,7 +10090,7 @@ paths:
|
|
|
10051
10090
|
type: array
|
|
10052
10091
|
items:
|
|
10053
10092
|
$ref: "#/components/schemas/SiteRedirect"
|
|
10054
|
-
|
|
10093
|
+
/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}:
|
|
10055
10094
|
patch:
|
|
10056
10095
|
operationId: updateSiteRedirectById
|
|
10057
10096
|
summary: Update a site redirect
|
|
@@ -10103,7 +10142,7 @@ paths:
|
|
|
10103
10142
|
description: Site redirect did not exist
|
|
10104
10143
|
"205":
|
|
10105
10144
|
description: Site redirect deleted
|
|
10106
|
-
|
|
10145
|
+
/orgs/{organizationId}/sites/{siteId}/redirect:
|
|
10107
10146
|
get:
|
|
10108
10147
|
operationId: getSiteRedirectBySource
|
|
10109
10148
|
summary: Get a site redirect by its source
|
|
@@ -10139,7 +10178,7 @@ paths:
|
|
|
10139
10178
|
- target
|
|
10140
10179
|
"404":
|
|
10141
10180
|
$ref: "#/components/responses/NotFoundError"
|
|
10142
|
-
|
|
10181
|
+
/orgs/{organizationId}/sites/{siteId}/mcp-servers:
|
|
10143
10182
|
get:
|
|
10144
10183
|
operationId: listSiteMcpServers
|
|
10145
10184
|
summary: List all MCP servers for a site
|
|
@@ -10209,7 +10248,7 @@ paths:
|
|
|
10209
10248
|
application/json:
|
|
10210
10249
|
schema:
|
|
10211
10250
|
$ref: "#/components/schemas/SiteMcpServer"
|
|
10212
|
-
|
|
10251
|
+
/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}:
|
|
10213
10252
|
get:
|
|
10214
10253
|
operationId: getSiteMcpServerById
|
|
10215
10254
|
summary: Get a site MCP server
|
|
@@ -10284,7 +10323,7 @@ paths:
|
|
|
10284
10323
|
description: MCP server did not exist
|
|
10285
10324
|
"205":
|
|
10286
10325
|
description: MCP server deleted
|
|
10287
|
-
|
|
10326
|
+
/orgs/{organizationId}/sites/{siteId}/channels:
|
|
10288
10327
|
get:
|
|
10289
10328
|
operationId: listSiteChannels
|
|
10290
10329
|
summary: List all site channels for a site
|
|
@@ -10341,7 +10380,7 @@ paths:
|
|
|
10341
10380
|
application/json:
|
|
10342
10381
|
schema:
|
|
10343
10382
|
$ref: "#/components/schemas/SiteChannel"
|
|
10344
|
-
|
|
10383
|
+
/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}:
|
|
10345
10384
|
get:
|
|
10346
10385
|
operationId: getSiteChannelById
|
|
10347
10386
|
summary: Get a site channel
|
|
@@ -10405,7 +10444,7 @@ paths:
|
|
|
10405
10444
|
description: Site channel did not exist
|
|
10406
10445
|
"205":
|
|
10407
10446
|
description: Site channel deleted
|
|
10408
|
-
|
|
10447
|
+
/subdomains/{subdomain}:
|
|
10409
10448
|
get:
|
|
10410
10449
|
operationId: getSubdomain
|
|
10411
10450
|
summary: Get a subdomain
|
|
@@ -10422,14 +10461,15 @@ paths:
|
|
|
10422
10461
|
application/json:
|
|
10423
10462
|
schema:
|
|
10424
10463
|
$ref: "#/components/schemas/Subdomain"
|
|
10425
|
-
|
|
10464
|
+
/custom-hostnames/{hostname}:
|
|
10426
10465
|
get:
|
|
10427
10466
|
operationId: getCustomHostname
|
|
10428
10467
|
summary: Get a custom hostname
|
|
10429
10468
|
tags:
|
|
10430
10469
|
- custom-hostnames
|
|
10431
10470
|
security:
|
|
10432
|
-
- user-internal
|
|
10471
|
+
- user-internal: []
|
|
10472
|
+
- user-staff: []
|
|
10433
10473
|
parameters:
|
|
10434
10474
|
- $ref: "#/components/parameters/hostname"
|
|
10435
10475
|
responses:
|
|
@@ -10473,7 +10513,7 @@ paths:
|
|
|
10473
10513
|
description: Custom hostname did not exist
|
|
10474
10514
|
"205":
|
|
10475
10515
|
description: Custom hostname has been removed
|
|
10476
|
-
|
|
10516
|
+
/email-domains/{emailDomain}/orgs:
|
|
10477
10517
|
get:
|
|
10478
10518
|
operationId: getOrganizationsForEmailDomain
|
|
10479
10519
|
summary: Get all organizations by email domain
|
|
@@ -10581,7 +10621,7 @@ paths:
|
|
|
10581
10621
|
reason:
|
|
10582
10622
|
type: string
|
|
10583
10623
|
description: Reason for the rejection
|
|
10584
|
-
|
|
10624
|
+
/ads/sites/{siteId}:
|
|
10585
10625
|
patch:
|
|
10586
10626
|
operationId: adsUpdateSite
|
|
10587
10627
|
summary: Update the Ads configuration for a site
|
|
@@ -10800,7 +10840,7 @@ paths:
|
|
|
10800
10840
|
$ref: "#/components/responses/NotFoundError"
|
|
10801
10841
|
"409":
|
|
10802
10842
|
$ref: "#/components/responses/ConflictError"
|
|
10803
|
-
|
|
10843
|
+
/git/installations/{installationId}:
|
|
10804
10844
|
get:
|
|
10805
10845
|
operationId: getGitSyncInstallationById
|
|
10806
10846
|
summary: Get a Git Sync installation
|
|
@@ -10863,7 +10903,7 @@ paths:
|
|
|
10863
10903
|
description: Git Sync installation was removed successfully
|
|
10864
10904
|
"404":
|
|
10865
10905
|
$ref: "#/components/responses/NotFoundError"
|
|
10866
|
-
|
|
10906
|
+
/git/installations/{installationId}/github/repos:
|
|
10867
10907
|
get:
|
|
10868
10908
|
operationId: listGitHubRepositoriesForGitSyncInstallation
|
|
10869
10909
|
summary: List GitHub repositories available for a Git Sync installation
|
|
@@ -10891,7 +10931,7 @@ paths:
|
|
|
10891
10931
|
$ref: "#/components/responses/UnauthorizedError"
|
|
10892
10932
|
"404":
|
|
10893
10933
|
$ref: "#/components/responses/NotFoundError"
|
|
10894
|
-
|
|
10934
|
+
/git/installations/{installationId}/github/repos/{accountName}/{repositoryName}/branches:
|
|
10895
10935
|
get:
|
|
10896
10936
|
operationId: listGitHubRepoBranchesForGitSyncInstallation
|
|
10897
10937
|
summary: List GitHub repository branches available for a Git Sync installation
|
|
@@ -10929,7 +10969,7 @@ paths:
|
|
|
10929
10969
|
$ref: "#/components/responses/UnauthorizedError"
|
|
10930
10970
|
"404":
|
|
10931
10971
|
$ref: "#/components/responses/NotFoundError"
|
|
10932
|
-
|
|
10972
|
+
/git/installations/{installationId}/gitlab/projects:
|
|
10933
10973
|
get:
|
|
10934
10974
|
operationId: listGitLabProjectsForGitSyncInstallation
|
|
10935
10975
|
summary: List GitLab projects available for a Git Sync installation
|
|
@@ -10957,7 +10997,7 @@ paths:
|
|
|
10957
10997
|
$ref: "#/components/responses/UnauthorizedError"
|
|
10958
10998
|
"404":
|
|
10959
10999
|
$ref: "#/components/responses/NotFoundError"
|
|
10960
|
-
|
|
11000
|
+
/git/installations/{installationId}/gitlab/projects/{projectId}/branches:
|
|
10961
11001
|
get:
|
|
10962
11002
|
operationId: listGitLabProjectBranchesForGitSyncInstallation
|
|
10963
11003
|
summary: List GitLab project branches available for a Git Sync installation
|
|
@@ -11001,9 +11041,6 @@ components:
|
|
|
11001
11041
|
user-staff:
|
|
11002
11042
|
type: http
|
|
11003
11043
|
scheme: bearer
|
|
11004
|
-
user-internal-or-staff:
|
|
11005
|
-
type: http
|
|
11006
|
-
scheme: bearer
|
|
11007
11044
|
integration:
|
|
11008
11045
|
type: http
|
|
11009
11046
|
scheme: bearer
|
|
@@ -11783,6 +11820,9 @@ components:
|
|
|
11783
11820
|
- custom
|
|
11784
11821
|
expression:
|
|
11785
11822
|
$ref: "#/components/schemas/Expression"
|
|
11823
|
+
message:
|
|
11824
|
+
type: string
|
|
11825
|
+
description: Optional message to display when the expression evaluates to false.
|
|
11786
11826
|
required:
|
|
11787
11827
|
- rule
|
|
11788
11828
|
- expression
|
|
@@ -18046,6 +18086,7 @@ components:
|
|
|
18046
18086
|
- site:script:inject
|
|
18047
18087
|
- site:script:cookies
|
|
18048
18088
|
- site:visitor:auth
|
|
18089
|
+
- site:visitor:claims
|
|
18049
18090
|
- site:adaptive:read
|
|
18050
18091
|
- site:adaptive:write
|
|
18051
18092
|
- conversations:ingest
|
|
@@ -18836,9 +18877,15 @@ components:
|
|
|
18836
18877
|
revisionId:
|
|
18837
18878
|
type: string
|
|
18838
18879
|
description: Unique identifier of the new content revision
|
|
18880
|
+
updatedBy:
|
|
18881
|
+
type: array
|
|
18882
|
+
description: Users who updated the content
|
|
18883
|
+
items:
|
|
18884
|
+
$ref: "#/components/schemas/User"
|
|
18839
18885
|
required:
|
|
18840
18886
|
- type
|
|
18841
18887
|
- revisionId
|
|
18888
|
+
- updatedBy
|
|
18842
18889
|
SpaceGitSyncCompletedEvent:
|
|
18843
18890
|
allOf:
|
|
18844
18891
|
- $ref: "#/components/schemas/SpaceEvent"
|
|
@@ -19653,6 +19700,13 @@ components:
|
|
|
19653
19700
|
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
19654
19701
|
ads:
|
|
19655
19702
|
$ref: "#/components/schemas/SiteAds"
|
|
19703
|
+
styleguide:
|
|
19704
|
+
$ref: "#/components/schemas/ContentRefSpace"
|
|
19705
|
+
description: |
|
|
19706
|
+
Reference to a GitBook space holding the team's writing styleguide.
|
|
19707
|
+
When present on a site, the editing agent receives the styleguide
|
|
19708
|
+
table of contents in its system prompt and can fetch sections on
|
|
19709
|
+
demand to check edits against the rules.
|
|
19656
19710
|
features:
|
|
19657
19711
|
description: |
|
|
19658
19712
|
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 +20574,9 @@ components:
|
|
|
20520
20574
|
type: object
|
|
20521
20575
|
props:
|
|
20522
20576
|
$ref: "#/components/schemas/PlainObject"
|
|
20577
|
+
canAccessVisitorClaims:
|
|
20578
|
+
type: boolean
|
|
20579
|
+
description: Whether the rendered integration UI can receive visitor claims.
|
|
20523
20580
|
required:
|
|
20524
20581
|
- element
|
|
20525
20582
|
- state
|
|
@@ -25024,6 +25081,43 @@ components:
|
|
|
25024
25081
|
- spaceId
|
|
25025
25082
|
- reusableContent
|
|
25026
25083
|
- revisionId
|
|
25084
|
+
AIToolCallGetVariables:
|
|
25085
|
+
type: object
|
|
25086
|
+
properties:
|
|
25087
|
+
tool:
|
|
25088
|
+
type: string
|
|
25089
|
+
enum:
|
|
25090
|
+
- getVariables
|
|
25091
|
+
spaceId:
|
|
25092
|
+
type: string
|
|
25093
|
+
description: The ID of the space being accessed.
|
|
25094
|
+
revisionId:
|
|
25095
|
+
type: string
|
|
25096
|
+
description: The revision ID of the space.
|
|
25097
|
+
required:
|
|
25098
|
+
- tool
|
|
25099
|
+
- spaceId
|
|
25100
|
+
- revisionId
|
|
25101
|
+
AIToolCallUpdateVariables:
|
|
25102
|
+
type: object
|
|
25103
|
+
properties:
|
|
25104
|
+
tool:
|
|
25105
|
+
type: string
|
|
25106
|
+
enum:
|
|
25107
|
+
- updateVariables
|
|
25108
|
+
spaceId:
|
|
25109
|
+
type: string
|
|
25110
|
+
description: The ID of the space being edited.
|
|
25111
|
+
baseRevisionId:
|
|
25112
|
+
type: string
|
|
25113
|
+
description: The base revision ID used to compare the change in the current conversation.
|
|
25114
|
+
page:
|
|
25115
|
+
description: The page whose variables are being updated. Omitted when updating space variables.
|
|
25116
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
25117
|
+
required:
|
|
25118
|
+
- tool
|
|
25119
|
+
- spaceId
|
|
25120
|
+
- baseRevisionId
|
|
25027
25121
|
AIToolCallCreateChangeRequest:
|
|
25028
25122
|
type: object
|
|
25029
25123
|
properties:
|
|
@@ -25196,6 +25290,8 @@ components:
|
|
|
25196
25290
|
- $ref: "#/components/schemas/AIToolCallCreateReusableContent"
|
|
25197
25291
|
- $ref: "#/components/schemas/AIToolCallEditReusableContent"
|
|
25198
25292
|
- $ref: "#/components/schemas/AIToolCallGetReusableContent"
|
|
25293
|
+
- $ref: "#/components/schemas/AIToolCallGetVariables"
|
|
25294
|
+
- $ref: "#/components/schemas/AIToolCallUpdateVariables"
|
|
25199
25295
|
- $ref: "#/components/schemas/AIToolCallCreateChangeRequest"
|
|
25200
25296
|
- $ref: "#/components/schemas/AIToolCallComment"
|
|
25201
25297
|
- $ref: "#/components/schemas/AIToolCallReplyToComment"
|
|
@@ -27754,7 +27850,7 @@ components:
|
|
|
27754
27850
|
type: string
|
|
27755
27851
|
description: The source path to redirect from.
|
|
27756
27852
|
maxLength: 512
|
|
27757
|
-
pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._
|
|
27853
|
+
pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
|
|
27758
27854
|
SiteRedirectDestinationSiteSection:
|
|
27759
27855
|
type: object
|
|
27760
27856
|
properties:
|