@gitbook/api 0.95.0 → 0.96.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +186 -507
- package/dist/index.cjs +31 -221
- package/dist/index.js +29 -221
- package/package.json +1 -1
- package/spec/openapi.json +850 -1788
- package/spec/openapi.yaml +427 -946
package/spec/openapi.yaml
CHANGED
|
@@ -19,6 +19,53 @@ security:
|
|
|
19
19
|
- user-staff: []
|
|
20
20
|
- integration: []
|
|
21
21
|
- integration-installation: []
|
|
22
|
+
tags:
|
|
23
|
+
- name: users
|
|
24
|
+
x-page-title: Users
|
|
25
|
+
x-page-description: A user in GitBook is the entity of someone who has signed up with an account.
|
|
26
|
+
- name: organizations
|
|
27
|
+
x-page-title: Organizations
|
|
28
|
+
x-page-description: An organization in GitBook is the entity of a place that users, spaces, and collections belong to.
|
|
29
|
+
- name: sites
|
|
30
|
+
x-page-title: Docs sites
|
|
31
|
+
x-page-description: A site in GitBook - also called a docs site - is your published content.
|
|
32
|
+
- name: collections
|
|
33
|
+
x-page-title: Collections
|
|
34
|
+
x-page-description: A collection in GitBook is the entity of a group that a space can belong to.
|
|
35
|
+
- name: spaces
|
|
36
|
+
x-page-title: Spaces
|
|
37
|
+
x-page-description: A space in GitBook is the entity of a project you work in.
|
|
38
|
+
- name: change-requests
|
|
39
|
+
x-page-title: Change requests
|
|
40
|
+
- name: comments
|
|
41
|
+
x-page-title: Comments
|
|
42
|
+
- name: revisions
|
|
43
|
+
x-page-title: Revisions
|
|
44
|
+
- name: analytics
|
|
45
|
+
x-page-title: Analytics
|
|
46
|
+
- name: integrations
|
|
47
|
+
x-page-title: Integrations
|
|
48
|
+
x-page-description: An integration is the entity for an app developed on the GitBook Integrations Platform
|
|
49
|
+
- name: computed-content
|
|
50
|
+
x-page-title: Computed content
|
|
51
|
+
- name: urls
|
|
52
|
+
x-page-title: URLs
|
|
53
|
+
- name: openapi
|
|
54
|
+
x-page-title: OpenAPI
|
|
55
|
+
- name: hive
|
|
56
|
+
x-page-title: Hive
|
|
57
|
+
- name: custom-hostnames
|
|
58
|
+
x-page-title: Custom hostnames
|
|
59
|
+
- name: ads
|
|
60
|
+
x-page-title: Ads
|
|
61
|
+
- name: search
|
|
62
|
+
x-page-title: Search
|
|
63
|
+
- name: permissions
|
|
64
|
+
x-page-title: Permissions
|
|
65
|
+
- name: teams
|
|
66
|
+
x-page-title: Teams
|
|
67
|
+
- name: api
|
|
68
|
+
x-page-title: API
|
|
22
69
|
paths:
|
|
23
70
|
/:
|
|
24
71
|
get:
|
|
@@ -83,6 +130,8 @@ paths:
|
|
|
83
130
|
x-deprecated-error-rate: 0.1
|
|
84
131
|
x-deprecated-sunset: 2025-02-05
|
|
85
132
|
x-deprecated-message: Use the 'POST' endpoints for sites/organizations instead.
|
|
133
|
+
tags:
|
|
134
|
+
- search
|
|
86
135
|
security:
|
|
87
136
|
- user: []
|
|
88
137
|
parameters:
|
|
@@ -116,6 +165,8 @@ paths:
|
|
|
116
165
|
x-deprecated-error-rate: 0.1
|
|
117
166
|
x-deprecated-sunset: 2025-02-05
|
|
118
167
|
x-deprecated-message: Use the 'POST' endpoints for sites/organizations instead.
|
|
168
|
+
tags:
|
|
169
|
+
- search
|
|
119
170
|
security:
|
|
120
171
|
- user: []
|
|
121
172
|
parameters:
|
|
@@ -150,6 +201,8 @@ paths:
|
|
|
150
201
|
deprecated: true
|
|
151
202
|
x-deprecated-error-rate: 0.1
|
|
152
203
|
x-deprecated-sunset: 2025-02-05
|
|
204
|
+
tags:
|
|
205
|
+
- search
|
|
153
206
|
security:
|
|
154
207
|
- user: []
|
|
155
208
|
requestBody:
|
|
@@ -469,6 +522,8 @@ paths:
|
|
|
469
522
|
get:
|
|
470
523
|
operationId: searchSpaceContent
|
|
471
524
|
summary: Search content in a space
|
|
525
|
+
tags:
|
|
526
|
+
- search
|
|
472
527
|
security:
|
|
473
528
|
- user: []
|
|
474
529
|
parameters:
|
|
@@ -506,6 +561,8 @@ paths:
|
|
|
506
561
|
deprecated: true
|
|
507
562
|
x-deprecated-error-rate: 0.1
|
|
508
563
|
x-deprecated-sunset: 2025-02-05
|
|
564
|
+
tags:
|
|
565
|
+
- search
|
|
509
566
|
parameters:
|
|
510
567
|
- name: query
|
|
511
568
|
in: query
|
|
@@ -534,6 +591,8 @@ paths:
|
|
|
534
591
|
post:
|
|
535
592
|
operationId: askQueryInSpace
|
|
536
593
|
summary: Ask a question to an AI within the context of the space.
|
|
594
|
+
tags:
|
|
595
|
+
- ask
|
|
537
596
|
parameters:
|
|
538
597
|
- $ref: "#/components/parameters/spaceId"
|
|
539
598
|
- $ref: "#/components/parameters/documentFormat"
|
|
@@ -564,6 +623,8 @@ paths:
|
|
|
564
623
|
get:
|
|
565
624
|
operationId: streamAskInSpace
|
|
566
625
|
summary: Ask a question to an AI within the context of the space and stream the answer as a Server-Sent Events URL.
|
|
626
|
+
tags:
|
|
627
|
+
- search
|
|
567
628
|
parameters:
|
|
568
629
|
- $ref: "#/components/parameters/spaceId"
|
|
569
630
|
- name: query
|
|
@@ -590,6 +651,8 @@ paths:
|
|
|
590
651
|
get:
|
|
591
652
|
operationId: getRecommendedQuestionsInSpace
|
|
592
653
|
summary: Get a list of questions that can be asked in a space.
|
|
654
|
+
tags:
|
|
655
|
+
- search
|
|
593
656
|
deprecated: true
|
|
594
657
|
x-deprecated-error-rate: 0.1
|
|
595
658
|
x-deprecated-sunset: 2025-02-05
|
|
@@ -611,6 +674,8 @@ paths:
|
|
|
611
674
|
deprecated: true
|
|
612
675
|
x-deprecated-error-rate: 0.1
|
|
613
676
|
x-deprecated-sunset: 2025-02-05
|
|
677
|
+
tags:
|
|
678
|
+
- search
|
|
614
679
|
parameters:
|
|
615
680
|
- $ref: "#/components/parameters/spaceId"
|
|
616
681
|
responses:
|
|
@@ -990,6 +1055,8 @@ paths:
|
|
|
990
1055
|
get:
|
|
991
1056
|
operationId: getCurrentRevision
|
|
992
1057
|
summary: Get the current primary content revision for a space
|
|
1058
|
+
tags:
|
|
1059
|
+
- spaces
|
|
993
1060
|
security:
|
|
994
1061
|
- user: []
|
|
995
1062
|
parameters:
|
|
@@ -1009,6 +1076,8 @@ paths:
|
|
|
1009
1076
|
post:
|
|
1010
1077
|
summary: Import content in a space.
|
|
1011
1078
|
operationId: importContent
|
|
1079
|
+
tags:
|
|
1080
|
+
- spaces
|
|
1012
1081
|
security:
|
|
1013
1082
|
- user: []
|
|
1014
1083
|
parameters:
|
|
@@ -1037,6 +1106,8 @@ paths:
|
|
|
1037
1106
|
get:
|
|
1038
1107
|
summary: List all pages for the main revision content of a space
|
|
1039
1108
|
operationId: listPages
|
|
1109
|
+
tags:
|
|
1110
|
+
- spaces
|
|
1040
1111
|
security:
|
|
1041
1112
|
- user: []
|
|
1042
1113
|
parameters:
|
|
@@ -1063,6 +1134,8 @@ paths:
|
|
|
1063
1134
|
get:
|
|
1064
1135
|
summary: List all files for the main revision content of a space
|
|
1065
1136
|
operationId: listFiles
|
|
1137
|
+
tags:
|
|
1138
|
+
- spaces
|
|
1066
1139
|
security:
|
|
1067
1140
|
- user: []
|
|
1068
1141
|
parameters:
|
|
@@ -1093,6 +1166,8 @@ paths:
|
|
|
1093
1166
|
get:
|
|
1094
1167
|
summary: Get a file by its ID in the main revision of a space
|
|
1095
1168
|
operationId: getFileById
|
|
1169
|
+
tags:
|
|
1170
|
+
- spaces
|
|
1096
1171
|
security:
|
|
1097
1172
|
- user: []
|
|
1098
1173
|
parameters:
|
|
@@ -1144,6 +1219,8 @@ paths:
|
|
|
1144
1219
|
get:
|
|
1145
1220
|
operationId: getPageById
|
|
1146
1221
|
summary: Get a page by its ID in the primary content.
|
|
1222
|
+
tags:
|
|
1223
|
+
- spaces
|
|
1147
1224
|
security:
|
|
1148
1225
|
- user: []
|
|
1149
1226
|
parameters:
|
|
@@ -1235,6 +1312,8 @@ paths:
|
|
|
1235
1312
|
post:
|
|
1236
1313
|
operationId: importContentInPageById
|
|
1237
1314
|
summary: Import external content into a page by its ID.
|
|
1315
|
+
tags:
|
|
1316
|
+
- spaces
|
|
1238
1317
|
security:
|
|
1239
1318
|
- user: []
|
|
1240
1319
|
parameters:
|
|
@@ -1264,6 +1343,8 @@ paths:
|
|
|
1264
1343
|
get:
|
|
1265
1344
|
operationId: getPageByPath
|
|
1266
1345
|
summary: Get a page by its path in the primary content.
|
|
1346
|
+
tags:
|
|
1347
|
+
- spaces
|
|
1267
1348
|
security:
|
|
1268
1349
|
- user: []
|
|
1269
1350
|
parameters:
|
|
@@ -1287,6 +1368,8 @@ paths:
|
|
|
1287
1368
|
get:
|
|
1288
1369
|
summary: Get a reusable content by its ID in the main revision of a space
|
|
1289
1370
|
operationId: getReusableContentById
|
|
1371
|
+
tags:
|
|
1372
|
+
- spaces
|
|
1290
1373
|
security:
|
|
1291
1374
|
- user: []
|
|
1292
1375
|
parameters:
|
|
@@ -1307,6 +1390,8 @@ paths:
|
|
|
1307
1390
|
post:
|
|
1308
1391
|
operationId: getComputedDocument
|
|
1309
1392
|
summary: Generate a document for a page in a computed content.
|
|
1393
|
+
tags:
|
|
1394
|
+
- computed-content
|
|
1310
1395
|
security:
|
|
1311
1396
|
- user: []
|
|
1312
1397
|
parameters:
|
|
@@ -1336,6 +1421,8 @@ paths:
|
|
|
1336
1421
|
post:
|
|
1337
1422
|
operationId: getComputedRevision
|
|
1338
1423
|
summary: Get the computed content for a source in a computed content.
|
|
1424
|
+
tags:
|
|
1425
|
+
- computed-content
|
|
1339
1426
|
security:
|
|
1340
1427
|
- user: []
|
|
1341
1428
|
parameters:
|
|
@@ -1376,6 +1463,8 @@ paths:
|
|
|
1376
1463
|
get:
|
|
1377
1464
|
operationId: getDocumentById
|
|
1378
1465
|
summary: Get a document by its ID in a space.
|
|
1466
|
+
tags:
|
|
1467
|
+
- spaces
|
|
1379
1468
|
security:
|
|
1380
1469
|
- user: []
|
|
1381
1470
|
parameters:
|
|
@@ -1401,7 +1490,7 @@ paths:
|
|
|
1401
1490
|
operationId: createChangeRequest
|
|
1402
1491
|
summary: Create a new change request for a space.
|
|
1403
1492
|
tags:
|
|
1404
|
-
-
|
|
1493
|
+
- change-requests
|
|
1405
1494
|
security:
|
|
1406
1495
|
- user: []
|
|
1407
1496
|
parameters:
|
|
@@ -1472,7 +1561,7 @@ paths:
|
|
|
1472
1561
|
get:
|
|
1473
1562
|
operationId: getChangeRequestById
|
|
1474
1563
|
tags:
|
|
1475
|
-
-
|
|
1564
|
+
- change-requests
|
|
1476
1565
|
security:
|
|
1477
1566
|
- user: []
|
|
1478
1567
|
parameters:
|
|
@@ -1495,7 +1584,7 @@ paths:
|
|
|
1495
1584
|
operationId: updateChangeRequestById
|
|
1496
1585
|
summary: Update the details of a change request
|
|
1497
1586
|
tags:
|
|
1498
|
-
-
|
|
1587
|
+
- change-requests
|
|
1499
1588
|
security:
|
|
1500
1589
|
- user: []
|
|
1501
1590
|
parameters:
|
|
@@ -1530,7 +1619,7 @@ paths:
|
|
|
1530
1619
|
operationId: mergeChangeRequest
|
|
1531
1620
|
summary: Merge a change request in the primary content of a space.
|
|
1532
1621
|
tags:
|
|
1533
|
-
-
|
|
1622
|
+
- change-requests
|
|
1534
1623
|
security:
|
|
1535
1624
|
- user: []
|
|
1536
1625
|
parameters:
|
|
@@ -1562,7 +1651,7 @@ paths:
|
|
|
1562
1651
|
operationId: updateChangeRequest
|
|
1563
1652
|
summary: Update a change-request with changes from primary content.
|
|
1564
1653
|
tags:
|
|
1565
|
-
-
|
|
1654
|
+
- change-requests
|
|
1566
1655
|
security:
|
|
1567
1656
|
- user: []
|
|
1568
1657
|
parameters:
|
|
@@ -1593,7 +1682,7 @@ paths:
|
|
|
1593
1682
|
get:
|
|
1594
1683
|
operationId: getReviewsByChangeRequestId
|
|
1595
1684
|
tags:
|
|
1596
|
-
-
|
|
1685
|
+
- change-requests
|
|
1597
1686
|
security:
|
|
1598
1687
|
- user: []
|
|
1599
1688
|
parameters:
|
|
@@ -1627,7 +1716,7 @@ paths:
|
|
|
1627
1716
|
post:
|
|
1628
1717
|
operationId: submitChangeRequestReview
|
|
1629
1718
|
tags:
|
|
1630
|
-
-
|
|
1719
|
+
- change-requests
|
|
1631
1720
|
security:
|
|
1632
1721
|
- user: []
|
|
1633
1722
|
parameters:
|
|
@@ -1741,7 +1830,7 @@ paths:
|
|
|
1741
1830
|
operationId: listChangeRequestLinks
|
|
1742
1831
|
summary: Get all links in the context of a change request including their status and location where they appear.
|
|
1743
1832
|
tags:
|
|
1744
|
-
-
|
|
1833
|
+
- change-requests
|
|
1745
1834
|
- links
|
|
1746
1835
|
security:
|
|
1747
1836
|
- user: []
|
|
@@ -1792,7 +1881,7 @@ paths:
|
|
|
1792
1881
|
operationId: listCommentsInChangeRequest
|
|
1793
1882
|
summary: List all the comments in a change request.
|
|
1794
1883
|
tags:
|
|
1795
|
-
-
|
|
1884
|
+
- comments
|
|
1796
1885
|
security:
|
|
1797
1886
|
- user: []
|
|
1798
1887
|
parameters:
|
|
@@ -1826,7 +1915,7 @@ paths:
|
|
|
1826
1915
|
operationId: postCommentInChangeRequest
|
|
1827
1916
|
summary: Post a new comment in a change request.
|
|
1828
1917
|
tags:
|
|
1829
|
-
-
|
|
1918
|
+
- comments
|
|
1830
1919
|
security:
|
|
1831
1920
|
- user: []
|
|
1832
1921
|
parameters:
|
|
@@ -1852,7 +1941,7 @@ paths:
|
|
|
1852
1941
|
operationId: getCommentInChangeRequest
|
|
1853
1942
|
summary: Get a comment in a change request.
|
|
1854
1943
|
tags:
|
|
1855
|
-
-
|
|
1944
|
+
- comments
|
|
1856
1945
|
security:
|
|
1857
1946
|
- user: []
|
|
1858
1947
|
parameters:
|
|
@@ -1873,7 +1962,7 @@ paths:
|
|
|
1873
1962
|
operationId: deleteCommentInChangeRequest
|
|
1874
1963
|
summary: Delete a comment in a change request.
|
|
1875
1964
|
tags:
|
|
1876
|
-
-
|
|
1965
|
+
- comments
|
|
1877
1966
|
security:
|
|
1878
1967
|
- user: []
|
|
1879
1968
|
parameters:
|
|
@@ -1889,7 +1978,7 @@ paths:
|
|
|
1889
1978
|
operationId: updateCommentInChangeRequest
|
|
1890
1979
|
summary: Update a comment in a change request.
|
|
1891
1980
|
tags:
|
|
1892
|
-
-
|
|
1981
|
+
- comments
|
|
1893
1982
|
security:
|
|
1894
1983
|
- user: []
|
|
1895
1984
|
parameters:
|
|
@@ -1916,7 +2005,7 @@ paths:
|
|
|
1916
2005
|
operationId: listCommentRepliesInChangeRequest
|
|
1917
2006
|
summary: List all the replies to a comment in a change request.
|
|
1918
2007
|
tags:
|
|
1919
|
-
-
|
|
2008
|
+
- comments
|
|
1920
2009
|
security:
|
|
1921
2010
|
- user: []
|
|
1922
2011
|
parameters:
|
|
@@ -1948,7 +2037,7 @@ paths:
|
|
|
1948
2037
|
operationId: postCommentReplyInChangeRequest
|
|
1949
2038
|
summary: Post a new reply to a comment in a change request.
|
|
1950
2039
|
tags:
|
|
1951
|
-
-
|
|
2040
|
+
- comments
|
|
1952
2041
|
security:
|
|
1953
2042
|
- user: []
|
|
1954
2043
|
parameters:
|
|
@@ -1976,7 +2065,7 @@ paths:
|
|
|
1976
2065
|
operationId: getCommentReplyInChangeRequest
|
|
1977
2066
|
summary: Get a comment reply in a change request.
|
|
1978
2067
|
tags:
|
|
1979
|
-
-
|
|
2068
|
+
- comments
|
|
1980
2069
|
security:
|
|
1981
2070
|
- user: []
|
|
1982
2071
|
parameters:
|
|
@@ -1998,7 +2087,7 @@ paths:
|
|
|
1998
2087
|
operationId: updateCommentReplyInChangeRequest
|
|
1999
2088
|
summary: Update a comment reply in a change request.
|
|
2000
2089
|
tags:
|
|
2001
|
-
-
|
|
2090
|
+
- comments
|
|
2002
2091
|
security:
|
|
2003
2092
|
- user: []
|
|
2004
2093
|
parameters:
|
|
@@ -2025,7 +2114,7 @@ paths:
|
|
|
2025
2114
|
operationId: deleteCommentReplyInChangeRequest
|
|
2026
2115
|
summary: Delete a comment reply in a change request.
|
|
2027
2116
|
tags:
|
|
2028
|
-
-
|
|
2117
|
+
- comments
|
|
2029
2118
|
security:
|
|
2030
2119
|
- user: []
|
|
2031
2120
|
parameters:
|
|
@@ -2042,7 +2131,7 @@ paths:
|
|
|
2042
2131
|
get:
|
|
2043
2132
|
operationId: getContributorsByChangeRequestId
|
|
2044
2133
|
tags:
|
|
2045
|
-
-
|
|
2134
|
+
- change-requests
|
|
2046
2135
|
security:
|
|
2047
2136
|
- user: []
|
|
2048
2137
|
parameters:
|
|
@@ -2074,6 +2163,8 @@ paths:
|
|
|
2074
2163
|
get:
|
|
2075
2164
|
operationId: getRevisionOfChangeRequestById
|
|
2076
2165
|
summary: Get the latest content revision for a change request.
|
|
2166
|
+
tags:
|
|
2167
|
+
- change-requests
|
|
2077
2168
|
security:
|
|
2078
2169
|
- user: []
|
|
2079
2170
|
parameters:
|
|
@@ -2094,6 +2185,8 @@ paths:
|
|
|
2094
2185
|
post:
|
|
2095
2186
|
summary: Import content in a change request.
|
|
2096
2187
|
operationId: importContentInChangeRequest
|
|
2188
|
+
tags:
|
|
2189
|
+
- change-requests
|
|
2097
2190
|
security:
|
|
2098
2191
|
- user: []
|
|
2099
2192
|
parameters:
|
|
@@ -2123,6 +2216,8 @@ paths:
|
|
|
2123
2216
|
get:
|
|
2124
2217
|
summary: List all pages in the content of a change request
|
|
2125
2218
|
operationId: listPagesInChangeRequest
|
|
2219
|
+
tags:
|
|
2220
|
+
- change-requests
|
|
2126
2221
|
security:
|
|
2127
2222
|
- user: []
|
|
2128
2223
|
parameters:
|
|
@@ -2150,6 +2245,8 @@ paths:
|
|
|
2150
2245
|
get:
|
|
2151
2246
|
summary: List all files in a change request content
|
|
2152
2247
|
operationId: listFilesInChangeRequestById
|
|
2248
|
+
tags:
|
|
2249
|
+
- change-requests
|
|
2153
2250
|
security:
|
|
2154
2251
|
- user: []
|
|
2155
2252
|
parameters:
|
|
@@ -2181,6 +2278,8 @@ paths:
|
|
|
2181
2278
|
get:
|
|
2182
2279
|
summary: Get a file by its ID in the content of a change request
|
|
2183
2280
|
operationId: getFileInChangeRequestById
|
|
2281
|
+
tags:
|
|
2282
|
+
- change-requests
|
|
2184
2283
|
security:
|
|
2185
2284
|
- user: []
|
|
2186
2285
|
parameters:
|
|
@@ -2203,7 +2302,7 @@ paths:
|
|
|
2203
2302
|
operationId: listChangeRequestFileBacklinks
|
|
2204
2303
|
summary: Get backlink locations for a file existing in a change request.
|
|
2205
2304
|
tags:
|
|
2206
|
-
-
|
|
2305
|
+
- change-requests
|
|
2207
2306
|
security:
|
|
2208
2307
|
- user: []
|
|
2209
2308
|
parameters:
|
|
@@ -2234,6 +2333,8 @@ paths:
|
|
|
2234
2333
|
get:
|
|
2235
2334
|
operationId: getPageInChangeRequestById
|
|
2236
2335
|
summary: Get a page by its ID in a change request.
|
|
2336
|
+
tags:
|
|
2337
|
+
- change-requests
|
|
2237
2338
|
security:
|
|
2238
2339
|
- user: []
|
|
2239
2340
|
parameters:
|
|
@@ -2257,7 +2358,7 @@ paths:
|
|
|
2257
2358
|
operationId: listPageLinksInChangeRequest
|
|
2258
2359
|
summary: List all links in a page inside a change request.
|
|
2259
2360
|
tags:
|
|
2260
|
-
-
|
|
2361
|
+
- change-requests
|
|
2261
2362
|
security:
|
|
2262
2363
|
- user: []
|
|
2263
2364
|
parameters:
|
|
@@ -2292,7 +2393,7 @@ paths:
|
|
|
2292
2393
|
operationId: listChangeRequestPageBacklinks
|
|
2293
2394
|
summary: Get backlink locations for a page existing in a change request.
|
|
2294
2395
|
tags:
|
|
2295
|
-
-
|
|
2396
|
+
- change-requests
|
|
2296
2397
|
security:
|
|
2297
2398
|
- user: []
|
|
2298
2399
|
parameters:
|
|
@@ -2323,6 +2424,8 @@ paths:
|
|
|
2323
2424
|
post:
|
|
2324
2425
|
operationId: importContentInChangeRequestPageById
|
|
2325
2426
|
summary: Import external content into a page of a change-request by its ID.
|
|
2427
|
+
tags:
|
|
2428
|
+
- change-requests
|
|
2326
2429
|
security:
|
|
2327
2430
|
- user: []
|
|
2328
2431
|
parameters:
|
|
@@ -2353,6 +2456,8 @@ paths:
|
|
|
2353
2456
|
get:
|
|
2354
2457
|
operationId: getPageInChangeRequestByPath
|
|
2355
2458
|
summary: Get a page by its path in a change request.
|
|
2459
|
+
tags:
|
|
2460
|
+
- change-requests
|
|
2356
2461
|
security:
|
|
2357
2462
|
- user: []
|
|
2358
2463
|
parameters:
|
|
@@ -2376,6 +2481,8 @@ paths:
|
|
|
2376
2481
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}":
|
|
2377
2482
|
get:
|
|
2378
2483
|
summary: Get a reusable content by its ID in the content of a change request
|
|
2484
|
+
tags:
|
|
2485
|
+
- change-requests
|
|
2379
2486
|
operationId: getReusableContentInChangeRequestById
|
|
2380
2487
|
security:
|
|
2381
2488
|
- user: []
|
|
@@ -2399,7 +2506,7 @@ paths:
|
|
|
2399
2506
|
operationId: getChangeRequestPDF
|
|
2400
2507
|
summary: Generate a URL to export the content of a change request as a PDF.
|
|
2401
2508
|
tags:
|
|
2402
|
-
-
|
|
2509
|
+
- change-requests
|
|
2403
2510
|
security:
|
|
2404
2511
|
- user: []
|
|
2405
2512
|
parameters:
|
|
@@ -2435,7 +2542,7 @@ paths:
|
|
|
2435
2542
|
operationId: streamBrainstormChangeRequest
|
|
2436
2543
|
summary: Brainstorm with AI on a change request and stream the results as a Server-Sent Events.
|
|
2437
2544
|
tags:
|
|
2438
|
-
-
|
|
2545
|
+
- change-requests
|
|
2439
2546
|
security:
|
|
2440
2547
|
- user: []
|
|
2441
2548
|
parameters:
|
|
@@ -2467,7 +2574,7 @@ paths:
|
|
|
2467
2574
|
operationId: streamImplementChangeRequestTask
|
|
2468
2575
|
summary: Implement a task on a change request and stream the results as a Server-Sent Events.
|
|
2469
2576
|
tags:
|
|
2470
|
-
-
|
|
2577
|
+
- change-requests
|
|
2471
2578
|
security:
|
|
2472
2579
|
- user: []
|
|
2473
2580
|
parameters:
|
|
@@ -2498,6 +2605,8 @@ paths:
|
|
|
2498
2605
|
get:
|
|
2499
2606
|
operationId: getRevisionById
|
|
2500
2607
|
summary: Get a specific revision in a space
|
|
2608
|
+
tags:
|
|
2609
|
+
- revisions
|
|
2501
2610
|
security:
|
|
2502
2611
|
- user: []
|
|
2503
2612
|
parameters:
|
|
@@ -2518,6 +2627,8 @@ paths:
|
|
|
2518
2627
|
get:
|
|
2519
2628
|
summary: Return the semantic changes between a revision and its parent.
|
|
2520
2629
|
operationId: getRevisionSemanticChanges
|
|
2630
|
+
tags:
|
|
2631
|
+
- revisions
|
|
2521
2632
|
security:
|
|
2522
2633
|
- user: []
|
|
2523
2634
|
parameters:
|
|
@@ -2544,6 +2655,8 @@ paths:
|
|
|
2544
2655
|
get:
|
|
2545
2656
|
summary: List all pages in a revision
|
|
2546
2657
|
operationId: listPagesInRevisionById
|
|
2658
|
+
tags:
|
|
2659
|
+
- revisions
|
|
2547
2660
|
security:
|
|
2548
2661
|
- user: []
|
|
2549
2662
|
parameters:
|
|
@@ -2571,6 +2684,8 @@ paths:
|
|
|
2571
2684
|
get:
|
|
2572
2685
|
summary: List all files in a revision
|
|
2573
2686
|
operationId: listFilesInRevisionById
|
|
2687
|
+
tags:
|
|
2688
|
+
- revisions
|
|
2574
2689
|
security:
|
|
2575
2690
|
- user: []
|
|
2576
2691
|
parameters:
|
|
@@ -2602,6 +2717,8 @@ paths:
|
|
|
2602
2717
|
get:
|
|
2603
2718
|
summary: Get a file in a revision by its ID
|
|
2604
2719
|
operationId: getFileInRevisionById
|
|
2720
|
+
tags:
|
|
2721
|
+
- revisions
|
|
2605
2722
|
security:
|
|
2606
2723
|
- user: []
|
|
2607
2724
|
parameters:
|
|
@@ -2623,6 +2740,8 @@ paths:
|
|
|
2623
2740
|
get:
|
|
2624
2741
|
operationId: getPageInRevisionById
|
|
2625
2742
|
summary: Get a page by its ID in a revision.
|
|
2743
|
+
tags:
|
|
2744
|
+
- revisions
|
|
2626
2745
|
security:
|
|
2627
2746
|
- user: []
|
|
2628
2747
|
parameters:
|
|
@@ -2645,6 +2764,8 @@ paths:
|
|
|
2645
2764
|
get:
|
|
2646
2765
|
operationId: getPageInRevisionByPath
|
|
2647
2766
|
summary: Get a page by its path in a revision.
|
|
2767
|
+
tags:
|
|
2768
|
+
- revisions
|
|
2648
2769
|
security:
|
|
2649
2770
|
- user: []
|
|
2650
2771
|
parameters:
|
|
@@ -2667,8 +2788,10 @@ paths:
|
|
|
2667
2788
|
$ref: "#/components/responses/UnexpectedError"
|
|
2668
2789
|
"/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}":
|
|
2669
2790
|
get:
|
|
2670
|
-
summary: Get
|
|
2791
|
+
summary: Get reusable content in a revision by its ID
|
|
2671
2792
|
operationId: getReusableContentInRevisionById
|
|
2793
|
+
tags:
|
|
2794
|
+
- revisions
|
|
2672
2795
|
security:
|
|
2673
2796
|
- user: []
|
|
2674
2797
|
parameters:
|
|
@@ -2691,7 +2814,7 @@ paths:
|
|
|
2691
2814
|
operationId: listCommentsInSpace
|
|
2692
2815
|
summary: List all the comments in a space.
|
|
2693
2816
|
tags:
|
|
2694
|
-
-
|
|
2817
|
+
- comments
|
|
2695
2818
|
security:
|
|
2696
2819
|
- user: []
|
|
2697
2820
|
parameters:
|
|
@@ -2724,7 +2847,7 @@ paths:
|
|
|
2724
2847
|
operationId: postCommentInSpace
|
|
2725
2848
|
summary: Post a new comment in a space.
|
|
2726
2849
|
tags:
|
|
2727
|
-
-
|
|
2850
|
+
- comments
|
|
2728
2851
|
security:
|
|
2729
2852
|
- user: []
|
|
2730
2853
|
parameters:
|
|
@@ -2749,7 +2872,7 @@ paths:
|
|
|
2749
2872
|
operationId: getCommentInSpace
|
|
2750
2873
|
summary: Get a comment in a space.
|
|
2751
2874
|
tags:
|
|
2752
|
-
-
|
|
2875
|
+
- comments
|
|
2753
2876
|
security:
|
|
2754
2877
|
- user: []
|
|
2755
2878
|
parameters:
|
|
@@ -2769,7 +2892,7 @@ paths:
|
|
|
2769
2892
|
operationId: deleteCommentInSpace
|
|
2770
2893
|
summary: Delete a comment in a space.
|
|
2771
2894
|
tags:
|
|
2772
|
-
-
|
|
2895
|
+
- comments
|
|
2773
2896
|
security:
|
|
2774
2897
|
- user: []
|
|
2775
2898
|
parameters:
|
|
@@ -2810,7 +2933,7 @@ paths:
|
|
|
2810
2933
|
operationId: listCommentRepliesInSpace
|
|
2811
2934
|
summary: List all the replies to a comment in a space.
|
|
2812
2935
|
tags:
|
|
2813
|
-
-
|
|
2936
|
+
- comments
|
|
2814
2937
|
security:
|
|
2815
2938
|
- user: []
|
|
2816
2939
|
parameters:
|
|
@@ -2841,7 +2964,7 @@ paths:
|
|
|
2841
2964
|
operationId: postCommentReplyInSpace
|
|
2842
2965
|
summary: Post a new reply to a comment in a space.
|
|
2843
2966
|
tags:
|
|
2844
|
-
-
|
|
2967
|
+
- comments
|
|
2845
2968
|
security:
|
|
2846
2969
|
- user: []
|
|
2847
2970
|
parameters:
|
|
@@ -2867,7 +2990,7 @@ paths:
|
|
|
2867
2990
|
operationId: getCommentReplyInSpace
|
|
2868
2991
|
summary: Get a comment reply in a space.
|
|
2869
2992
|
tags:
|
|
2870
|
-
-
|
|
2993
|
+
- comments
|
|
2871
2994
|
security:
|
|
2872
2995
|
- user: []
|
|
2873
2996
|
parameters:
|
|
@@ -2888,7 +3011,7 @@ paths:
|
|
|
2888
3011
|
operationId: updateCommentReplyInSpace
|
|
2889
3012
|
summary: Update a comment reply in a space.
|
|
2890
3013
|
tags:
|
|
2891
|
-
-
|
|
3014
|
+
- comments
|
|
2892
3015
|
security:
|
|
2893
3016
|
- user: []
|
|
2894
3017
|
parameters:
|
|
@@ -2914,7 +3037,7 @@ paths:
|
|
|
2914
3037
|
operationId: deleteCommentReplyInSpace
|
|
2915
3038
|
summary: Delete a comment reply in a space.
|
|
2916
3039
|
tags:
|
|
2917
|
-
-
|
|
3040
|
+
- comments
|
|
2918
3041
|
security:
|
|
2919
3042
|
- user: []
|
|
2920
3043
|
parameters:
|
|
@@ -3695,6 +3818,11 @@ paths:
|
|
|
3695
3818
|
description: If true, returns only integrations with blocks. If false, returns only integrations without blocks.
|
|
3696
3819
|
schema:
|
|
3697
3820
|
type: boolean
|
|
3821
|
+
- name: contentSources
|
|
3822
|
+
in: query
|
|
3823
|
+
description: If true, returns only integrations with contentSources. If false, returns only integrations without contentSources.
|
|
3824
|
+
schema:
|
|
3825
|
+
type: boolean
|
|
3698
3826
|
responses:
|
|
3699
3827
|
"200":
|
|
3700
3828
|
description: Paginated list of integrations
|
|
@@ -3990,6 +4118,8 @@ paths:
|
|
|
3990
4118
|
get:
|
|
3991
4119
|
operationId: renderIntegrationUIWithGet
|
|
3992
4120
|
summary: Render an integration UI in the context of an installation.
|
|
4121
|
+
tags:
|
|
4122
|
+
- integrations
|
|
3993
4123
|
parameters:
|
|
3994
4124
|
- $ref: "#/components/parameters/integrationName"
|
|
3995
4125
|
- name: request
|
|
@@ -4014,6 +4144,8 @@ paths:
|
|
|
4014
4144
|
post:
|
|
4015
4145
|
operationId: renderIntegrationUIWithPost
|
|
4016
4146
|
summary: Render an integration UI in the context of an installation.
|
|
4147
|
+
tags:
|
|
4148
|
+
- integrations
|
|
4017
4149
|
parameters:
|
|
4018
4150
|
- $ref: "#/components/parameters/integrationName"
|
|
4019
4151
|
responses:
|
|
@@ -4263,6 +4395,8 @@ paths:
|
|
|
4263
4395
|
patch:
|
|
4264
4396
|
operationId: updateIntegrationSpaceInstallation
|
|
4265
4397
|
summary: Update external IDs and configurations of an integration's installation for a space
|
|
4398
|
+
tags:
|
|
4399
|
+
- integrations
|
|
4266
4400
|
parameters:
|
|
4267
4401
|
- $ref: "#/components/parameters/integrationName"
|
|
4268
4402
|
- $ref: "#/components/parameters/installationId"
|
|
@@ -4291,6 +4425,8 @@ paths:
|
|
|
4291
4425
|
delete:
|
|
4292
4426
|
operationId: uninstallIntegrationFromSpace
|
|
4293
4427
|
summary: Uninstall the integration from a space
|
|
4428
|
+
tags:
|
|
4429
|
+
- integrations
|
|
4294
4430
|
parameters:
|
|
4295
4431
|
- $ref: "#/components/parameters/integrationName"
|
|
4296
4432
|
- $ref: "#/components/parameters/installationId"
|
|
@@ -4407,6 +4543,8 @@ paths:
|
|
|
4407
4543
|
patch:
|
|
4408
4544
|
operationId: updateIntegrationSiteInstallation
|
|
4409
4545
|
summary: Update external IDs and configurations of an integration's installation for a site
|
|
4546
|
+
tags:
|
|
4547
|
+
- integrations
|
|
4410
4548
|
parameters:
|
|
4411
4549
|
- $ref: "#/components/parameters/integrationName"
|
|
4412
4550
|
- $ref: "#/components/parameters/installationId"
|
|
@@ -4435,6 +4573,8 @@ paths:
|
|
|
4435
4573
|
delete:
|
|
4436
4574
|
operationId: uninstallIntegrationFromSite
|
|
4437
4575
|
summary: Uninstall the integration from a site
|
|
4576
|
+
tags:
|
|
4577
|
+
- integrations
|
|
4438
4578
|
parameters:
|
|
4439
4579
|
- $ref: "#/components/parameters/integrationName"
|
|
4440
4580
|
- $ref: "#/components/parameters/installationId"
|
|
@@ -4473,32 +4613,6 @@ paths:
|
|
|
4473
4613
|
- items
|
|
4474
4614
|
default:
|
|
4475
4615
|
$ref: "#/components/responses/UnexpectedError"
|
|
4476
|
-
post:
|
|
4477
|
-
operationId: createOrganization
|
|
4478
|
-
summary: Create an organization
|
|
4479
|
-
tags:
|
|
4480
|
-
- organizations
|
|
4481
|
-
security:
|
|
4482
|
-
- user-internal: []
|
|
4483
|
-
requestBody:
|
|
4484
|
-
content:
|
|
4485
|
-
application/json:
|
|
4486
|
-
schema:
|
|
4487
|
-
$ref: "#/components/schemas/CreateOrganization"
|
|
4488
|
-
responses:
|
|
4489
|
-
"201":
|
|
4490
|
-
description: Organization created
|
|
4491
|
-
headers:
|
|
4492
|
-
Location:
|
|
4493
|
-
description: API URL for the newly created organization
|
|
4494
|
-
schema:
|
|
4495
|
-
type: string
|
|
4496
|
-
content:
|
|
4497
|
-
application/json:
|
|
4498
|
-
schema:
|
|
4499
|
-
$ref: "#/components/schemas/Organization"
|
|
4500
|
-
default:
|
|
4501
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
4502
4616
|
"/orgs/{organizationId}":
|
|
4503
4617
|
get:
|
|
4504
4618
|
operationId: getOrganizationById
|
|
@@ -4520,23 +4634,6 @@ paths:
|
|
|
4520
4634
|
$ref: "#/components/responses/NotFoundError"
|
|
4521
4635
|
default:
|
|
4522
4636
|
$ref: "#/components/responses/UnexpectedError"
|
|
4523
|
-
delete:
|
|
4524
|
-
operationId: deleteOrganizationById
|
|
4525
|
-
summary: Delete an organization by its ID
|
|
4526
|
-
tags:
|
|
4527
|
-
- organizations
|
|
4528
|
-
security:
|
|
4529
|
-
- user-internal: []
|
|
4530
|
-
parameters:
|
|
4531
|
-
- $ref: "#/components/parameters/organizationId"
|
|
4532
|
-
responses:
|
|
4533
|
-
"205":
|
|
4534
|
-
description: The organization has been successfully deleted
|
|
4535
|
-
"404":
|
|
4536
|
-
description: No matching organization found for given id
|
|
4537
|
-
$ref: "#/components/responses/NotFoundError"
|
|
4538
|
-
default:
|
|
4539
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
4540
4637
|
patch:
|
|
4541
4638
|
operationId: updateOrganizationById
|
|
4542
4639
|
summary: Update an organization by its ID
|
|
@@ -4593,28 +4690,6 @@ paths:
|
|
|
4593
4690
|
$ref: "#/components/responses/BadRequestError"
|
|
4594
4691
|
default:
|
|
4595
4692
|
$ref: "#/components/responses/UnexpectedError"
|
|
4596
|
-
"/orgs/{organizationId}/content":
|
|
4597
|
-
get:
|
|
4598
|
-
operationId: getOrganizationAllContent
|
|
4599
|
-
summary: List all content in an organization
|
|
4600
|
-
description: |
|
|
4601
|
-
Lists all spaces, collections, sites accessible by current user in the current organization. This endpoint is internal for now as the data structure is optimized for the sidebar.
|
|
4602
|
-
tags:
|
|
4603
|
-
- organizations
|
|
4604
|
-
- critical
|
|
4605
|
-
security:
|
|
4606
|
-
- user-internal: []
|
|
4607
|
-
parameters:
|
|
4608
|
-
- $ref: "#/components/parameters/organizationId"
|
|
4609
|
-
responses:
|
|
4610
|
-
"200":
|
|
4611
|
-
description: OK
|
|
4612
|
-
content:
|
|
4613
|
-
application/json:
|
|
4614
|
-
schema:
|
|
4615
|
-
$ref: "#/components/schemas/OrganizationAllContent"
|
|
4616
|
-
default:
|
|
4617
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
4618
4693
|
"/orgs/{organizationId}/members":
|
|
4619
4694
|
get:
|
|
4620
4695
|
operationId: listMembersInOrganizationById
|
|
@@ -5177,48 +5252,6 @@ paths:
|
|
|
5177
5252
|
properties: {}
|
|
5178
5253
|
default:
|
|
5179
5254
|
$ref: "#/components/responses/UnexpectedError"
|
|
5180
|
-
"/orgs/{organizationId}/content-link-invites":
|
|
5181
|
-
get:
|
|
5182
|
-
operationId: listOrganizationContentInviteLinks
|
|
5183
|
-
summary: List invite links to content in an organization
|
|
5184
|
-
tags:
|
|
5185
|
-
- organizations
|
|
5186
|
-
security:
|
|
5187
|
-
- user-internal: []
|
|
5188
|
-
parameters:
|
|
5189
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5190
|
-
- $ref: "#/components/parameters/listPage"
|
|
5191
|
-
- $ref: "#/components/parameters/listLimit"
|
|
5192
|
-
- name: space
|
|
5193
|
-
in: query
|
|
5194
|
-
description: If specified, only return invite links that provide specific permissions on the given space.
|
|
5195
|
-
schema:
|
|
5196
|
-
type: string
|
|
5197
|
-
- name: collection
|
|
5198
|
-
in: query
|
|
5199
|
-
description: If specified, only return invite links that provide permissions on the given collection.
|
|
5200
|
-
schema:
|
|
5201
|
-
type: string
|
|
5202
|
-
responses:
|
|
5203
|
-
"200":
|
|
5204
|
-
description: List of invite links to content in the organization.
|
|
5205
|
-
content:
|
|
5206
|
-
application/json:
|
|
5207
|
-
schema:
|
|
5208
|
-
allOf:
|
|
5209
|
-
- $ref: "#/components/schemas/List"
|
|
5210
|
-
- type: object
|
|
5211
|
-
required:
|
|
5212
|
-
- items
|
|
5213
|
-
properties:
|
|
5214
|
-
items:
|
|
5215
|
-
type: array
|
|
5216
|
-
items:
|
|
5217
|
-
oneOf:
|
|
5218
|
-
- $ref: "#/components/schemas/InviteLinkToCollection"
|
|
5219
|
-
- $ref: "#/components/schemas/InviteLinkToSpace"
|
|
5220
|
-
default:
|
|
5221
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5222
5255
|
"/orgs/{organizationId}/link-invites":
|
|
5223
5256
|
get:
|
|
5224
5257
|
operationId: listOrganizationInviteLinks
|
|
@@ -5328,268 +5361,56 @@ paths:
|
|
|
5328
5361
|
description: The organization invite has been deleted
|
|
5329
5362
|
default:
|
|
5330
5363
|
$ref: "#/components/responses/UnexpectedError"
|
|
5331
|
-
"/orgs/{organizationId}/
|
|
5332
|
-
|
|
5333
|
-
operationId:
|
|
5334
|
-
summary:
|
|
5364
|
+
"/orgs/{organizationId}/search":
|
|
5365
|
+
get:
|
|
5366
|
+
operationId: searchOrganizationContent
|
|
5367
|
+
summary: Search content in an organization
|
|
5335
5368
|
tags:
|
|
5336
5369
|
- organizations
|
|
5337
5370
|
security:
|
|
5338
|
-
- user
|
|
5371
|
+
- user: []
|
|
5339
5372
|
parameters:
|
|
5373
|
+
- name: query
|
|
5374
|
+
in: query
|
|
5375
|
+
required: true
|
|
5376
|
+
schema:
|
|
5377
|
+
type: string
|
|
5378
|
+
maxLength: 512
|
|
5340
5379
|
- $ref: "#/components/parameters/organizationId"
|
|
5341
|
-
- $ref: "#/components/parameters/
|
|
5342
|
-
- $ref: "#/components/parameters/
|
|
5380
|
+
- $ref: "#/components/parameters/listPage"
|
|
5381
|
+
- $ref: "#/components/parameters/listLimit"
|
|
5343
5382
|
responses:
|
|
5344
5383
|
"200":
|
|
5345
5384
|
description: OK
|
|
5346
5385
|
content:
|
|
5347
5386
|
application/json:
|
|
5348
5387
|
schema:
|
|
5349
|
-
|
|
5388
|
+
allOf:
|
|
5389
|
+
- $ref: "#/components/schemas/List"
|
|
5390
|
+
- type: object
|
|
5391
|
+
required:
|
|
5392
|
+
- items
|
|
5393
|
+
properties:
|
|
5394
|
+
items:
|
|
5395
|
+
type: array
|
|
5396
|
+
items:
|
|
5397
|
+
$ref: "#/components/schemas/SearchSpaceResult"
|
|
5350
5398
|
default:
|
|
5351
5399
|
$ref: "#/components/responses/UnexpectedError"
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
"/orgs/{organizationId}/billing/migrate":
|
|
5359
|
-
post:
|
|
5360
|
-
operationId: migrateOrganizationPlan
|
|
5361
|
-
summary: Migrate an organization's legacy billing plan to new pricing
|
|
5400
|
+
"/orgs/{organizationId}/spaces":
|
|
5401
|
+
get:
|
|
5402
|
+
operationId: listSpacesInOrganizationById
|
|
5403
|
+
summary: List organization spaces
|
|
5404
|
+
description: |
|
|
5405
|
+
Lists spaces for the specified organization.
|
|
5362
5406
|
tags:
|
|
5363
5407
|
- organizations
|
|
5364
5408
|
security:
|
|
5365
|
-
- user
|
|
5409
|
+
- user: []
|
|
5366
5410
|
parameters:
|
|
5367
5411
|
- $ref: "#/components/parameters/organizationId"
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
content:
|
|
5371
|
-
application/json:
|
|
5372
|
-
schema:
|
|
5373
|
-
$ref: "#/components/schemas/MigrateOrganizationParameters"
|
|
5374
|
-
responses:
|
|
5375
|
-
"205":
|
|
5376
|
-
description: Organization migrated to new pricing
|
|
5377
|
-
default:
|
|
5378
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5379
|
-
"/orgs/{organizationId}/billing/migrate/preview":
|
|
5380
|
-
post:
|
|
5381
|
-
operationId: previewMigrateOrganizationPlan
|
|
5382
|
-
summary: Preview a migration of an organization to new pricing.
|
|
5383
|
-
tags:
|
|
5384
|
-
- organizations
|
|
5385
|
-
security:
|
|
5386
|
-
- user-internal: []
|
|
5387
|
-
parameters:
|
|
5388
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5389
|
-
requestBody:
|
|
5390
|
-
required: true
|
|
5391
|
-
content:
|
|
5392
|
-
application/json:
|
|
5393
|
-
schema:
|
|
5394
|
-
$ref: "#/components/schemas/MigrateOrganizationParameters"
|
|
5395
|
-
responses:
|
|
5396
|
-
"200":
|
|
5397
|
-
description: OK
|
|
5398
|
-
content:
|
|
5399
|
-
application/json:
|
|
5400
|
-
schema:
|
|
5401
|
-
type: object
|
|
5402
|
-
properties:
|
|
5403
|
-
totals:
|
|
5404
|
-
type: object
|
|
5405
|
-
properties:
|
|
5406
|
-
members:
|
|
5407
|
-
description: Count of all members
|
|
5408
|
-
type: number
|
|
5409
|
-
premiumSites:
|
|
5410
|
-
description: Count of all premium sites
|
|
5411
|
-
type: number
|
|
5412
|
-
ultimateSites:
|
|
5413
|
-
description: Count of all ultimate sites
|
|
5414
|
-
type: number
|
|
5415
|
-
required:
|
|
5416
|
-
- members
|
|
5417
|
-
- premiumSites
|
|
5418
|
-
- ultimateSites
|
|
5419
|
-
invoice:
|
|
5420
|
-
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
5421
|
-
discount:
|
|
5422
|
-
$ref: "#/components/schemas/BillingDiscount"
|
|
5423
|
-
required:
|
|
5424
|
-
- totals
|
|
5425
|
-
default:
|
|
5426
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5427
|
-
"/orgs/{organizationId}/billing/migrate/sites":
|
|
5428
|
-
get:
|
|
5429
|
-
operationId: listSitesToMigrate
|
|
5430
|
-
summary: Lists all legacy sites of an org and computes their new type and contributing features
|
|
5431
|
-
tags:
|
|
5432
|
-
- organizations
|
|
5433
|
-
- sites
|
|
5434
|
-
security:
|
|
5435
|
-
- user-internal: []
|
|
5436
|
-
parameters:
|
|
5437
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5438
|
-
- $ref: "#/components/parameters/listPage"
|
|
5439
|
-
- $ref: "#/components/parameters/listLimit"
|
|
5440
|
-
responses:
|
|
5441
|
-
"200":
|
|
5442
|
-
description: OK
|
|
5443
|
-
content:
|
|
5444
|
-
application/json:
|
|
5445
|
-
schema:
|
|
5446
|
-
allOf:
|
|
5447
|
-
- $ref: "#/components/schemas/List"
|
|
5448
|
-
- type: object
|
|
5449
|
-
required:
|
|
5450
|
-
- items
|
|
5451
|
-
properties:
|
|
5452
|
-
items:
|
|
5453
|
-
type: array
|
|
5454
|
-
items:
|
|
5455
|
-
$ref: "#/components/schemas/SiteToMigrate"
|
|
5456
|
-
default:
|
|
5457
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5458
|
-
"/orgs/{organizationId}/billing/portal":
|
|
5459
|
-
get:
|
|
5460
|
-
operationId: getOrganizationBillingPortal
|
|
5461
|
-
summary: Get the billing portal for an organization
|
|
5462
|
-
tags:
|
|
5463
|
-
- organizations
|
|
5464
|
-
security:
|
|
5465
|
-
- user-internal: []
|
|
5466
|
-
parameters:
|
|
5467
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5468
|
-
responses:
|
|
5469
|
-
"200":
|
|
5470
|
-
description: OK
|
|
5471
|
-
content:
|
|
5472
|
-
application/json:
|
|
5473
|
-
schema:
|
|
5474
|
-
$ref: "#/components/schemas/BillingPortal"
|
|
5475
|
-
default:
|
|
5476
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5477
|
-
"/orgs/{organizationId}/billing/preview":
|
|
5478
|
-
get:
|
|
5479
|
-
operationId: previewBillingInvoice
|
|
5480
|
-
summary: Generates a billing invoice preview for organizations without an active subscription
|
|
5481
|
-
tags:
|
|
5482
|
-
- organizations
|
|
5483
|
-
security:
|
|
5484
|
-
- user-internal: []
|
|
5485
|
-
parameters:
|
|
5486
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5487
|
-
- name: interval
|
|
5488
|
-
in: query
|
|
5489
|
-
required: true
|
|
5490
|
-
description: The desired billing interval plan
|
|
5491
|
-
schema:
|
|
5492
|
-
$ref: "#/components/schemas/BillingInterval"
|
|
5493
|
-
- name: product
|
|
5494
|
-
in: query
|
|
5495
|
-
required: true
|
|
5496
|
-
description: The desired core plan
|
|
5497
|
-
schema:
|
|
5498
|
-
$ref: "#/components/schemas/BillingProduct"
|
|
5499
|
-
- name: members
|
|
5500
|
-
in: query
|
|
5501
|
-
description: The desired amount of members in the organization
|
|
5502
|
-
schema:
|
|
5503
|
-
type: number
|
|
5504
|
-
- name: premiumSites
|
|
5505
|
-
in: query
|
|
5506
|
-
description: The desired amount of published premium sites
|
|
5507
|
-
schema:
|
|
5508
|
-
type: number
|
|
5509
|
-
- name: ultimateSites
|
|
5510
|
-
in: query
|
|
5511
|
-
description: The desired amount of published ultimate sites
|
|
5512
|
-
schema:
|
|
5513
|
-
type: number
|
|
5514
|
-
responses:
|
|
5515
|
-
"200":
|
|
5516
|
-
description: OK
|
|
5517
|
-
content:
|
|
5518
|
-
application/json:
|
|
5519
|
-
schema:
|
|
5520
|
-
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
5521
|
-
default:
|
|
5522
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5523
|
-
"/orgs/{organizationId}/request_upgrade":
|
|
5524
|
-
post:
|
|
5525
|
-
operationId: requestOrganizationUpgrade
|
|
5526
|
-
summary: Send a request to ask the organization's admin to upgrade it.
|
|
5527
|
-
tags:
|
|
5528
|
-
- organizations
|
|
5529
|
-
security:
|
|
5530
|
-
- user-internal: []
|
|
5531
|
-
parameters:
|
|
5532
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5533
|
-
responses:
|
|
5534
|
-
"200":
|
|
5535
|
-
description: OK
|
|
5536
|
-
content:
|
|
5537
|
-
application/json:
|
|
5538
|
-
schema:
|
|
5539
|
-
type: object
|
|
5540
|
-
properties: {}
|
|
5541
|
-
default:
|
|
5542
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5543
|
-
"/orgs/{organizationId}/search":
|
|
5544
|
-
get:
|
|
5545
|
-
operationId: searchOrganizationContent
|
|
5546
|
-
summary: Search content in an organization
|
|
5547
|
-
tags:
|
|
5548
|
-
- organizations
|
|
5549
|
-
security:
|
|
5550
|
-
- user: []
|
|
5551
|
-
parameters:
|
|
5552
|
-
- name: query
|
|
5553
|
-
in: query
|
|
5554
|
-
required: true
|
|
5555
|
-
schema:
|
|
5556
|
-
type: string
|
|
5557
|
-
maxLength: 512
|
|
5558
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5559
|
-
- $ref: "#/components/parameters/listPage"
|
|
5560
|
-
- $ref: "#/components/parameters/listLimit"
|
|
5561
|
-
responses:
|
|
5562
|
-
"200":
|
|
5563
|
-
description: OK
|
|
5564
|
-
content:
|
|
5565
|
-
application/json:
|
|
5566
|
-
schema:
|
|
5567
|
-
allOf:
|
|
5568
|
-
- $ref: "#/components/schemas/List"
|
|
5569
|
-
- type: object
|
|
5570
|
-
required:
|
|
5571
|
-
- items
|
|
5572
|
-
properties:
|
|
5573
|
-
items:
|
|
5574
|
-
type: array
|
|
5575
|
-
items:
|
|
5576
|
-
$ref: "#/components/schemas/SearchSpaceResult"
|
|
5577
|
-
default:
|
|
5578
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5579
|
-
"/orgs/{organizationId}/spaces":
|
|
5580
|
-
get:
|
|
5581
|
-
operationId: listSpacesInOrganizationById
|
|
5582
|
-
summary: List organization spaces
|
|
5583
|
-
description: |
|
|
5584
|
-
Lists spaces for the specified organization.
|
|
5585
|
-
tags:
|
|
5586
|
-
- organizations
|
|
5587
|
-
security:
|
|
5588
|
-
- user: []
|
|
5589
|
-
parameters:
|
|
5590
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5591
|
-
- $ref: "#/components/parameters/listPage"
|
|
5592
|
-
- $ref: "#/components/parameters/listLimit"
|
|
5412
|
+
- $ref: "#/components/parameters/listPage"
|
|
5413
|
+
- $ref: "#/components/parameters/listLimit"
|
|
5593
5414
|
responses:
|
|
5594
5415
|
"200":
|
|
5595
5416
|
description: OK
|
|
@@ -6178,180 +5999,12 @@ paths:
|
|
|
6178
5999
|
$ref: "#/components/schemas/OrganizationSSOProviderLogin"
|
|
6179
6000
|
default:
|
|
6180
6001
|
$ref: "#/components/responses/UnexpectedError"
|
|
6181
|
-
"/orgs/{organizationId}/usage":
|
|
6182
|
-
get:
|
|
6183
|
-
operationId: getUsageForOrganizationById
|
|
6184
|
-
summary: Get all usage metrics for an organization
|
|
6185
|
-
tags:
|
|
6186
|
-
- organizations
|
|
6187
|
-
- usage
|
|
6188
|
-
security:
|
|
6189
|
-
- user-internal: []
|
|
6190
|
-
parameters:
|
|
6191
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6192
|
-
responses:
|
|
6193
|
-
"200":
|
|
6194
|
-
description: OK
|
|
6195
|
-
content:
|
|
6196
|
-
application/json:
|
|
6197
|
-
schema:
|
|
6198
|
-
$ref: "#/components/schemas/OrganizationUsage"
|
|
6199
|
-
default:
|
|
6200
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6201
|
-
"/orgs/{organizationId}/usage/collections":
|
|
6202
|
-
get:
|
|
6203
|
-
operationId: getCollectionsUsageForOrganizationById
|
|
6204
|
-
summary: Get collections usage metrics for an organization
|
|
6205
|
-
tags:
|
|
6206
|
-
- organizations
|
|
6207
|
-
- usage
|
|
6208
|
-
security:
|
|
6209
|
-
- user-internal: []
|
|
6210
|
-
parameters:
|
|
6211
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6212
|
-
responses:
|
|
6213
|
-
"200":
|
|
6214
|
-
description: OK
|
|
6215
|
-
content:
|
|
6216
|
-
application/json:
|
|
6217
|
-
schema:
|
|
6218
|
-
type: object
|
|
6219
|
-
properties:
|
|
6220
|
-
collections:
|
|
6221
|
-
$ref: "#/components/schemas/OrganizationUsageCollections"
|
|
6222
|
-
required:
|
|
6223
|
-
- collections
|
|
6224
|
-
default:
|
|
6225
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6226
|
-
"/orgs/{organizationId}/usage/spaces":
|
|
6227
|
-
get:
|
|
6228
|
-
operationId: getSpacesUsageForOrganizationById
|
|
6229
|
-
summary: Get spaces usage metrics for an organization
|
|
6230
|
-
tags:
|
|
6231
|
-
- organizations
|
|
6232
|
-
- usage
|
|
6233
|
-
security:
|
|
6234
|
-
- user-internal: []
|
|
6235
|
-
parameters:
|
|
6236
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6237
|
-
responses:
|
|
6238
|
-
"200":
|
|
6239
|
-
description: OK
|
|
6240
|
-
content:
|
|
6241
|
-
application/json:
|
|
6242
|
-
schema:
|
|
6243
|
-
type: object
|
|
6244
|
-
properties:
|
|
6245
|
-
spaces:
|
|
6246
|
-
$ref: "#/components/schemas/OrganizationUsageSpaces"
|
|
6247
|
-
required:
|
|
6248
|
-
- spaces
|
|
6249
|
-
default:
|
|
6250
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6251
|
-
"/orgs/{organizationId}/usage/sites":
|
|
6252
|
-
get:
|
|
6253
|
-
operationId: getSitesUsageForOrganizationById
|
|
6254
|
-
summary: Get sites usage metrics for an organization
|
|
6255
|
-
tags:
|
|
6256
|
-
- organizations
|
|
6257
|
-
- usage
|
|
6258
|
-
security:
|
|
6259
|
-
- user-internal: []
|
|
6260
|
-
parameters:
|
|
6261
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6262
|
-
responses:
|
|
6263
|
-
"200":
|
|
6264
|
-
description: OK
|
|
6265
|
-
content:
|
|
6266
|
-
application/json:
|
|
6267
|
-
schema:
|
|
6268
|
-
type: object
|
|
6269
|
-
properties:
|
|
6270
|
-
sites:
|
|
6271
|
-
$ref: "#/components/schemas/OrganizationUsageSites"
|
|
6272
|
-
required:
|
|
6273
|
-
- sites
|
|
6274
|
-
default:
|
|
6275
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6276
|
-
"/orgs/{organizationId}/usage/teams":
|
|
6277
|
-
get:
|
|
6278
|
-
operationId: getTeamsUsageForOrganizationById
|
|
6279
|
-
summary: Get teams usage metrics for an organization
|
|
6280
|
-
tags:
|
|
6281
|
-
- organizations
|
|
6282
|
-
- usage
|
|
6283
|
-
security:
|
|
6284
|
-
- user-internal: []
|
|
6285
|
-
parameters:
|
|
6286
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6287
|
-
responses:
|
|
6288
|
-
"200":
|
|
6289
|
-
description: OK
|
|
6290
|
-
content:
|
|
6291
|
-
application/json:
|
|
6292
|
-
schema:
|
|
6293
|
-
type: object
|
|
6294
|
-
properties:
|
|
6295
|
-
teams:
|
|
6296
|
-
$ref: "#/components/schemas/OrganizationUsageTeams"
|
|
6297
|
-
required:
|
|
6298
|
-
- teams
|
|
6299
|
-
default:
|
|
6300
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6301
|
-
"/orgs/{organizationId}/usage/members":
|
|
6302
|
-
get:
|
|
6303
|
-
operationId: getMembersUsageForOrganizationById
|
|
6304
|
-
summary: Get members usage metrics for an organization
|
|
6305
|
-
tags:
|
|
6306
|
-
- organizations
|
|
6307
|
-
- usage
|
|
6308
|
-
security:
|
|
6309
|
-
- user-internal: []
|
|
6310
|
-
parameters:
|
|
6311
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6312
|
-
responses:
|
|
6313
|
-
"200":
|
|
6314
|
-
description: OK
|
|
6315
|
-
content:
|
|
6316
|
-
application/json:
|
|
6317
|
-
schema:
|
|
6318
|
-
type: object
|
|
6319
|
-
properties:
|
|
6320
|
-
members:
|
|
6321
|
-
$ref: "#/components/schemas/OrganizationUsageMembers"
|
|
6322
|
-
required:
|
|
6323
|
-
- members
|
|
6324
|
-
default:
|
|
6325
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6326
|
-
"/orgs/{organizationId}/usage/team-members":
|
|
6327
|
-
get:
|
|
6328
|
-
operationId: getTeamMembersUsageForOrganizationById
|
|
6329
|
-
summary: Get team members usage metrics for an organization
|
|
6330
|
-
tags:
|
|
6331
|
-
- organizations
|
|
6332
|
-
- usage
|
|
6333
|
-
security:
|
|
6334
|
-
- user-internal: []
|
|
6335
|
-
parameters:
|
|
6336
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6337
|
-
responses:
|
|
6338
|
-
"200":
|
|
6339
|
-
description: OK
|
|
6340
|
-
content:
|
|
6341
|
-
application/json:
|
|
6342
|
-
schema:
|
|
6343
|
-
type: object
|
|
6344
|
-
properties:
|
|
6345
|
-
teamMembers:
|
|
6346
|
-
$ref: "#/components/schemas/OrganizationUsageTeamMembers"
|
|
6347
|
-
required:
|
|
6348
|
-
- teamMembers
|
|
6349
|
-
default:
|
|
6350
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6351
6002
|
"/orgs/{organizationId}/ask":
|
|
6352
6003
|
post:
|
|
6353
6004
|
operationId: askInOrganization
|
|
6354
6005
|
summary: Ask a question.
|
|
6006
|
+
tags:
|
|
6007
|
+
- search
|
|
6355
6008
|
security:
|
|
6356
6009
|
- user: []
|
|
6357
6010
|
parameters:
|
|
@@ -6384,6 +6037,8 @@ paths:
|
|
|
6384
6037
|
get:
|
|
6385
6038
|
operationId: getRecommendedQuestionsInOrganization
|
|
6386
6039
|
summary: Get a list of questions recommended to be asked in an organization.
|
|
6040
|
+
tags:
|
|
6041
|
+
- search
|
|
6387
6042
|
parameters:
|
|
6388
6043
|
- $ref: "#/components/parameters/organizationId"
|
|
6389
6044
|
security:
|
|
@@ -6401,6 +6056,8 @@ paths:
|
|
|
6401
6056
|
get:
|
|
6402
6057
|
operationId: streamRecommendedQuestionsInOrganization
|
|
6403
6058
|
summary: Stream a list of questions recommended to be asked in an organization.
|
|
6059
|
+
tags:
|
|
6060
|
+
- search
|
|
6404
6061
|
parameters:
|
|
6405
6062
|
- $ref: "#/components/parameters/organizationId"
|
|
6406
6063
|
security:
|
|
@@ -6418,6 +6075,8 @@ paths:
|
|
|
6418
6075
|
get:
|
|
6419
6076
|
operationId: streamAskInOrganization
|
|
6420
6077
|
summary: Ask a question to an AI across spaces that is accessible by the currently authenticated target and stream the answer as a Server-Sent Events URL.
|
|
6078
|
+
tags:
|
|
6079
|
+
- search
|
|
6421
6080
|
security:
|
|
6422
6081
|
- user: []
|
|
6423
6082
|
parameters:
|
|
@@ -6546,31 +6205,6 @@ paths:
|
|
|
6546
6205
|
$ref: "#/components/schemas/Site"
|
|
6547
6206
|
default:
|
|
6548
6207
|
$ref: "#/components/responses/UnexpectedError"
|
|
6549
|
-
"/orgs/{organizationId}/sites/publishing/checkout":
|
|
6550
|
-
get:
|
|
6551
|
-
operationId: previewSitePublishCheckout
|
|
6552
|
-
summary: Preview checkout information upon publishing a site in the organization.
|
|
6553
|
-
tags:
|
|
6554
|
-
- sites
|
|
6555
|
-
security:
|
|
6556
|
-
- user-internal: []
|
|
6557
|
-
parameters:
|
|
6558
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6559
|
-
- in: query
|
|
6560
|
-
name: plan
|
|
6561
|
-
description: The plan of the site to preview the checkout information for.
|
|
6562
|
-
required: true
|
|
6563
|
-
schema:
|
|
6564
|
-
$ref: "#/components/schemas/SiteType"
|
|
6565
|
-
responses:
|
|
6566
|
-
"200":
|
|
6567
|
-
description: OK
|
|
6568
|
-
content:
|
|
6569
|
-
application/json:
|
|
6570
|
-
schema:
|
|
6571
|
-
$ref: "#/components/schemas/BillingOperationPreviewResponse"
|
|
6572
|
-
default:
|
|
6573
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6574
6208
|
"/orgs/{organizationId}/sites/{siteId}":
|
|
6575
6209
|
get:
|
|
6576
6210
|
operationId: getSiteById
|
|
@@ -6876,118 +6510,6 @@ paths:
|
|
|
6876
6510
|
$ref: "#/components/responses/NotFoundError"
|
|
6877
6511
|
default:
|
|
6878
6512
|
$ref: "#/components/responses/UnexpectedError"
|
|
6879
|
-
"/orgs/{organizationId}/sites/{siteId}/plan":
|
|
6880
|
-
post:
|
|
6881
|
-
operationId: updateSitePlan
|
|
6882
|
-
summary: Update the site plan.
|
|
6883
|
-
tags:
|
|
6884
|
-
- sites
|
|
6885
|
-
security:
|
|
6886
|
-
- user-internal: []
|
|
6887
|
-
parameters:
|
|
6888
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6889
|
-
- $ref: "#/components/parameters/siteId"
|
|
6890
|
-
- $ref: "#/components/parameters/successReturnURL"
|
|
6891
|
-
- $ref: "#/components/parameters/cancelReturnURL"
|
|
6892
|
-
requestBody:
|
|
6893
|
-
required: true
|
|
6894
|
-
content:
|
|
6895
|
-
application/json:
|
|
6896
|
-
schema:
|
|
6897
|
-
type: object
|
|
6898
|
-
properties:
|
|
6899
|
-
plan:
|
|
6900
|
-
$ref: "#/components/schemas/SiteType"
|
|
6901
|
-
interval:
|
|
6902
|
-
description: Desired interval for new subscriptions. Defaults to the existing billing interval.
|
|
6903
|
-
$ref: "#/components/schemas/BillingInterval"
|
|
6904
|
-
reason:
|
|
6905
|
-
type: string
|
|
6906
|
-
description: Reason that triggered the billing upgrade
|
|
6907
|
-
required:
|
|
6908
|
-
- plan
|
|
6909
|
-
responses:
|
|
6910
|
-
"200":
|
|
6911
|
-
description: OK
|
|
6912
|
-
content:
|
|
6913
|
-
application/json:
|
|
6914
|
-
schema:
|
|
6915
|
-
oneOf:
|
|
6916
|
-
- type: object
|
|
6917
|
-
required:
|
|
6918
|
-
- type
|
|
6919
|
-
- sessionId
|
|
6920
|
-
properties:
|
|
6921
|
-
type:
|
|
6922
|
-
description: User must checkout to complete the update.
|
|
6923
|
-
type: string
|
|
6924
|
-
enum:
|
|
6925
|
-
- checkout
|
|
6926
|
-
sessionId:
|
|
6927
|
-
type: string
|
|
6928
|
-
description: Stripe payment session ID
|
|
6929
|
-
- type: object
|
|
6930
|
-
required:
|
|
6931
|
-
- type
|
|
6932
|
-
- sessionId
|
|
6933
|
-
properties:
|
|
6934
|
-
type:
|
|
6935
|
-
description: User needs to go through the legacy update flow.
|
|
6936
|
-
type: string
|
|
6937
|
-
enum:
|
|
6938
|
-
- legacy-checkout
|
|
6939
|
-
sessionId:
|
|
6940
|
-
type: string
|
|
6941
|
-
description: Stripe payment session ID
|
|
6942
|
-
- type: object
|
|
6943
|
-
required:
|
|
6944
|
-
- type
|
|
6945
|
-
properties:
|
|
6946
|
-
type:
|
|
6947
|
-
description: The site plan was successfully updated.
|
|
6948
|
-
type: string
|
|
6949
|
-
enum:
|
|
6950
|
-
- success
|
|
6951
|
-
outcome:
|
|
6952
|
-
description: |
|
|
6953
|
-
* `upgraded`: Subscription was upgraded to include the site
|
|
6954
|
-
* `downgraded`: Subscription was downgraded by removing the site
|
|
6955
|
-
* `no-payment-changes`: No impact on subscription (e.g. trial, unpublished)
|
|
6956
|
-
type: string
|
|
6957
|
-
enum:
|
|
6958
|
-
- upgraded
|
|
6959
|
-
- downgraded
|
|
6960
|
-
- no-payment-changes
|
|
6961
|
-
default:
|
|
6962
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6963
|
-
get:
|
|
6964
|
-
operationId: previewSitePlanUpdate
|
|
6965
|
-
summary: Preview an upgrade to a site plan, returning checkout information.
|
|
6966
|
-
tags:
|
|
6967
|
-
- sites
|
|
6968
|
-
security:
|
|
6969
|
-
- user-internal: []
|
|
6970
|
-
parameters:
|
|
6971
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6972
|
-
- $ref: "#/components/parameters/siteId"
|
|
6973
|
-
- name: plan
|
|
6974
|
-
in: query
|
|
6975
|
-
required: true
|
|
6976
|
-
description: The desired site plan
|
|
6977
|
-
schema:
|
|
6978
|
-
$ref: "#/components/schemas/SiteType"
|
|
6979
|
-
responses:
|
|
6980
|
-
"200":
|
|
6981
|
-
description: OK
|
|
6982
|
-
content:
|
|
6983
|
-
application/json:
|
|
6984
|
-
schema:
|
|
6985
|
-
$ref: "#/components/schemas/BillingOperationPreviewResponse"
|
|
6986
|
-
"404":
|
|
6987
|
-
description: No matching site found
|
|
6988
|
-
$ref: "#/components/responses/NotFoundError"
|
|
6989
|
-
default:
|
|
6990
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6991
6513
|
"/orgs/{organizationId}/sites/{siteId}/publishing/auth":
|
|
6992
6514
|
get:
|
|
6993
6515
|
operationId: getSitePublishingAuthById
|
|
@@ -7146,28 +6668,6 @@ paths:
|
|
|
7146
6668
|
$ref: "#/components/responses/BadRequestError"
|
|
7147
6669
|
default:
|
|
7148
6670
|
$ref: "#/components/responses/UnexpectedError"
|
|
7149
|
-
"/orgs/{organizationId}/sites/{siteId}/customization/raw":
|
|
7150
|
-
get:
|
|
7151
|
-
operationId: getSiteRawCustomizationById
|
|
7152
|
-
summary: Get the raw customization settings of a site.
|
|
7153
|
-
tags:
|
|
7154
|
-
- sites
|
|
7155
|
-
security:
|
|
7156
|
-
- user-internal: []
|
|
7157
|
-
parameters:
|
|
7158
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7159
|
-
- $ref: "#/components/parameters/siteId"
|
|
7160
|
-
responses:
|
|
7161
|
-
"200":
|
|
7162
|
-
description: OK
|
|
7163
|
-
content:
|
|
7164
|
-
application/json:
|
|
7165
|
-
schema:
|
|
7166
|
-
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
7167
|
-
"400":
|
|
7168
|
-
$ref: "#/components/responses/BadRequestError"
|
|
7169
|
-
default:
|
|
7170
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7171
6671
|
"/orgs/{organizationId}/sites/{siteId}/integration-scripts":
|
|
7172
6672
|
get:
|
|
7173
6673
|
operationId: listSiteIntegrationScripts
|
|
@@ -7637,6 +7137,8 @@ paths:
|
|
|
7637
7137
|
post:
|
|
7638
7138
|
operationId: searchSiteContent
|
|
7639
7139
|
summary: Search content in a site
|
|
7140
|
+
tags:
|
|
7141
|
+
- sites
|
|
7640
7142
|
security:
|
|
7641
7143
|
- user: []
|
|
7642
7144
|
parameters:
|
|
@@ -7725,6 +7227,8 @@ paths:
|
|
|
7725
7227
|
post:
|
|
7726
7228
|
operationId: streamAskInSite
|
|
7727
7229
|
summary: Ask a question in a site. The response is streamed.
|
|
7230
|
+
tags:
|
|
7231
|
+
- search
|
|
7728
7232
|
security:
|
|
7729
7233
|
- user: []
|
|
7730
7234
|
parameters:
|
|
@@ -7766,6 +7270,8 @@ paths:
|
|
|
7766
7270
|
get:
|
|
7767
7271
|
operationId: streamRecommendedQuestionsInSite
|
|
7768
7272
|
summary: Stream a list of questions that can be asked in a site.
|
|
7273
|
+
tags:
|
|
7274
|
+
- search
|
|
7769
7275
|
security:
|
|
7770
7276
|
- user: []
|
|
7771
7277
|
parameters:
|
|
@@ -7952,6 +7458,14 @@ paths:
|
|
|
7952
7458
|
nullable: true
|
|
7953
7459
|
enum:
|
|
7954
7460
|
- null
|
|
7461
|
+
links:
|
|
7462
|
+
description: The style for links to use. Set to null to reset the override.
|
|
7463
|
+
oneOf:
|
|
7464
|
+
- $ref: "#/components/schemas/CustomizationLinksStyle"
|
|
7465
|
+
- type: string
|
|
7466
|
+
nullable: true
|
|
7467
|
+
enum:
|
|
7468
|
+
- null
|
|
7955
7469
|
font:
|
|
7956
7470
|
description: The font family to use for the content. Set to null to reset the override.
|
|
7957
7471
|
oneOf:
|
|
@@ -8209,30 +7723,6 @@ paths:
|
|
|
8209
7723
|
$ref: "#/components/responses/BadRequestError"
|
|
8210
7724
|
default:
|
|
8211
7725
|
$ref: "#/components/responses/UnexpectedError"
|
|
8212
|
-
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/customization/raw":
|
|
8213
|
-
get:
|
|
8214
|
-
operationId: getSiteSpaceRawCustomizationById
|
|
8215
|
-
summary: Get the raw customization settings of a site space.
|
|
8216
|
-
tags:
|
|
8217
|
-
- sites
|
|
8218
|
-
security:
|
|
8219
|
-
- user-internal: []
|
|
8220
|
-
parameters:
|
|
8221
|
-
- $ref: "#/components/parameters/organizationId"
|
|
8222
|
-
- $ref: "#/components/parameters/siteId"
|
|
8223
|
-
- $ref: "#/components/parameters/siteSpaceId"
|
|
8224
|
-
responses:
|
|
8225
|
-
"200":
|
|
8226
|
-
description: OK
|
|
8227
|
-
content:
|
|
8228
|
-
application/json:
|
|
8229
|
-
schema:
|
|
8230
|
-
allOf:
|
|
8231
|
-
- $ref: "#/components/schemas/SiteSpaceCustomizationSettings"
|
|
8232
|
-
"400":
|
|
8233
|
-
$ref: "#/components/responses/BadRequestError"
|
|
8234
|
-
default:
|
|
8235
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
8236
7726
|
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}/insights/content":
|
|
8237
7727
|
get:
|
|
8238
7728
|
operationId: getContentAnalyticsForSiteSpaceById
|
|
@@ -8520,98 +8010,30 @@ paths:
|
|
|
8520
8010
|
schema:
|
|
8521
8011
|
$ref: "#/components/schemas/SiteInsightsQueryEventsAggregation"
|
|
8522
8012
|
"/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments":
|
|
8523
|
-
get:
|
|
8524
|
-
operationId: listSiteVisitorSegments
|
|
8525
|
-
summary: List visitor segments in a site.
|
|
8526
|
-
tags:
|
|
8527
|
-
- sites
|
|
8528
|
-
parameters:
|
|
8529
|
-
- $ref: "#/components/parameters/organizationId"
|
|
8530
|
-
- $ref: "#/components/parameters/siteId"
|
|
8531
|
-
responses:
|
|
8532
|
-
"200":
|
|
8533
|
-
description: List of visitor segments in the site.
|
|
8534
|
-
content:
|
|
8535
|
-
application/json:
|
|
8536
|
-
schema:
|
|
8537
|
-
allOf:
|
|
8538
|
-
- $ref: "#/components/schemas/List"
|
|
8539
|
-
- type: object
|
|
8540
|
-
required:
|
|
8541
|
-
- items
|
|
8542
|
-
properties:
|
|
8543
|
-
items:
|
|
8544
|
-
type: array
|
|
8545
|
-
items:
|
|
8546
|
-
$ref: "#/components/schemas/SiteInsightsVisitorSegment"
|
|
8547
|
-
"/orgs/{organizationId}/sites/{siteId}/insights/ads":
|
|
8548
|
-
get:
|
|
8549
|
-
operationId: getAdsInsightsForSiteById
|
|
8550
|
-
summary: Get analytics insights of ads on a site.
|
|
8551
|
-
tags:
|
|
8552
|
-
- analytics
|
|
8553
|
-
- sites
|
|
8554
|
-
security:
|
|
8555
|
-
- user-internal: []
|
|
8556
|
-
parameters:
|
|
8557
|
-
- $ref: "#/components/parameters/organizationId"
|
|
8558
|
-
- $ref: "#/components/parameters/siteId"
|
|
8559
|
-
- name: interval
|
|
8560
|
-
in: query
|
|
8561
|
-
schema:
|
|
8562
|
-
$ref: "#/components/schemas/InsightsInterval"
|
|
8563
|
-
- name: start
|
|
8564
|
-
description: The earliest timestamp for any data returned
|
|
8565
|
-
in: query
|
|
8566
|
-
schema:
|
|
8567
|
-
type: string
|
|
8568
|
-
format: date-time
|
|
8569
|
-
- name: end
|
|
8570
|
-
description: The latest timestamp for any data returned
|
|
8571
|
-
in: query
|
|
8572
|
-
schema:
|
|
8573
|
-
type: string
|
|
8574
|
-
format: date-time
|
|
8013
|
+
get:
|
|
8014
|
+
operationId: listSiteVisitorSegments
|
|
8015
|
+
summary: List visitor segments in a site.
|
|
8016
|
+
tags:
|
|
8017
|
+
- sites
|
|
8018
|
+
parameters:
|
|
8019
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8020
|
+
- $ref: "#/components/parameters/siteId"
|
|
8575
8021
|
responses:
|
|
8576
8022
|
"200":
|
|
8577
|
-
description:
|
|
8023
|
+
description: List of visitor segments in the site.
|
|
8578
8024
|
content:
|
|
8579
8025
|
application/json:
|
|
8580
8026
|
schema:
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
type: array
|
|
8585
|
-
description: A time serie of the ads stats over the provided period
|
|
8586
|
-
items:
|
|
8587
|
-
type: object
|
|
8588
|
-
properties:
|
|
8589
|
-
date:
|
|
8590
|
-
description: The start date of this interval
|
|
8591
|
-
type: string
|
|
8592
|
-
format: date-time
|
|
8593
|
-
stats:
|
|
8594
|
-
$ref: "#/components/schemas/SiteAdsStats"
|
|
8595
|
-
required:
|
|
8596
|
-
- date
|
|
8597
|
-
- stats
|
|
8598
|
-
account:
|
|
8599
|
-
type: object
|
|
8600
|
-
properties:
|
|
8601
|
-
email:
|
|
8602
|
-
type: string
|
|
8603
|
-
description: Email address on the Ads platform.
|
|
8604
|
-
url:
|
|
8605
|
-
type: string
|
|
8606
|
-
description: URL to configure payout.
|
|
8027
|
+
allOf:
|
|
8028
|
+
- $ref: "#/components/schemas/List"
|
|
8029
|
+
- type: object
|
|
8607
8030
|
required:
|
|
8608
|
-
-
|
|
8609
|
-
|
|
8610
|
-
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
8031
|
+
- items
|
|
8032
|
+
properties:
|
|
8033
|
+
items:
|
|
8034
|
+
type: array
|
|
8035
|
+
items:
|
|
8036
|
+
$ref: "#/components/schemas/SiteInsightsVisitorSegment"
|
|
8615
8037
|
"/orgs/{organizationId}/sites/{siteId}/insights/search":
|
|
8616
8038
|
get:
|
|
8617
8039
|
operationId: getSearchAnalyticsForSiteById
|
|
@@ -8824,64 +8246,60 @@ paths:
|
|
|
8824
8246
|
$ref: "#/components/responses/NotFoundError"
|
|
8825
8247
|
default:
|
|
8826
8248
|
$ref: "#/components/responses/UnexpectedError"
|
|
8827
|
-
"/
|
|
8828
|
-
|
|
8829
|
-
operationId:
|
|
8830
|
-
summary:
|
|
8249
|
+
"/orgs/{organizationId}/sites/{siteId}/storage/upload":
|
|
8250
|
+
post:
|
|
8251
|
+
operationId: generateSiteStorageUploadURL
|
|
8252
|
+
summary: Create a signed URL to upload a file
|
|
8253
|
+
description: Generate a pre-signed URL that can be used to upload a file to storage
|
|
8831
8254
|
tags:
|
|
8832
|
-
-
|
|
8255
|
+
- organization
|
|
8833
8256
|
security:
|
|
8834
8257
|
- user-internal: []
|
|
8835
8258
|
parameters:
|
|
8836
|
-
- $ref: "#/components/parameters/
|
|
8259
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8260
|
+
- $ref: "#/components/parameters/siteId"
|
|
8261
|
+
requestBody:
|
|
8262
|
+
required: true
|
|
8263
|
+
content:
|
|
8264
|
+
application/json:
|
|
8265
|
+
schema:
|
|
8266
|
+
type: object
|
|
8267
|
+
required:
|
|
8268
|
+
- file
|
|
8269
|
+
- kind
|
|
8270
|
+
properties:
|
|
8271
|
+
file:
|
|
8272
|
+
$ref: "#/components/schemas/StorageFileMetadata"
|
|
8273
|
+
kind:
|
|
8274
|
+
$ref: "#/components/schemas/StorageUploadKind"
|
|
8837
8275
|
responses:
|
|
8838
|
-
"
|
|
8839
|
-
description:
|
|
8276
|
+
"201":
|
|
8277
|
+
description: Successfully generated signed URL for file upload
|
|
8840
8278
|
content:
|
|
8841
8279
|
application/json:
|
|
8842
8280
|
schema:
|
|
8843
|
-
$ref: "#/components/schemas/
|
|
8281
|
+
$ref: "#/components/schemas/StorageUploadURL"
|
|
8282
|
+
"400":
|
|
8283
|
+
$ref: "#/components/responses/BadRequestError"
|
|
8844
8284
|
default:
|
|
8845
8285
|
$ref: "#/components/responses/UnexpectedError"
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8286
|
+
"/custom-hostnames/{hostname}":
|
|
8287
|
+
get:
|
|
8288
|
+
operationId: getCustomHostname
|
|
8289
|
+
summary: Get the details about a custom hostname.
|
|
8849
8290
|
tags:
|
|
8850
8291
|
- custom-hostnames
|
|
8851
8292
|
security:
|
|
8852
8293
|
- user-internal: []
|
|
8853
8294
|
parameters:
|
|
8854
8295
|
- $ref: "#/components/parameters/hostname"
|
|
8855
|
-
requestBody:
|
|
8856
|
-
content:
|
|
8857
|
-
application/json:
|
|
8858
|
-
schema:
|
|
8859
|
-
type: object
|
|
8860
|
-
properties:
|
|
8861
|
-
target:
|
|
8862
|
-
oneOf:
|
|
8863
|
-
- $ref: "#/components/schemas/OrganizationPointer"
|
|
8864
|
-
- $ref: "#/components/schemas/SitePointer"
|
|
8865
|
-
required:
|
|
8866
|
-
- target
|
|
8867
8296
|
responses:
|
|
8868
|
-
"
|
|
8869
|
-
description:
|
|
8870
|
-
headers:
|
|
8871
|
-
Location:
|
|
8872
|
-
description: API URL for the newly created custom hostname
|
|
8873
|
-
schema:
|
|
8874
|
-
type: string
|
|
8297
|
+
"200":
|
|
8298
|
+
description: OK
|
|
8875
8299
|
content:
|
|
8876
8300
|
application/json:
|
|
8877
8301
|
schema:
|
|
8878
8302
|
$ref: "#/components/schemas/CustomHostname"
|
|
8879
|
-
"400":
|
|
8880
|
-
description: Selected custom hostname target does not exist
|
|
8881
|
-
$ref: "#/components/responses/ConflictError"
|
|
8882
|
-
"409":
|
|
8883
|
-
description: Custom hostname is already in use on the target
|
|
8884
|
-
$ref: "#/components/responses/ConflictError"
|
|
8885
8303
|
default:
|
|
8886
8304
|
$ref: "#/components/responses/UnexpectedError"
|
|
8887
8305
|
patch:
|
|
@@ -8918,39 +8336,6 @@ paths:
|
|
|
8918
8336
|
description: Custom hostname has been removed
|
|
8919
8337
|
default:
|
|
8920
8338
|
$ref: "#/components/responses/UnexpectedError"
|
|
8921
|
-
"/custom-hostnames/{hostname}/test":
|
|
8922
|
-
post:
|
|
8923
|
-
operationId: testCustomHostname
|
|
8924
|
-
summary: Test if a custom hostname can be used for a site or organization.
|
|
8925
|
-
tags:
|
|
8926
|
-
- custom-hostnames
|
|
8927
|
-
security:
|
|
8928
|
-
- user-internal: []
|
|
8929
|
-
parameters:
|
|
8930
|
-
- $ref: "#/components/parameters/hostname"
|
|
8931
|
-
requestBody:
|
|
8932
|
-
content:
|
|
8933
|
-
application/json:
|
|
8934
|
-
schema:
|
|
8935
|
-
type: object
|
|
8936
|
-
properties:
|
|
8937
|
-
target:
|
|
8938
|
-
oneOf:
|
|
8939
|
-
- $ref: "#/components/schemas/OrganizationPointer"
|
|
8940
|
-
- $ref: "#/components/schemas/SitePointer"
|
|
8941
|
-
required:
|
|
8942
|
-
- target
|
|
8943
|
-
responses:
|
|
8944
|
-
"204":
|
|
8945
|
-
description: The custom hostname is available and valid.
|
|
8946
|
-
"400":
|
|
8947
|
-
description: The custom hostname is invalid.
|
|
8948
|
-
$ref: "#/components/responses/BadRequestError"
|
|
8949
|
-
"409":
|
|
8950
|
-
description: The custom hostname is already configured for this target or a different one.
|
|
8951
|
-
$ref: "#/components/responses/ConflictError"
|
|
8952
|
-
default:
|
|
8953
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
8954
8339
|
/ads/sites:
|
|
8955
8340
|
get:
|
|
8956
8341
|
operationId: adsListSites
|
|
@@ -9093,42 +8478,6 @@ paths:
|
|
|
9093
8478
|
description: OK
|
|
9094
8479
|
default:
|
|
9095
8480
|
$ref: "#/components/responses/UnexpectedError"
|
|
9096
|
-
/internal/hive/token:
|
|
9097
|
-
post:
|
|
9098
|
-
operationId: generateHiveAccessToken
|
|
9099
|
-
summary: Returns a token to authenticate with Hive.
|
|
9100
|
-
tags:
|
|
9101
|
-
- hive
|
|
9102
|
-
- critical
|
|
9103
|
-
security:
|
|
9104
|
-
- user-internal: []
|
|
9105
|
-
requestBody:
|
|
9106
|
-
required: false
|
|
9107
|
-
content:
|
|
9108
|
-
application/json:
|
|
9109
|
-
schema:
|
|
9110
|
-
type: object
|
|
9111
|
-
properties:
|
|
9112
|
-
spaces:
|
|
9113
|
-
deprecated: true
|
|
9114
|
-
type: array
|
|
9115
|
-
items:
|
|
9116
|
-
description: Deprecated. Use contentIds.
|
|
9117
|
-
type: string
|
|
9118
|
-
contentIds:
|
|
9119
|
-
type: array
|
|
9120
|
-
items:
|
|
9121
|
-
description: Content IDs to retrieve permissions for.
|
|
9122
|
-
type: string
|
|
9123
|
-
responses:
|
|
9124
|
-
"200":
|
|
9125
|
-
description: The JWT to access user's specific content in Hive.
|
|
9126
|
-
content:
|
|
9127
|
-
application/json:
|
|
9128
|
-
schema:
|
|
9129
|
-
$ref: "#/components/schemas/HiveAccessToken"
|
|
9130
|
-
default:
|
|
9131
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
9132
8481
|
/urls/content:
|
|
9133
8482
|
get:
|
|
9134
8483
|
operationId: getContentByUrl
|
|
@@ -9221,6 +8570,13 @@ paths:
|
|
|
9221
8570
|
schema:
|
|
9222
8571
|
type: boolean
|
|
9223
8572
|
default: false
|
|
8573
|
+
- name: cache
|
|
8574
|
+
in: query
|
|
8575
|
+
required: false
|
|
8576
|
+
description: When true the HTTP response can be cached by the CDN
|
|
8577
|
+
schema:
|
|
8578
|
+
type: boolean
|
|
8579
|
+
default: false
|
|
9224
8580
|
responses:
|
|
9225
8581
|
"200":
|
|
9226
8582
|
description: OK
|
|
@@ -11743,7 +11099,6 @@ components:
|
|
|
11743
11099
|
oneOf:
|
|
11744
11100
|
- $ref: "#/components/schemas/ContentRefFile"
|
|
11745
11101
|
- $ref: "#/components/schemas/ContentRefURL"
|
|
11746
|
-
- $ref: "#/components/schemas/ContentRefOpenAPI"
|
|
11747
11102
|
expanded:
|
|
11748
11103
|
type: boolean
|
|
11749
11104
|
description: If true, the block is opened by default.
|
|
@@ -11768,6 +11123,45 @@ components:
|
|
|
11768
11123
|
- type
|
|
11769
11124
|
- data
|
|
11770
11125
|
- isVoid
|
|
11126
|
+
DocumentBlockOpenAPIOperation:
|
|
11127
|
+
type: object
|
|
11128
|
+
properties:
|
|
11129
|
+
object:
|
|
11130
|
+
type: string
|
|
11131
|
+
enum:
|
|
11132
|
+
- block
|
|
11133
|
+
type:
|
|
11134
|
+
type: string
|
|
11135
|
+
enum:
|
|
11136
|
+
- openapi-operation
|
|
11137
|
+
key:
|
|
11138
|
+
type: string
|
|
11139
|
+
data:
|
|
11140
|
+
allOf:
|
|
11141
|
+
- $ref: "#/components/schemas/OpenAPIOperationPointer"
|
|
11142
|
+
- type: object
|
|
11143
|
+
properties:
|
|
11144
|
+
ref:
|
|
11145
|
+
$ref: "#/components/schemas/ContentRefOpenAPI"
|
|
11146
|
+
required:
|
|
11147
|
+
- ref
|
|
11148
|
+
isVoid:
|
|
11149
|
+
type: boolean
|
|
11150
|
+
enum:
|
|
11151
|
+
- true
|
|
11152
|
+
meta:
|
|
11153
|
+
type: object
|
|
11154
|
+
properties:
|
|
11155
|
+
id:
|
|
11156
|
+
description: Unique ID to be used in an URL for the block.
|
|
11157
|
+
type: string
|
|
11158
|
+
required:
|
|
11159
|
+
- id
|
|
11160
|
+
required:
|
|
11161
|
+
- object
|
|
11162
|
+
- type
|
|
11163
|
+
- data
|
|
11164
|
+
- isVoid
|
|
11771
11165
|
DocumentBlockReusableContent:
|
|
11772
11166
|
type: object
|
|
11773
11167
|
properties:
|
|
@@ -11883,6 +11277,7 @@ components:
|
|
|
11883
11277
|
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
11884
11278
|
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
11885
11279
|
- $ref: "#/components/schemas/DocumentBlockOpenAPI"
|
|
11280
|
+
- $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
|
|
11886
11281
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
11887
11282
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
11888
11283
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
@@ -12757,7 +12152,7 @@ components:
|
|
|
12757
12152
|
The state of the dependencies will be passed to the computation.
|
|
12758
12153
|
When the dependency's targets are updated, the computation will be updated.
|
|
12759
12154
|
additionalProperties:
|
|
12760
|
-
|
|
12155
|
+
anyOf:
|
|
12761
12156
|
- type: object
|
|
12762
12157
|
properties:
|
|
12763
12158
|
ref:
|
|
@@ -13539,6 +12934,16 @@ components:
|
|
|
13539
12934
|
- team_oct_2019_free
|
|
13540
12935
|
- team_dec_2021
|
|
13541
12936
|
- business_dec_2021
|
|
12937
|
+
BillingTrialStatus:
|
|
12938
|
+
type: string
|
|
12939
|
+
description: |
|
|
12940
|
+
- notapplicable, no trial can be started for this organization. - none, no trial has been started yet. - active, trial is active. - ended, the trial has ended and the user has choosen to stay on the free plan or has upgraded to a paid plan. - expired, the trial has ended but the user hasn't deciced yet what to do.
|
|
12941
|
+
enum:
|
|
12942
|
+
- notapplicable
|
|
12943
|
+
- none
|
|
12944
|
+
- active
|
|
12945
|
+
- ended
|
|
12946
|
+
- expired
|
|
13542
12947
|
OrganizationBlockReason:
|
|
13543
12948
|
type: string
|
|
13544
12949
|
enum:
|
|
@@ -13601,11 +13006,21 @@ components:
|
|
|
13601
13006
|
required:
|
|
13602
13007
|
- app
|
|
13603
13008
|
- location
|
|
13604
|
-
|
|
13605
|
-
type:
|
|
13606
|
-
|
|
13607
|
-
|
|
13608
|
-
|
|
13009
|
+
trial:
|
|
13010
|
+
type: object
|
|
13011
|
+
properties:
|
|
13012
|
+
status:
|
|
13013
|
+
$ref: "#/components/schemas/BillingTrialStatus"
|
|
13014
|
+
endDate:
|
|
13015
|
+
description: The trial's end date, if the organization has or had a trial.
|
|
13016
|
+
$ref: "#/components/schemas/Timestamp"
|
|
13017
|
+
decision:
|
|
13018
|
+
type: string
|
|
13019
|
+
description: The decision taken by the user at the end of the trial
|
|
13020
|
+
enum:
|
|
13021
|
+
- downgrade
|
|
13022
|
+
required:
|
|
13023
|
+
- status
|
|
13609
13024
|
customHostname:
|
|
13610
13025
|
description: Custom hostname linked to this organization
|
|
13611
13026
|
type: string
|
|
@@ -13655,6 +13070,7 @@ components:
|
|
|
13655
13070
|
- type
|
|
13656
13071
|
- emailDomains
|
|
13657
13072
|
- urls
|
|
13073
|
+
- trial
|
|
13658
13074
|
- permissions
|
|
13659
13075
|
ContentLocationRevisionContext:
|
|
13660
13076
|
type: object
|
|
@@ -16914,6 +16330,7 @@ components:
|
|
|
16914
16330
|
enum:
|
|
16915
16331
|
- text
|
|
16916
16332
|
- password
|
|
16333
|
+
- email
|
|
16917
16334
|
default: text
|
|
16918
16335
|
required:
|
|
16919
16336
|
- type
|
|
@@ -18942,6 +18359,15 @@ components:
|
|
|
18942
18359
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18943
18360
|
required:
|
|
18944
18361
|
- color
|
|
18362
|
+
CustomizationLinksStyle:
|
|
18363
|
+
type: string
|
|
18364
|
+
description: |
|
|
18365
|
+
The style used for regular links in the main content, header and footer. Sidebar items are styled separately.
|
|
18366
|
+
- `default`: Links are colored in the primary color and feature an underline in the same color.
|
|
18367
|
+
- `accent`: Links are colored the same as body text and feature an underline in the primary color.
|
|
18368
|
+
enum:
|
|
18369
|
+
- default
|
|
18370
|
+
- accent
|
|
18945
18371
|
CustomizationIconsStyle:
|
|
18946
18372
|
type: string
|
|
18947
18373
|
enum:
|
|
@@ -18993,6 +18419,8 @@ components:
|
|
|
18993
18419
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18994
18420
|
corners:
|
|
18995
18421
|
$ref: "#/components/schemas/CustomizationCorners"
|
|
18422
|
+
links:
|
|
18423
|
+
$ref: "#/components/schemas/CustomizationLinksStyle"
|
|
18996
18424
|
font:
|
|
18997
18425
|
$ref: "#/components/schemas/CustomizationFont"
|
|
18998
18426
|
background:
|
|
@@ -19018,6 +18446,7 @@ components:
|
|
|
19018
18446
|
- warningColor
|
|
19019
18447
|
- dangerColor
|
|
19020
18448
|
- corners
|
|
18449
|
+
- links
|
|
19021
18450
|
- font
|
|
19022
18451
|
- background
|
|
19023
18452
|
- icons
|
|
@@ -19890,6 +19319,14 @@ components:
|
|
|
19890
19319
|
SiteInsightsQueryEventsColumn:
|
|
19891
19320
|
oneOf:
|
|
19892
19321
|
- $ref: "#/components/schemas/SiteInsightsQueryDateTimeColumn"
|
|
19322
|
+
- type: object
|
|
19323
|
+
required:
|
|
19324
|
+
- column
|
|
19325
|
+
properties:
|
|
19326
|
+
column:
|
|
19327
|
+
type: string
|
|
19328
|
+
enum:
|
|
19329
|
+
- url
|
|
19893
19330
|
- type: object
|
|
19894
19331
|
required:
|
|
19895
19332
|
- column
|
|
@@ -20262,6 +19699,19 @@ components:
|
|
|
20262
19699
|
type: array
|
|
20263
19700
|
items:
|
|
20264
19701
|
$ref: "#/components/schemas/Timestamp"
|
|
19702
|
+
- type: object
|
|
19703
|
+
required:
|
|
19704
|
+
- column
|
|
19705
|
+
- values
|
|
19706
|
+
properties:
|
|
19707
|
+
column:
|
|
19708
|
+
type: string
|
|
19709
|
+
enum:
|
|
19710
|
+
- url
|
|
19711
|
+
values:
|
|
19712
|
+
type: array
|
|
19713
|
+
items:
|
|
19714
|
+
$ref: "#/components/schemas/URL"
|
|
20265
19715
|
- type: object
|
|
20266
19716
|
required:
|
|
20267
19717
|
- column
|
|
@@ -21047,6 +20497,44 @@ components:
|
|
|
21047
20497
|
- id
|
|
21048
20498
|
- source
|
|
21049
20499
|
- destination
|
|
20500
|
+
StorageFileMetadata:
|
|
20501
|
+
type: object
|
|
20502
|
+
properties:
|
|
20503
|
+
name:
|
|
20504
|
+
type: string
|
|
20505
|
+
description: Original filename
|
|
20506
|
+
type:
|
|
20507
|
+
type: string
|
|
20508
|
+
description: MIME type of the file
|
|
20509
|
+
size:
|
|
20510
|
+
type: number
|
|
20511
|
+
description: Size of the file in bytes
|
|
20512
|
+
required:
|
|
20513
|
+
- name
|
|
20514
|
+
- type
|
|
20515
|
+
- size
|
|
20516
|
+
StorageUploadKind:
|
|
20517
|
+
type: string
|
|
20518
|
+
enum:
|
|
20519
|
+
- customization_font
|
|
20520
|
+
StorageUploadURL:
|
|
20521
|
+
type: object
|
|
20522
|
+
properties:
|
|
20523
|
+
object:
|
|
20524
|
+
type: string
|
|
20525
|
+
description: The kind of file to upload
|
|
20526
|
+
enum:
|
|
20527
|
+
- storage-signed-url
|
|
20528
|
+
url:
|
|
20529
|
+
$ref: "#/components/schemas/URL"
|
|
20530
|
+
description: Presigned URL for uploading the file
|
|
20531
|
+
key:
|
|
20532
|
+
type: string
|
|
20533
|
+
description: The bucket object key for the file
|
|
20534
|
+
required:
|
|
20535
|
+
- object
|
|
20536
|
+
- url
|
|
20537
|
+
- key
|
|
21050
20538
|
CustomHostnameDnsStatus:
|
|
21051
20539
|
type: string
|
|
21052
20540
|
enum:
|
|
@@ -21623,6 +21111,7 @@ components:
|
|
|
21623
21111
|
- $ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
21624
21112
|
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
21625
21113
|
- $ref: "#/components/schemas/DocumentBlockOpenAPI"
|
|
21114
|
+
- $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
|
|
21626
21115
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
21627
21116
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
21628
21117
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
@@ -21961,14 +21450,6 @@ components:
|
|
|
21961
21450
|
type: array
|
|
21962
21451
|
items:
|
|
21963
21452
|
$ref: "#/components/schemas/InputFile"
|
|
21964
|
-
BillingTrialStatus:
|
|
21965
|
-
type: string
|
|
21966
|
-
enum:
|
|
21967
|
-
- notapplicable
|
|
21968
|
-
- none
|
|
21969
|
-
- active
|
|
21970
|
-
- ended
|
|
21971
|
-
- expired
|
|
21972
21453
|
APIIntegrationScope:
|
|
21973
21454
|
type: string
|
|
21974
21455
|
enum:
|