@gitbook/api 0.64.1 → 0.65.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 +289 -25
- package/dist/index.cjs +12 -1
- package/dist/index.js +12 -1
- package/package.json +1 -1
- package/spec/openapi.json +767 -61
- package/spec/openapi.yaml +429 -29
package/spec/openapi.json
CHANGED
|
@@ -1428,6 +1428,9 @@
|
|
|
1428
1428
|
},
|
|
1429
1429
|
{
|
|
1430
1430
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
1431
1434
|
}
|
|
1432
1435
|
],
|
|
1433
1436
|
"responses": {
|
|
@@ -1511,6 +1514,9 @@
|
|
|
1511
1514
|
},
|
|
1512
1515
|
{
|
|
1513
1516
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
1514
1520
|
}
|
|
1515
1521
|
],
|
|
1516
1522
|
"responses": {
|
|
@@ -1562,6 +1568,9 @@
|
|
|
1562
1568
|
},
|
|
1563
1569
|
{
|
|
1564
1570
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
1565
1574
|
}
|
|
1566
1575
|
],
|
|
1567
1576
|
"responses": {
|
|
@@ -1617,6 +1626,9 @@
|
|
|
1617
1626
|
},
|
|
1618
1627
|
{
|
|
1619
1628
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
1620
1632
|
}
|
|
1621
1633
|
],
|
|
1622
1634
|
"responses": {
|
|
@@ -1718,6 +1730,9 @@
|
|
|
1718
1730
|
},
|
|
1719
1731
|
{
|
|
1720
1732
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
1721
1736
|
}
|
|
1722
1737
|
],
|
|
1723
1738
|
"responses": {
|
|
@@ -1944,6 +1959,9 @@
|
|
|
1944
1959
|
},
|
|
1945
1960
|
{
|
|
1946
1961
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
1947
1965
|
}
|
|
1948
1966
|
],
|
|
1949
1967
|
"responses": {
|
|
@@ -1970,6 +1988,58 @@
|
|
|
1970
1988
|
}
|
|
1971
1989
|
}
|
|
1972
1990
|
},
|
|
1991
|
+
"/spaces/{spaceId}/content/computed/document": {
|
|
1992
|
+
"post": {
|
|
1993
|
+
"operationId": "computePageDocument",
|
|
1994
|
+
"summary": "Get the document for a page in a computed content.",
|
|
1995
|
+
"security": [
|
|
1996
|
+
{
|
|
1997
|
+
"user": []
|
|
1998
|
+
}
|
|
1999
|
+
],
|
|
2000
|
+
"parameters": [
|
|
2001
|
+
{
|
|
2002
|
+
"$ref": "#/components/parameters/spaceId"
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
"$ref": "#/components/parameters/documentFormat"
|
|
2006
|
+
}
|
|
2007
|
+
],
|
|
2008
|
+
"requestBody": {
|
|
2009
|
+
"required": true,
|
|
2010
|
+
"content": {
|
|
2011
|
+
"application/json": {
|
|
2012
|
+
"schema": {
|
|
2013
|
+
"type": "object",
|
|
2014
|
+
"properties": {
|
|
2015
|
+
"source": {
|
|
2016
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
2017
|
+
}
|
|
2018
|
+
},
|
|
2019
|
+
"required": [
|
|
2020
|
+
"source"
|
|
2021
|
+
]
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
},
|
|
2026
|
+
"responses": {
|
|
2027
|
+
"200": {
|
|
2028
|
+
"description": "Document computed",
|
|
2029
|
+
"content": {
|
|
2030
|
+
"application/json": {
|
|
2031
|
+
"schema": {
|
|
2032
|
+
"$ref": "#/components/schemas/Document"
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
"default": {
|
|
2038
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
},
|
|
1973
2043
|
"/spaces/{spaceId}/documents/{documentId}": {
|
|
1974
2044
|
"get": {
|
|
1975
2045
|
"operationId": "getDocumentById",
|
|
@@ -3259,6 +3329,9 @@
|
|
|
3259
3329
|
},
|
|
3260
3330
|
{
|
|
3261
3331
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
3262
3335
|
}
|
|
3263
3336
|
],
|
|
3264
3337
|
"responses": {
|
|
@@ -3348,6 +3421,9 @@
|
|
|
3348
3421
|
},
|
|
3349
3422
|
{
|
|
3350
3423
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
3351
3427
|
}
|
|
3352
3428
|
],
|
|
3353
3429
|
"responses": {
|
|
@@ -3402,6 +3478,9 @@
|
|
|
3402
3478
|
},
|
|
3403
3479
|
{
|
|
3404
3480
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
3405
3484
|
}
|
|
3406
3485
|
],
|
|
3407
3486
|
"responses": {
|
|
@@ -3460,6 +3539,9 @@
|
|
|
3460
3539
|
},
|
|
3461
3540
|
{
|
|
3462
3541
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
3463
3545
|
}
|
|
3464
3546
|
],
|
|
3465
3547
|
"responses": {
|
|
@@ -3567,6 +3649,9 @@
|
|
|
3567
3649
|
},
|
|
3568
3650
|
{
|
|
3569
3651
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
3570
3655
|
}
|
|
3571
3656
|
],
|
|
3572
3657
|
"responses": {
|
|
@@ -3797,6 +3882,9 @@
|
|
|
3797
3882
|
},
|
|
3798
3883
|
{
|
|
3799
3884
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
3800
3888
|
}
|
|
3801
3889
|
],
|
|
3802
3890
|
"responses": {
|
|
@@ -3972,6 +4060,9 @@
|
|
|
3972
4060
|
},
|
|
3973
4061
|
{
|
|
3974
4062
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
3975
4066
|
}
|
|
3976
4067
|
],
|
|
3977
4068
|
"responses": {
|
|
@@ -4010,6 +4101,9 @@
|
|
|
4010
4101
|
{
|
|
4011
4102
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4012
4103
|
},
|
|
4104
|
+
{
|
|
4105
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4106
|
+
},
|
|
4013
4107
|
{
|
|
4014
4108
|
"name": "limit",
|
|
4015
4109
|
"in": "query",
|
|
@@ -4055,6 +4149,9 @@
|
|
|
4055
4149
|
},
|
|
4056
4150
|
{
|
|
4057
4151
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4058
4155
|
}
|
|
4059
4156
|
],
|
|
4060
4157
|
"responses": {
|
|
@@ -4109,6 +4206,9 @@
|
|
|
4109
4206
|
},
|
|
4110
4207
|
{
|
|
4111
4208
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4209
|
+
},
|
|
4210
|
+
{
|
|
4211
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4112
4212
|
}
|
|
4113
4213
|
],
|
|
4114
4214
|
"responses": {
|
|
@@ -4167,6 +4267,9 @@
|
|
|
4167
4267
|
},
|
|
4168
4268
|
{
|
|
4169
4269
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4170
4273
|
}
|
|
4171
4274
|
],
|
|
4172
4275
|
"responses": {
|
|
@@ -4210,6 +4313,9 @@
|
|
|
4210
4313
|
},
|
|
4211
4314
|
{
|
|
4212
4315
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4213
4319
|
}
|
|
4214
4320
|
],
|
|
4215
4321
|
"responses": {
|
|
@@ -4253,6 +4359,9 @@
|
|
|
4253
4359
|
},
|
|
4254
4360
|
{
|
|
4255
4361
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4256
4365
|
}
|
|
4257
4366
|
],
|
|
4258
4367
|
"responses": {
|
|
@@ -11238,17 +11347,10 @@
|
|
|
11238
11347
|
"application/json": {
|
|
11239
11348
|
"schema": {
|
|
11240
11349
|
"type": "object",
|
|
11241
|
-
"required": [
|
|
11242
|
-
"content"
|
|
11243
|
-
],
|
|
11244
11350
|
"properties": {
|
|
11245
11351
|
"title": {
|
|
11246
11352
|
"type": "string",
|
|
11247
11353
|
"description": "Title of synced block"
|
|
11248
|
-
},
|
|
11249
|
-
"content": {
|
|
11250
|
-
"description": "The content of the synced block. For now, only JSON documents are supported.",
|
|
11251
|
-
"$ref": "#/components/schemas/Document"
|
|
11252
11354
|
}
|
|
11253
11355
|
}
|
|
11254
11356
|
}
|
|
@@ -12049,7 +12151,11 @@
|
|
|
12049
12151
|
},
|
|
12050
12152
|
"defaultSiteSpace": {
|
|
12051
12153
|
"type": "string",
|
|
12052
|
-
"description": "ID of the site-space to be used as the default"
|
|
12154
|
+
"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."
|
|
12155
|
+
},
|
|
12156
|
+
"defaultSiteSection": {
|
|
12157
|
+
"type": "string",
|
|
12158
|
+
"description": "ID of the site-section to be used as the default."
|
|
12053
12159
|
}
|
|
12054
12160
|
}
|
|
12055
12161
|
}
|
|
@@ -13376,8 +13482,15 @@
|
|
|
13376
13482
|
"schema": {
|
|
13377
13483
|
"type": "object",
|
|
13378
13484
|
"properties": {
|
|
13485
|
+
"title": {
|
|
13486
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
13487
|
+
},
|
|
13379
13488
|
"path": {
|
|
13380
13489
|
"$ref": "#/components/schemas/SiteSectionPath"
|
|
13490
|
+
},
|
|
13491
|
+
"defaultSiteSpace": {
|
|
13492
|
+
"type": "string",
|
|
13493
|
+
"description": "ID of the site-space to be used as the default in this section."
|
|
13381
13494
|
}
|
|
13382
13495
|
}
|
|
13383
13496
|
}
|
|
@@ -15319,6 +15432,15 @@
|
|
|
15319
15432
|
"default": true
|
|
15320
15433
|
}
|
|
15321
15434
|
},
|
|
15435
|
+
"revisionComputed": {
|
|
15436
|
+
"name": "computed",
|
|
15437
|
+
"in": "query",
|
|
15438
|
+
"description": "If `false` is passed, content will not be computed",
|
|
15439
|
+
"schema": {
|
|
15440
|
+
"type": "boolean",
|
|
15441
|
+
"default": true
|
|
15442
|
+
}
|
|
15443
|
+
},
|
|
15322
15444
|
"fileId": {
|
|
15323
15445
|
"name": "fileId",
|
|
15324
15446
|
"in": "path",
|
|
@@ -17805,7 +17927,7 @@
|
|
|
17805
17927
|
{
|
|
17806
17928
|
"type": "object",
|
|
17807
17929
|
"properties": {
|
|
17808
|
-
"
|
|
17930
|
+
"fragment": {
|
|
17809
17931
|
"type": "string",
|
|
17810
17932
|
"enum": [
|
|
17811
17933
|
"caption"
|
|
@@ -17820,7 +17942,7 @@
|
|
|
17820
17942
|
},
|
|
17821
17943
|
"required": [
|
|
17822
17944
|
"nodes",
|
|
17823
|
-
"
|
|
17945
|
+
"fragment"
|
|
17824
17946
|
]
|
|
17825
17947
|
}
|
|
17826
17948
|
]
|
|
@@ -17884,7 +18006,7 @@
|
|
|
17884
18006
|
"isVoid": {
|
|
17885
18007
|
"type": "boolean",
|
|
17886
18008
|
"enum": [
|
|
17887
|
-
|
|
18009
|
+
false
|
|
17888
18010
|
]
|
|
17889
18011
|
}
|
|
17890
18012
|
},
|
|
@@ -18213,6 +18335,44 @@
|
|
|
18213
18335
|
"isVoid"
|
|
18214
18336
|
]
|
|
18215
18337
|
},
|
|
18338
|
+
"PlainObject": {
|
|
18339
|
+
"properties": {},
|
|
18340
|
+
"additionalProperties": {
|
|
18341
|
+
"oneOf": [
|
|
18342
|
+
{
|
|
18343
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18344
|
+
},
|
|
18345
|
+
{
|
|
18346
|
+
"type": "string"
|
|
18347
|
+
},
|
|
18348
|
+
{
|
|
18349
|
+
"type": "boolean"
|
|
18350
|
+
},
|
|
18351
|
+
{
|
|
18352
|
+
"type": "number"
|
|
18353
|
+
},
|
|
18354
|
+
{
|
|
18355
|
+
"type": "array",
|
|
18356
|
+
"items": {
|
|
18357
|
+
"oneOf": [
|
|
18358
|
+
{
|
|
18359
|
+
"type": "string"
|
|
18360
|
+
},
|
|
18361
|
+
{
|
|
18362
|
+
"type": "boolean"
|
|
18363
|
+
},
|
|
18364
|
+
{
|
|
18365
|
+
"type": "number"
|
|
18366
|
+
},
|
|
18367
|
+
{
|
|
18368
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18369
|
+
}
|
|
18370
|
+
]
|
|
18371
|
+
}
|
|
18372
|
+
}
|
|
18373
|
+
]
|
|
18374
|
+
}
|
|
18375
|
+
},
|
|
18216
18376
|
"ContentKitDefaultAction": {
|
|
18217
18377
|
"oneOf": [
|
|
18218
18378
|
{
|
|
@@ -18229,7 +18389,7 @@
|
|
|
18229
18389
|
"type": "string"
|
|
18230
18390
|
},
|
|
18231
18391
|
"props": {
|
|
18232
|
-
"
|
|
18392
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18233
18393
|
}
|
|
18234
18394
|
},
|
|
18235
18395
|
"required": [
|
|
@@ -18249,7 +18409,26 @@
|
|
|
18249
18409
|
]
|
|
18250
18410
|
},
|
|
18251
18411
|
"returnValue": {
|
|
18252
|
-
"
|
|
18412
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18413
|
+
}
|
|
18414
|
+
},
|
|
18415
|
+
"required": [
|
|
18416
|
+
"action",
|
|
18417
|
+
"returnValue"
|
|
18418
|
+
]
|
|
18419
|
+
},
|
|
18420
|
+
{
|
|
18421
|
+
"type": "object",
|
|
18422
|
+
"description": "Action to submit the current flow the user is in.",
|
|
18423
|
+
"properties": {
|
|
18424
|
+
"action": {
|
|
18425
|
+
"type": "string",
|
|
18426
|
+
"enum": [
|
|
18427
|
+
"@ui.submit"
|
|
18428
|
+
]
|
|
18429
|
+
},
|
|
18430
|
+
"returnValue": {
|
|
18431
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18253
18432
|
}
|
|
18254
18433
|
},
|
|
18255
18434
|
"required": [
|
|
@@ -18306,7 +18485,7 @@
|
|
|
18306
18485
|
]
|
|
18307
18486
|
},
|
|
18308
18487
|
"props": {
|
|
18309
|
-
"
|
|
18488
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18310
18489
|
}
|
|
18311
18490
|
},
|
|
18312
18491
|
"required": [
|
|
@@ -18366,11 +18545,8 @@
|
|
|
18366
18545
|
"description": "ID of the block in the integration"
|
|
18367
18546
|
},
|
|
18368
18547
|
"props": {
|
|
18369
|
-
"type": "object",
|
|
18370
18548
|
"description": "Properties passed to the block during rendering",
|
|
18371
|
-
"
|
|
18372
|
-
"description": "Any value"
|
|
18373
|
-
}
|
|
18549
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18374
18550
|
},
|
|
18375
18551
|
"action": {
|
|
18376
18552
|
"$ref": "#/components/schemas/ContentKitAction"
|
|
@@ -19776,7 +19952,7 @@
|
|
|
19776
19952
|
"title": {
|
|
19777
19953
|
"description": "Title of the page",
|
|
19778
19954
|
"type": "string",
|
|
19779
|
-
"
|
|
19955
|
+
"minLength": 1
|
|
19780
19956
|
},
|
|
19781
19957
|
"emoji": {
|
|
19782
19958
|
"description": "Emoji of the page, if one has been set.",
|
|
@@ -19859,6 +20035,9 @@
|
|
|
19859
20035
|
},
|
|
19860
20036
|
{
|
|
19861
20037
|
"$ref": "#/components/schemas/RevisionPageLink"
|
|
20038
|
+
},
|
|
20039
|
+
{
|
|
20040
|
+
"$ref": "#/components/schemas/RevisionPageComputed"
|
|
19862
20041
|
}
|
|
19863
20042
|
]
|
|
19864
20043
|
}
|
|
@@ -19886,6 +20065,10 @@
|
|
|
19886
20065
|
"type": "boolean",
|
|
19887
20066
|
"description": "If true, the page is not indexable by search engine robots.",
|
|
19888
20067
|
"default": false
|
|
20068
|
+
},
|
|
20069
|
+
"computed": {
|
|
20070
|
+
"description": "Defined when the page was generated by a computed content.",
|
|
20071
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
19889
20072
|
}
|
|
19890
20073
|
},
|
|
19891
20074
|
"required": [
|
|
@@ -19941,6 +20124,68 @@
|
|
|
19941
20124
|
}
|
|
19942
20125
|
]
|
|
19943
20126
|
},
|
|
20127
|
+
"ComputedContentDependency": {
|
|
20128
|
+
"oneOf": [
|
|
20129
|
+
{
|
|
20130
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
20131
|
+
}
|
|
20132
|
+
]
|
|
20133
|
+
},
|
|
20134
|
+
"ComputedContentSource": {
|
|
20135
|
+
"type": "object",
|
|
20136
|
+
"description": "Parameters for a computed content",
|
|
20137
|
+
"properties": {
|
|
20138
|
+
"integration": {
|
|
20139
|
+
"type": "string",
|
|
20140
|
+
"description": "Name of the integration"
|
|
20141
|
+
},
|
|
20142
|
+
"source": {
|
|
20143
|
+
"type": "string",
|
|
20144
|
+
"description": "Identifier of the source used for computation"
|
|
20145
|
+
},
|
|
20146
|
+
"props": {
|
|
20147
|
+
"description": "Properties to be passed to the computation",
|
|
20148
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
20149
|
+
},
|
|
20150
|
+
"dependsOn": {
|
|
20151
|
+
"type": "array",
|
|
20152
|
+
"description": "Dependencies the computation depend on. When the dependency's targets are updated, the computation will be updated.",
|
|
20153
|
+
"items": {
|
|
20154
|
+
"$ref": "#/components/schemas/ComputedContentDependency"
|
|
20155
|
+
}
|
|
20156
|
+
}
|
|
20157
|
+
},
|
|
20158
|
+
"required": [
|
|
20159
|
+
"integration",
|
|
20160
|
+
"source",
|
|
20161
|
+
"props"
|
|
20162
|
+
]
|
|
20163
|
+
},
|
|
20164
|
+
"RevisionPageComputed": {
|
|
20165
|
+
"allOf": [
|
|
20166
|
+
{
|
|
20167
|
+
"$ref": "#/components/schemas/RevisionPageBase"
|
|
20168
|
+
},
|
|
20169
|
+
{
|
|
20170
|
+
"type": "object",
|
|
20171
|
+
"properties": {
|
|
20172
|
+
"type": {
|
|
20173
|
+
"type": "string",
|
|
20174
|
+
"enum": [
|
|
20175
|
+
"computed"
|
|
20176
|
+
]
|
|
20177
|
+
},
|
|
20178
|
+
"computed": {
|
|
20179
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
20180
|
+
}
|
|
20181
|
+
},
|
|
20182
|
+
"required": [
|
|
20183
|
+
"type",
|
|
20184
|
+
"computed"
|
|
20185
|
+
]
|
|
20186
|
+
}
|
|
20187
|
+
]
|
|
20188
|
+
},
|
|
19944
20189
|
"GitSyncBlob": {
|
|
19945
20190
|
"type": "object",
|
|
19946
20191
|
"properties": {
|
|
@@ -20317,6 +20562,9 @@
|
|
|
20317
20562
|
},
|
|
20318
20563
|
{
|
|
20319
20564
|
"$ref": "#/components/schemas/RevisionPageLink"
|
|
20565
|
+
},
|
|
20566
|
+
{
|
|
20567
|
+
"$ref": "#/components/schemas/RevisionPageComputed"
|
|
20320
20568
|
}
|
|
20321
20569
|
]
|
|
20322
20570
|
}
|
|
@@ -20342,6 +20590,9 @@
|
|
|
20342
20590
|
},
|
|
20343
20591
|
{
|
|
20344
20592
|
"$ref": "#/components/schemas/RevisionPageLink"
|
|
20593
|
+
},
|
|
20594
|
+
{
|
|
20595
|
+
"$ref": "#/components/schemas/RevisionPageComputed"
|
|
20345
20596
|
}
|
|
20346
20597
|
],
|
|
20347
20598
|
"discriminator": {
|
|
@@ -20677,6 +20928,28 @@
|
|
|
20677
20928
|
}
|
|
20678
20929
|
]
|
|
20679
20930
|
},
|
|
20931
|
+
"RevisionTypeComputed": {
|
|
20932
|
+
"allOf": [
|
|
20933
|
+
{
|
|
20934
|
+
"$ref": "#/components/schemas/RevisionBase"
|
|
20935
|
+
},
|
|
20936
|
+
{
|
|
20937
|
+
"type": "object",
|
|
20938
|
+
"properties": {
|
|
20939
|
+
"type": {
|
|
20940
|
+
"type": "string",
|
|
20941
|
+
"description": "Virtual revision, computed from a source revision",
|
|
20942
|
+
"enum": [
|
|
20943
|
+
"computed"
|
|
20944
|
+
]
|
|
20945
|
+
}
|
|
20946
|
+
},
|
|
20947
|
+
"required": [
|
|
20948
|
+
"type"
|
|
20949
|
+
]
|
|
20950
|
+
}
|
|
20951
|
+
]
|
|
20952
|
+
},
|
|
20680
20953
|
"Revision": {
|
|
20681
20954
|
"oneOf": [
|
|
20682
20955
|
{
|
|
@@ -20690,6 +20963,9 @@
|
|
|
20690
20963
|
},
|
|
20691
20964
|
{
|
|
20692
20965
|
"$ref": "#/components/schemas/RevisionTypeUpdate"
|
|
20966
|
+
},
|
|
20967
|
+
{
|
|
20968
|
+
"$ref": "#/components/schemas/RevisionTypeComputed"
|
|
20693
20969
|
}
|
|
20694
20970
|
],
|
|
20695
20971
|
"discriminator": {
|
|
@@ -21328,31 +21604,77 @@
|
|
|
21328
21604
|
"$ref": "#/components/schemas/IntegrationBlock"
|
|
21329
21605
|
}
|
|
21330
21606
|
},
|
|
21331
|
-
"
|
|
21607
|
+
"IntegrationConfigurationComponent": {
|
|
21332
21608
|
"type": "object",
|
|
21333
|
-
"description": "
|
|
21609
|
+
"description": "ContentKit component for configuration",
|
|
21334
21610
|
"properties": {
|
|
21335
|
-
"
|
|
21336
|
-
"type": "
|
|
21337
|
-
"
|
|
21338
|
-
|
|
21339
|
-
|
|
21340
|
-
|
|
21341
|
-
|
|
21342
|
-
|
|
21343
|
-
|
|
21344
|
-
|
|
21345
|
-
|
|
21346
|
-
|
|
21347
|
-
|
|
21348
|
-
|
|
21349
|
-
|
|
21350
|
-
|
|
21351
|
-
|
|
21352
|
-
|
|
21353
|
-
|
|
21354
|
-
|
|
21355
|
-
|
|
21611
|
+
"componentId": {
|
|
21612
|
+
"type": "string",
|
|
21613
|
+
"description": "ID of the ContentKit component defined in the integration"
|
|
21614
|
+
}
|
|
21615
|
+
},
|
|
21616
|
+
"required": [
|
|
21617
|
+
"componentId"
|
|
21618
|
+
]
|
|
21619
|
+
},
|
|
21620
|
+
"IntegrationContentSource": {
|
|
21621
|
+
"type": "object",
|
|
21622
|
+
"description": "Definition of a content source provided by the integration.",
|
|
21623
|
+
"properties": {
|
|
21624
|
+
"id": {
|
|
21625
|
+
"type": "string",
|
|
21626
|
+
"description": "Unique ID in the integration for the source."
|
|
21627
|
+
},
|
|
21628
|
+
"title": {
|
|
21629
|
+
"type": "string",
|
|
21630
|
+
"description": "Short descriptive title for the source.",
|
|
21631
|
+
"minLength": 2,
|
|
21632
|
+
"maxLength": 40
|
|
21633
|
+
},
|
|
21634
|
+
"description": {
|
|
21635
|
+
"type": "string",
|
|
21636
|
+
"description": "Long descriptive text for the source.",
|
|
21637
|
+
"minLength": 0,
|
|
21638
|
+
"maxLength": 150
|
|
21639
|
+
},
|
|
21640
|
+
"icon": {
|
|
21641
|
+
"type": "string",
|
|
21642
|
+
"description": "URL of the icon to represent this source."
|
|
21643
|
+
},
|
|
21644
|
+
"configuration": {
|
|
21645
|
+
"$ref": "#/components/schemas/IntegrationConfigurationComponent"
|
|
21646
|
+
}
|
|
21647
|
+
},
|
|
21648
|
+
"required": [
|
|
21649
|
+
"id",
|
|
21650
|
+
"title"
|
|
21651
|
+
]
|
|
21652
|
+
},
|
|
21653
|
+
"IntegrationConfigurationSchema": {
|
|
21654
|
+
"type": "object",
|
|
21655
|
+
"description": "Schema for a configuration",
|
|
21656
|
+
"properties": {
|
|
21657
|
+
"properties": {
|
|
21658
|
+
"type": "object",
|
|
21659
|
+
"additionalProperties": {
|
|
21660
|
+
"allOf": [
|
|
21661
|
+
{
|
|
21662
|
+
"type": "object",
|
|
21663
|
+
"properties": {
|
|
21664
|
+
"title": {
|
|
21665
|
+
"type": "string",
|
|
21666
|
+
"maxLength": 30
|
|
21667
|
+
},
|
|
21668
|
+
"description": {
|
|
21669
|
+
"type": "string",
|
|
21670
|
+
"maxLength": 100
|
|
21671
|
+
}
|
|
21672
|
+
}
|
|
21673
|
+
},
|
|
21674
|
+
{
|
|
21675
|
+
"oneOf": [
|
|
21676
|
+
{
|
|
21677
|
+
"type": "object",
|
|
21356
21678
|
"properties": {
|
|
21357
21679
|
"type": {
|
|
21358
21680
|
"type": "string",
|
|
@@ -21441,19 +21763,6 @@
|
|
|
21441
21763
|
"properties"
|
|
21442
21764
|
]
|
|
21443
21765
|
},
|
|
21444
|
-
"IntegrationConfigurationComponent": {
|
|
21445
|
-
"type": "object",
|
|
21446
|
-
"description": "ContentKit component for configuration",
|
|
21447
|
-
"properties": {
|
|
21448
|
-
"componentId": {
|
|
21449
|
-
"type": "string",
|
|
21450
|
-
"description": "ID of the ContentKit component defined in the integration"
|
|
21451
|
-
}
|
|
21452
|
-
},
|
|
21453
|
-
"required": [
|
|
21454
|
-
"componentId"
|
|
21455
|
-
]
|
|
21456
|
-
},
|
|
21457
21766
|
"IntegrationConfiguration": {
|
|
21458
21767
|
"oneOf": [
|
|
21459
21768
|
{
|
|
@@ -21657,6 +21966,12 @@
|
|
|
21657
21966
|
"blocks": {
|
|
21658
21967
|
"$ref": "#/components/schemas/IntegrationBlocks"
|
|
21659
21968
|
},
|
|
21969
|
+
"contentSources": {
|
|
21970
|
+
"type": "array",
|
|
21971
|
+
"items": {
|
|
21972
|
+
"$ref": "#/components/schemas/IntegrationContentSource"
|
|
21973
|
+
}
|
|
21974
|
+
},
|
|
21660
21975
|
"configurations": {
|
|
21661
21976
|
"$ref": "#/components/schemas/IntegrationConfigurations"
|
|
21662
21977
|
},
|
|
@@ -22570,7 +22885,8 @@
|
|
|
22570
22885
|
"enum": [
|
|
22571
22886
|
"document",
|
|
22572
22887
|
"group",
|
|
22573
|
-
"link"
|
|
22888
|
+
"link",
|
|
22889
|
+
"computed"
|
|
22574
22890
|
]
|
|
22575
22891
|
},
|
|
22576
22892
|
"ChangedRevisionPage": {
|
|
@@ -23887,6 +24203,12 @@
|
|
|
23887
24203
|
"blocks": {
|
|
23888
24204
|
"$ref": "#/components/schemas/IntegrationBlocks"
|
|
23889
24205
|
},
|
|
24206
|
+
"contentSources": {
|
|
24207
|
+
"type": "array",
|
|
24208
|
+
"items": {
|
|
24209
|
+
"$ref": "#/components/schemas/IntegrationContentSource"
|
|
24210
|
+
}
|
|
24211
|
+
},
|
|
23890
24212
|
"externalLinks": {
|
|
23891
24213
|
"$ref": "#/components/schemas/IntegrationExternalLinks"
|
|
23892
24214
|
},
|
|
@@ -24832,6 +25154,33 @@
|
|
|
24832
25154
|
}
|
|
24833
25155
|
]
|
|
24834
25156
|
},
|
|
25157
|
+
"ContentKitContextConfigurationContentSource": {
|
|
25158
|
+
"allOf": [
|
|
25159
|
+
{
|
|
25160
|
+
"$ref": "#/components/schemas/ContentKitContextBase"
|
|
25161
|
+
},
|
|
25162
|
+
{
|
|
25163
|
+
"type": "object",
|
|
25164
|
+
"description": "Context while rendering the configuration flow of a content source.",
|
|
25165
|
+
"properties": {
|
|
25166
|
+
"type": {
|
|
25167
|
+
"type": "string",
|
|
25168
|
+
"enum": [
|
|
25169
|
+
"configuration_contentsource"
|
|
25170
|
+
]
|
|
25171
|
+
},
|
|
25172
|
+
"organizationId": {
|
|
25173
|
+
"type": "string",
|
|
25174
|
+
"description": "ID of the organization the content source installation configuration is in."
|
|
25175
|
+
}
|
|
25176
|
+
},
|
|
25177
|
+
"required": [
|
|
25178
|
+
"type",
|
|
25179
|
+
"organizationId"
|
|
25180
|
+
]
|
|
25181
|
+
}
|
|
25182
|
+
]
|
|
25183
|
+
},
|
|
24835
25184
|
"ContentKitContextDocument": {
|
|
24836
25185
|
"allOf": [
|
|
24837
25186
|
{
|
|
@@ -24875,6 +25224,9 @@
|
|
|
24875
25224
|
{
|
|
24876
25225
|
"$ref": "#/components/schemas/ContentKitContextConfigurationSite"
|
|
24877
25226
|
},
|
|
25227
|
+
{
|
|
25228
|
+
"$ref": "#/components/schemas/ContentKitContextConfigurationContentSource"
|
|
25229
|
+
},
|
|
24878
25230
|
{
|
|
24879
25231
|
"$ref": "#/components/schemas/ContentKitContextDocument"
|
|
24880
25232
|
}
|
|
@@ -24944,6 +25296,74 @@
|
|
|
24944
25296
|
}
|
|
24945
25297
|
]
|
|
24946
25298
|
},
|
|
25299
|
+
"ContentComputeEvent": {
|
|
25300
|
+
"allOf": [
|
|
25301
|
+
{
|
|
25302
|
+
"$ref": "#/components/schemas/SpaceEvent"
|
|
25303
|
+
},
|
|
25304
|
+
{
|
|
25305
|
+
"type": "object",
|
|
25306
|
+
"description": "Generic event when computing the content of a space",
|
|
25307
|
+
"properties": {
|
|
25308
|
+
"sourceId": {
|
|
25309
|
+
"type": "string"
|
|
25310
|
+
},
|
|
25311
|
+
"props": {
|
|
25312
|
+
"description": "Properties passed to the rendering.",
|
|
25313
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
25314
|
+
}
|
|
25315
|
+
},
|
|
25316
|
+
"required": [
|
|
25317
|
+
"sourceId",
|
|
25318
|
+
"props"
|
|
25319
|
+
]
|
|
25320
|
+
}
|
|
25321
|
+
]
|
|
25322
|
+
},
|
|
25323
|
+
"ContentComputeDocumentEvent": {
|
|
25324
|
+
"allOf": [
|
|
25325
|
+
{
|
|
25326
|
+
"$ref": "#/components/schemas/ContentComputeEvent"
|
|
25327
|
+
},
|
|
25328
|
+
{
|
|
25329
|
+
"type": "object",
|
|
25330
|
+
"description": "Event generated when computing the document of a pages.\nThe integration should respond with a `Document`.\n",
|
|
25331
|
+
"properties": {
|
|
25332
|
+
"type": {
|
|
25333
|
+
"type": "string",
|
|
25334
|
+
"enum": [
|
|
25335
|
+
"content_compute_document"
|
|
25336
|
+
]
|
|
25337
|
+
}
|
|
25338
|
+
},
|
|
25339
|
+
"required": [
|
|
25340
|
+
"type"
|
|
25341
|
+
]
|
|
25342
|
+
}
|
|
25343
|
+
]
|
|
25344
|
+
},
|
|
25345
|
+
"ContentComputeRevisionEvent": {
|
|
25346
|
+
"allOf": [
|
|
25347
|
+
{
|
|
25348
|
+
"$ref": "#/components/schemas/ContentComputeEvent"
|
|
25349
|
+
},
|
|
25350
|
+
{
|
|
25351
|
+
"type": "object",
|
|
25352
|
+
"description": "Event generated when computing revision in a content.\nThe integration should respond with an array of pages and files.\n",
|
|
25353
|
+
"properties": {
|
|
25354
|
+
"type": {
|
|
25355
|
+
"type": "string",
|
|
25356
|
+
"enum": [
|
|
25357
|
+
"content_compute_revision"
|
|
25358
|
+
]
|
|
25359
|
+
}
|
|
25360
|
+
},
|
|
25361
|
+
"required": [
|
|
25362
|
+
"type"
|
|
25363
|
+
]
|
|
25364
|
+
}
|
|
25365
|
+
]
|
|
25366
|
+
},
|
|
24947
25367
|
"Event": {
|
|
24948
25368
|
"description": "Any event that can be received from GitBook.",
|
|
24949
25369
|
"oneOf": [
|
|
@@ -24991,6 +25411,12 @@
|
|
|
24991
25411
|
},
|
|
24992
25412
|
{
|
|
24993
25413
|
"$ref": "#/components/schemas/UIRenderEvent"
|
|
25414
|
+
},
|
|
25415
|
+
{
|
|
25416
|
+
"$ref": "#/components/schemas/ContentComputeDocumentEvent"
|
|
25417
|
+
},
|
|
25418
|
+
{
|
|
25419
|
+
"$ref": "#/components/schemas/ContentComputeRevisionEvent"
|
|
24994
25420
|
}
|
|
24995
25421
|
],
|
|
24996
25422
|
"discriminator": {
|
|
@@ -26374,7 +26800,7 @@
|
|
|
26374
26800
|
"type": "object"
|
|
26375
26801
|
},
|
|
26376
26802
|
"props": {
|
|
26377
|
-
"
|
|
26803
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
26378
26804
|
}
|
|
26379
26805
|
},
|
|
26380
26806
|
"required": [
|
|
@@ -26391,8 +26817,8 @@
|
|
|
26391
26817
|
"description": "ID of the component to render in the integration."
|
|
26392
26818
|
},
|
|
26393
26819
|
"props": {
|
|
26394
|
-
"
|
|
26395
|
-
"
|
|
26820
|
+
"description": "Current properties of the UI.",
|
|
26821
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
26396
26822
|
},
|
|
26397
26823
|
"state": {
|
|
26398
26824
|
"type": "object",
|
|
@@ -28185,6 +28611,12 @@
|
|
|
28185
28611
|
}
|
|
28186
28612
|
]
|
|
28187
28613
|
},
|
|
28614
|
+
"SiteSectionTitle": {
|
|
28615
|
+
"type": "string",
|
|
28616
|
+
"description": "Title of the site section",
|
|
28617
|
+
"minLength": 2,
|
|
28618
|
+
"maxLength": 128
|
|
28619
|
+
},
|
|
28188
28620
|
"SiteSectionPath": {
|
|
28189
28621
|
"type": "string",
|
|
28190
28622
|
"description": "Path to the section on the site",
|
|
@@ -28270,8 +28702,7 @@
|
|
|
28270
28702
|
"description": "Unique identifier of the site section"
|
|
28271
28703
|
},
|
|
28272
28704
|
"title": {
|
|
28273
|
-
"
|
|
28274
|
-
"description": "Title of the site section"
|
|
28705
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
28275
28706
|
},
|
|
28276
28707
|
"default": {
|
|
28277
28708
|
"type": "boolean",
|
|
@@ -29653,6 +30084,251 @@
|
|
|
29653
30084
|
}
|
|
29654
30085
|
]
|
|
29655
30086
|
},
|
|
30087
|
+
"InputPageBase": {
|
|
30088
|
+
"allOf": [
|
|
30089
|
+
{
|
|
30090
|
+
"type": "object",
|
|
30091
|
+
"properties": {
|
|
30092
|
+
"id": {
|
|
30093
|
+
"type": "string",
|
|
30094
|
+
"description": "Optional unique identifier for the page.\nIt can be used to reference pages in document links.\n"
|
|
30095
|
+
},
|
|
30096
|
+
"title": {
|
|
30097
|
+
"type": "string",
|
|
30098
|
+
"minLength": 1
|
|
30099
|
+
}
|
|
30100
|
+
},
|
|
30101
|
+
"required": [
|
|
30102
|
+
"title"
|
|
30103
|
+
]
|
|
30104
|
+
},
|
|
30105
|
+
{
|
|
30106
|
+
"oneOf": [
|
|
30107
|
+
{
|
|
30108
|
+
"type": "object",
|
|
30109
|
+
"properties": {
|
|
30110
|
+
"emoji": {
|
|
30111
|
+
"description": "Emoji of the page.",
|
|
30112
|
+
"$ref": "#/components/schemas/Emoji"
|
|
30113
|
+
}
|
|
30114
|
+
},
|
|
30115
|
+
"required": [
|
|
30116
|
+
"emoji"
|
|
30117
|
+
]
|
|
30118
|
+
},
|
|
30119
|
+
{
|
|
30120
|
+
"type": "object",
|
|
30121
|
+
"properties": {
|
|
30122
|
+
"icon": {
|
|
30123
|
+
"description": "Icon of the page.",
|
|
30124
|
+
"$ref": "#/components/schemas/Icon"
|
|
30125
|
+
}
|
|
30126
|
+
}
|
|
30127
|
+
}
|
|
30128
|
+
]
|
|
30129
|
+
}
|
|
30130
|
+
]
|
|
30131
|
+
},
|
|
30132
|
+
"InputPageDocument": {
|
|
30133
|
+
"allOf": [
|
|
30134
|
+
{
|
|
30135
|
+
"$ref": "#/components/schemas/InputPageBase"
|
|
30136
|
+
},
|
|
30137
|
+
{
|
|
30138
|
+
"type": "object",
|
|
30139
|
+
"properties": {
|
|
30140
|
+
"type": {
|
|
30141
|
+
"type": "string",
|
|
30142
|
+
"enum": [
|
|
30143
|
+
"document"
|
|
30144
|
+
]
|
|
30145
|
+
},
|
|
30146
|
+
"description": {
|
|
30147
|
+
"type": "string",
|
|
30148
|
+
"maxLength": 300,
|
|
30149
|
+
"minLength": 0
|
|
30150
|
+
},
|
|
30151
|
+
"slug": {
|
|
30152
|
+
"description": "Page's slug in its direct parent",
|
|
30153
|
+
"type": "string"
|
|
30154
|
+
},
|
|
30155
|
+
"pages": {
|
|
30156
|
+
"type": "array",
|
|
30157
|
+
"items": {
|
|
30158
|
+
"oneOf": [
|
|
30159
|
+
{
|
|
30160
|
+
"$ref": "#/components/schemas/InputPageDocument"
|
|
30161
|
+
},
|
|
30162
|
+
{
|
|
30163
|
+
"$ref": "#/components/schemas/InputPageLink"
|
|
30164
|
+
},
|
|
30165
|
+
{
|
|
30166
|
+
"$ref": "#/components/schemas/InputPageComputed"
|
|
30167
|
+
}
|
|
30168
|
+
]
|
|
30169
|
+
}
|
|
30170
|
+
},
|
|
30171
|
+
"computed": {
|
|
30172
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
30173
|
+
}
|
|
30174
|
+
},
|
|
30175
|
+
"required": [
|
|
30176
|
+
"type"
|
|
30177
|
+
]
|
|
30178
|
+
}
|
|
30179
|
+
]
|
|
30180
|
+
},
|
|
30181
|
+
"InputPageLink": {
|
|
30182
|
+
"allOf": [
|
|
30183
|
+
{
|
|
30184
|
+
"$ref": "#/components/schemas/InputPageBase"
|
|
30185
|
+
},
|
|
30186
|
+
{
|
|
30187
|
+
"type": "object",
|
|
30188
|
+
"properties": {
|
|
30189
|
+
"type": {
|
|
30190
|
+
"type": "string",
|
|
30191
|
+
"enum": [
|
|
30192
|
+
"link"
|
|
30193
|
+
]
|
|
30194
|
+
},
|
|
30195
|
+
"target": {
|
|
30196
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
30197
|
+
}
|
|
30198
|
+
},
|
|
30199
|
+
"required": [
|
|
30200
|
+
"type",
|
|
30201
|
+
"target"
|
|
30202
|
+
]
|
|
30203
|
+
}
|
|
30204
|
+
]
|
|
30205
|
+
},
|
|
30206
|
+
"InputPageComputed": {
|
|
30207
|
+
"allOf": [
|
|
30208
|
+
{
|
|
30209
|
+
"$ref": "#/components/schemas/InputPageBase"
|
|
30210
|
+
},
|
|
30211
|
+
{
|
|
30212
|
+
"type": "object",
|
|
30213
|
+
"properties": {
|
|
30214
|
+
"type": {
|
|
30215
|
+
"type": "string",
|
|
30216
|
+
"enum": [
|
|
30217
|
+
"computed"
|
|
30218
|
+
]
|
|
30219
|
+
},
|
|
30220
|
+
"computed": {
|
|
30221
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
30222
|
+
}
|
|
30223
|
+
},
|
|
30224
|
+
"required": [
|
|
30225
|
+
"type",
|
|
30226
|
+
"computed"
|
|
30227
|
+
]
|
|
30228
|
+
}
|
|
30229
|
+
]
|
|
30230
|
+
},
|
|
30231
|
+
"InputPageGroup": {
|
|
30232
|
+
"allOf": [
|
|
30233
|
+
{
|
|
30234
|
+
"$ref": "#/components/schemas/InputPageBase"
|
|
30235
|
+
},
|
|
30236
|
+
{
|
|
30237
|
+
"type": "object",
|
|
30238
|
+
"properties": {
|
|
30239
|
+
"type": {
|
|
30240
|
+
"type": "string",
|
|
30241
|
+
"enum": [
|
|
30242
|
+
"group"
|
|
30243
|
+
]
|
|
30244
|
+
},
|
|
30245
|
+
"slug": {
|
|
30246
|
+
"description": "Page's slug in its direct parent",
|
|
30247
|
+
"type": "string"
|
|
30248
|
+
},
|
|
30249
|
+
"pages": {
|
|
30250
|
+
"type": "array",
|
|
30251
|
+
"minLength": 1,
|
|
30252
|
+
"items": {
|
|
30253
|
+
"oneOf": [
|
|
30254
|
+
{
|
|
30255
|
+
"$ref": "#/components/schemas/InputPageDocument"
|
|
30256
|
+
},
|
|
30257
|
+
{
|
|
30258
|
+
"$ref": "#/components/schemas/InputPageLink"
|
|
30259
|
+
},
|
|
30260
|
+
{
|
|
30261
|
+
"$ref": "#/components/schemas/InputPageComputed"
|
|
30262
|
+
}
|
|
30263
|
+
]
|
|
30264
|
+
}
|
|
30265
|
+
}
|
|
30266
|
+
},
|
|
30267
|
+
"required": [
|
|
30268
|
+
"type",
|
|
30269
|
+
"pages"
|
|
30270
|
+
]
|
|
30271
|
+
}
|
|
30272
|
+
]
|
|
30273
|
+
},
|
|
30274
|
+
"InputPage": {
|
|
30275
|
+
"oneOf": [
|
|
30276
|
+
{
|
|
30277
|
+
"$ref": "#/components/schemas/InputPageDocument"
|
|
30278
|
+
},
|
|
30279
|
+
{
|
|
30280
|
+
"$ref": "#/components/schemas/InputPageLink"
|
|
30281
|
+
},
|
|
30282
|
+
{
|
|
30283
|
+
"$ref": "#/components/schemas/InputPageComputed"
|
|
30284
|
+
},
|
|
30285
|
+
{
|
|
30286
|
+
"$ref": "#/components/schemas/InputPageGroup"
|
|
30287
|
+
}
|
|
30288
|
+
]
|
|
30289
|
+
},
|
|
30290
|
+
"InputFile": {
|
|
30291
|
+
"type": "object",
|
|
30292
|
+
"properties": {
|
|
30293
|
+
"id": {
|
|
30294
|
+
"type": "string"
|
|
30295
|
+
},
|
|
30296
|
+
"name": {
|
|
30297
|
+
"type": "string"
|
|
30298
|
+
},
|
|
30299
|
+
"contentType": {
|
|
30300
|
+
"type": "string"
|
|
30301
|
+
},
|
|
30302
|
+
"downloadURL": {
|
|
30303
|
+
"type": "string"
|
|
30304
|
+
},
|
|
30305
|
+
"size": {
|
|
30306
|
+
"type": "number"
|
|
30307
|
+
},
|
|
30308
|
+
"dimensions": {
|
|
30309
|
+
"type": "object",
|
|
30310
|
+
"description": "For images, it contains the dimensions of it.",
|
|
30311
|
+
"properties": {
|
|
30312
|
+
"width": {
|
|
30313
|
+
"type": "number"
|
|
30314
|
+
},
|
|
30315
|
+
"height": {
|
|
30316
|
+
"type": "number"
|
|
30317
|
+
}
|
|
30318
|
+
},
|
|
30319
|
+
"required": [
|
|
30320
|
+
"width",
|
|
30321
|
+
"height"
|
|
30322
|
+
]
|
|
30323
|
+
}
|
|
30324
|
+
},
|
|
30325
|
+
"required": [
|
|
30326
|
+
"name",
|
|
30327
|
+
"contentType",
|
|
30328
|
+
"downloadURL",
|
|
30329
|
+
"size"
|
|
30330
|
+
]
|
|
30331
|
+
},
|
|
29656
30332
|
"RevisionSemanticChangeType": {
|
|
29657
30333
|
"type": "string",
|
|
29658
30334
|
"description": "The type of semantic change.",
|
|
@@ -29765,6 +30441,36 @@
|
|
|
29765
30441
|
"secrets"
|
|
29766
30442
|
]
|
|
29767
30443
|
},
|
|
30444
|
+
"ContentComputeDocumentEventResponse": {
|
|
30445
|
+
"type": "object",
|
|
30446
|
+
"description": "Response expected for an event of type `content_compute_document`.",
|
|
30447
|
+
"properties": {
|
|
30448
|
+
"document": {
|
|
30449
|
+
"$ref": "#/components/schemas/Document"
|
|
30450
|
+
}
|
|
30451
|
+
},
|
|
30452
|
+
"required": [
|
|
30453
|
+
"document"
|
|
30454
|
+
]
|
|
30455
|
+
},
|
|
30456
|
+
"ContentComputeRevisionEventResponse": {
|
|
30457
|
+
"type": "object",
|
|
30458
|
+
"description": "Response expected for an event of type `content_compute_pages`.",
|
|
30459
|
+
"properties": {
|
|
30460
|
+
"pages": {
|
|
30461
|
+
"type": "array",
|
|
30462
|
+
"items": {
|
|
30463
|
+
"$ref": "#/components/schemas/InputPage"
|
|
30464
|
+
}
|
|
30465
|
+
},
|
|
30466
|
+
"files": {
|
|
30467
|
+
"type": "array",
|
|
30468
|
+
"items": {
|
|
30469
|
+
"$ref": "#/components/schemas/InputFile"
|
|
30470
|
+
}
|
|
30471
|
+
}
|
|
30472
|
+
}
|
|
30473
|
+
},
|
|
29768
30474
|
"BillingTrialStatus": {
|
|
29769
30475
|
"type": "string",
|
|
29770
30476
|
"enum": [
|