@gitbook/api 0.64.1 → 0.66.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 +344 -29
- package/dist/index.cjs +30 -2
- package/dist/index.js +29 -2
- package/package.json +1 -1
- package/spec/openapi.json +881 -58
- package/spec/openapi.yaml +515 -39
package/spec/openapi.yaml
CHANGED
|
@@ -829,6 +829,7 @@ paths:
|
|
|
829
829
|
parameters:
|
|
830
830
|
- $ref: "#/components/parameters/spaceId"
|
|
831
831
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
832
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
832
833
|
responses:
|
|
833
834
|
"200":
|
|
834
835
|
description: OK
|
|
@@ -875,6 +876,7 @@ paths:
|
|
|
875
876
|
parameters:
|
|
876
877
|
- $ref: "#/components/parameters/spaceId"
|
|
877
878
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
879
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
878
880
|
responses:
|
|
879
881
|
"200":
|
|
880
882
|
description: OK
|
|
@@ -902,6 +904,7 @@ paths:
|
|
|
902
904
|
- $ref: "#/components/parameters/listPage"
|
|
903
905
|
- $ref: "#/components/parameters/listLimit"
|
|
904
906
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
907
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
905
908
|
responses:
|
|
906
909
|
"200":
|
|
907
910
|
description: OK
|
|
@@ -930,6 +933,7 @@ paths:
|
|
|
930
933
|
- $ref: "#/components/parameters/spaceId"
|
|
931
934
|
- $ref: "#/components/parameters/fileId"
|
|
932
935
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
936
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
933
937
|
responses:
|
|
934
938
|
"200":
|
|
935
939
|
description: OK
|
|
@@ -981,6 +985,7 @@ paths:
|
|
|
981
985
|
- $ref: "#/components/parameters/pageId"
|
|
982
986
|
- $ref: "#/components/parameters/documentFormat"
|
|
983
987
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
988
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
984
989
|
responses:
|
|
985
990
|
"200":
|
|
986
991
|
description: OK
|
|
@@ -1100,6 +1105,7 @@ paths:
|
|
|
1100
1105
|
- $ref: "#/components/parameters/pagePath"
|
|
1101
1106
|
- $ref: "#/components/parameters/documentFormat"
|
|
1102
1107
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
1108
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
1103
1109
|
responses:
|
|
1104
1110
|
"200":
|
|
1105
1111
|
description: OK
|
|
@@ -1111,6 +1117,35 @@ paths:
|
|
|
1111
1117
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
1112
1118
|
default:
|
|
1113
1119
|
$ref: "#/components/responses/UnexpectedError"
|
|
1120
|
+
"/spaces/{spaceId}/content/computed/document":
|
|
1121
|
+
post:
|
|
1122
|
+
operationId: computePageDocument
|
|
1123
|
+
summary: Get the document for a page in a computed content.
|
|
1124
|
+
security:
|
|
1125
|
+
- user: []
|
|
1126
|
+
parameters:
|
|
1127
|
+
- $ref: "#/components/parameters/spaceId"
|
|
1128
|
+
- $ref: "#/components/parameters/documentFormat"
|
|
1129
|
+
requestBody:
|
|
1130
|
+
required: true
|
|
1131
|
+
content:
|
|
1132
|
+
application/json:
|
|
1133
|
+
schema:
|
|
1134
|
+
type: object
|
|
1135
|
+
properties:
|
|
1136
|
+
source:
|
|
1137
|
+
$ref: "#/components/schemas/ComputedContentSource"
|
|
1138
|
+
required:
|
|
1139
|
+
- source
|
|
1140
|
+
responses:
|
|
1141
|
+
"200":
|
|
1142
|
+
description: Document computed
|
|
1143
|
+
content:
|
|
1144
|
+
application/json:
|
|
1145
|
+
schema:
|
|
1146
|
+
$ref: "#/components/schemas/Document"
|
|
1147
|
+
default:
|
|
1148
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
1114
1149
|
"/spaces/{spaceId}/documents/{documentId}":
|
|
1115
1150
|
get:
|
|
1116
1151
|
operationId: getDocumentById
|
|
@@ -1813,6 +1848,7 @@ paths:
|
|
|
1813
1848
|
- $ref: "#/components/parameters/spaceId"
|
|
1814
1849
|
- $ref: "#/components/parameters/changeRequestId"
|
|
1815
1850
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
1851
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
1816
1852
|
responses:
|
|
1817
1853
|
"200":
|
|
1818
1854
|
description: OK
|
|
@@ -1861,6 +1897,7 @@ paths:
|
|
|
1861
1897
|
- $ref: "#/components/parameters/spaceId"
|
|
1862
1898
|
- $ref: "#/components/parameters/changeRequestId"
|
|
1863
1899
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
1900
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
1864
1901
|
responses:
|
|
1865
1902
|
"200":
|
|
1866
1903
|
description: OK
|
|
@@ -1889,6 +1926,7 @@ paths:
|
|
|
1889
1926
|
- $ref: "#/components/parameters/listPage"
|
|
1890
1927
|
- $ref: "#/components/parameters/listLimit"
|
|
1891
1928
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
1929
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
1892
1930
|
responses:
|
|
1893
1931
|
"200":
|
|
1894
1932
|
description: OK
|
|
@@ -1918,6 +1956,7 @@ paths:
|
|
|
1918
1956
|
- $ref: "#/components/parameters/changeRequestId"
|
|
1919
1957
|
- $ref: "#/components/parameters/fileId"
|
|
1920
1958
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
1959
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
1921
1960
|
responses:
|
|
1922
1961
|
"200":
|
|
1923
1962
|
description: OK
|
|
@@ -1971,6 +2010,7 @@ paths:
|
|
|
1971
2010
|
- $ref: "#/components/parameters/pageId"
|
|
1972
2011
|
- $ref: "#/components/parameters/documentFormat"
|
|
1973
2012
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2013
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
1974
2014
|
responses:
|
|
1975
2015
|
"200":
|
|
1976
2016
|
description: OK
|
|
@@ -2089,6 +2129,7 @@ paths:
|
|
|
2089
2129
|
- $ref: "#/components/parameters/pagePath"
|
|
2090
2130
|
- $ref: "#/components/parameters/documentFormat"
|
|
2091
2131
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2132
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
2092
2133
|
responses:
|
|
2093
2134
|
"200":
|
|
2094
2135
|
description: OK
|
|
@@ -2178,6 +2219,40 @@ paths:
|
|
|
2178
2219
|
- url
|
|
2179
2220
|
default:
|
|
2180
2221
|
$ref: "#/components/responses/UnexpectedError"
|
|
2222
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/synced-blocks/{syncedBlockId}/content":
|
|
2223
|
+
get:
|
|
2224
|
+
operationId: getSyncedBlockContentInChangeRequest
|
|
2225
|
+
summary: Get the content of a synced block in the context of a change request.
|
|
2226
|
+
tags:
|
|
2227
|
+
- spaces
|
|
2228
|
+
security:
|
|
2229
|
+
- user: []
|
|
2230
|
+
parameters:
|
|
2231
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2232
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
2233
|
+
- $ref: "#/components/parameters/syncedBlockId"
|
|
2234
|
+
responses:
|
|
2235
|
+
"200":
|
|
2236
|
+
description: OK
|
|
2237
|
+
content:
|
|
2238
|
+
application/json:
|
|
2239
|
+
schema:
|
|
2240
|
+
type: object
|
|
2241
|
+
properties:
|
|
2242
|
+
document:
|
|
2243
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
2244
|
+
files:
|
|
2245
|
+
type: array
|
|
2246
|
+
items:
|
|
2247
|
+
$ref: "#/components/schemas/RevisionFile"
|
|
2248
|
+
required:
|
|
2249
|
+
- document
|
|
2250
|
+
- files
|
|
2251
|
+
"404":
|
|
2252
|
+
description: The space, change request, synced block or its content could not be found.
|
|
2253
|
+
$ref: "#/components/responses/NotFoundError"
|
|
2254
|
+
default:
|
|
2255
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
2181
2256
|
"/spaces/{spaceId}/revisions/{revisionId}":
|
|
2182
2257
|
get:
|
|
2183
2258
|
operationId: getRevisionById
|
|
@@ -2188,6 +2263,7 @@ paths:
|
|
|
2188
2263
|
- $ref: "#/components/parameters/spaceId"
|
|
2189
2264
|
- $ref: "#/components/parameters/revisionId"
|
|
2190
2265
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2266
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
2191
2267
|
responses:
|
|
2192
2268
|
"200":
|
|
2193
2269
|
description: OK
|
|
@@ -2207,6 +2283,7 @@ paths:
|
|
|
2207
2283
|
- $ref: "#/components/parameters/spaceId"
|
|
2208
2284
|
- $ref: "#/components/parameters/revisionId"
|
|
2209
2285
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2286
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
2210
2287
|
- name: limit
|
|
2211
2288
|
in: query
|
|
2212
2289
|
description: Limit the number of changes returned
|
|
@@ -2232,6 +2309,7 @@ paths:
|
|
|
2232
2309
|
- $ref: "#/components/parameters/spaceId"
|
|
2233
2310
|
- $ref: "#/components/parameters/revisionId"
|
|
2234
2311
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2312
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
2235
2313
|
responses:
|
|
2236
2314
|
"200":
|
|
2237
2315
|
description: OK
|
|
@@ -2260,6 +2338,7 @@ paths:
|
|
|
2260
2338
|
- $ref: "#/components/parameters/listPage"
|
|
2261
2339
|
- $ref: "#/components/parameters/listLimit"
|
|
2262
2340
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2341
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
2263
2342
|
responses:
|
|
2264
2343
|
"200":
|
|
2265
2344
|
description: OK
|
|
@@ -2289,6 +2368,7 @@ paths:
|
|
|
2289
2368
|
- $ref: "#/components/parameters/revisionId"
|
|
2290
2369
|
- $ref: "#/components/parameters/fileId"
|
|
2291
2370
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2371
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
2292
2372
|
responses:
|
|
2293
2373
|
"200":
|
|
2294
2374
|
description: OK
|
|
@@ -2310,6 +2390,7 @@ paths:
|
|
|
2310
2390
|
- $ref: "#/components/parameters/pageId"
|
|
2311
2391
|
- $ref: "#/components/parameters/documentFormat"
|
|
2312
2392
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2393
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
2313
2394
|
responses:
|
|
2314
2395
|
"200":
|
|
2315
2396
|
description: OK
|
|
@@ -2331,6 +2412,7 @@ paths:
|
|
|
2331
2412
|
- $ref: "#/components/parameters/pagePath"
|
|
2332
2413
|
- $ref: "#/components/parameters/documentFormat"
|
|
2333
2414
|
- $ref: "#/components/parameters/revisionMetadata"
|
|
2415
|
+
- $ref: "#/components/parameters/revisionComputed"
|
|
2334
2416
|
responses:
|
|
2335
2417
|
"200":
|
|
2336
2418
|
description: OK
|
|
@@ -6271,15 +6353,10 @@ paths:
|
|
|
6271
6353
|
application/json:
|
|
6272
6354
|
schema:
|
|
6273
6355
|
type: object
|
|
6274
|
-
required:
|
|
6275
|
-
- content
|
|
6276
6356
|
properties:
|
|
6277
6357
|
title:
|
|
6278
6358
|
type: string
|
|
6279
6359
|
description: Title of synced block
|
|
6280
|
-
content:
|
|
6281
|
-
description: The content of the synced block. For now, only JSON documents are supported.
|
|
6282
|
-
$ref: "#/components/schemas/Document"
|
|
6283
6360
|
responses:
|
|
6284
6361
|
"201":
|
|
6285
6362
|
description: Synced block created
|
|
@@ -6360,7 +6437,7 @@ paths:
|
|
|
6360
6437
|
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/content":
|
|
6361
6438
|
get:
|
|
6362
6439
|
operationId: getSyncedBlockContent
|
|
6363
|
-
summary: Get a synced block
|
|
6440
|
+
summary: Get the content of a synced block.
|
|
6364
6441
|
tags:
|
|
6365
6442
|
- organizations
|
|
6366
6443
|
security:
|
|
@@ -6385,6 +6462,9 @@ paths:
|
|
|
6385
6462
|
required:
|
|
6386
6463
|
- document
|
|
6387
6464
|
- files
|
|
6465
|
+
"404":
|
|
6466
|
+
description: The synced block or its content could not be found.
|
|
6467
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6388
6468
|
default:
|
|
6389
6469
|
$ref: "#/components/responses/UnexpectedError"
|
|
6390
6470
|
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/backlinks":
|
|
@@ -6729,7 +6809,10 @@ paths:
|
|
|
6729
6809
|
$ref: "#/components/schemas/SiteBasename"
|
|
6730
6810
|
defaultSiteSpace:
|
|
6731
6811
|
type: string
|
|
6732
|
-
description: ID of the site-space to be used as the default
|
|
6812
|
+
description: ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section.
|
|
6813
|
+
defaultSiteSection:
|
|
6814
|
+
type: string
|
|
6815
|
+
description: ID of the site-section to be used as the default.
|
|
6733
6816
|
responses:
|
|
6734
6817
|
"200":
|
|
6735
6818
|
description: OK
|
|
@@ -7464,8 +7547,13 @@ paths:
|
|
|
7464
7547
|
schema:
|
|
7465
7548
|
type: object
|
|
7466
7549
|
properties:
|
|
7550
|
+
title:
|
|
7551
|
+
$ref: "#/components/schemas/SiteSectionTitle"
|
|
7467
7552
|
path:
|
|
7468
7553
|
$ref: "#/components/schemas/SiteSectionPath"
|
|
7554
|
+
defaultSiteSpace:
|
|
7555
|
+
type: string
|
|
7556
|
+
description: ID of the site-space to be used as the default in this section.
|
|
7469
7557
|
responses:
|
|
7470
7558
|
"200":
|
|
7471
7559
|
description: OK
|
|
@@ -8586,6 +8674,13 @@ components:
|
|
|
8586
8674
|
schema:
|
|
8587
8675
|
type: boolean
|
|
8588
8676
|
default: true
|
|
8677
|
+
revisionComputed:
|
|
8678
|
+
name: computed
|
|
8679
|
+
in: query
|
|
8680
|
+
description: If `false` is passed, content will not be computed
|
|
8681
|
+
schema:
|
|
8682
|
+
type: boolean
|
|
8683
|
+
default: true
|
|
8589
8684
|
fileId:
|
|
8590
8685
|
name: fileId
|
|
8591
8686
|
in: path
|
|
@@ -8664,6 +8759,13 @@ components:
|
|
|
8664
8759
|
description: The unique id of the comment reply
|
|
8665
8760
|
schema:
|
|
8666
8761
|
type: string
|
|
8762
|
+
syncedBlockId:
|
|
8763
|
+
name: syncedBlockId
|
|
8764
|
+
in: path
|
|
8765
|
+
required: true
|
|
8766
|
+
description: The unique id of a synced block
|
|
8767
|
+
schema:
|
|
8768
|
+
type: string
|
|
8667
8769
|
revisionId:
|
|
8668
8770
|
name: revisionId
|
|
8669
8771
|
in: path
|
|
@@ -8783,13 +8885,6 @@ components:
|
|
|
8783
8885
|
schema:
|
|
8784
8886
|
type: string
|
|
8785
8887
|
format: date-time
|
|
8786
|
-
syncedBlockId:
|
|
8787
|
-
name: syncedBlockId
|
|
8788
|
-
in: path
|
|
8789
|
-
required: true
|
|
8790
|
-
description: The unique id of a synced block
|
|
8791
|
-
schema:
|
|
8792
|
-
type: string
|
|
8793
8888
|
siteCustomizationUnmasked:
|
|
8794
8889
|
name: unmasked
|
|
8795
8890
|
in: query
|
|
@@ -10210,7 +10305,7 @@ components:
|
|
|
10210
10305
|
- $ref: "#/components/schemas/DocumentFragment"
|
|
10211
10306
|
- type: object
|
|
10212
10307
|
properties:
|
|
10213
|
-
|
|
10308
|
+
fragment:
|
|
10214
10309
|
type: string
|
|
10215
10310
|
enum:
|
|
10216
10311
|
- caption
|
|
@@ -10220,7 +10315,7 @@ components:
|
|
|
10220
10315
|
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
10221
10316
|
required:
|
|
10222
10317
|
- nodes
|
|
10223
|
-
-
|
|
10318
|
+
- fragment
|
|
10224
10319
|
isVoid:
|
|
10225
10320
|
type: boolean
|
|
10226
10321
|
enum:
|
|
@@ -10262,7 +10357,7 @@ components:
|
|
|
10262
10357
|
isVoid:
|
|
10263
10358
|
type: boolean
|
|
10264
10359
|
enum:
|
|
10265
|
-
-
|
|
10360
|
+
- false
|
|
10266
10361
|
required:
|
|
10267
10362
|
- object
|
|
10268
10363
|
- type
|
|
@@ -10471,6 +10566,21 @@ components:
|
|
|
10471
10566
|
- type
|
|
10472
10567
|
- data
|
|
10473
10568
|
- isVoid
|
|
10569
|
+
PlainObject:
|
|
10570
|
+
properties: {}
|
|
10571
|
+
additionalProperties:
|
|
10572
|
+
oneOf:
|
|
10573
|
+
- $ref: "#/components/schemas/PlainObject"
|
|
10574
|
+
- type: string
|
|
10575
|
+
- type: boolean
|
|
10576
|
+
- type: number
|
|
10577
|
+
- type: array
|
|
10578
|
+
items:
|
|
10579
|
+
oneOf:
|
|
10580
|
+
- type: string
|
|
10581
|
+
- type: boolean
|
|
10582
|
+
- type: number
|
|
10583
|
+
- $ref: "#/components/schemas/PlainObject"
|
|
10474
10584
|
ContentKitDefaultAction:
|
|
10475
10585
|
oneOf:
|
|
10476
10586
|
- type: object
|
|
@@ -10483,7 +10593,7 @@ components:
|
|
|
10483
10593
|
componentId:
|
|
10484
10594
|
type: string
|
|
10485
10595
|
props:
|
|
10486
|
-
|
|
10596
|
+
$ref: "#/components/schemas/PlainObject"
|
|
10487
10597
|
required:
|
|
10488
10598
|
- action
|
|
10489
10599
|
- componentId
|
|
@@ -10496,7 +10606,19 @@ components:
|
|
|
10496
10606
|
enum:
|
|
10497
10607
|
- "@ui.modal.close"
|
|
10498
10608
|
returnValue:
|
|
10499
|
-
|
|
10609
|
+
$ref: "#/components/schemas/PlainObject"
|
|
10610
|
+
required:
|
|
10611
|
+
- action
|
|
10612
|
+
- returnValue
|
|
10613
|
+
- type: object
|
|
10614
|
+
description: Action to submit the current flow the user is in.
|
|
10615
|
+
properties:
|
|
10616
|
+
action:
|
|
10617
|
+
type: string
|
|
10618
|
+
enum:
|
|
10619
|
+
- "@ui.submit"
|
|
10620
|
+
returnValue:
|
|
10621
|
+
$ref: "#/components/schemas/PlainObject"
|
|
10500
10622
|
required:
|
|
10501
10623
|
- action
|
|
10502
10624
|
- returnValue
|
|
@@ -10532,7 +10654,7 @@ components:
|
|
|
10532
10654
|
enum:
|
|
10533
10655
|
- "@editor.node.updateProps"
|
|
10534
10656
|
props:
|
|
10535
|
-
|
|
10657
|
+
$ref: "#/components/schemas/PlainObject"
|
|
10536
10658
|
required:
|
|
10537
10659
|
- action
|
|
10538
10660
|
- props
|
|
@@ -10570,10 +10692,8 @@ components:
|
|
|
10570
10692
|
type: string
|
|
10571
10693
|
description: ID of the block in the integration
|
|
10572
10694
|
props:
|
|
10573
|
-
type: object
|
|
10574
10695
|
description: Properties passed to the block during rendering
|
|
10575
|
-
|
|
10576
|
-
description: Any value
|
|
10696
|
+
$ref: "#/components/schemas/PlainObject"
|
|
10577
10697
|
action:
|
|
10578
10698
|
$ref: "#/components/schemas/ContentKitAction"
|
|
10579
10699
|
url:
|
|
@@ -11525,7 +11645,7 @@ components:
|
|
|
11525
11645
|
title:
|
|
11526
11646
|
description: Title of the page
|
|
11527
11647
|
type: string
|
|
11528
|
-
|
|
11648
|
+
minLength: 1
|
|
11529
11649
|
emoji:
|
|
11530
11650
|
description: Emoji of the page, if one has been set.
|
|
11531
11651
|
$ref: "#/components/schemas/Emoji"
|
|
@@ -11580,6 +11700,7 @@ components:
|
|
|
11580
11700
|
oneOf:
|
|
11581
11701
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
11582
11702
|
- $ref: "#/components/schemas/RevisionPageLink"
|
|
11703
|
+
- $ref: "#/components/schemas/RevisionPageComputed"
|
|
11583
11704
|
git:
|
|
11584
11705
|
$ref: "#/components/schemas/GitSyncBlob"
|
|
11585
11706
|
layout:
|
|
@@ -11598,6 +11719,9 @@ components:
|
|
|
11598
11719
|
type: boolean
|
|
11599
11720
|
description: If true, the page is not indexable by search engine robots.
|
|
11600
11721
|
default: false
|
|
11722
|
+
computed:
|
|
11723
|
+
description: Defined when the page was generated by a computed content.
|
|
11724
|
+
$ref: "#/components/schemas/ComputedContentSource"
|
|
11601
11725
|
required:
|
|
11602
11726
|
- kind
|
|
11603
11727
|
- type
|
|
@@ -11632,6 +11756,45 @@ components:
|
|
|
11632
11756
|
- kind
|
|
11633
11757
|
- type
|
|
11634
11758
|
- target
|
|
11759
|
+
ComputedContentDependency:
|
|
11760
|
+
oneOf:
|
|
11761
|
+
- $ref: "#/components/schemas/ContentRefSpace"
|
|
11762
|
+
ComputedContentSource:
|
|
11763
|
+
type: object
|
|
11764
|
+
description: Parameters for a computed content
|
|
11765
|
+
properties:
|
|
11766
|
+
integration:
|
|
11767
|
+
type: string
|
|
11768
|
+
description: Name of the integration
|
|
11769
|
+
source:
|
|
11770
|
+
type: string
|
|
11771
|
+
description: Identifier of the source used for computation
|
|
11772
|
+
props:
|
|
11773
|
+
description: Properties to be passed to the computation
|
|
11774
|
+
$ref: "#/components/schemas/PlainObject"
|
|
11775
|
+
dependsOn:
|
|
11776
|
+
type: array
|
|
11777
|
+
description: Dependencies the computation depend on. When the dependency's targets are updated, the computation will be updated.
|
|
11778
|
+
items:
|
|
11779
|
+
$ref: "#/components/schemas/ComputedContentDependency"
|
|
11780
|
+
required:
|
|
11781
|
+
- integration
|
|
11782
|
+
- source
|
|
11783
|
+
- props
|
|
11784
|
+
RevisionPageComputed:
|
|
11785
|
+
allOf:
|
|
11786
|
+
- $ref: "#/components/schemas/RevisionPageBase"
|
|
11787
|
+
- type: object
|
|
11788
|
+
properties:
|
|
11789
|
+
type:
|
|
11790
|
+
type: string
|
|
11791
|
+
enum:
|
|
11792
|
+
- computed
|
|
11793
|
+
computed:
|
|
11794
|
+
$ref: "#/components/schemas/ComputedContentSource"
|
|
11795
|
+
required:
|
|
11796
|
+
- type
|
|
11797
|
+
- computed
|
|
11635
11798
|
GitSyncBlob:
|
|
11636
11799
|
type: object
|
|
11637
11800
|
properties:
|
|
@@ -11909,6 +12072,7 @@ components:
|
|
|
11909
12072
|
oneOf:
|
|
11910
12073
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
11911
12074
|
- $ref: "#/components/schemas/RevisionPageLink"
|
|
12075
|
+
- $ref: "#/components/schemas/RevisionPageComputed"
|
|
11912
12076
|
required:
|
|
11913
12077
|
- kind
|
|
11914
12078
|
- type
|
|
@@ -11920,6 +12084,7 @@ components:
|
|
|
11920
12084
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
11921
12085
|
- $ref: "#/components/schemas/RevisionPageGroup"
|
|
11922
12086
|
- $ref: "#/components/schemas/RevisionPageLink"
|
|
12087
|
+
- $ref: "#/components/schemas/RevisionPageComputed"
|
|
11923
12088
|
discriminator:
|
|
11924
12089
|
propertyName: type
|
|
11925
12090
|
RevisionFile:
|
|
@@ -12147,12 +12312,25 @@ components:
|
|
|
12147
12312
|
- update
|
|
12148
12313
|
required:
|
|
12149
12314
|
- type
|
|
12315
|
+
RevisionTypeComputed:
|
|
12316
|
+
allOf:
|
|
12317
|
+
- $ref: "#/components/schemas/RevisionBase"
|
|
12318
|
+
- type: object
|
|
12319
|
+
properties:
|
|
12320
|
+
type:
|
|
12321
|
+
type: string
|
|
12322
|
+
description: Virtual revision, computed from a source revision
|
|
12323
|
+
enum:
|
|
12324
|
+
- computed
|
|
12325
|
+
required:
|
|
12326
|
+
- type
|
|
12150
12327
|
Revision:
|
|
12151
12328
|
oneOf:
|
|
12152
12329
|
- $ref: "#/components/schemas/RevisionTypeEdits"
|
|
12153
12330
|
- $ref: "#/components/schemas/RevisionTypeMerge"
|
|
12154
12331
|
- $ref: "#/components/schemas/RevisionTypeRollback"
|
|
12155
12332
|
- $ref: "#/components/schemas/RevisionTypeUpdate"
|
|
12333
|
+
- $ref: "#/components/schemas/RevisionTypeComputed"
|
|
12156
12334
|
discriminator:
|
|
12157
12335
|
propertyName: type
|
|
12158
12336
|
ImportContentSource:
|
|
@@ -12603,6 +12781,40 @@ components:
|
|
|
12603
12781
|
description: Custom blocks defined by this integration.
|
|
12604
12782
|
items:
|
|
12605
12783
|
$ref: "#/components/schemas/IntegrationBlock"
|
|
12784
|
+
IntegrationConfigurationComponent:
|
|
12785
|
+
type: object
|
|
12786
|
+
description: ContentKit component for configuration
|
|
12787
|
+
properties:
|
|
12788
|
+
componentId:
|
|
12789
|
+
type: string
|
|
12790
|
+
description: ID of the ContentKit component defined in the integration
|
|
12791
|
+
required:
|
|
12792
|
+
- componentId
|
|
12793
|
+
IntegrationContentSource:
|
|
12794
|
+
type: object
|
|
12795
|
+
description: Definition of a content source provided by the integration.
|
|
12796
|
+
properties:
|
|
12797
|
+
id:
|
|
12798
|
+
type: string
|
|
12799
|
+
description: Unique ID in the integration for the source.
|
|
12800
|
+
title:
|
|
12801
|
+
type: string
|
|
12802
|
+
description: Short descriptive title for the source.
|
|
12803
|
+
minLength: 2
|
|
12804
|
+
maxLength: 40
|
|
12805
|
+
description:
|
|
12806
|
+
type: string
|
|
12807
|
+
description: Long descriptive text for the source.
|
|
12808
|
+
minLength: 0
|
|
12809
|
+
maxLength: 150
|
|
12810
|
+
icon:
|
|
12811
|
+
type: string
|
|
12812
|
+
description: URL of the icon to represent this source.
|
|
12813
|
+
configuration:
|
|
12814
|
+
$ref: "#/components/schemas/IntegrationConfigurationComponent"
|
|
12815
|
+
required:
|
|
12816
|
+
- id
|
|
12817
|
+
- title
|
|
12606
12818
|
IntegrationConfigurationSchema:
|
|
12607
12819
|
type: object
|
|
12608
12820
|
description: Schema for a configuration
|
|
@@ -12671,15 +12883,6 @@ components:
|
|
|
12671
12883
|
type: string
|
|
12672
12884
|
required:
|
|
12673
12885
|
- properties
|
|
12674
|
-
IntegrationConfigurationComponent:
|
|
12675
|
-
type: object
|
|
12676
|
-
description: ContentKit component for configuration
|
|
12677
|
-
properties:
|
|
12678
|
-
componentId:
|
|
12679
|
-
type: string
|
|
12680
|
-
description: ID of the ContentKit component defined in the integration
|
|
12681
|
-
required:
|
|
12682
|
-
- componentId
|
|
12683
12886
|
IntegrationConfiguration:
|
|
12684
12887
|
oneOf:
|
|
12685
12888
|
- $ref: "#/components/schemas/IntegrationConfigurationSchema"
|
|
@@ -12815,6 +13018,10 @@ components:
|
|
|
12815
13018
|
$ref: "#/components/schemas/IntegrationCategories"
|
|
12816
13019
|
blocks:
|
|
12817
13020
|
$ref: "#/components/schemas/IntegrationBlocks"
|
|
13021
|
+
contentSources:
|
|
13022
|
+
type: array
|
|
13023
|
+
items:
|
|
13024
|
+
$ref: "#/components/schemas/IntegrationContentSource"
|
|
12818
13025
|
configurations:
|
|
12819
13026
|
$ref: "#/components/schemas/IntegrationConfigurations"
|
|
12820
13027
|
externalLinks:
|
|
@@ -13072,11 +13279,22 @@ components:
|
|
|
13072
13279
|
required:
|
|
13073
13280
|
- total
|
|
13074
13281
|
- broken
|
|
13282
|
+
ContentReferenceRelation:
|
|
13283
|
+
type: string
|
|
13284
|
+
enum:
|
|
13285
|
+
- reference
|
|
13286
|
+
- dependsOn
|
|
13287
|
+
description: |
|
|
13288
|
+
Indicator of the relationship with the content ref target.
|
|
13289
|
+
- `reference` - The content soft-references the ref target
|
|
13290
|
+
- `dependsOn` - The content depends on the ref target
|
|
13075
13291
|
ContentReferenceUsage:
|
|
13076
13292
|
type: object
|
|
13077
13293
|
properties:
|
|
13078
13294
|
status:
|
|
13079
13295
|
$ref: "#/components/schemas/ContentReferenceStatus"
|
|
13296
|
+
relation:
|
|
13297
|
+
$ref: "#/components/schemas/ContentReferenceRelation"
|
|
13080
13298
|
targetReference:
|
|
13081
13299
|
description: The reference target where a list of pages are pointing at
|
|
13082
13300
|
$ref: "#/components/schemas/ContentLocation"
|
|
@@ -13086,6 +13304,7 @@ components:
|
|
|
13086
13304
|
items:
|
|
13087
13305
|
$ref: "#/components/schemas/ContentLocation"
|
|
13088
13306
|
required:
|
|
13307
|
+
- relation
|
|
13089
13308
|
- status
|
|
13090
13309
|
- locationReferences
|
|
13091
13310
|
CreateChangeRequest:
|
|
@@ -13455,6 +13674,7 @@ components:
|
|
|
13455
13674
|
- document
|
|
13456
13675
|
- group
|
|
13457
13676
|
- link
|
|
13677
|
+
- computed
|
|
13458
13678
|
ChangedRevisionPage:
|
|
13459
13679
|
type: object
|
|
13460
13680
|
properties:
|
|
@@ -14339,6 +14559,10 @@ components:
|
|
|
14339
14559
|
$ref: "#/components/schemas/IntegrationCategories"
|
|
14340
14560
|
blocks:
|
|
14341
14561
|
$ref: "#/components/schemas/IntegrationBlocks"
|
|
14562
|
+
contentSources:
|
|
14563
|
+
type: array
|
|
14564
|
+
items:
|
|
14565
|
+
$ref: "#/components/schemas/IntegrationContentSource"
|
|
14342
14566
|
externalLinks:
|
|
14343
14567
|
$ref: "#/components/schemas/IntegrationExternalLinks"
|
|
14344
14568
|
configurations:
|
|
@@ -14944,6 +15168,22 @@ components:
|
|
|
14944
15168
|
required:
|
|
14945
15169
|
- type
|
|
14946
15170
|
- siteId
|
|
15171
|
+
ContentKitContextConfigurationContentSource:
|
|
15172
|
+
allOf:
|
|
15173
|
+
- $ref: "#/components/schemas/ContentKitContextBase"
|
|
15174
|
+
- type: object
|
|
15175
|
+
description: Context while rendering the configuration flow of a content source.
|
|
15176
|
+
properties:
|
|
15177
|
+
type:
|
|
15178
|
+
type: string
|
|
15179
|
+
enum:
|
|
15180
|
+
- configuration_contentsource
|
|
15181
|
+
organizationId:
|
|
15182
|
+
type: string
|
|
15183
|
+
description: ID of the organization the content source installation configuration is in.
|
|
15184
|
+
required:
|
|
15185
|
+
- type
|
|
15186
|
+
- organizationId
|
|
14947
15187
|
ContentKitContextDocument:
|
|
14948
15188
|
allOf:
|
|
14949
15189
|
- $ref: "#/components/schemas/ContentKitContextBase"
|
|
@@ -14969,6 +15209,7 @@ components:
|
|
|
14969
15209
|
- $ref: "#/components/schemas/ContentKitContextConfigurationAccount"
|
|
14970
15210
|
- $ref: "#/components/schemas/ContentKitContextConfigurationSpace"
|
|
14971
15211
|
- $ref: "#/components/schemas/ContentKitContextConfigurationSite"
|
|
15212
|
+
- $ref: "#/components/schemas/ContentKitContextConfigurationContentSource"
|
|
14972
15213
|
- $ref: "#/components/schemas/ContentKitContextDocument"
|
|
14973
15214
|
UIRenderEvent:
|
|
14974
15215
|
allOf:
|
|
@@ -15008,6 +15249,48 @@ components:
|
|
|
15008
15249
|
- componentId
|
|
15009
15250
|
- props
|
|
15010
15251
|
- context
|
|
15252
|
+
ContentComputeEvent:
|
|
15253
|
+
allOf:
|
|
15254
|
+
- $ref: "#/components/schemas/SpaceEvent"
|
|
15255
|
+
- type: object
|
|
15256
|
+
description: Generic event when computing the content of a space
|
|
15257
|
+
properties:
|
|
15258
|
+
sourceId:
|
|
15259
|
+
type: string
|
|
15260
|
+
props:
|
|
15261
|
+
description: Properties passed to the rendering.
|
|
15262
|
+
$ref: "#/components/schemas/PlainObject"
|
|
15263
|
+
required:
|
|
15264
|
+
- sourceId
|
|
15265
|
+
- props
|
|
15266
|
+
ContentComputeDocumentEvent:
|
|
15267
|
+
allOf:
|
|
15268
|
+
- $ref: "#/components/schemas/ContentComputeEvent"
|
|
15269
|
+
- type: object
|
|
15270
|
+
description: |
|
|
15271
|
+
Event generated when computing the document of a pages.
|
|
15272
|
+
The integration should respond with a `Document`.
|
|
15273
|
+
properties:
|
|
15274
|
+
type:
|
|
15275
|
+
type: string
|
|
15276
|
+
enum:
|
|
15277
|
+
- content_compute_document
|
|
15278
|
+
required:
|
|
15279
|
+
- type
|
|
15280
|
+
ContentComputeRevisionEvent:
|
|
15281
|
+
allOf:
|
|
15282
|
+
- $ref: "#/components/schemas/ContentComputeEvent"
|
|
15283
|
+
- type: object
|
|
15284
|
+
description: |
|
|
15285
|
+
Event generated when computing revision in a content.
|
|
15286
|
+
The integration should respond with an array of pages and files.
|
|
15287
|
+
properties:
|
|
15288
|
+
type:
|
|
15289
|
+
type: string
|
|
15290
|
+
enum:
|
|
15291
|
+
- content_compute_revision
|
|
15292
|
+
required:
|
|
15293
|
+
- type
|
|
15011
15294
|
Event:
|
|
15012
15295
|
description: Any event that can be received from GitBook.
|
|
15013
15296
|
oneOf:
|
|
@@ -15026,6 +15309,8 @@ components:
|
|
|
15026
15309
|
- $ref: "#/components/schemas/FetchPublishedScriptEvent"
|
|
15027
15310
|
- $ref: "#/components/schemas/FetchVisitorAuthenticationEvent"
|
|
15028
15311
|
- $ref: "#/components/schemas/UIRenderEvent"
|
|
15312
|
+
- $ref: "#/components/schemas/ContentComputeDocumentEvent"
|
|
15313
|
+
- $ref: "#/components/schemas/ContentComputeRevisionEvent"
|
|
15029
15314
|
discriminator:
|
|
15030
15315
|
propertyName: type
|
|
15031
15316
|
IntegrationEvent:
|
|
@@ -15896,20 +16181,42 @@ components:
|
|
|
15896
16181
|
- $ref: "#/components/schemas/ContentKitConfiguration"
|
|
15897
16182
|
discriminator:
|
|
15898
16183
|
propertyName: type
|
|
15899
|
-
|
|
16184
|
+
ContentKitRenderOutputElement:
|
|
15900
16185
|
type: object
|
|
15901
|
-
description: Output of the
|
|
16186
|
+
description: Output of type element in the lifecycle of the component.
|
|
15902
16187
|
properties:
|
|
16188
|
+
type:
|
|
16189
|
+
type: string
|
|
16190
|
+
enum:
|
|
16191
|
+
- element
|
|
15903
16192
|
element:
|
|
15904
16193
|
$ref: "#/components/schemas/ContentKitRootElement"
|
|
15905
16194
|
state:
|
|
15906
16195
|
type: object
|
|
15907
16196
|
props:
|
|
15908
|
-
|
|
16197
|
+
$ref: "#/components/schemas/PlainObject"
|
|
15909
16198
|
required:
|
|
15910
16199
|
- element
|
|
15911
16200
|
- state
|
|
15912
16201
|
- props
|
|
16202
|
+
ContentKitRenderOutputComplete:
|
|
16203
|
+
type: object
|
|
16204
|
+
description: Output of completed lifecycle of the component.
|
|
16205
|
+
properties:
|
|
16206
|
+
type:
|
|
16207
|
+
type: string
|
|
16208
|
+
enum:
|
|
16209
|
+
- complete
|
|
16210
|
+
returnValue:
|
|
16211
|
+
type: object
|
|
16212
|
+
required:
|
|
16213
|
+
- type
|
|
16214
|
+
ContentKitRenderOutput:
|
|
16215
|
+
type: object
|
|
16216
|
+
description: Output of the integration when rendering a UI.
|
|
16217
|
+
oneOf:
|
|
16218
|
+
- $ref: "#/components/schemas/ContentKitRenderOutputElement"
|
|
16219
|
+
- $ref: "#/components/schemas/ContentKitRenderOutputComplete"
|
|
15913
16220
|
RenderIntegrationUI:
|
|
15914
16221
|
type: object
|
|
15915
16222
|
properties:
|
|
@@ -15917,8 +16224,8 @@ components:
|
|
|
15917
16224
|
type: string
|
|
15918
16225
|
description: ID of the component to render in the integration.
|
|
15919
16226
|
props:
|
|
15920
|
-
type: object
|
|
15921
16227
|
description: Current properties of the UI.
|
|
16228
|
+
$ref: "#/components/schemas/PlainObject"
|
|
15922
16229
|
state:
|
|
15923
16230
|
type: object
|
|
15924
16231
|
description: Current local state of the UI.
|
|
@@ -16597,11 +16904,15 @@ components:
|
|
|
16597
16904
|
ultimate:
|
|
16598
16905
|
description: Count of all ultimate sites
|
|
16599
16906
|
type: number
|
|
16907
|
+
sponsored:
|
|
16908
|
+
description: Count of all sponsored sites
|
|
16909
|
+
type: number
|
|
16600
16910
|
required:
|
|
16601
16911
|
- total
|
|
16602
16912
|
- basic
|
|
16603
16913
|
- premium
|
|
16604
16914
|
- ultimate
|
|
16915
|
+
- sponsored
|
|
16605
16916
|
OrganizationUsageTeams:
|
|
16606
16917
|
type: object
|
|
16607
16918
|
description: Team members usage metrics of an organization
|
|
@@ -16929,6 +17240,7 @@ components:
|
|
|
16929
17240
|
- basic
|
|
16930
17241
|
- premium
|
|
16931
17242
|
- ultimate
|
|
17243
|
+
- sponsored
|
|
16932
17244
|
- legacy-basic
|
|
16933
17245
|
- legacy-premium
|
|
16934
17246
|
SiteTitle:
|
|
@@ -17131,6 +17443,11 @@ components:
|
|
|
17131
17443
|
required:
|
|
17132
17444
|
- type
|
|
17133
17445
|
- plan
|
|
17446
|
+
SiteSectionTitle:
|
|
17447
|
+
type: string
|
|
17448
|
+
description: Title of the site section
|
|
17449
|
+
minLength: 2
|
|
17450
|
+
maxLength: 128
|
|
17134
17451
|
SiteSectionPath:
|
|
17135
17452
|
type: string
|
|
17136
17453
|
description: Path to the section on the site
|
|
@@ -17195,8 +17512,7 @@ components:
|
|
|
17195
17512
|
type: string
|
|
17196
17513
|
description: Unique identifier of the site section
|
|
17197
17514
|
title:
|
|
17198
|
-
|
|
17199
|
-
description: Title of the site section
|
|
17515
|
+
$ref: "#/components/schemas/SiteSectionTitle"
|
|
17200
17516
|
default:
|
|
17201
17517
|
type: boolean
|
|
17202
17518
|
description: Whether this is the default section for the site
|
|
@@ -18116,6 +18432,146 @@ components:
|
|
|
18116
18432
|
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
18117
18433
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
18118
18434
|
- $ref: "#/components/schemas/DocumentBlockSyncedBlock"
|
|
18435
|
+
InputPageBase:
|
|
18436
|
+
allOf:
|
|
18437
|
+
- type: object
|
|
18438
|
+
properties:
|
|
18439
|
+
id:
|
|
18440
|
+
type: string
|
|
18441
|
+
description: |
|
|
18442
|
+
Optional unique identifier for the page.
|
|
18443
|
+
It can be used to reference pages in document links.
|
|
18444
|
+
title:
|
|
18445
|
+
type: string
|
|
18446
|
+
minLength: 1
|
|
18447
|
+
required:
|
|
18448
|
+
- title
|
|
18449
|
+
- oneOf:
|
|
18450
|
+
- type: object
|
|
18451
|
+
properties:
|
|
18452
|
+
emoji:
|
|
18453
|
+
description: Emoji of the page.
|
|
18454
|
+
$ref: "#/components/schemas/Emoji"
|
|
18455
|
+
required:
|
|
18456
|
+
- emoji
|
|
18457
|
+
- type: object
|
|
18458
|
+
properties:
|
|
18459
|
+
icon:
|
|
18460
|
+
description: Icon of the page.
|
|
18461
|
+
$ref: "#/components/schemas/Icon"
|
|
18462
|
+
InputPageDocument:
|
|
18463
|
+
allOf:
|
|
18464
|
+
- $ref: "#/components/schemas/InputPageBase"
|
|
18465
|
+
- type: object
|
|
18466
|
+
properties:
|
|
18467
|
+
type:
|
|
18468
|
+
type: string
|
|
18469
|
+
enum:
|
|
18470
|
+
- document
|
|
18471
|
+
description:
|
|
18472
|
+
type: string
|
|
18473
|
+
maxLength: 300
|
|
18474
|
+
minLength: 0
|
|
18475
|
+
slug:
|
|
18476
|
+
description: Page's slug in its direct parent
|
|
18477
|
+
type: string
|
|
18478
|
+
pages:
|
|
18479
|
+
type: array
|
|
18480
|
+
items:
|
|
18481
|
+
oneOf:
|
|
18482
|
+
- $ref: "#/components/schemas/InputPageDocument"
|
|
18483
|
+
- $ref: "#/components/schemas/InputPageLink"
|
|
18484
|
+
- $ref: "#/components/schemas/InputPageComputed"
|
|
18485
|
+
computed:
|
|
18486
|
+
$ref: "#/components/schemas/ComputedContentSource"
|
|
18487
|
+
required:
|
|
18488
|
+
- type
|
|
18489
|
+
InputPageLink:
|
|
18490
|
+
allOf:
|
|
18491
|
+
- $ref: "#/components/schemas/InputPageBase"
|
|
18492
|
+
- type: object
|
|
18493
|
+
properties:
|
|
18494
|
+
type:
|
|
18495
|
+
type: string
|
|
18496
|
+
enum:
|
|
18497
|
+
- link
|
|
18498
|
+
target:
|
|
18499
|
+
$ref: "#/components/schemas/ContentRef"
|
|
18500
|
+
required:
|
|
18501
|
+
- type
|
|
18502
|
+
- target
|
|
18503
|
+
InputPageComputed:
|
|
18504
|
+
allOf:
|
|
18505
|
+
- $ref: "#/components/schemas/InputPageBase"
|
|
18506
|
+
- type: object
|
|
18507
|
+
properties:
|
|
18508
|
+
type:
|
|
18509
|
+
type: string
|
|
18510
|
+
enum:
|
|
18511
|
+
- computed
|
|
18512
|
+
computed:
|
|
18513
|
+
$ref: "#/components/schemas/ComputedContentSource"
|
|
18514
|
+
required:
|
|
18515
|
+
- type
|
|
18516
|
+
- computed
|
|
18517
|
+
InputPageGroup:
|
|
18518
|
+
allOf:
|
|
18519
|
+
- $ref: "#/components/schemas/InputPageBase"
|
|
18520
|
+
- type: object
|
|
18521
|
+
properties:
|
|
18522
|
+
type:
|
|
18523
|
+
type: string
|
|
18524
|
+
enum:
|
|
18525
|
+
- group
|
|
18526
|
+
slug:
|
|
18527
|
+
description: Page's slug in its direct parent
|
|
18528
|
+
type: string
|
|
18529
|
+
pages:
|
|
18530
|
+
type: array
|
|
18531
|
+
minLength: 1
|
|
18532
|
+
items:
|
|
18533
|
+
oneOf:
|
|
18534
|
+
- $ref: "#/components/schemas/InputPageDocument"
|
|
18535
|
+
- $ref: "#/components/schemas/InputPageLink"
|
|
18536
|
+
- $ref: "#/components/schemas/InputPageComputed"
|
|
18537
|
+
required:
|
|
18538
|
+
- type
|
|
18539
|
+
- pages
|
|
18540
|
+
InputPage:
|
|
18541
|
+
oneOf:
|
|
18542
|
+
- $ref: "#/components/schemas/InputPageDocument"
|
|
18543
|
+
- $ref: "#/components/schemas/InputPageLink"
|
|
18544
|
+
- $ref: "#/components/schemas/InputPageComputed"
|
|
18545
|
+
- $ref: "#/components/schemas/InputPageGroup"
|
|
18546
|
+
InputFile:
|
|
18547
|
+
type: object
|
|
18548
|
+
properties:
|
|
18549
|
+
id:
|
|
18550
|
+
type: string
|
|
18551
|
+
name:
|
|
18552
|
+
type: string
|
|
18553
|
+
contentType:
|
|
18554
|
+
type: string
|
|
18555
|
+
downloadURL:
|
|
18556
|
+
type: string
|
|
18557
|
+
size:
|
|
18558
|
+
type: number
|
|
18559
|
+
dimensions:
|
|
18560
|
+
type: object
|
|
18561
|
+
description: For images, it contains the dimensions of it.
|
|
18562
|
+
properties:
|
|
18563
|
+
width:
|
|
18564
|
+
type: number
|
|
18565
|
+
height:
|
|
18566
|
+
type: number
|
|
18567
|
+
required:
|
|
18568
|
+
- width
|
|
18569
|
+
- height
|
|
18570
|
+
required:
|
|
18571
|
+
- name
|
|
18572
|
+
- contentType
|
|
18573
|
+
- downloadURL
|
|
18574
|
+
- size
|
|
18119
18575
|
RevisionSemanticChangeType:
|
|
18120
18576
|
type: string
|
|
18121
18577
|
description: The type of semantic change.
|
|
@@ -18198,6 +18654,26 @@ components:
|
|
|
18198
18654
|
- integration
|
|
18199
18655
|
- signingSecrets
|
|
18200
18656
|
- secrets
|
|
18657
|
+
ContentComputeDocumentEventResponse:
|
|
18658
|
+
type: object
|
|
18659
|
+
description: Response expected for an event of type `content_compute_document`.
|
|
18660
|
+
properties:
|
|
18661
|
+
document:
|
|
18662
|
+
$ref: "#/components/schemas/Document"
|
|
18663
|
+
required:
|
|
18664
|
+
- document
|
|
18665
|
+
ContentComputeRevisionEventResponse:
|
|
18666
|
+
type: object
|
|
18667
|
+
description: Response expected for an event of type `content_compute_pages`.
|
|
18668
|
+
properties:
|
|
18669
|
+
pages:
|
|
18670
|
+
type: array
|
|
18671
|
+
items:
|
|
18672
|
+
$ref: "#/components/schemas/InputPage"
|
|
18673
|
+
files:
|
|
18674
|
+
type: array
|
|
18675
|
+
items:
|
|
18676
|
+
$ref: "#/components/schemas/InputFile"
|
|
18201
18677
|
BillingTrialStatus:
|
|
18202
18678
|
type: string
|
|
18203
18679
|
enum:
|