@gitbook/api 0.181.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/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
- "/users/{userId}":
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
- "/spaces/{spaceId}":
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
- "/spaces/{spaceId}/duplicate":
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
- "/spaces/{spaceId}/restore":
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
- "/spaces/{spaceId}/move":
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
- "/spaces/{spaceId}/embed":
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
- "/spaces/{spaceId}/search":
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
- "/spaces/{spaceId}/git/import":
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
- "/spaces/{spaceId}/git/export":
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
- "/spaces/{spaceId}/git/info":
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
- "/spaces/{spaceId}/git/legacy-installation":
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
- "/spaces/{spaceId}/permissions":
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
- "/spaces/{spaceId}/permissions/teams/{teamId}":
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
- "/spaces/{spaceId}/permissions/users":
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
- "/spaces/{spaceId}/permissions/users/{userId}":
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
- "/spaces/{spaceId}/permissions/teams":
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
- "/spaces/{spaceId}/content":
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
- "/spaces/{spaceId}/content/template":
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
- "/spaces/{spaceId}/content/pages":
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
- "/spaces/{spaceId}/content/files":
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
- "/spaces/{spaceId}/content/files/{fileId}":
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
- "/spaces/{spaceId}/content/files/{fileId}/backlinks":
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
- "/spaces/{spaceId}/content/page/{pageId}":
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
- "/spaces/{spaceId}/content/page/{pageId}/links":
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
- "/spaces/{spaceId}/content/page/{pageId}/backlinks":
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
- "/spaces/{spaceId}/content/page/{pageId}/meta-links":
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
- "/spaces/{spaceId}/content/path/{pagePath}":
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
- "/spaces/{spaceId}/content/reusable-contents/{reusableContentId}":
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
- "/spaces/{spaceId}/content/computed/document":
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
- "/spaces/{spaceId}/content/computed/revision":
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
- "/spaces/{spaceId}/documents/{documentId}":
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
- "/spaces/{spaceId}/change-requests":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/merge":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/update":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/reviews":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/reviews/{reviewId}":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers/{userId}":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/links":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/comments":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId}/replies/{commentReplyId}":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/contributors":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/files":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/links":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/backlinks":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/meta-links":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/changes":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/pdf":
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
- "/spaces/{spaceId}/revisions/{revisionId}":
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
- "/spaces/{spaceId}/revisions/{revisionId}/changes":
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
- "/spaces/{spaceId}/revisions/{revisionId}/pages":
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
- "/spaces/{spaceId}/revisions/{revisionId}/files":
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
- "/spaces/{spaceId}/revisions/{revisionId}/files/{fileId}":
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
- "/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}":
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
- "/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/document":
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
- "/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}":
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
- "/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}/meta-links":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}":
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
- "/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}":
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
- "/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}/document":
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
- "/spaces/{spaceId}/comments":
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
- "/spaces/{spaceId}/comments/{commentId}":
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
- "/spaces/{spaceId}/comments/{commentId}/replies":
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
- "/spaces/{spaceId}/comments/{commentId}/replies/{commentReplyId}":
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
- "/spaces/{spaceId}/commenters":
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
- "/spaces/{spaceId}/change-requests/{changeRequestId}/commenters":
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
- "/spaces/{spaceId}/permissions/aggregate":
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
- "/spaces/{spaceId}/integrations":
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
- "/spaces/{spaceId}/integration-blocks":
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
- "/spaces/{spaceId}/pdf":
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
- "/spaces/{spaceId}/links":
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
- "/collections/{collectionId}":
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
- "/collections/{collectionId}/spaces":
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
- "/collections/{collectionId}/move":
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
- "/collections/{collectionId}/transfer":
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
- "/collections/{collectionId}/permissions":
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
- "/collections/{collectionId}/permissions/teams":
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
- "/collections/{collectionId}/permissions/teams/{teamId}":
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
- "/collections/{collectionId}/permissions/users":
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
- "/collections/{collectionId}/permissions/users/{userId}":
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
- "/collections/{collectionId}/permissions/aggregate":
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
- "/integrations/{integrationName}":
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
- "/integrations/{integrationName}/installations":
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
- "/integrations/{integrationName}/events":
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
- "/integrations/{integrationName}/events/{eventId}":
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
- "/integrations/{integrationName}/spaces":
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
- "/integrations/{integrationName}/sites":
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
- "/integrations/{integrationName}/dev":
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
- "/integrations/{integrationName}/render":
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
- "/integrations/{integrationName}/tasks":
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
- "/integrations/{integrationName}/installations/{installationId}":
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
- "/integrations/{integrationName}/installations/{installationId}/tokens":
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
- "/integrations/{integrationName}/installations/{installationId}/spaces":
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
- "/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}":
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
- "/integrations/{integrationName}/installations/{installationId}/sites":
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
- "/integrations/{integrationName}/installations/{installationId}/sites/{siteId}":
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
- "/orgs/{organizationId}":
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
- "/orgs/{organizationId}/members":
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
- "/orgs/{organizationId}/members/{userId}":
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
- "/orgs/{organizationId}/ping":
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
- "/orgs/{organizationId}/members/{userId}/sso":
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
- "/orgs/{organizationId}/members/{userId}/spaces":
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
- "/orgs/{organizationId}/members/{userId}/teams":
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
- "/orgs/{organizationId}/teams":
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
- "/orgs/{organizationId}/teams/{teamId}":
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
- "/orgs/{organizationId}/teams/{teamId}/members":
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
- "/orgs/{organizationId}/teams/{teamId}/members/{userId}":
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
- "/orgs/{organizationId}/invites":
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
- "/orgs/{organizationId}/invites/{inviteId}":
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
- "/orgs/{organizationId}/link-invites":
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
- "/orgs/{organizationId}/link-invites/{inviteId}":
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
- "/orgs/{organizationId}/join":
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
- "/orgs/{organizationId}/search":
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
- "/orgs/{organizationId}/change-requests":
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
- "/orgs/{organizationId}/spaces":
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
- "/orgs/{organizationId}/collections":
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
- "/orgs/{organizationId}/integrations":
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
- "/orgs/{organizationId}/integrations/{integrationName}/installation_status":
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
- "/orgs/{organizationId}/installations":
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
- "/orgs/{organizationId}/integrations/installations-status":
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
- "/orgs/{organizationId}/saml":
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
- "/orgs/{organizationId}/saml/{samlProviderId}":
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
- "/orgs/{organizationId}/sso":
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
- "/orgs/{organizationId}/ask":
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
- "/orgs/{organizationId}/ask/questions":
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
- "/orgs/{organizationId}/ask/questions/stream":
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
- "/orgs/{organizationId}/ask/stream":
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
- "/orgs/{organizationId}/openapi":
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
- "/orgs/{organizationId}/openapi/{specSlug}":
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
- "/orgs/{organizationId}/openapi/{specSlug}/versions":
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
- "/orgs/{organizationId}/openapi/{specSlug}/versions/latest":
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
- "/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content":
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
- "/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}":
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
- "/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content":
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
- "/orgs/{organizationId}/agent-instructions":
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
- "/orgs/{organizationId}/translations":
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
- "/orgs/{organizationId}/translations/{translationId}":
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
- "/orgs/{organizationId}/translations/{translationId}/run":
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
- "/orgs/{organizationId}/translations-glossary":
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
- "/orgs/{organizationId}/translations-glossary/{glossaryEntryId}":
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
- "/orgs/{organizationId}/storage/upload":
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
- "/orgs/{organizationId}/fonts":
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
- "/orgs/{organizationId}/fonts/{fontId}":
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
- "/org/{organizationId}/imports":
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
- "/org/{organizationId}/imports/{importRunId}/cancel":
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
- "/orgs/{organizationId}/sites":
6595
+ /orgs/{organizationId}/sites:
6597
6596
  get:
6598
6597
  operationId: listSites
6599
6598
  summary: List all sites
@@ -6687,14 +6686,12 @@ paths:
6687
6686
  application/json:
6688
6687
  schema:
6689
6688
  $ref: "#/components/schemas/Site"
6690
- "/orgs/{organizationId}/sites/{siteId}":
6689
+ /orgs/{organizationId}/sites/{siteId}:
6691
6690
  get:
6692
6691
  operationId: getSiteById
6693
6692
  summary: Get a site by its ID
6694
6693
  tags:
6695
6694
  - sites
6696
- security:
6697
- - user: []
6698
6695
  parameters:
6699
6696
  - $ref: "#/components/parameters/organizationId"
6700
6697
  - $ref: "#/components/parameters/siteId"
@@ -6772,7 +6769,7 @@ paths:
6772
6769
  description: Site did not exist
6773
6770
  "205":
6774
6771
  description: Site has been deleted
6775
- "/orgs/{organizationId}/sites/{siteId}/adaptive-schema":
6772
+ /orgs/{organizationId}/sites/{siteId}/adaptive-schema:
6776
6773
  get:
6777
6774
  operationId: getSiteAdaptiveSchema
6778
6775
  summary: Get the JSON schema describing the attributes expected for an Adaptive content site visitor.
@@ -6828,7 +6825,7 @@ paths:
6828
6825
  $ref: "#/components/responses/BadRequestError"
6829
6826
  default:
6830
6827
  $ref: "#/components/responses/UnexpectedError"
6831
- "/orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions":
6828
+ /orgs/{organizationId}/sites/{siteId}/adaptive-schema/template-conditions:
6832
6829
  get:
6833
6830
  operationId: listSiteAdaptiveTemplateConditions
6834
6831
  summary: List templates of conditions generated based on the site visitor schema that can be used in adaptive content expressions.
@@ -6851,7 +6848,7 @@ paths:
6851
6848
  $ref: "#/components/schemas/SiteAdaptiveTemplateCondition"
6852
6849
  required:
6853
6850
  - items
6854
- "/orgs/{organizationId}/sites/{siteId}/published":
6851
+ /orgs/{organizationId}/sites/{siteId}/published:
6855
6852
  get:
6856
6853
  operationId: getPublishedContentSite
6857
6854
  summary: Get a published site
@@ -6874,7 +6871,7 @@ paths:
6874
6871
  "404":
6875
6872
  description: No matching site found
6876
6873
  $ref: "#/components/responses/NotFoundError"
6877
- "/orgs/{organizationId}/sites/{siteId}/publish":
6874
+ /orgs/{organizationId}/sites/{siteId}/publish:
6878
6875
  post:
6879
6876
  operationId: publishSite
6880
6877
  summary: Publish a site
@@ -6906,7 +6903,7 @@ paths:
6906
6903
  required:
6907
6904
  - type
6908
6905
  - sessionId
6909
- "/orgs/{organizationId}/sites/{siteId}/unpublish":
6906
+ /orgs/{organizationId}/sites/{siteId}/unpublish:
6910
6907
  post:
6911
6908
  operationId: unpublishSite
6912
6909
  summary: Unpublish a site
@@ -6924,7 +6921,7 @@ paths:
6924
6921
  application/json:
6925
6922
  schema:
6926
6923
  $ref: "#/components/schemas/Site"
6927
- "/orgs/{organizationId}/sites/{siteId}/share-links":
6924
+ /orgs/{organizationId}/sites/{siteId}/share-links:
6928
6925
  get:
6929
6926
  operationId: listSiteShareLinks
6930
6927
  summary: List all share links
@@ -6991,7 +6988,7 @@ paths:
6991
6988
  application/json:
6992
6989
  schema:
6993
6990
  $ref: "#/components/schemas/ShareLink"
6994
- "/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}":
6991
+ /orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}:
6995
6992
  patch:
6996
6993
  operationId: updateSiteShareLinkById
6997
6994
  summary: Update a share link
@@ -7038,7 +7035,7 @@ paths:
7038
7035
  description: Site share link did not exist
7039
7036
  "205":
7040
7037
  description: Site share link has been deleted
7041
- "/orgs/{organizationId}/sites/{siteId}/structure":
7038
+ /orgs/{organizationId}/sites/{siteId}/structure:
7042
7039
  get:
7043
7040
  operationId: getSiteStructure
7044
7041
  summary: Get a site structure
@@ -7061,7 +7058,7 @@ paths:
7061
7058
  "404":
7062
7059
  description: No matching site found
7063
7060
  $ref: "#/components/responses/NotFoundError"
7064
- "/orgs/{organizationId}/sites/{siteId}/structure/sort":
7061
+ /orgs/{organizationId}/sites/{siteId}/structure/sort:
7065
7062
  patch:
7066
7063
  operationId: sortSiteStructure
7067
7064
  summary: Move a site space, site section or site section group to a new position in the site structure.
@@ -7102,7 +7099,7 @@ paths:
7102
7099
  $ref: "#/components/responses/NotFoundError"
7103
7100
  default:
7104
7101
  $ref: "#/components/responses/UnexpectedError"
7105
- "/orgs/{organizationId}/sites/{siteId}/publishing/auth":
7102
+ /orgs/{organizationId}/sites/{siteId}/publishing/auth:
7106
7103
  get:
7107
7104
  operationId: getSitePublishingAuthById
7108
7105
  summary: Get a site auth config
@@ -7147,7 +7144,7 @@ paths:
7147
7144
  $ref: "#/components/schemas/SitePublishingAuth"
7148
7145
  "400":
7149
7146
  $ref: "#/components/responses/BadRequestError"
7150
- "/orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate":
7147
+ /orgs/{organizationId}/sites/{siteId}/publishing/auth/regenerate:
7151
7148
  post:
7152
7149
  operationId: regenerateSitePublishingAuthById
7153
7150
  summary: Regenerate a site auth
@@ -7168,7 +7165,7 @@ paths:
7168
7165
  $ref: "#/components/schemas/SitePublishingAuth"
7169
7166
  "400":
7170
7167
  $ref: "#/components/responses/BadRequestError"
7171
- "/orgs/{organizationId}/sites/{siteId}/publishing/preview":
7168
+ /orgs/{organizationId}/sites/{siteId}/publishing/preview:
7172
7169
  get:
7173
7170
  operationId: getSitePublishingPreviewById
7174
7171
  summary: Get a site preview URL
@@ -7215,7 +7212,7 @@ paths:
7215
7212
  - url
7216
7213
  "400":
7217
7214
  $ref: "#/components/responses/BadRequestError"
7218
- "/orgs/{organizationId}/sites/{siteId}/customization":
7215
+ /orgs/{organizationId}/sites/{siteId}/customization:
7219
7216
  get:
7220
7217
  operationId: getSiteCustomizationById
7221
7218
  summary: Get a site customization settings
@@ -7261,7 +7258,7 @@ paths:
7261
7258
  $ref: "#/components/schemas/SiteCustomizationSettings"
7262
7259
  "400":
7263
7260
  $ref: "#/components/responses/BadRequestError"
7264
- "/orgs/{organizationId}/sites/{siteId}/integration-scripts":
7261
+ /orgs/{organizationId}/sites/{siteId}/integration-scripts:
7265
7262
  get:
7266
7263
  operationId: listSiteIntegrationScripts
7267
7264
  summary: List the scripts to embed in published content for a site.
@@ -7284,7 +7281,7 @@ paths:
7284
7281
  $ref: "#/components/schemas/SiteIntegrationScript"
7285
7282
  "400":
7286
7283
  $ref: "#/components/responses/BadRequestError"
7287
- "/orgs/{organizationId}/sites/{siteId}/integrations":
7284
+ /orgs/{organizationId}/sites/{siteId}/integrations:
7288
7285
  get:
7289
7286
  operationId: listSiteIntegrations
7290
7287
  summary: List integrations enabled in a site.
@@ -7313,7 +7310,7 @@ paths:
7313
7310
  type: array
7314
7311
  items:
7315
7312
  $ref: "#/components/schemas/Integration"
7316
- "/orgs/{organizationId}/sites/{siteId}/site-spaces":
7313
+ /orgs/{organizationId}/sites/{siteId}/site-spaces:
7317
7314
  post:
7318
7315
  operationId: addSpaceToSite
7319
7316
  summary: Add a space to a site
@@ -7390,7 +7387,7 @@ paths:
7390
7387
  type: array
7391
7388
  items:
7392
7389
  $ref: "#/components/schemas/SiteSpace"
7393
- "/orgs/{organizationId}/sites/{siteId}/section-groups":
7390
+ /orgs/{organizationId}/sites/{siteId}/section-groups:
7394
7391
  get:
7395
7392
  operationId: listSiteSectionGroups
7396
7393
  summary: List all site section groups
@@ -7467,7 +7464,7 @@ paths:
7467
7464
  application/json:
7468
7465
  schema:
7469
7466
  $ref: "#/components/schemas/SiteSectionGroup"
7470
- "/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}":
7467
+ /orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}:
7471
7468
  patch:
7472
7469
  operationId: updateSiteSectionGroupById
7473
7470
  summary: Update a site section group
@@ -7496,7 +7493,7 @@ paths:
7496
7493
  - type: "null"
7497
7494
  draft:
7498
7495
  type: boolean
7499
- description: Whether the site section group is draft and not live.
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.
7500
7497
  responses:
7501
7498
  "200":
7502
7499
  description: OK
@@ -7520,7 +7517,7 @@ paths:
7520
7517
  description: Site section group did not exist
7521
7518
  "205":
7522
7519
  description: Site section group has been deleted
7523
- "/orgs/{organizationId}/sites/{siteId}/sections":
7520
+ /orgs/{organizationId}/sites/{siteId}/sections:
7524
7521
  post:
7525
7522
  operationId: addSectionToSite
7526
7523
  summary: Add a section to a site
@@ -7598,7 +7595,7 @@ paths:
7598
7595
  type: array
7599
7596
  items:
7600
7597
  $ref: "#/components/schemas/SiteSection"
7601
- "/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}":
7598
+ /orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}:
7602
7599
  patch:
7603
7600
  operationId: updateSiteSectionById
7604
7601
  summary: Update a site section
@@ -7637,7 +7634,7 @@ paths:
7637
7634
  - type: "null"
7638
7635
  draft:
7639
7636
  type: boolean
7640
- description: Whether the site section is draft and not live.
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.
7641
7638
  description:
7642
7639
  oneOf:
7643
7640
  - $ref: "#/components/schemas/SiteSectionDescription"
@@ -7672,7 +7669,7 @@ paths:
7672
7669
  description: Site section did not exist
7673
7670
  "205":
7674
7671
  description: Site section has been deleted
7675
- "/orgs/{organizationId}/sites/{siteId}/search":
7672
+ /orgs/{organizationId}/sites/{siteId}/search:
7676
7673
  post:
7677
7674
  operationId: searchSiteContent
7678
7675
  summary: Search in a site
@@ -7764,7 +7761,7 @@ paths:
7764
7761
  - $ref: "#/components/schemas/SearchRecordResult"
7765
7762
  discriminator:
7766
7763
  propertyName: type
7767
- "/orgs/{organizationId}/sites/{siteId}/ask":
7764
+ /orgs/{organizationId}/sites/{siteId}/ask:
7768
7765
  post:
7769
7766
  operationId: streamAskInSite
7770
7767
  summary: Ask a question in a site
@@ -7808,7 +7805,7 @@ paths:
7808
7805
  text/event-stream:
7809
7806
  schema:
7810
7807
  $ref: "#/components/schemas/SearchAIAnswerStream"
7811
- "/orgs/{organizationId}/sites/{siteId}/ask/questions":
7808
+ /orgs/{organizationId}/sites/{siteId}/ask/questions:
7812
7809
  get:
7813
7810
  operationId: streamRecommendedQuestionsInSite
7814
7811
  summary: List recommended questions to ask in a site
@@ -7838,7 +7835,7 @@ paths:
7838
7835
  text/event-stream:
7839
7836
  schema:
7840
7837
  $ref: "#/components/schemas/SearchAIRecommendedQuestionStream"
7841
- "/orgs/{organizationId}/sites/{siteId}/context-records":
7838
+ /orgs/{organizationId}/sites/{siteId}/context-records:
7842
7839
  get:
7843
7840
  operationId: listSiteContextRecords
7844
7841
  summary: List all context records
@@ -7908,7 +7905,7 @@ paths:
7908
7905
  responses:
7909
7906
  "204":
7910
7907
  description: The context records have been created or updated
7911
- "/orgs/{organizationId}/sites/{siteId}/context-records/{siteContextRecordId}":
7908
+ /orgs/{organizationId}/sites/{siteId}/context-records/{siteContextRecordId}:
7912
7909
  get:
7913
7910
  operationId: getSiteContextRecordById
7914
7911
  summary: Get a context record
@@ -7927,7 +7924,7 @@ paths:
7927
7924
  application/json:
7928
7925
  schema:
7929
7926
  $ref: "#/components/schemas/ContextRecord"
7930
- "/orgs/{organizationId}/sites/{siteId}/scans":
7927
+ /orgs/{organizationId}/sites/{siteId}/scans:
7931
7928
  get:
7932
7929
  operationId: listSiteScans
7933
7930
  summary: List all site scans
@@ -7995,7 +7992,7 @@ paths:
7995
7992
  application/json:
7996
7993
  schema:
7997
7994
  $ref: "#/components/schemas/SiteScan"
7998
- "/orgs/{organizationId}/sites/{siteId}/scans/{siteScanId}":
7995
+ /orgs/{organizationId}/sites/{siteId}/scans/{siteScanId}:
7999
7996
  get:
8000
7997
  operationId: getSiteScanById
8001
7998
  summary: Get a site scan by ID
@@ -8014,7 +8011,7 @@ paths:
8014
8011
  application/json:
8015
8012
  schema:
8016
8013
  $ref: "#/components/schemas/SiteScan"
8017
- "/orgs/{organizationId}/sites/{siteId}/findings":
8014
+ /orgs/{organizationId}/sites/{siteId}/findings:
8018
8015
  get:
8019
8016
  operationId: listSiteFindings
8020
8017
  summary: List all site context findings
@@ -8063,7 +8060,7 @@ paths:
8063
8060
  type: array
8064
8061
  items:
8065
8062
  $ref: "#/components/schemas/SiteFinding"
8066
- "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}":
8063
+ /orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}:
8067
8064
  get:
8068
8065
  operationId: getSiteFindingById
8069
8066
  summary: Get a site finding by ID
@@ -8114,7 +8111,7 @@ paths:
8114
8111
  application/json:
8115
8112
  schema:
8116
8113
  $ref: "#/components/schemas/SiteFinding"
8117
- "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/change-requests":
8114
+ /orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/change-requests:
8118
8115
  get:
8119
8116
  operationId: listChangeRequestsForSiteFinding
8120
8117
  summary: List change requests linked to a site finding
@@ -8158,7 +8155,7 @@ paths:
8158
8155
  responses:
8159
8156
  "202":
8160
8157
  description: Site finding processing has been started
8161
- "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/pages":
8158
+ /orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/pages:
8162
8159
  get:
8163
8160
  operationId: listPagesForSiteFinding
8164
8161
  summary: List pages linked to a site finding
@@ -8188,7 +8185,7 @@ paths:
8188
8185
  type: array
8189
8186
  items:
8190
8187
  $ref: "#/components/schemas/SiteFindingPage"
8191
- "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/questions":
8188
+ /orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/questions:
8192
8189
  get:
8193
8190
  operationId: listQuestionsForSiteFinding
8194
8191
  summary: List questions linked to a site finding
@@ -8218,7 +8215,7 @@ paths:
8218
8215
  type: array
8219
8216
  items:
8220
8217
  $ref: "#/components/schemas/SiteQuestion"
8221
- "/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/records":
8218
+ /orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/records:
8222
8219
  get:
8223
8220
  operationId: listRecordsForSiteFinding
8224
8221
  summary: List records linked to a site finding
@@ -8248,7 +8245,7 @@ paths:
8248
8245
  type: array
8249
8246
  items:
8250
8247
  $ref: "#/components/schemas/ContextRecord"
8251
- "/orgs/{organizationId}/sites/{siteId}/context-connections":
8248
+ /orgs/{organizationId}/sites/{siteId}/context-connections:
8252
8249
  get:
8253
8250
  operationId: listSiteContextConnections
8254
8251
  summary: List all context connections
@@ -8305,7 +8302,7 @@ paths:
8305
8302
  application/json:
8306
8303
  schema:
8307
8304
  $ref: "#/components/schemas/ContextConnection"
8308
- "/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}":
8305
+ /orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}:
8309
8306
  get:
8310
8307
  operationId: getSiteContextConnectionById
8311
8308
  summary: Get a context connection
@@ -8371,7 +8368,7 @@ paths:
8371
8368
  description: Context connection did not exist
8372
8369
  "205":
8373
8370
  description: Context connection deleted
8374
- "/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}/sync":
8371
+ /orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}/sync:
8375
8372
  post:
8376
8373
  operationId: syncSiteContextConnection
8377
8374
  summary: Trigger a sync for a context connection
@@ -8389,7 +8386,7 @@ paths:
8389
8386
  "400":
8390
8387
  description: Connection was synced less than an hour ago or invalid connector
8391
8388
  $ref: "#/components/responses/BadRequestError"
8392
- "/orgs/{organizationId}/sites/{siteId}/topics":
8389
+ /orgs/{organizationId}/sites/{siteId}/topics:
8393
8390
  get:
8394
8391
  operationId: listSiteTopics
8395
8392
  summary: List all topics
@@ -8424,7 +8421,7 @@ paths:
8424
8421
  type: array
8425
8422
  items:
8426
8423
  $ref: "#/components/schemas/SiteTopic"
8427
- "/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}":
8424
+ /orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}:
8428
8425
  get:
8429
8426
  operationId: getSiteTopicById
8430
8427
  summary: Get a topic
@@ -8472,7 +8469,7 @@ paths:
8472
8469
  application/json:
8473
8470
  schema:
8474
8471
  $ref: "#/components/schemas/SiteTopic"
8475
- "/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/findings":
8472
+ /orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/findings:
8476
8473
  delete:
8477
8474
  operationId: deleteSiteTopicFindings
8478
8475
  summary: Delete all findings for a topic
@@ -8489,7 +8486,7 @@ paths:
8489
8486
  description: Topic had no findings or did not exist
8490
8487
  "205":
8491
8488
  description: Topic findings deleted
8492
- "/orgs/{organizationId}/sites/{siteId}/questions":
8489
+ /orgs/{organizationId}/sites/{siteId}/questions:
8493
8490
  get:
8494
8491
  operationId: listSiteQuestions
8495
8492
  summary: List all questions in a site
@@ -8572,7 +8569,7 @@ paths:
8572
8569
  type: array
8573
8570
  items:
8574
8571
  $ref: "#/components/schemas/SiteQuestion"
8575
- "/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}":
8572
+ /orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}:
8576
8573
  get:
8577
8574
  operationId: getSiteQuestionById
8578
8575
  summary: Get a site question by ID
@@ -8622,7 +8619,7 @@ paths:
8622
8619
  application/json:
8623
8620
  schema:
8624
8621
  $ref: "#/components/schemas/SiteQuestion"
8625
- "/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}/sources":
8622
+ /orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}/sources:
8626
8623
  get:
8627
8624
  operationId: listSiteQuestionSources
8628
8625
  summary: List sources for a question
@@ -8683,7 +8680,7 @@ paths:
8683
8680
  type: array
8684
8681
  items:
8685
8682
  $ref: "#/components/schemas/SiteQuestionAnswerSource"
8686
- "/orgs/{organizationId}/sites/{siteId}/question-stats":
8683
+ /orgs/{organizationId}/sites/{siteId}/question-stats:
8687
8684
  get:
8688
8685
  operationId: getSiteQuestionStats
8689
8686
  summary: Get question stats for a site
@@ -8739,7 +8736,7 @@ paths:
8739
8736
  application/json:
8740
8737
  schema:
8741
8738
  $ref: "#/components/schemas/SiteQuestionStats"
8742
- "/orgs/{organizationId}/sites/{siteId}/answers":
8739
+ /orgs/{organizationId}/sites/{siteId}/answers:
8743
8740
  get:
8744
8741
  operationId: listSiteQuestionAnswers
8745
8742
  summary: List all answers for a site
@@ -8829,7 +8826,7 @@ paths:
8829
8826
  type: array
8830
8827
  items:
8831
8828
  $ref: "#/components/schemas/SiteQuestionAnswer"
8832
- "/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}":
8829
+ /orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}:
8833
8830
  get:
8834
8831
  operationId: getSiteQuestionAnswerById
8835
8832
  summary: Get a site answer by ID
@@ -8848,7 +8845,7 @@ paths:
8848
8845
  application/json:
8849
8846
  schema:
8850
8847
  $ref: "#/components/schemas/SiteQuestionAnswerWithResponse"
8851
- "/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/thread":
8848
+ /orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/thread:
8852
8849
  get:
8853
8850
  operationId: getSiteQuestionAnswerThreadById
8854
8851
  summary: Get a site answer thread by answer ID
@@ -8869,7 +8866,7 @@ paths:
8869
8866
  type: array
8870
8867
  items:
8871
8868
  $ref: "#/components/schemas/SiteQuestionAnswerWithResponse"
8872
- "/orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/sources":
8869
+ /orgs/{organizationId}/sites/{siteId}/answers/{siteQuestionAnswerId}/sources:
8873
8870
  get:
8874
8871
  operationId: listSiteQuestionAnswerSources
8875
8872
  summary: List the sources for an answer
@@ -8899,7 +8896,7 @@ paths:
8899
8896
  type: array
8900
8897
  items:
8901
8898
  $ref: "#/components/schemas/SiteQuestionAnswerSource"
8902
- "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}":
8899
+ /orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}:
8903
8900
  patch:
8904
8901
  operationId: updateSiteSpaceById
8905
8902
  summary: Update a site space
@@ -8933,7 +8930,7 @@ paths:
8933
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.
8934
8931
  draft:
8935
8932
  type: boolean
8936
- 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.
8937
8934
  responses:
8938
8935
  "200":
8939
8936
  description: OK
@@ -8957,7 +8954,7 @@ paths:
8957
8954
  description: Site space did not exist
8958
8955
  "205":
8959
8956
  description: Site space has been deleted
8960
- "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization":
8957
+ /orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization:
8961
8958
  get:
8962
8959
  operationId: getSiteSpaceCustomizationById
8963
8960
  summary: Get a site space customization settings
@@ -9290,7 +9287,7 @@ paths:
9290
9287
  description: Site space customization removed
9291
9288
  "400":
9292
9289
  $ref: "#/components/responses/BadRequestError"
9293
- "/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move":
9290
+ /orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move:
9294
9291
  post:
9295
9292
  operationId: moveSiteSectionGroup
9296
9293
  deprecated: true
@@ -9325,7 +9322,7 @@ paths:
9325
9322
  "404":
9326
9323
  description: No matching site section group found
9327
9324
  $ref: "#/components/responses/NotFoundError"
9328
- "/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move":
9325
+ /orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move:
9329
9326
  post:
9330
9327
  operationId: moveSiteSection
9331
9328
  deprecated: true
@@ -9360,7 +9357,7 @@ paths:
9360
9357
  "404":
9361
9358
  description: No matching Site section found
9362
9359
  $ref: "#/components/responses/NotFoundError"
9363
- "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move":
9360
+ /orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/move:
9364
9361
  post:
9365
9362
  operationId: moveSiteSpace
9366
9363
  deprecated: true
@@ -9395,7 +9392,7 @@ paths:
9395
9392
  "404":
9396
9393
  description: No matching Site space found
9397
9394
  $ref: "#/components/responses/NotFoundError"
9398
- "/orgs/{organizationId}/sites/{siteId}/permissions":
9395
+ /orgs/{organizationId}/sites/{siteId}/permissions:
9399
9396
  post:
9400
9397
  operationId: inviteToSite
9401
9398
  summary: Invite a user or a team to a site
@@ -9418,7 +9415,7 @@ paths:
9418
9415
  application/json:
9419
9416
  schema:
9420
9417
  $ref: "#/components/schemas/InviteSiteUsersAndTeams"
9421
- "/orgs/{organizationId}/sites/{siteId}/permissions/aggregate":
9418
+ /orgs/{organizationId}/sites/{siteId}/permissions/aggregate:
9422
9419
  get:
9423
9420
  operationId: listPermissionsAggregateInSite
9424
9421
  summary: List all sites users permissions
@@ -9447,7 +9444,7 @@ paths:
9447
9444
  type: array
9448
9445
  items:
9449
9446
  $ref: "#/components/schemas/UserSitePermission"
9450
- "/orgs/{organizationId}/sites/{siteId}/permissions/users":
9447
+ /orgs/{organizationId}/sites/{siteId}/permissions/users:
9451
9448
  get:
9452
9449
  operationId: listUserPermissionsInSite
9453
9450
  summary: List site user permissions
@@ -9479,7 +9476,7 @@ paths:
9479
9476
  "404":
9480
9477
  description: No site was found with the given Id
9481
9478
  $ref: "#/components/responses/NotFoundError"
9482
- "/orgs/{organizationId}/sites/{siteId}/permissions/users/{userId}":
9479
+ /orgs/{organizationId}/sites/{siteId}/permissions/users/{userId}:
9483
9480
  patch:
9484
9481
  operationId: updateUserPermissionInSite
9485
9482
  summary: Update site user permissions
@@ -9522,7 +9519,7 @@ paths:
9522
9519
  description: The user was not found in the site
9523
9520
  "205":
9524
9521
  description: The user has been removed from the site
9525
- "/orgs/{organizationId}/sites/{siteId}/permissions/teams":
9522
+ /orgs/{organizationId}/sites/{siteId}/permissions/teams:
9526
9523
  get:
9527
9524
  operationId: listTeamPermissionsInSite
9528
9525
  summary: List an org team's permission in a site
@@ -9554,7 +9551,7 @@ paths:
9554
9551
  "404":
9555
9552
  description: No site was found with the given Id
9556
9553
  $ref: "#/components/responses/NotFoundError"
9557
- "/orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}":
9554
+ /orgs/{organizationId}/sites/{siteId}/permissions/teams/{teamId}:
9558
9555
  patch:
9559
9556
  operationId: updateTeamPermissionInSite
9560
9557
  summary: Update an org team's permission in a site
@@ -9597,7 +9594,7 @@ paths:
9597
9594
  description: The team was not found in the site
9598
9595
  "205":
9599
9596
  description: The team has been removed from the site
9600
- "/orgs/{organizationId}/sites/{siteId}/ai/response":
9597
+ /orgs/{organizationId}/sites/{siteId}/ai/response:
9601
9598
  post:
9602
9599
  operationId: streamAIResponseInSite
9603
9600
  summary: Generate an AI response in a site
@@ -9653,7 +9650,7 @@ paths:
9653
9650
  text/event-stream:
9654
9651
  schema:
9655
9652
  $ref: "#/components/schemas/AIStreamResponse"
9656
- "/orgs/{organizationId}/sites/{siteId}/agent-settings":
9653
+ /orgs/{organizationId}/sites/{siteId}/agent-settings:
9657
9654
  get:
9658
9655
  operationId: getSiteAgentSettingsById
9659
9656
  summary: Get site agent settings
@@ -9698,7 +9695,47 @@ paths:
9698
9695
  $ref: "#/components/schemas/SiteAgentSettings"
9699
9696
  "400":
9700
9697
  $ref: "#/components/responses/BadRequestError"
9701
- "/orgs/{organizationId}/sites/{siteId}/insights/events":
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:
9702
9739
  post:
9703
9740
  operationId: trackEventsInSiteById
9704
9741
  summary: Track site events
@@ -9723,7 +9760,7 @@ paths:
9723
9760
  $ref: "#/components/schemas/SiteInsightsEvent"
9724
9761
  required:
9725
9762
  - events
9726
- "/orgs/{organizationId}/sites/{siteId}/insights/events/aggregate":
9763
+ /orgs/{organizationId}/sites/{siteId}/insights/events/aggregate:
9727
9764
  post:
9728
9765
  operationId: aggregateSiteEvents
9729
9766
  summary: Query site events
@@ -9747,7 +9784,7 @@ paths:
9747
9784
  application/json:
9748
9785
  schema:
9749
9786
  $ref: "#/components/schemas/SiteInsightsQueryEventsAggregationResult"
9750
- "/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments":
9787
+ /orgs/{organizationId}/sites/{siteId}/insights/visitor-segments:
9751
9788
  get:
9752
9789
  operationId: listSiteVisitorSegments
9753
9790
  summary: List a site visitor segments
@@ -9772,7 +9809,7 @@ paths:
9772
9809
  type: array
9773
9810
  items:
9774
9811
  $ref: "#/components/schemas/SiteInsightsVisitorSegment"
9775
- "/orgs/{organizationId}/sites/{siteId}/ads":
9812
+ /orgs/{organizationId}/sites/{siteId}/ads:
9776
9813
  post:
9777
9814
  operationId: updateSiteAdsById
9778
9815
  summary: Update a site ads settings
@@ -9800,7 +9837,7 @@ paths:
9800
9837
  responses:
9801
9838
  "204":
9802
9839
  description: OK
9803
- "/orgs/{organizationId}/sites/{siteId}/redirects":
9840
+ /orgs/{organizationId}/sites/{siteId}/redirects:
9804
9841
  post:
9805
9842
  operationId: createSiteRedirect
9806
9843
  summary: Create a site redirect
@@ -10053,7 +10090,7 @@ paths:
10053
10090
  type: array
10054
10091
  items:
10055
10092
  $ref: "#/components/schemas/SiteRedirect"
10056
- "/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}":
10093
+ /orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}:
10057
10094
  patch:
10058
10095
  operationId: updateSiteRedirectById
10059
10096
  summary: Update a site redirect
@@ -10105,7 +10142,7 @@ paths:
10105
10142
  description: Site redirect did not exist
10106
10143
  "205":
10107
10144
  description: Site redirect deleted
10108
- "/orgs/{organizationId}/sites/{siteId}/redirect":
10145
+ /orgs/{organizationId}/sites/{siteId}/redirect:
10109
10146
  get:
10110
10147
  operationId: getSiteRedirectBySource
10111
10148
  summary: Get a site redirect by its source
@@ -10141,7 +10178,7 @@ paths:
10141
10178
  - target
10142
10179
  "404":
10143
10180
  $ref: "#/components/responses/NotFoundError"
10144
- "/orgs/{organizationId}/sites/{siteId}/mcp-servers":
10181
+ /orgs/{organizationId}/sites/{siteId}/mcp-servers:
10145
10182
  get:
10146
10183
  operationId: listSiteMcpServers
10147
10184
  summary: List all MCP servers for a site
@@ -10211,7 +10248,7 @@ paths:
10211
10248
  application/json:
10212
10249
  schema:
10213
10250
  $ref: "#/components/schemas/SiteMcpServer"
10214
- "/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}":
10251
+ /orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}:
10215
10252
  get:
10216
10253
  operationId: getSiteMcpServerById
10217
10254
  summary: Get a site MCP server
@@ -10286,7 +10323,7 @@ paths:
10286
10323
  description: MCP server did not exist
10287
10324
  "205":
10288
10325
  description: MCP server deleted
10289
- "/orgs/{organizationId}/sites/{siteId}/channels":
10326
+ /orgs/{organizationId}/sites/{siteId}/channels:
10290
10327
  get:
10291
10328
  operationId: listSiteChannels
10292
10329
  summary: List all site channels for a site
@@ -10343,7 +10380,7 @@ paths:
10343
10380
  application/json:
10344
10381
  schema:
10345
10382
  $ref: "#/components/schemas/SiteChannel"
10346
- "/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}":
10383
+ /orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}:
10347
10384
  get:
10348
10385
  operationId: getSiteChannelById
10349
10386
  summary: Get a site channel
@@ -10407,7 +10444,7 @@ paths:
10407
10444
  description: Site channel did not exist
10408
10445
  "205":
10409
10446
  description: Site channel deleted
10410
- "/subdomains/{subdomain}":
10447
+ /subdomains/{subdomain}:
10411
10448
  get:
10412
10449
  operationId: getSubdomain
10413
10450
  summary: Get a subdomain
@@ -10424,14 +10461,15 @@ paths:
10424
10461
  application/json:
10425
10462
  schema:
10426
10463
  $ref: "#/components/schemas/Subdomain"
10427
- "/custom-hostnames/{hostname}":
10464
+ /custom-hostnames/{hostname}:
10428
10465
  get:
10429
10466
  operationId: getCustomHostname
10430
10467
  summary: Get a custom hostname
10431
10468
  tags:
10432
10469
  - custom-hostnames
10433
10470
  security:
10434
- - user-internal-or-staff: []
10471
+ - user-internal: []
10472
+ - user-staff: []
10435
10473
  parameters:
10436
10474
  - $ref: "#/components/parameters/hostname"
10437
10475
  responses:
@@ -10475,7 +10513,7 @@ paths:
10475
10513
  description: Custom hostname did not exist
10476
10514
  "205":
10477
10515
  description: Custom hostname has been removed
10478
- "/email-domains/{emailDomain}/orgs":
10516
+ /email-domains/{emailDomain}/orgs:
10479
10517
  get:
10480
10518
  operationId: getOrganizationsForEmailDomain
10481
10519
  summary: Get all organizations by email domain
@@ -10583,7 +10621,7 @@ paths:
10583
10621
  reason:
10584
10622
  type: string
10585
10623
  description: Reason for the rejection
10586
- "/ads/sites/{siteId}":
10624
+ /ads/sites/{siteId}:
10587
10625
  patch:
10588
10626
  operationId: adsUpdateSite
10589
10627
  summary: Update the Ads configuration for a site
@@ -10802,7 +10840,7 @@ paths:
10802
10840
  $ref: "#/components/responses/NotFoundError"
10803
10841
  "409":
10804
10842
  $ref: "#/components/responses/ConflictError"
10805
- "/git/installations/{installationId}":
10843
+ /git/installations/{installationId}:
10806
10844
  get:
10807
10845
  operationId: getGitSyncInstallationById
10808
10846
  summary: Get a Git Sync installation
@@ -10865,7 +10903,7 @@ paths:
10865
10903
  description: Git Sync installation was removed successfully
10866
10904
  "404":
10867
10905
  $ref: "#/components/responses/NotFoundError"
10868
- "/git/installations/{installationId}/github/repos":
10906
+ /git/installations/{installationId}/github/repos:
10869
10907
  get:
10870
10908
  operationId: listGitHubRepositoriesForGitSyncInstallation
10871
10909
  summary: List GitHub repositories available for a Git Sync installation
@@ -10893,7 +10931,7 @@ paths:
10893
10931
  $ref: "#/components/responses/UnauthorizedError"
10894
10932
  "404":
10895
10933
  $ref: "#/components/responses/NotFoundError"
10896
- "/git/installations/{installationId}/github/repos/{accountName}/{repositoryName}/branches":
10934
+ /git/installations/{installationId}/github/repos/{accountName}/{repositoryName}/branches:
10897
10935
  get:
10898
10936
  operationId: listGitHubRepoBranchesForGitSyncInstallation
10899
10937
  summary: List GitHub repository branches available for a Git Sync installation
@@ -10931,7 +10969,7 @@ paths:
10931
10969
  $ref: "#/components/responses/UnauthorizedError"
10932
10970
  "404":
10933
10971
  $ref: "#/components/responses/NotFoundError"
10934
- "/git/installations/{installationId}/gitlab/projects":
10972
+ /git/installations/{installationId}/gitlab/projects:
10935
10973
  get:
10936
10974
  operationId: listGitLabProjectsForGitSyncInstallation
10937
10975
  summary: List GitLab projects available for a Git Sync installation
@@ -10959,7 +10997,7 @@ paths:
10959
10997
  $ref: "#/components/responses/UnauthorizedError"
10960
10998
  "404":
10961
10999
  $ref: "#/components/responses/NotFoundError"
10962
- "/git/installations/{installationId}/gitlab/projects/{projectId}/branches":
11000
+ /git/installations/{installationId}/gitlab/projects/{projectId}/branches:
10963
11001
  get:
10964
11002
  operationId: listGitLabProjectBranchesForGitSyncInstallation
10965
11003
  summary: List GitLab project branches available for a Git Sync installation
@@ -11003,9 +11041,6 @@ components:
11003
11041
  user-staff:
11004
11042
  type: http
11005
11043
  scheme: bearer
11006
- user-internal-or-staff:
11007
- type: http
11008
- scheme: bearer
11009
11044
  integration:
11010
11045
  type: http
11011
11046
  scheme: bearer
@@ -11785,6 +11820,9 @@ components:
11785
11820
  - custom
11786
11821
  expression:
11787
11822
  $ref: "#/components/schemas/Expression"
11823
+ message:
11824
+ type: string
11825
+ description: Optional message to display when the expression evaluates to false.
11788
11826
  required:
11789
11827
  - rule
11790
11828
  - expression
@@ -14529,6 +14567,8 @@ components:
14529
14567
  properties:
14530
14568
  title:
14531
14569
  type: string
14570
+ icon:
14571
+ $ref: "#/components/schemas/Icon"
14532
14572
  meta:
14533
14573
  type: object
14534
14574
  properties:
@@ -15635,6 +15675,9 @@ components:
15635
15675
  tags:
15636
15676
  type: boolean
15637
15677
  description: Should the tags be visible on the page?
15678
+ actions:
15679
+ type: boolean
15680
+ description: Should the page actions be visible on the page?
15638
15681
  required:
15639
15682
  - width
15640
15683
  - cover
@@ -15646,6 +15689,7 @@ components:
15646
15689
  - pagination
15647
15690
  - metadata
15648
15691
  - tags
15692
+ - actions
15649
15693
  RevisionPageDocumentCover:
15650
15694
  type: object
15651
15695
  properties:
@@ -18042,6 +18086,7 @@ components:
18042
18086
  - site:script:inject
18043
18087
  - site:script:cookies
18044
18088
  - site:visitor:auth
18089
+ - site:visitor:claims
18045
18090
  - site:adaptive:read
18046
18091
  - site:adaptive:write
18047
18092
  - conversations:ingest
@@ -18832,9 +18877,15 @@ components:
18832
18877
  revisionId:
18833
18878
  type: string
18834
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"
18835
18885
  required:
18836
18886
  - type
18837
18887
  - revisionId
18888
+ - updatedBy
18838
18889
  SpaceGitSyncCompletedEvent:
18839
18890
  allOf:
18840
18891
  - $ref: "#/components/schemas/SpaceEvent"
@@ -18991,6 +19042,11 @@ components:
18991
19042
  - fetch_visitor_authentication
18992
19043
  location:
18993
19044
  type: string
19045
+ searchParams:
19046
+ type: object
19047
+ additionalProperties:
19048
+ type: string
19049
+ description: Whitelisted search parameters from the visitor authentication request.
18994
19050
  action:
18995
19051
  type: string
18996
19052
  enum:
@@ -19644,6 +19700,13 @@ components:
19644
19700
  $ref: "#/components/schemas/SiteAdaptiveContent"
19645
19701
  ads:
19646
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.
19647
19710
  features:
19648
19711
  description: |
19649
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.
@@ -20511,6 +20574,9 @@ components:
20511
20574
  type: object
20512
20575
  props:
20513
20576
  $ref: "#/components/schemas/PlainObject"
20577
+ canAccessVisitorClaims:
20578
+ type: boolean
20579
+ description: Whether the rendered integration UI can receive visitor claims.
20514
20580
  required:
20515
20581
  - element
20516
20582
  - state
@@ -25015,6 +25081,43 @@ components:
25015
25081
  - spaceId
25016
25082
  - reusableContent
25017
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
25018
25121
  AIToolCallCreateChangeRequest:
25019
25122
  type: object
25020
25123
  properties:
@@ -25187,6 +25290,8 @@ components:
25187
25290
  - $ref: "#/components/schemas/AIToolCallCreateReusableContent"
25188
25291
  - $ref: "#/components/schemas/AIToolCallEditReusableContent"
25189
25292
  - $ref: "#/components/schemas/AIToolCallGetReusableContent"
25293
+ - $ref: "#/components/schemas/AIToolCallGetVariables"
25294
+ - $ref: "#/components/schemas/AIToolCallUpdateVariables"
25190
25295
  - $ref: "#/components/schemas/AIToolCallCreateChangeRequest"
25191
25296
  - $ref: "#/components/schemas/AIToolCallComment"
25192
25297
  - $ref: "#/components/schemas/AIToolCallReplyToComment"
@@ -27745,7 +27850,7 @@ components:
27745
27850
  type: string
27746
27851
  description: The source path to redirect from.
27747
27852
  maxLength: 512
27748
- pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
27853
+ pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
27749
27854
  SiteRedirectDestinationSiteSection:
27750
27855
  type: object
27751
27856
  properties: