@gitbook/api 0.90.0 → 0.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +192 -85
- package/dist/index.cjs +47 -11
- package/dist/index.js +47 -11
- package/package.json +1 -1
- package/spec/openapi.json +629 -286
- package/spec/openapi.yaml +422 -204
package/spec/openapi.json
CHANGED
|
@@ -68,6 +68,10 @@
|
|
|
68
68
|
"get": {
|
|
69
69
|
"operationId": "searchContent",
|
|
70
70
|
"summary": "Search content across spaces that is accessible by the currently authenticated target",
|
|
71
|
+
"deprecated": true,
|
|
72
|
+
"x-deprecated-error-rate": 0.01,
|
|
73
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
74
|
+
"x-deprecated-message": "Use the endpoint for sites/organizations instead.",
|
|
71
75
|
"tags": [
|
|
72
76
|
"search"
|
|
73
77
|
],
|
|
@@ -133,6 +137,9 @@
|
|
|
133
137
|
"operationId": "askQueryWithGet",
|
|
134
138
|
"summary": "Ask a question to an AI across spaces that is accessible by the currently authenticated target.",
|
|
135
139
|
"deprecated": true,
|
|
140
|
+
"x-deprecated-error-rate": 0.1,
|
|
141
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
142
|
+
"x-deprecated-message": "Use the 'POST' endpoints for sites/organizations instead.",
|
|
136
143
|
"security": [
|
|
137
144
|
{
|
|
138
145
|
"user": []
|
|
@@ -183,6 +190,10 @@
|
|
|
183
190
|
"post": {
|
|
184
191
|
"operationId": "askQuery",
|
|
185
192
|
"summary": "Ask a question to an AI across spaces that is accessible by the currently authenticated target.",
|
|
193
|
+
"deprecated": true,
|
|
194
|
+
"x-deprecated-error-rate": 0.1,
|
|
195
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
196
|
+
"x-deprecated-message": "Use the 'POST' endpoints for sites/organizations instead.",
|
|
186
197
|
"security": [
|
|
187
198
|
{
|
|
188
199
|
"user": []
|
|
@@ -238,6 +249,8 @@
|
|
|
238
249
|
"operationId": "getRecommendedQuestions",
|
|
239
250
|
"summary": "Get a list of questions recommended by AI for a list of content. Deprecated, use getRecommendedQuestionsInOrganization instead.",
|
|
240
251
|
"deprecated": true,
|
|
252
|
+
"x-deprecated-error-rate": 0.1,
|
|
253
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
241
254
|
"security": [
|
|
242
255
|
{
|
|
243
256
|
"user": []
|
|
@@ -840,6 +853,8 @@
|
|
|
840
853
|
"operationId": "askQueryInSpaceWithGet",
|
|
841
854
|
"summary": "Ask a question to an AI within the context of the space.",
|
|
842
855
|
"deprecated": true,
|
|
856
|
+
"x-deprecated-error-rate": 0.1,
|
|
857
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
843
858
|
"parameters": [
|
|
844
859
|
{
|
|
845
860
|
"name": "query",
|
|
@@ -985,6 +1000,9 @@
|
|
|
985
1000
|
"get": {
|
|
986
1001
|
"operationId": "getRecommendedQuestionsInSpace",
|
|
987
1002
|
"summary": "Get a list of questions that can be asked in a space.",
|
|
1003
|
+
"deprecated": true,
|
|
1004
|
+
"x-deprecated-error-rate": 0.1,
|
|
1005
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
988
1006
|
"parameters": [
|
|
989
1007
|
{
|
|
990
1008
|
"$ref": "#/components/parameters/spaceId"
|
|
@@ -1011,6 +1029,9 @@
|
|
|
1011
1029
|
"get": {
|
|
1012
1030
|
"operationId": "streamRecommendedQuestionsInSpace",
|
|
1013
1031
|
"summary": "Stream a list of questions that can be asked in a space.",
|
|
1032
|
+
"deprecated": true,
|
|
1033
|
+
"x-deprecated-error-rate": 0.1,
|
|
1034
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
1014
1035
|
"parameters": [
|
|
1015
1036
|
{
|
|
1016
1037
|
"$ref": "#/components/parameters/spaceId"
|
|
@@ -1149,6 +1170,9 @@
|
|
|
1149
1170
|
"get": {
|
|
1150
1171
|
"operationId": "getContentAnalyticsForSpaceById",
|
|
1151
1172
|
"summary": "Get content analytics for a given space.",
|
|
1173
|
+
"deprecated": true,
|
|
1174
|
+
"x-deprecated-error-rate": 0.1,
|
|
1175
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
1152
1176
|
"tags": [
|
|
1153
1177
|
"analytics",
|
|
1154
1178
|
"spaces"
|
|
@@ -1184,6 +1208,9 @@
|
|
|
1184
1208
|
"get": {
|
|
1185
1209
|
"operationId": "getSearchAnalyticsForSpaceById",
|
|
1186
1210
|
"summary": "Get an overview of the top search queries in a space.",
|
|
1211
|
+
"deprecated": true,
|
|
1212
|
+
"x-deprecated-error-rate": 0.1,
|
|
1213
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
1187
1214
|
"tags": [
|
|
1188
1215
|
"analytics",
|
|
1189
1216
|
"spaces"
|
|
@@ -1228,6 +1255,9 @@
|
|
|
1228
1255
|
"operationId": "getTrafficAnalyticsForSpaceById",
|
|
1229
1256
|
"summary": "Get traffic page views for a given space",
|
|
1230
1257
|
"description": "Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.",
|
|
1258
|
+
"deprecated": true,
|
|
1259
|
+
"x-deprecated-error-rate": 0.1,
|
|
1260
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
1231
1261
|
"tags": [
|
|
1232
1262
|
"analytics",
|
|
1233
1263
|
"spaces"
|
|
@@ -1272,6 +1302,9 @@
|
|
|
1272
1302
|
"operationId": "trackViewInSpaceById",
|
|
1273
1303
|
"summary": "Track a page view in a space",
|
|
1274
1304
|
"description": "Track a page view in a space.",
|
|
1305
|
+
"deprecated": true,
|
|
1306
|
+
"x-deprecated-error-rate": 0.1,
|
|
1307
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
1275
1308
|
"tags": [
|
|
1276
1309
|
"analytics",
|
|
1277
1310
|
"spaces"
|
|
@@ -2263,9 +2296,9 @@
|
|
|
2263
2296
|
}
|
|
2264
2297
|
},
|
|
2265
2298
|
"/spaces/{spaceId}/content/computed/document": {
|
|
2266
|
-
"
|
|
2299
|
+
"post": {
|
|
2267
2300
|
"operationId": "getComputedDocument",
|
|
2268
|
-
"summary": "
|
|
2301
|
+
"summary": "Generate a document for a page in a computed content.",
|
|
2269
2302
|
"security": [
|
|
2270
2303
|
{
|
|
2271
2304
|
"user": []
|
|
@@ -2277,17 +2310,26 @@
|
|
|
2277
2310
|
},
|
|
2278
2311
|
{
|
|
2279
2312
|
"$ref": "#/components/parameters/documentFormat"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"name": "request",
|
|
2283
|
-
"in": "query",
|
|
2284
|
-
"required": true,
|
|
2285
|
-
"description": "LZ-string compressed JSON request",
|
|
2286
|
-
"schema": {
|
|
2287
|
-
"type": "string"
|
|
2288
|
-
}
|
|
2289
2313
|
}
|
|
2290
2314
|
],
|
|
2315
|
+
"requestBody": {
|
|
2316
|
+
"required": true,
|
|
2317
|
+
"content": {
|
|
2318
|
+
"application/json": {
|
|
2319
|
+
"schema": {
|
|
2320
|
+
"type": "object",
|
|
2321
|
+
"properties": {
|
|
2322
|
+
"source": {
|
|
2323
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
2324
|
+
}
|
|
2325
|
+
},
|
|
2326
|
+
"required": [
|
|
2327
|
+
"source"
|
|
2328
|
+
]
|
|
2329
|
+
}
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2291
2333
|
"responses": {
|
|
2292
2334
|
"200": {
|
|
2293
2335
|
"description": "Document computed",
|
|
@@ -2305,10 +2347,10 @@
|
|
|
2305
2347
|
}
|
|
2306
2348
|
}
|
|
2307
2349
|
},
|
|
2308
|
-
"/spaces/{spaceId}/content/computed/
|
|
2309
|
-
"
|
|
2310
|
-
"operationId": "
|
|
2311
|
-
"summary": "Get the computed
|
|
2350
|
+
"/spaces/{spaceId}/content/computed/revision": {
|
|
2351
|
+
"post": {
|
|
2352
|
+
"operationId": "getComputedRevision",
|
|
2353
|
+
"summary": "Get the computed content for a source in a computed content.",
|
|
2312
2354
|
"security": [
|
|
2313
2355
|
{
|
|
2314
2356
|
"user": []
|
|
@@ -2317,23 +2359,29 @@
|
|
|
2317
2359
|
"parameters": [
|
|
2318
2360
|
{
|
|
2319
2361
|
"$ref": "#/components/parameters/spaceId"
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
"$ref": "#/components/parameters/documentFormat"
|
|
2323
|
-
},
|
|
2324
|
-
{
|
|
2325
|
-
"name": "request",
|
|
2326
|
-
"in": "query",
|
|
2327
|
-
"required": true,
|
|
2328
|
-
"description": "LZ-string compressed JSON request",
|
|
2329
|
-
"schema": {
|
|
2330
|
-
"type": "string"
|
|
2331
|
-
}
|
|
2332
2362
|
}
|
|
2333
2363
|
],
|
|
2364
|
+
"requestBody": {
|
|
2365
|
+
"required": true,
|
|
2366
|
+
"content": {
|
|
2367
|
+
"application/json": {
|
|
2368
|
+
"schema": {
|
|
2369
|
+
"type": "object",
|
|
2370
|
+
"properties": {
|
|
2371
|
+
"source": {
|
|
2372
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
"required": [
|
|
2376
|
+
"source"
|
|
2377
|
+
]
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
},
|
|
2334
2382
|
"responses": {
|
|
2335
2383
|
"200": {
|
|
2336
|
-
"description": "Computed pages and
|
|
2384
|
+
"description": "Computed pages and files",
|
|
2337
2385
|
"content": {
|
|
2338
2386
|
"application/json": {
|
|
2339
2387
|
"schema": {
|
|
@@ -5377,9 +5425,11 @@
|
|
|
5377
5425
|
},
|
|
5378
5426
|
"/spaces/{spaceId}/publishing/customization": {
|
|
5379
5427
|
"get": {
|
|
5380
|
-
"deprecated": true,
|
|
5381
5428
|
"operationId": "getSpacePublishingCustomizationById",
|
|
5382
5429
|
"summary": "Get the publishing customization configuration for a space.",
|
|
5430
|
+
"deprecated": true,
|
|
5431
|
+
"x-deprecated-error-rate": 0.1,
|
|
5432
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
5383
5433
|
"tags": [
|
|
5384
5434
|
"spaces"
|
|
5385
5435
|
],
|
|
@@ -5413,9 +5463,11 @@
|
|
|
5413
5463
|
}
|
|
5414
5464
|
},
|
|
5415
5465
|
"put": {
|
|
5416
|
-
"deprecated": true,
|
|
5417
5466
|
"operationId": "updateSpacePublishingCustomizationById",
|
|
5418
5467
|
"summary": "Update the publishing customization configuration for a space.",
|
|
5468
|
+
"deprecated": true,
|
|
5469
|
+
"x-deprecated-error-rate": 0.1,
|
|
5470
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
5419
5471
|
"tags": [
|
|
5420
5472
|
"spaces"
|
|
5421
5473
|
],
|
|
@@ -9602,66 +9654,7 @@
|
|
|
9602
9654
|
"content": {
|
|
9603
9655
|
"application/json": {
|
|
9604
9656
|
"schema": {
|
|
9605
|
-
"
|
|
9606
|
-
"properties": {
|
|
9607
|
-
"interval": {
|
|
9608
|
-
"description": "The desired billing interval",
|
|
9609
|
-
"$ref": "#/components/schemas/BillingInterval"
|
|
9610
|
-
},
|
|
9611
|
-
"product": {
|
|
9612
|
-
"type": "string",
|
|
9613
|
-
"description": "The new product to upgrade to",
|
|
9614
|
-
"enum": [
|
|
9615
|
-
"free_2024",
|
|
9616
|
-
"plus_2024",
|
|
9617
|
-
"pro_2024"
|
|
9618
|
-
]
|
|
9619
|
-
},
|
|
9620
|
-
"changes": {
|
|
9621
|
-
"type": "object",
|
|
9622
|
-
"description": "Changes to apply to the organization and its sites before upgrading",
|
|
9623
|
-
"minProperties": 1,
|
|
9624
|
-
"properties": {
|
|
9625
|
-
"removeMembers": {
|
|
9626
|
-
"description": "A list of member identifiers to be removed",
|
|
9627
|
-
"type": "array",
|
|
9628
|
-
"items": {
|
|
9629
|
-
"type": "string"
|
|
9630
|
-
}
|
|
9631
|
-
},
|
|
9632
|
-
"updateSiteTypes": {
|
|
9633
|
-
"description": "A list of site type updates to be applied before upgrading. If a site is not present in this list, it'll be upgraded to whichever type matches its features and its published status will be unchanged.",
|
|
9634
|
-
"type": "array",
|
|
9635
|
-
"items": {
|
|
9636
|
-
"type": "object",
|
|
9637
|
-
"properties": {
|
|
9638
|
-
"id": {
|
|
9639
|
-
"description": "The site identifier",
|
|
9640
|
-
"type": "string"
|
|
9641
|
-
},
|
|
9642
|
-
"type": {
|
|
9643
|
-
"description": "The new site type",
|
|
9644
|
-
"type": "string",
|
|
9645
|
-
"enum": [
|
|
9646
|
-
"basic",
|
|
9647
|
-
"premium",
|
|
9648
|
-
"ultimate"
|
|
9649
|
-
]
|
|
9650
|
-
}
|
|
9651
|
-
},
|
|
9652
|
-
"required": [
|
|
9653
|
-
"id",
|
|
9654
|
-
"type"
|
|
9655
|
-
]
|
|
9656
|
-
}
|
|
9657
|
-
}
|
|
9658
|
-
}
|
|
9659
|
-
}
|
|
9660
|
-
},
|
|
9661
|
-
"required": [
|
|
9662
|
-
"product",
|
|
9663
|
-
"interval"
|
|
9664
|
-
]
|
|
9657
|
+
"$ref": "#/components/schemas/MigrateOrganizationParameters"
|
|
9665
9658
|
}
|
|
9666
9659
|
}
|
|
9667
9660
|
}
|
|
@@ -9674,8 +9667,10 @@
|
|
|
9674
9667
|
"$ref": "#/components/responses/UnexpectedError"
|
|
9675
9668
|
}
|
|
9676
9669
|
}
|
|
9677
|
-
}
|
|
9678
|
-
|
|
9670
|
+
}
|
|
9671
|
+
},
|
|
9672
|
+
"/orgs/{organizationId}/billing/migrate/preview": {
|
|
9673
|
+
"post": {
|
|
9679
9674
|
"operationId": "previewMigrateOrganizationPlan",
|
|
9680
9675
|
"summary": "Preview a migration of an organization to new pricing.",
|
|
9681
9676
|
"tags": [
|
|
@@ -9689,40 +9684,18 @@
|
|
|
9689
9684
|
"parameters": [
|
|
9690
9685
|
{
|
|
9691
9686
|
"$ref": "#/components/parameters/organizationId"
|
|
9692
|
-
},
|
|
9693
|
-
{
|
|
9694
|
-
"name": "interval",
|
|
9695
|
-
"in": "query",
|
|
9696
|
-
"required": true,
|
|
9697
|
-
"description": "The desired billing interval",
|
|
9698
|
-
"schema": {
|
|
9699
|
-
"$ref": "#/components/schemas/BillingInterval"
|
|
9700
|
-
}
|
|
9701
|
-
},
|
|
9702
|
-
{
|
|
9703
|
-
"name": "product",
|
|
9704
|
-
"in": "query",
|
|
9705
|
-
"required": true,
|
|
9706
|
-
"description": "The new product to upgrade to",
|
|
9707
|
-
"schema": {
|
|
9708
|
-
"type": "string",
|
|
9709
|
-
"enum": [
|
|
9710
|
-
"free_2024",
|
|
9711
|
-
"plus_2024",
|
|
9712
|
-
"pro_2024"
|
|
9713
|
-
]
|
|
9714
|
-
}
|
|
9715
|
-
},
|
|
9716
|
-
{
|
|
9717
|
-
"name": "removedMembersCount",
|
|
9718
|
-
"in": "query",
|
|
9719
|
-
"required": true,
|
|
9720
|
-
"description": "How many members have been deselected by the user",
|
|
9721
|
-
"schema": {
|
|
9722
|
-
"type": "number"
|
|
9723
|
-
}
|
|
9724
9687
|
}
|
|
9725
9688
|
],
|
|
9689
|
+
"requestBody": {
|
|
9690
|
+
"required": true,
|
|
9691
|
+
"content": {
|
|
9692
|
+
"application/json": {
|
|
9693
|
+
"schema": {
|
|
9694
|
+
"$ref": "#/components/schemas/MigrateOrganizationParameters"
|
|
9695
|
+
}
|
|
9696
|
+
}
|
|
9697
|
+
}
|
|
9698
|
+
},
|
|
9726
9699
|
"responses": {
|
|
9727
9700
|
"200": {
|
|
9728
9701
|
"description": "OK",
|
|
@@ -11699,6 +11672,9 @@
|
|
|
11699
11672
|
"operationId": "listSnippets",
|
|
11700
11673
|
"summary": "Lists snippets.",
|
|
11701
11674
|
"description": "List snippets in an organization, newest first.\n",
|
|
11675
|
+
"deprecated": true,
|
|
11676
|
+
"x-deprecated-error-rate": 0.1,
|
|
11677
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
11702
11678
|
"tags": [
|
|
11703
11679
|
"organizations"
|
|
11704
11680
|
],
|
|
@@ -11763,6 +11739,9 @@
|
|
|
11763
11739
|
"post": {
|
|
11764
11740
|
"operationId": "createSnippet",
|
|
11765
11741
|
"summary": "Create a new snippet",
|
|
11742
|
+
"deprecated": true,
|
|
11743
|
+
"x-deprecated-error-rate": 0.1,
|
|
11744
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
11766
11745
|
"tags": [
|
|
11767
11746
|
"organizations"
|
|
11768
11747
|
],
|
|
@@ -11814,6 +11793,9 @@
|
|
|
11814
11793
|
"get": {
|
|
11815
11794
|
"operationId": "getSnippet",
|
|
11816
11795
|
"summary": "Get a snippet by its ID",
|
|
11796
|
+
"deprecated": true,
|
|
11797
|
+
"x-deprecated-error-rate": 0.1,
|
|
11798
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
11817
11799
|
"tags": [
|
|
11818
11800
|
"organizations"
|
|
11819
11801
|
],
|
|
@@ -11877,6 +11859,9 @@
|
|
|
11877
11859
|
"put": {
|
|
11878
11860
|
"operationId": "updateSnippet",
|
|
11879
11861
|
"summary": "Update an existing snippet.",
|
|
11862
|
+
"deprecated": true,
|
|
11863
|
+
"x-deprecated-error-rate": 0.1,
|
|
11864
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
11880
11865
|
"tags": [
|
|
11881
11866
|
"organizations"
|
|
11882
11867
|
],
|
|
@@ -11927,6 +11912,9 @@
|
|
|
11927
11912
|
"post": {
|
|
11928
11913
|
"operationId": "moveSnippet",
|
|
11929
11914
|
"summary": "Move a snippet into a destination. The snippet will be archived in the process.",
|
|
11915
|
+
"deprecated": true,
|
|
11916
|
+
"x-deprecated-error-rate": 0.1,
|
|
11917
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
11930
11918
|
"tags": [
|
|
11931
11919
|
"organizations"
|
|
11932
11920
|
],
|
|
@@ -12014,6 +12002,9 @@
|
|
|
12014
12002
|
"get": {
|
|
12015
12003
|
"operationId": "getSnippetSuggestedLocations",
|
|
12016
12004
|
"summary": "Return possible snippet locations in an organization based on the current user.",
|
|
12005
|
+
"deprecated": true,
|
|
12006
|
+
"x-deprecated-error-rate": 0.1,
|
|
12007
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
12017
12008
|
"tags": [
|
|
12018
12009
|
"organizations"
|
|
12019
12010
|
],
|
|
@@ -13805,6 +13796,65 @@
|
|
|
13805
13796
|
}
|
|
13806
13797
|
},
|
|
13807
13798
|
"/orgs/{organizationId}/sites/{siteId}/section-groups": {
|
|
13799
|
+
"get": {
|
|
13800
|
+
"operationId": "listSiteSectionGroups",
|
|
13801
|
+
"summary": "List all the section groups under a site in an organization",
|
|
13802
|
+
"tags": [
|
|
13803
|
+
"sites"
|
|
13804
|
+
],
|
|
13805
|
+
"security": [
|
|
13806
|
+
{
|
|
13807
|
+
"user": []
|
|
13808
|
+
}
|
|
13809
|
+
],
|
|
13810
|
+
"parameters": [
|
|
13811
|
+
{
|
|
13812
|
+
"$ref": "#/components/parameters/organizationId"
|
|
13813
|
+
},
|
|
13814
|
+
{
|
|
13815
|
+
"$ref": "#/components/parameters/siteId"
|
|
13816
|
+
},
|
|
13817
|
+
{
|
|
13818
|
+
"$ref": "#/components/parameters/listPage"
|
|
13819
|
+
},
|
|
13820
|
+
{
|
|
13821
|
+
"$ref": "#/components/parameters/listLimit"
|
|
13822
|
+
}
|
|
13823
|
+
],
|
|
13824
|
+
"responses": {
|
|
13825
|
+
"200": {
|
|
13826
|
+
"description": "OK",
|
|
13827
|
+
"content": {
|
|
13828
|
+
"application/json": {
|
|
13829
|
+
"schema": {
|
|
13830
|
+
"allOf": [
|
|
13831
|
+
{
|
|
13832
|
+
"$ref": "#/components/schemas/List"
|
|
13833
|
+
},
|
|
13834
|
+
{
|
|
13835
|
+
"type": "object",
|
|
13836
|
+
"required": [
|
|
13837
|
+
"items"
|
|
13838
|
+
],
|
|
13839
|
+
"properties": {
|
|
13840
|
+
"items": {
|
|
13841
|
+
"type": "array",
|
|
13842
|
+
"items": {
|
|
13843
|
+
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
13844
|
+
}
|
|
13845
|
+
}
|
|
13846
|
+
}
|
|
13847
|
+
}
|
|
13848
|
+
]
|
|
13849
|
+
}
|
|
13850
|
+
}
|
|
13851
|
+
}
|
|
13852
|
+
},
|
|
13853
|
+
"default": {
|
|
13854
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
13855
|
+
}
|
|
13856
|
+
}
|
|
13857
|
+
},
|
|
13808
13858
|
"post": {
|
|
13809
13859
|
"operationId": "addSectionGroupToSite",
|
|
13810
13860
|
"summary": "Add a section group to a site in an organization",
|
|
@@ -13974,6 +14024,109 @@
|
|
|
13974
14024
|
}
|
|
13975
14025
|
}
|
|
13976
14026
|
},
|
|
14027
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections": {
|
|
14028
|
+
"post": {
|
|
14029
|
+
"operationId": "addSectionToGroup",
|
|
14030
|
+
"summary": "Add a section to a section group",
|
|
14031
|
+
"tags": [
|
|
14032
|
+
"sites"
|
|
14033
|
+
],
|
|
14034
|
+
"security": [
|
|
14035
|
+
{
|
|
14036
|
+
"user": []
|
|
14037
|
+
}
|
|
14038
|
+
],
|
|
14039
|
+
"parameters": [
|
|
14040
|
+
{
|
|
14041
|
+
"$ref": "#/components/parameters/organizationId"
|
|
14042
|
+
},
|
|
14043
|
+
{
|
|
14044
|
+
"$ref": "#/components/parameters/siteId"
|
|
14045
|
+
},
|
|
14046
|
+
{
|
|
14047
|
+
"$ref": "#/components/parameters/siteSectionGroupId"
|
|
14048
|
+
}
|
|
14049
|
+
],
|
|
14050
|
+
"requestBody": {
|
|
14051
|
+
"required": true,
|
|
14052
|
+
"content": {
|
|
14053
|
+
"application/json": {
|
|
14054
|
+
"schema": {
|
|
14055
|
+
"type": "object",
|
|
14056
|
+
"properties": {
|
|
14057
|
+
"sectionId": {
|
|
14058
|
+
"type": "string",
|
|
14059
|
+
"description": "ID of the section to add to the section group"
|
|
14060
|
+
}
|
|
14061
|
+
},
|
|
14062
|
+
"required": [
|
|
14063
|
+
"sectionId"
|
|
14064
|
+
]
|
|
14065
|
+
}
|
|
14066
|
+
}
|
|
14067
|
+
}
|
|
14068
|
+
},
|
|
14069
|
+
"responses": {
|
|
14070
|
+
"201": {
|
|
14071
|
+
"description": "Section added to the section group",
|
|
14072
|
+
"headers": {
|
|
14073
|
+
"Location": {
|
|
14074
|
+
"description": "API URL for the newly created site-section-group relationship",
|
|
14075
|
+
"schema": {
|
|
14076
|
+
"type": "string"
|
|
14077
|
+
}
|
|
14078
|
+
}
|
|
14079
|
+
},
|
|
14080
|
+
"content": {
|
|
14081
|
+
"application/json": {
|
|
14082
|
+
"schema": {
|
|
14083
|
+
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
14084
|
+
}
|
|
14085
|
+
}
|
|
14086
|
+
}
|
|
14087
|
+
},
|
|
14088
|
+
"default": {
|
|
14089
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14090
|
+
}
|
|
14091
|
+
}
|
|
14092
|
+
}
|
|
14093
|
+
},
|
|
14094
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}": {
|
|
14095
|
+
"delete": {
|
|
14096
|
+
"operationId": "removeSectionFromGroup",
|
|
14097
|
+
"summary": "Remove a section from a section group",
|
|
14098
|
+
"tags": [
|
|
14099
|
+
"sites"
|
|
14100
|
+
],
|
|
14101
|
+
"security": [
|
|
14102
|
+
{
|
|
14103
|
+
"user": []
|
|
14104
|
+
}
|
|
14105
|
+
],
|
|
14106
|
+
"parameters": [
|
|
14107
|
+
{
|
|
14108
|
+
"$ref": "#/components/parameters/organizationId"
|
|
14109
|
+
},
|
|
14110
|
+
{
|
|
14111
|
+
"$ref": "#/components/parameters/siteId"
|
|
14112
|
+
},
|
|
14113
|
+
{
|
|
14114
|
+
"$ref": "#/components/parameters/siteSectionGroupId"
|
|
14115
|
+
},
|
|
14116
|
+
{
|
|
14117
|
+
"$ref": "#/components/parameters/siteSectionId"
|
|
14118
|
+
}
|
|
14119
|
+
],
|
|
14120
|
+
"responses": {
|
|
14121
|
+
"205": {
|
|
14122
|
+
"description": "Section has been removed from the section group"
|
|
14123
|
+
},
|
|
14124
|
+
"default": {
|
|
14125
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14126
|
+
}
|
|
14127
|
+
}
|
|
14128
|
+
}
|
|
14129
|
+
},
|
|
13977
14130
|
"/orgs/{organizationId}/sites/{siteId}/sections": {
|
|
13978
14131
|
"post": {
|
|
13979
14132
|
"operationId": "addSectionToSite",
|
|
@@ -14173,6 +14326,20 @@
|
|
|
14173
14326
|
]
|
|
14174
14327
|
}
|
|
14175
14328
|
]
|
|
14329
|
+
},
|
|
14330
|
+
"description": {
|
|
14331
|
+
"oneOf": [
|
|
14332
|
+
{
|
|
14333
|
+
"$ref": "#/components/schemas/SiteSectionDescription"
|
|
14334
|
+
},
|
|
14335
|
+
{
|
|
14336
|
+
"type": "string",
|
|
14337
|
+
"nullable": true,
|
|
14338
|
+
"enum": [
|
|
14339
|
+
null
|
|
14340
|
+
]
|
|
14341
|
+
}
|
|
14342
|
+
]
|
|
14176
14343
|
}
|
|
14177
14344
|
}
|
|
14178
14345
|
}
|
|
@@ -15348,6 +15515,69 @@
|
|
|
15348
15515
|
}
|
|
15349
15516
|
}
|
|
15350
15517
|
},
|
|
15518
|
+
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move": {
|
|
15519
|
+
"post": {
|
|
15520
|
+
"operationId": "moveSiteSectionGroup",
|
|
15521
|
+
"summary": "Move a site section group to a new position in the site.",
|
|
15522
|
+
"tags": [
|
|
15523
|
+
"sites"
|
|
15524
|
+
],
|
|
15525
|
+
"security": [
|
|
15526
|
+
{
|
|
15527
|
+
"user": []
|
|
15528
|
+
}
|
|
15529
|
+
],
|
|
15530
|
+
"parameters": [
|
|
15531
|
+
{
|
|
15532
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15533
|
+
},
|
|
15534
|
+
{
|
|
15535
|
+
"$ref": "#/components/parameters/siteId"
|
|
15536
|
+
},
|
|
15537
|
+
{
|
|
15538
|
+
"$ref": "#/components/parameters/siteSectionGroupId"
|
|
15539
|
+
}
|
|
15540
|
+
],
|
|
15541
|
+
"requestBody": {
|
|
15542
|
+
"content": {
|
|
15543
|
+
"application/json": {
|
|
15544
|
+
"schema": {
|
|
15545
|
+
"type": "object",
|
|
15546
|
+
"properties": {
|
|
15547
|
+
"position": {
|
|
15548
|
+
"description": "The position where to move the site section group. When not provided the site section group is moved at the end of the site.",
|
|
15549
|
+
"$ref": "#/components/schemas/SiteSectionGroupMovePosition"
|
|
15550
|
+
}
|
|
15551
|
+
}
|
|
15552
|
+
}
|
|
15553
|
+
}
|
|
15554
|
+
}
|
|
15555
|
+
},
|
|
15556
|
+
"responses": {
|
|
15557
|
+
"200": {
|
|
15558
|
+
"description": "Site section group moved",
|
|
15559
|
+
"content": {
|
|
15560
|
+
"application/json": {
|
|
15561
|
+
"schema": {
|
|
15562
|
+
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
15563
|
+
}
|
|
15564
|
+
}
|
|
15565
|
+
}
|
|
15566
|
+
},
|
|
15567
|
+
"400": {
|
|
15568
|
+
"description": "Invalid move site section group position provided",
|
|
15569
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
15570
|
+
},
|
|
15571
|
+
"404": {
|
|
15572
|
+
"description": "No matching site section group found",
|
|
15573
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
15574
|
+
},
|
|
15575
|
+
"default": {
|
|
15576
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15577
|
+
}
|
|
15578
|
+
}
|
|
15579
|
+
}
|
|
15580
|
+
},
|
|
15351
15581
|
"/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}/move": {
|
|
15352
15582
|
"post": {
|
|
15353
15583
|
"operationId": "moveSiteSection",
|
|
@@ -15542,6 +15772,8 @@
|
|
|
15542
15772
|
"summary": "Track a page view in a site",
|
|
15543
15773
|
"description": "Track a page view in a site.",
|
|
15544
15774
|
"deprecated": true,
|
|
15775
|
+
"x-deprecated-error-rate": 0.1,
|
|
15776
|
+
"x-deprecated-sunset": "2025-02-05T00:00:00.000Z",
|
|
15545
15777
|
"tags": [
|
|
15546
15778
|
"analytics",
|
|
15547
15779
|
"sites"
|
|
@@ -20372,6 +20604,9 @@
|
|
|
20372
20604
|
"oneOf": [
|
|
20373
20605
|
{
|
|
20374
20606
|
"$ref": "#/components/schemas/ContentRefFile"
|
|
20607
|
+
},
|
|
20608
|
+
{
|
|
20609
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
20375
20610
|
}
|
|
20376
20611
|
]
|
|
20377
20612
|
},
|
|
@@ -20694,98 +20929,52 @@
|
|
|
20694
20929
|
]
|
|
20695
20930
|
},
|
|
20696
20931
|
"SearchAIAnswerSource": {
|
|
20697
|
-
"
|
|
20698
|
-
|
|
20699
|
-
|
|
20700
|
-
|
|
20701
|
-
|
|
20702
|
-
|
|
20703
|
-
|
|
20704
|
-
|
|
20705
|
-
"capture"
|
|
20706
|
-
]
|
|
20707
|
-
}
|
|
20708
|
-
},
|
|
20709
|
-
"required": [
|
|
20710
|
-
"type"
|
|
20932
|
+
"type": "object",
|
|
20933
|
+
"title": "Page source",
|
|
20934
|
+
"description": "The source points to a page in a space.",
|
|
20935
|
+
"properties": {
|
|
20936
|
+
"type": {
|
|
20937
|
+
"type": "string",
|
|
20938
|
+
"enum": [
|
|
20939
|
+
"page"
|
|
20711
20940
|
]
|
|
20712
20941
|
},
|
|
20713
|
-
{
|
|
20714
|
-
"
|
|
20715
|
-
|
|
20942
|
+
"reason": {
|
|
20943
|
+
"type": "string",
|
|
20944
|
+
"description": "Short explanation of how the source was used to answer."
|
|
20945
|
+
},
|
|
20946
|
+
"page": {
|
|
20947
|
+
"type": "string",
|
|
20948
|
+
"description": "The page ID of the source."
|
|
20949
|
+
},
|
|
20950
|
+
"revision": {
|
|
20951
|
+
"type": "string",
|
|
20952
|
+
"description": "The revision ID where the page was extracted from."
|
|
20953
|
+
},
|
|
20954
|
+
"space": {
|
|
20955
|
+
"type": "string",
|
|
20956
|
+
"description": "The space ID owning the page."
|
|
20957
|
+
},
|
|
20958
|
+
"sections": {
|
|
20959
|
+
"type": "array",
|
|
20960
|
+
"items": {
|
|
20961
|
+
"type": "string"
|
|
20716
20962
|
},
|
|
20717
|
-
"
|
|
20718
|
-
{
|
|
20719
|
-
"type": "object",
|
|
20720
|
-
"title": "Page",
|
|
20721
|
-
"properties": {
|
|
20722
|
-
"type": {
|
|
20723
|
-
"type": "string",
|
|
20724
|
-
"enum": [
|
|
20725
|
-
"page"
|
|
20726
|
-
]
|
|
20727
|
-
},
|
|
20728
|
-
"page": {
|
|
20729
|
-
"type": "string"
|
|
20730
|
-
},
|
|
20731
|
-
"revision": {
|
|
20732
|
-
"type": "string"
|
|
20733
|
-
},
|
|
20734
|
-
"space": {
|
|
20735
|
-
"type": "string"
|
|
20736
|
-
},
|
|
20737
|
-
"sections": {
|
|
20738
|
-
"type": "array",
|
|
20739
|
-
"items": {
|
|
20740
|
-
"type": "string"
|
|
20741
|
-
}
|
|
20742
|
-
}
|
|
20743
|
-
},
|
|
20744
|
-
"required": [
|
|
20745
|
-
"type",
|
|
20746
|
-
"page",
|
|
20747
|
-
"revision",
|
|
20748
|
-
"space",
|
|
20749
|
-
"sections"
|
|
20750
|
-
]
|
|
20751
|
-
},
|
|
20752
|
-
{
|
|
20753
|
-
"type": "object",
|
|
20754
|
-
"title": "Snippet",
|
|
20755
|
-
"properties": {
|
|
20756
|
-
"type": {
|
|
20757
|
-
"type": "string",
|
|
20758
|
-
"enum": [
|
|
20759
|
-
"capture"
|
|
20760
|
-
]
|
|
20761
|
-
},
|
|
20762
|
-
"captureId": {
|
|
20763
|
-
"type": "string",
|
|
20764
|
-
"description": "ID of the capture"
|
|
20765
|
-
},
|
|
20766
|
-
"source": {
|
|
20767
|
-
"type": "string",
|
|
20768
|
-
"description": "Source of the capture"
|
|
20769
|
-
}
|
|
20770
|
-
},
|
|
20771
|
-
"required": [
|
|
20772
|
-
"type",
|
|
20773
|
-
"captureId",
|
|
20774
|
-
"source"
|
|
20775
|
-
]
|
|
20776
|
-
}
|
|
20777
|
-
]
|
|
20963
|
+
"description": "The IDs of the sections of the page that were used to answer the question."
|
|
20778
20964
|
}
|
|
20965
|
+
},
|
|
20966
|
+
"required": [
|
|
20967
|
+
"type",
|
|
20968
|
+
"page",
|
|
20969
|
+
"revision",
|
|
20970
|
+
"space",
|
|
20971
|
+
"sections"
|
|
20779
20972
|
]
|
|
20780
20973
|
},
|
|
20781
20974
|
"SearchAIAnswer": {
|
|
20782
20975
|
"type": "object",
|
|
20783
20976
|
"description": "Answer from AI for a question asked on a content.",
|
|
20784
20977
|
"properties": {
|
|
20785
|
-
"text": {
|
|
20786
|
-
"deprecated": true,
|
|
20787
|
-
"type": "string"
|
|
20788
|
-
},
|
|
20789
20978
|
"answer": {
|
|
20790
20979
|
"$ref": "#/components/schemas/Document"
|
|
20791
20980
|
},
|
|
@@ -20801,37 +20990,6 @@
|
|
|
20801
20990
|
"items": {
|
|
20802
20991
|
"$ref": "#/components/schemas/SearchAIAnswerSource"
|
|
20803
20992
|
}
|
|
20804
|
-
},
|
|
20805
|
-
"pages": {
|
|
20806
|
-
"type": "array",
|
|
20807
|
-
"deprecated": true,
|
|
20808
|
-
"description": "The pages used to generate the answer. Deprecated - use sources instead.",
|
|
20809
|
-
"items": {
|
|
20810
|
-
"type": "object",
|
|
20811
|
-
"properties": {
|
|
20812
|
-
"page": {
|
|
20813
|
-
"type": "string"
|
|
20814
|
-
},
|
|
20815
|
-
"revision": {
|
|
20816
|
-
"type": "string"
|
|
20817
|
-
},
|
|
20818
|
-
"space": {
|
|
20819
|
-
"type": "string"
|
|
20820
|
-
},
|
|
20821
|
-
"sections": {
|
|
20822
|
-
"type": "array",
|
|
20823
|
-
"items": {
|
|
20824
|
-
"type": "string"
|
|
20825
|
-
}
|
|
20826
|
-
}
|
|
20827
|
-
},
|
|
20828
|
-
"required": [
|
|
20829
|
-
"page",
|
|
20830
|
-
"revision",
|
|
20831
|
-
"space",
|
|
20832
|
-
"sections"
|
|
20833
|
-
]
|
|
20834
|
-
}
|
|
20835
20993
|
}
|
|
20836
20994
|
},
|
|
20837
20995
|
"required": [
|
|
@@ -21841,13 +21999,54 @@
|
|
|
21841
21999
|
}
|
|
21842
22000
|
]
|
|
21843
22001
|
},
|
|
21844
|
-
"
|
|
22002
|
+
"ComputedContentDependencyRef": {
|
|
21845
22003
|
"oneOf": [
|
|
21846
22004
|
{
|
|
21847
22005
|
"$ref": "#/components/schemas/ContentRefSpace"
|
|
21848
22006
|
}
|
|
21849
22007
|
]
|
|
21850
22008
|
},
|
|
22009
|
+
"ComputedContentDependencyValue": {
|
|
22010
|
+
"description": "Dependency for a computation, with its resolved value.",
|
|
22011
|
+
"oneOf": [
|
|
22012
|
+
{
|
|
22013
|
+
"type": "object",
|
|
22014
|
+
"properties": {
|
|
22015
|
+
"ref": {
|
|
22016
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
22017
|
+
},
|
|
22018
|
+
"value": {
|
|
22019
|
+
"type": "object",
|
|
22020
|
+
"nullable": true,
|
|
22021
|
+
"description": "See `Space` schema component.",
|
|
22022
|
+
"properties": {
|
|
22023
|
+
"object": {
|
|
22024
|
+
"type": "string",
|
|
22025
|
+
"enum": [
|
|
22026
|
+
"space"
|
|
22027
|
+
]
|
|
22028
|
+
},
|
|
22029
|
+
"id": {
|
|
22030
|
+
"type": "string"
|
|
22031
|
+
},
|
|
22032
|
+
"revision": {
|
|
22033
|
+
"type": "string"
|
|
22034
|
+
}
|
|
22035
|
+
},
|
|
22036
|
+
"required": [
|
|
22037
|
+
"object",
|
|
22038
|
+
"id",
|
|
22039
|
+
"revision"
|
|
22040
|
+
]
|
|
22041
|
+
}
|
|
22042
|
+
},
|
|
22043
|
+
"required": [
|
|
22044
|
+
"ref",
|
|
22045
|
+
"value"
|
|
22046
|
+
]
|
|
22047
|
+
}
|
|
22048
|
+
]
|
|
22049
|
+
},
|
|
21851
22050
|
"ComputedContentSource": {
|
|
21852
22051
|
"type": "object",
|
|
21853
22052
|
"description": "Parameters for a computed content",
|
|
@@ -21864,11 +22063,26 @@
|
|
|
21864
22063
|
"description": "Properties to be passed to the computation",
|
|
21865
22064
|
"$ref": "#/components/schemas/PlainObject"
|
|
21866
22065
|
},
|
|
21867
|
-
"
|
|
21868
|
-
"type": "
|
|
21869
|
-
"description": "Dependencies the computation
|
|
21870
|
-
"
|
|
21871
|
-
"
|
|
22066
|
+
"dependencies": {
|
|
22067
|
+
"type": "object",
|
|
22068
|
+
"description": "Dependencies the computation depends on.\nThe state of the dependencies will be passed to the computation.\nWhen the dependency's targets are updated, the computation will be updated.\n",
|
|
22069
|
+
"additionalProperties": {
|
|
22070
|
+
"oneOf": [
|
|
22071
|
+
{
|
|
22072
|
+
"type": "object",
|
|
22073
|
+
"properties": {
|
|
22074
|
+
"ref": {
|
|
22075
|
+
"$ref": "#/components/schemas/ComputedContentDependencyRef"
|
|
22076
|
+
}
|
|
22077
|
+
},
|
|
22078
|
+
"required": [
|
|
22079
|
+
"ref"
|
|
22080
|
+
]
|
|
22081
|
+
},
|
|
22082
|
+
{
|
|
22083
|
+
"$ref": "#/components/schemas/ComputedContentDependencyValue"
|
|
22084
|
+
}
|
|
22085
|
+
]
|
|
21872
22086
|
}
|
|
21873
22087
|
}
|
|
21874
22088
|
},
|
|
@@ -27592,11 +27806,19 @@
|
|
|
27592
27806
|
"props": {
|
|
27593
27807
|
"description": "Properties passed to the rendering.",
|
|
27594
27808
|
"$ref": "#/components/schemas/PlainObject"
|
|
27809
|
+
},
|
|
27810
|
+
"dependencies": {
|
|
27811
|
+
"description": "Dependencies of the computation.",
|
|
27812
|
+
"type": "object",
|
|
27813
|
+
"additionalProperties": {
|
|
27814
|
+
"$ref": "#/components/schemas/ComputedContentDependencyValue"
|
|
27815
|
+
}
|
|
27595
27816
|
}
|
|
27596
27817
|
},
|
|
27597
27818
|
"required": [
|
|
27598
27819
|
"sourceId",
|
|
27599
|
-
"props"
|
|
27820
|
+
"props",
|
|
27821
|
+
"dependencies"
|
|
27600
27822
|
]
|
|
27601
27823
|
}
|
|
27602
27824
|
]
|
|
@@ -29515,6 +29737,12 @@
|
|
|
29515
29737
|
"minLength": 2,
|
|
29516
29738
|
"maxLength": 128
|
|
29517
29739
|
},
|
|
29740
|
+
"SiteSectionDescription": {
|
|
29741
|
+
"type": "string",
|
|
29742
|
+
"description": "Description of the site section",
|
|
29743
|
+
"minLength": 0,
|
|
29744
|
+
"maxLength": 256
|
|
29745
|
+
},
|
|
29518
29746
|
"SiteSectionPath": {
|
|
29519
29747
|
"type": "string",
|
|
29520
29748
|
"description": "Path to the section on the site",
|
|
@@ -29612,6 +29840,9 @@
|
|
|
29612
29840
|
"title": {
|
|
29613
29841
|
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
29614
29842
|
},
|
|
29843
|
+
"description": {
|
|
29844
|
+
"$ref": "#/components/schemas/SiteSectionDescription"
|
|
29845
|
+
},
|
|
29615
29846
|
"default": {
|
|
29616
29847
|
"type": "boolean",
|
|
29617
29848
|
"description": "Whether this is the default section for the site"
|
|
@@ -29660,6 +29891,47 @@
|
|
|
29660
29891
|
"urls"
|
|
29661
29892
|
]
|
|
29662
29893
|
},
|
|
29894
|
+
"SiteSectionGroupTitle": {
|
|
29895
|
+
"type": "string",
|
|
29896
|
+
"description": "Title of the site section group",
|
|
29897
|
+
"minLength": 1,
|
|
29898
|
+
"maxLength": 100
|
|
29899
|
+
},
|
|
29900
|
+
"SiteSectionGroup": {
|
|
29901
|
+
"type": "object",
|
|
29902
|
+
"properties": {
|
|
29903
|
+
"object": {
|
|
29904
|
+
"type": "string",
|
|
29905
|
+
"description": "The object type, which is always \"site-section-group\"",
|
|
29906
|
+
"enum": [
|
|
29907
|
+
"site-section-group"
|
|
29908
|
+
]
|
|
29909
|
+
},
|
|
29910
|
+
"id": {
|
|
29911
|
+
"type": "string",
|
|
29912
|
+
"description": "Unique identifier of the site section group"
|
|
29913
|
+
},
|
|
29914
|
+
"title": {
|
|
29915
|
+
"$ref": "#/components/schemas/SiteSectionGroupTitle"
|
|
29916
|
+
},
|
|
29917
|
+
"sections": {
|
|
29918
|
+
"type": "array",
|
|
29919
|
+
"description": "List of site section ids that are members of the group",
|
|
29920
|
+
"items": {
|
|
29921
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
29922
|
+
}
|
|
29923
|
+
},
|
|
29924
|
+
"icon": {
|
|
29925
|
+
"$ref": "#/components/schemas/Icon"
|
|
29926
|
+
}
|
|
29927
|
+
},
|
|
29928
|
+
"required": [
|
|
29929
|
+
"object",
|
|
29930
|
+
"id",
|
|
29931
|
+
"title",
|
|
29932
|
+
"sections"
|
|
29933
|
+
]
|
|
29934
|
+
},
|
|
29663
29935
|
"SiteStructure": {
|
|
29664
29936
|
"oneOf": [
|
|
29665
29937
|
{
|
|
@@ -29674,7 +29946,14 @@
|
|
|
29674
29946
|
"structure": {
|
|
29675
29947
|
"type": "array",
|
|
29676
29948
|
"items": {
|
|
29677
|
-
"
|
|
29949
|
+
"oneOf": [
|
|
29950
|
+
{
|
|
29951
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
29952
|
+
},
|
|
29953
|
+
{
|
|
29954
|
+
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
29955
|
+
}
|
|
29956
|
+
]
|
|
29678
29957
|
}
|
|
29679
29958
|
}
|
|
29680
29959
|
},
|
|
@@ -30346,6 +30625,67 @@
|
|
|
30346
30625
|
}
|
|
30347
30626
|
]
|
|
30348
30627
|
},
|
|
30628
|
+
"MigrateOrganizationParameters": {
|
|
30629
|
+
"type": "object",
|
|
30630
|
+
"properties": {
|
|
30631
|
+
"interval": {
|
|
30632
|
+
"description": "The desired billing interval",
|
|
30633
|
+
"$ref": "#/components/schemas/BillingInterval"
|
|
30634
|
+
},
|
|
30635
|
+
"product": {
|
|
30636
|
+
"type": "string",
|
|
30637
|
+
"description": "The new product to upgrade to",
|
|
30638
|
+
"enum": [
|
|
30639
|
+
"free_2024",
|
|
30640
|
+
"plus_2024",
|
|
30641
|
+
"pro_2024"
|
|
30642
|
+
]
|
|
30643
|
+
},
|
|
30644
|
+
"changes": {
|
|
30645
|
+
"type": "object",
|
|
30646
|
+
"description": "Changes to apply to the organization and its sites before upgrading",
|
|
30647
|
+
"properties": {
|
|
30648
|
+
"removeMembers": {
|
|
30649
|
+
"description": "A list of member identifiers to be removed",
|
|
30650
|
+
"type": "array",
|
|
30651
|
+
"items": {
|
|
30652
|
+
"type": "string"
|
|
30653
|
+
}
|
|
30654
|
+
},
|
|
30655
|
+
"updateSites": {
|
|
30656
|
+
"description": "A list of site updates to be applied before upgrading. If a site is not present in this list, it'll be upgraded to whichever type matches its features and its published status will be unchanged. When downgrading to a lower type all relevant paid features will be disabled before applying the new type.\n",
|
|
30657
|
+
"type": "array",
|
|
30658
|
+
"items": {
|
|
30659
|
+
"type": "object",
|
|
30660
|
+
"properties": {
|
|
30661
|
+
"id": {
|
|
30662
|
+
"description": "The site identifier",
|
|
30663
|
+
"type": "string"
|
|
30664
|
+
},
|
|
30665
|
+
"type": {
|
|
30666
|
+
"description": "The site type to migrate to",
|
|
30667
|
+
"$ref": "#/components/schemas/SiteType"
|
|
30668
|
+
}
|
|
30669
|
+
},
|
|
30670
|
+
"required": [
|
|
30671
|
+
"id",
|
|
30672
|
+
"type"
|
|
30673
|
+
]
|
|
30674
|
+
}
|
|
30675
|
+
}
|
|
30676
|
+
},
|
|
30677
|
+
"required": [
|
|
30678
|
+
"removeMembers",
|
|
30679
|
+
"updateSites"
|
|
30680
|
+
]
|
|
30681
|
+
}
|
|
30682
|
+
},
|
|
30683
|
+
"required": [
|
|
30684
|
+
"product",
|
|
30685
|
+
"interval",
|
|
30686
|
+
"changes"
|
|
30687
|
+
]
|
|
30688
|
+
},
|
|
30349
30689
|
"SiteToMigrateFeature": {
|
|
30350
30690
|
"type": "string",
|
|
30351
30691
|
"description": "These are all the features we check to determine the new pricing site type.",
|
|
@@ -31739,47 +32079,6 @@
|
|
|
31739
32079
|
}
|
|
31740
32080
|
]
|
|
31741
32081
|
},
|
|
31742
|
-
"SiteSectionGroupTitle": {
|
|
31743
|
-
"type": "string",
|
|
31744
|
-
"description": "Title of the site section group",
|
|
31745
|
-
"minLength": 1,
|
|
31746
|
-
"maxLength": 100
|
|
31747
|
-
},
|
|
31748
|
-
"SiteSectionGroup": {
|
|
31749
|
-
"type": "object",
|
|
31750
|
-
"properties": {
|
|
31751
|
-
"object": {
|
|
31752
|
-
"type": "string",
|
|
31753
|
-
"description": "The object type, which is always \"site-section-group\"",
|
|
31754
|
-
"enum": [
|
|
31755
|
-
"site-section-group"
|
|
31756
|
-
]
|
|
31757
|
-
},
|
|
31758
|
-
"id": {
|
|
31759
|
-
"type": "string",
|
|
31760
|
-
"description": "Unique identifier of the site section group"
|
|
31761
|
-
},
|
|
31762
|
-
"title": {
|
|
31763
|
-
"$ref": "#/components/schemas/SiteSectionGroupTitle"
|
|
31764
|
-
},
|
|
31765
|
-
"sections": {
|
|
31766
|
-
"type": "array",
|
|
31767
|
-
"description": "List of site section ids that are members of the group",
|
|
31768
|
-
"items": {
|
|
31769
|
-
"$ref": "#/components/schemas/SiteSection"
|
|
31770
|
-
}
|
|
31771
|
-
},
|
|
31772
|
-
"icon": {
|
|
31773
|
-
"$ref": "#/components/schemas/Icon"
|
|
31774
|
-
}
|
|
31775
|
-
},
|
|
31776
|
-
"required": [
|
|
31777
|
-
"object",
|
|
31778
|
-
"id",
|
|
31779
|
-
"title",
|
|
31780
|
-
"sections"
|
|
31781
|
-
]
|
|
31782
|
-
},
|
|
31783
32082
|
"SiteSearchScope": {
|
|
31784
32083
|
"oneOf": [
|
|
31785
32084
|
{
|
|
@@ -31862,6 +32161,38 @@
|
|
|
31862
32161
|
}
|
|
31863
32162
|
]
|
|
31864
32163
|
},
|
|
32164
|
+
"SiteSectionGroupPointer": {
|
|
32165
|
+
"type": "object",
|
|
32166
|
+
"properties": {
|
|
32167
|
+
"type": {
|
|
32168
|
+
"type": "string",
|
|
32169
|
+
"enum": [
|
|
32170
|
+
"site-section",
|
|
32171
|
+
"site-section-group"
|
|
32172
|
+
]
|
|
32173
|
+
},
|
|
32174
|
+
"id": {
|
|
32175
|
+
"type": "string",
|
|
32176
|
+
"description": "Unique identifier for the site section"
|
|
32177
|
+
}
|
|
32178
|
+
},
|
|
32179
|
+
"required": [
|
|
32180
|
+
"type",
|
|
32181
|
+
"id"
|
|
32182
|
+
]
|
|
32183
|
+
},
|
|
32184
|
+
"SiteSectionGroupMovePosition": {
|
|
32185
|
+
"type": "object",
|
|
32186
|
+
"description": "Position at which to move the site section group.",
|
|
32187
|
+
"properties": {
|
|
32188
|
+
"before": {
|
|
32189
|
+
"$ref": "#/components/schemas/SiteSectionGroupPointer"
|
|
32190
|
+
},
|
|
32191
|
+
"after": {
|
|
32192
|
+
"$ref": "#/components/schemas/SiteSectionGroupPointer"
|
|
32193
|
+
}
|
|
32194
|
+
}
|
|
32195
|
+
},
|
|
31865
32196
|
"SiteSectionPointer": {
|
|
31866
32197
|
"type": "object",
|
|
31867
32198
|
"properties": {
|
|
@@ -35328,6 +35659,18 @@
|
|
|
35328
35659
|
}
|
|
35329
35660
|
]
|
|
35330
35661
|
},
|
|
35662
|
+
"ComputedContentDependency": {
|
|
35663
|
+
"type": "object",
|
|
35664
|
+
"description": "Dependency for a computation, before its resolution.",
|
|
35665
|
+
"properties": {
|
|
35666
|
+
"ref": {
|
|
35667
|
+
"$ref": "#/components/schemas/ComputedContentDependencyRef"
|
|
35668
|
+
}
|
|
35669
|
+
},
|
|
35670
|
+
"required": [
|
|
35671
|
+
"ref"
|
|
35672
|
+
]
|
|
35673
|
+
},
|
|
35331
35674
|
"InputPageBase": {
|
|
35332
35675
|
"allOf": [
|
|
35333
35676
|
{
|