@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.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": {
|
|
@@ -3954,6 +4042,65 @@
|
|
|
3954
4042
|
}
|
|
3955
4043
|
}
|
|
3956
4044
|
},
|
|
4045
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/synced-blocks/{syncedBlockId}/content": {
|
|
4046
|
+
"get": {
|
|
4047
|
+
"operationId": "getSyncedBlockContentInChangeRequest",
|
|
4048
|
+
"summary": "Get the content of a synced block in the context of a change request.",
|
|
4049
|
+
"tags": [
|
|
4050
|
+
"spaces"
|
|
4051
|
+
],
|
|
4052
|
+
"security": [
|
|
4053
|
+
{
|
|
4054
|
+
"user": []
|
|
4055
|
+
}
|
|
4056
|
+
],
|
|
4057
|
+
"parameters": [
|
|
4058
|
+
{
|
|
4059
|
+
"$ref": "#/components/parameters/spaceId"
|
|
4060
|
+
},
|
|
4061
|
+
{
|
|
4062
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
"$ref": "#/components/parameters/syncedBlockId"
|
|
4066
|
+
}
|
|
4067
|
+
],
|
|
4068
|
+
"responses": {
|
|
4069
|
+
"200": {
|
|
4070
|
+
"description": "OK",
|
|
4071
|
+
"content": {
|
|
4072
|
+
"application/json": {
|
|
4073
|
+
"schema": {
|
|
4074
|
+
"type": "object",
|
|
4075
|
+
"properties": {
|
|
4076
|
+
"document": {
|
|
4077
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
4078
|
+
},
|
|
4079
|
+
"files": {
|
|
4080
|
+
"type": "array",
|
|
4081
|
+
"items": {
|
|
4082
|
+
"$ref": "#/components/schemas/RevisionFile"
|
|
4083
|
+
}
|
|
4084
|
+
}
|
|
4085
|
+
},
|
|
4086
|
+
"required": [
|
|
4087
|
+
"document",
|
|
4088
|
+
"files"
|
|
4089
|
+
]
|
|
4090
|
+
}
|
|
4091
|
+
}
|
|
4092
|
+
}
|
|
4093
|
+
},
|
|
4094
|
+
"404": {
|
|
4095
|
+
"description": "The space, change request, synced block or its content could not be found.",
|
|
4096
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
4097
|
+
},
|
|
4098
|
+
"default": {
|
|
4099
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
4100
|
+
}
|
|
4101
|
+
}
|
|
4102
|
+
}
|
|
4103
|
+
},
|
|
3957
4104
|
"/spaces/{spaceId}/revisions/{revisionId}": {
|
|
3958
4105
|
"get": {
|
|
3959
4106
|
"operationId": "getRevisionById",
|
|
@@ -3972,6 +4119,9 @@
|
|
|
3972
4119
|
},
|
|
3973
4120
|
{
|
|
3974
4121
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4122
|
+
},
|
|
4123
|
+
{
|
|
4124
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
3975
4125
|
}
|
|
3976
4126
|
],
|
|
3977
4127
|
"responses": {
|
|
@@ -4010,6 +4160,9 @@
|
|
|
4010
4160
|
{
|
|
4011
4161
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4012
4162
|
},
|
|
4163
|
+
{
|
|
4164
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4165
|
+
},
|
|
4013
4166
|
{
|
|
4014
4167
|
"name": "limit",
|
|
4015
4168
|
"in": "query",
|
|
@@ -4055,6 +4208,9 @@
|
|
|
4055
4208
|
},
|
|
4056
4209
|
{
|
|
4057
4210
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4211
|
+
},
|
|
4212
|
+
{
|
|
4213
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4058
4214
|
}
|
|
4059
4215
|
],
|
|
4060
4216
|
"responses": {
|
|
@@ -4109,6 +4265,9 @@
|
|
|
4109
4265
|
},
|
|
4110
4266
|
{
|
|
4111
4267
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4268
|
+
},
|
|
4269
|
+
{
|
|
4270
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4112
4271
|
}
|
|
4113
4272
|
],
|
|
4114
4273
|
"responses": {
|
|
@@ -4167,6 +4326,9 @@
|
|
|
4167
4326
|
},
|
|
4168
4327
|
{
|
|
4169
4328
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4329
|
+
},
|
|
4330
|
+
{
|
|
4331
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4170
4332
|
}
|
|
4171
4333
|
],
|
|
4172
4334
|
"responses": {
|
|
@@ -4210,6 +4372,9 @@
|
|
|
4210
4372
|
},
|
|
4211
4373
|
{
|
|
4212
4374
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4375
|
+
},
|
|
4376
|
+
{
|
|
4377
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4213
4378
|
}
|
|
4214
4379
|
],
|
|
4215
4380
|
"responses": {
|
|
@@ -4253,6 +4418,9 @@
|
|
|
4253
4418
|
},
|
|
4254
4419
|
{
|
|
4255
4420
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
4421
|
+
},
|
|
4422
|
+
{
|
|
4423
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4256
4424
|
}
|
|
4257
4425
|
],
|
|
4258
4426
|
"responses": {
|
|
@@ -11238,17 +11406,10 @@
|
|
|
11238
11406
|
"application/json": {
|
|
11239
11407
|
"schema": {
|
|
11240
11408
|
"type": "object",
|
|
11241
|
-
"required": [
|
|
11242
|
-
"content"
|
|
11243
|
-
],
|
|
11244
11409
|
"properties": {
|
|
11245
11410
|
"title": {
|
|
11246
11411
|
"type": "string",
|
|
11247
11412
|
"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
11413
|
}
|
|
11253
11414
|
}
|
|
11254
11415
|
}
|
|
@@ -11396,7 +11557,7 @@
|
|
|
11396
11557
|
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/content": {
|
|
11397
11558
|
"get": {
|
|
11398
11559
|
"operationId": "getSyncedBlockContent",
|
|
11399
|
-
"summary": "Get a synced block
|
|
11560
|
+
"summary": "Get the content of a synced block.",
|
|
11400
11561
|
"tags": [
|
|
11401
11562
|
"organizations"
|
|
11402
11563
|
],
|
|
@@ -11439,6 +11600,10 @@
|
|
|
11439
11600
|
}
|
|
11440
11601
|
}
|
|
11441
11602
|
},
|
|
11603
|
+
"404": {
|
|
11604
|
+
"description": "The synced block or its content could not be found.",
|
|
11605
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11606
|
+
},
|
|
11442
11607
|
"default": {
|
|
11443
11608
|
"$ref": "#/components/responses/UnexpectedError"
|
|
11444
11609
|
}
|
|
@@ -12049,7 +12214,11 @@
|
|
|
12049
12214
|
},
|
|
12050
12215
|
"defaultSiteSpace": {
|
|
12051
12216
|
"type": "string",
|
|
12052
|
-
"description": "ID of the site-space to be used as the default"
|
|
12217
|
+
"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."
|
|
12218
|
+
},
|
|
12219
|
+
"defaultSiteSection": {
|
|
12220
|
+
"type": "string",
|
|
12221
|
+
"description": "ID of the site-section to be used as the default."
|
|
12053
12222
|
}
|
|
12054
12223
|
}
|
|
12055
12224
|
}
|
|
@@ -13376,8 +13545,15 @@
|
|
|
13376
13545
|
"schema": {
|
|
13377
13546
|
"type": "object",
|
|
13378
13547
|
"properties": {
|
|
13548
|
+
"title": {
|
|
13549
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
13550
|
+
},
|
|
13379
13551
|
"path": {
|
|
13380
13552
|
"$ref": "#/components/schemas/SiteSectionPath"
|
|
13553
|
+
},
|
|
13554
|
+
"defaultSiteSpace": {
|
|
13555
|
+
"type": "string",
|
|
13556
|
+
"description": "ID of the site-space to be used as the default in this section."
|
|
13381
13557
|
}
|
|
13382
13558
|
}
|
|
13383
13559
|
}
|
|
@@ -15319,6 +15495,15 @@
|
|
|
15319
15495
|
"default": true
|
|
15320
15496
|
}
|
|
15321
15497
|
},
|
|
15498
|
+
"revisionComputed": {
|
|
15499
|
+
"name": "computed",
|
|
15500
|
+
"in": "query",
|
|
15501
|
+
"description": "If `false` is passed, content will not be computed",
|
|
15502
|
+
"schema": {
|
|
15503
|
+
"type": "boolean",
|
|
15504
|
+
"default": true
|
|
15505
|
+
}
|
|
15506
|
+
},
|
|
15322
15507
|
"fileId": {
|
|
15323
15508
|
"name": "fileId",
|
|
15324
15509
|
"in": "path",
|
|
@@ -15420,6 +15605,15 @@
|
|
|
15420
15605
|
"type": "string"
|
|
15421
15606
|
}
|
|
15422
15607
|
},
|
|
15608
|
+
"syncedBlockId": {
|
|
15609
|
+
"name": "syncedBlockId",
|
|
15610
|
+
"in": "path",
|
|
15611
|
+
"required": true,
|
|
15612
|
+
"description": "The unique id of a synced block",
|
|
15613
|
+
"schema": {
|
|
15614
|
+
"type": "string"
|
|
15615
|
+
}
|
|
15616
|
+
},
|
|
15423
15617
|
"revisionId": {
|
|
15424
15618
|
"name": "revisionId",
|
|
15425
15619
|
"in": "path",
|
|
@@ -15572,15 +15766,6 @@
|
|
|
15572
15766
|
"format": "date-time"
|
|
15573
15767
|
}
|
|
15574
15768
|
},
|
|
15575
|
-
"syncedBlockId": {
|
|
15576
|
-
"name": "syncedBlockId",
|
|
15577
|
-
"in": "path",
|
|
15578
|
-
"required": true,
|
|
15579
|
-
"description": "The unique id of a synced block",
|
|
15580
|
-
"schema": {
|
|
15581
|
-
"type": "string"
|
|
15582
|
-
}
|
|
15583
|
-
},
|
|
15584
15769
|
"siteCustomizationUnmasked": {
|
|
15585
15770
|
"name": "unmasked",
|
|
15586
15771
|
"in": "query",
|
|
@@ -17805,7 +17990,7 @@
|
|
|
17805
17990
|
{
|
|
17806
17991
|
"type": "object",
|
|
17807
17992
|
"properties": {
|
|
17808
|
-
"
|
|
17993
|
+
"fragment": {
|
|
17809
17994
|
"type": "string",
|
|
17810
17995
|
"enum": [
|
|
17811
17996
|
"caption"
|
|
@@ -17820,7 +18005,7 @@
|
|
|
17820
18005
|
},
|
|
17821
18006
|
"required": [
|
|
17822
18007
|
"nodes",
|
|
17823
|
-
"
|
|
18008
|
+
"fragment"
|
|
17824
18009
|
]
|
|
17825
18010
|
}
|
|
17826
18011
|
]
|
|
@@ -17884,7 +18069,7 @@
|
|
|
17884
18069
|
"isVoid": {
|
|
17885
18070
|
"type": "boolean",
|
|
17886
18071
|
"enum": [
|
|
17887
|
-
|
|
18072
|
+
false
|
|
17888
18073
|
]
|
|
17889
18074
|
}
|
|
17890
18075
|
},
|
|
@@ -18213,6 +18398,44 @@
|
|
|
18213
18398
|
"isVoid"
|
|
18214
18399
|
]
|
|
18215
18400
|
},
|
|
18401
|
+
"PlainObject": {
|
|
18402
|
+
"properties": {},
|
|
18403
|
+
"additionalProperties": {
|
|
18404
|
+
"oneOf": [
|
|
18405
|
+
{
|
|
18406
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18407
|
+
},
|
|
18408
|
+
{
|
|
18409
|
+
"type": "string"
|
|
18410
|
+
},
|
|
18411
|
+
{
|
|
18412
|
+
"type": "boolean"
|
|
18413
|
+
},
|
|
18414
|
+
{
|
|
18415
|
+
"type": "number"
|
|
18416
|
+
},
|
|
18417
|
+
{
|
|
18418
|
+
"type": "array",
|
|
18419
|
+
"items": {
|
|
18420
|
+
"oneOf": [
|
|
18421
|
+
{
|
|
18422
|
+
"type": "string"
|
|
18423
|
+
},
|
|
18424
|
+
{
|
|
18425
|
+
"type": "boolean"
|
|
18426
|
+
},
|
|
18427
|
+
{
|
|
18428
|
+
"type": "number"
|
|
18429
|
+
},
|
|
18430
|
+
{
|
|
18431
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18432
|
+
}
|
|
18433
|
+
]
|
|
18434
|
+
}
|
|
18435
|
+
}
|
|
18436
|
+
]
|
|
18437
|
+
}
|
|
18438
|
+
},
|
|
18216
18439
|
"ContentKitDefaultAction": {
|
|
18217
18440
|
"oneOf": [
|
|
18218
18441
|
{
|
|
@@ -18229,7 +18452,7 @@
|
|
|
18229
18452
|
"type": "string"
|
|
18230
18453
|
},
|
|
18231
18454
|
"props": {
|
|
18232
|
-
"
|
|
18455
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18233
18456
|
}
|
|
18234
18457
|
},
|
|
18235
18458
|
"required": [
|
|
@@ -18249,7 +18472,26 @@
|
|
|
18249
18472
|
]
|
|
18250
18473
|
},
|
|
18251
18474
|
"returnValue": {
|
|
18252
|
-
"
|
|
18475
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18476
|
+
}
|
|
18477
|
+
},
|
|
18478
|
+
"required": [
|
|
18479
|
+
"action",
|
|
18480
|
+
"returnValue"
|
|
18481
|
+
]
|
|
18482
|
+
},
|
|
18483
|
+
{
|
|
18484
|
+
"type": "object",
|
|
18485
|
+
"description": "Action to submit the current flow the user is in.",
|
|
18486
|
+
"properties": {
|
|
18487
|
+
"action": {
|
|
18488
|
+
"type": "string",
|
|
18489
|
+
"enum": [
|
|
18490
|
+
"@ui.submit"
|
|
18491
|
+
]
|
|
18492
|
+
},
|
|
18493
|
+
"returnValue": {
|
|
18494
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18253
18495
|
}
|
|
18254
18496
|
},
|
|
18255
18497
|
"required": [
|
|
@@ -18306,7 +18548,7 @@
|
|
|
18306
18548
|
]
|
|
18307
18549
|
},
|
|
18308
18550
|
"props": {
|
|
18309
|
-
"
|
|
18551
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18310
18552
|
}
|
|
18311
18553
|
},
|
|
18312
18554
|
"required": [
|
|
@@ -18366,11 +18608,8 @@
|
|
|
18366
18608
|
"description": "ID of the block in the integration"
|
|
18367
18609
|
},
|
|
18368
18610
|
"props": {
|
|
18369
|
-
"type": "object",
|
|
18370
18611
|
"description": "Properties passed to the block during rendering",
|
|
18371
|
-
"
|
|
18372
|
-
"description": "Any value"
|
|
18373
|
-
}
|
|
18612
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
18374
18613
|
},
|
|
18375
18614
|
"action": {
|
|
18376
18615
|
"$ref": "#/components/schemas/ContentKitAction"
|
|
@@ -19776,7 +20015,7 @@
|
|
|
19776
20015
|
"title": {
|
|
19777
20016
|
"description": "Title of the page",
|
|
19778
20017
|
"type": "string",
|
|
19779
|
-
"
|
|
20018
|
+
"minLength": 1
|
|
19780
20019
|
},
|
|
19781
20020
|
"emoji": {
|
|
19782
20021
|
"description": "Emoji of the page, if one has been set.",
|
|
@@ -19859,6 +20098,9 @@
|
|
|
19859
20098
|
},
|
|
19860
20099
|
{
|
|
19861
20100
|
"$ref": "#/components/schemas/RevisionPageLink"
|
|
20101
|
+
},
|
|
20102
|
+
{
|
|
20103
|
+
"$ref": "#/components/schemas/RevisionPageComputed"
|
|
19862
20104
|
}
|
|
19863
20105
|
]
|
|
19864
20106
|
}
|
|
@@ -19886,6 +20128,10 @@
|
|
|
19886
20128
|
"type": "boolean",
|
|
19887
20129
|
"description": "If true, the page is not indexable by search engine robots.",
|
|
19888
20130
|
"default": false
|
|
20131
|
+
},
|
|
20132
|
+
"computed": {
|
|
20133
|
+
"description": "Defined when the page was generated by a computed content.",
|
|
20134
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
19889
20135
|
}
|
|
19890
20136
|
},
|
|
19891
20137
|
"required": [
|
|
@@ -19941,21 +20187,83 @@
|
|
|
19941
20187
|
}
|
|
19942
20188
|
]
|
|
19943
20189
|
},
|
|
19944
|
-
"
|
|
20190
|
+
"ComputedContentDependency": {
|
|
20191
|
+
"oneOf": [
|
|
20192
|
+
{
|
|
20193
|
+
"$ref": "#/components/schemas/ContentRefSpace"
|
|
20194
|
+
}
|
|
20195
|
+
]
|
|
20196
|
+
},
|
|
20197
|
+
"ComputedContentSource": {
|
|
19945
20198
|
"type": "object",
|
|
20199
|
+
"description": "Parameters for a computed content",
|
|
19946
20200
|
"properties": {
|
|
19947
|
-
"
|
|
20201
|
+
"integration": {
|
|
19948
20202
|
"type": "string",
|
|
19949
|
-
"description": "
|
|
20203
|
+
"description": "Name of the integration"
|
|
19950
20204
|
},
|
|
19951
|
-
"
|
|
20205
|
+
"source": {
|
|
19952
20206
|
"type": "string",
|
|
19953
|
-
"description": "
|
|
20207
|
+
"description": "Identifier of the source used for computation"
|
|
20208
|
+
},
|
|
20209
|
+
"props": {
|
|
20210
|
+
"description": "Properties to be passed to the computation",
|
|
20211
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
20212
|
+
},
|
|
20213
|
+
"dependsOn": {
|
|
20214
|
+
"type": "array",
|
|
20215
|
+
"description": "Dependencies the computation depend on. When the dependency's targets are updated, the computation will be updated.",
|
|
20216
|
+
"items": {
|
|
20217
|
+
"$ref": "#/components/schemas/ComputedContentDependency"
|
|
20218
|
+
}
|
|
19954
20219
|
}
|
|
19955
20220
|
},
|
|
19956
20221
|
"required": [
|
|
19957
|
-
"
|
|
19958
|
-
"
|
|
20222
|
+
"integration",
|
|
20223
|
+
"source",
|
|
20224
|
+
"props"
|
|
20225
|
+
]
|
|
20226
|
+
},
|
|
20227
|
+
"RevisionPageComputed": {
|
|
20228
|
+
"allOf": [
|
|
20229
|
+
{
|
|
20230
|
+
"$ref": "#/components/schemas/RevisionPageBase"
|
|
20231
|
+
},
|
|
20232
|
+
{
|
|
20233
|
+
"type": "object",
|
|
20234
|
+
"properties": {
|
|
20235
|
+
"type": {
|
|
20236
|
+
"type": "string",
|
|
20237
|
+
"enum": [
|
|
20238
|
+
"computed"
|
|
20239
|
+
]
|
|
20240
|
+
},
|
|
20241
|
+
"computed": {
|
|
20242
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
20243
|
+
}
|
|
20244
|
+
},
|
|
20245
|
+
"required": [
|
|
20246
|
+
"type",
|
|
20247
|
+
"computed"
|
|
20248
|
+
]
|
|
20249
|
+
}
|
|
20250
|
+
]
|
|
20251
|
+
},
|
|
20252
|
+
"GitSyncBlob": {
|
|
20253
|
+
"type": "object",
|
|
20254
|
+
"properties": {
|
|
20255
|
+
"oid": {
|
|
20256
|
+
"type": "string",
|
|
20257
|
+
"description": "SHA for the blob"
|
|
20258
|
+
},
|
|
20259
|
+
"path": {
|
|
20260
|
+
"type": "string",
|
|
20261
|
+
"description": "Path of the blob in the Git tree"
|
|
20262
|
+
}
|
|
20263
|
+
},
|
|
20264
|
+
"required": [
|
|
20265
|
+
"oid",
|
|
20266
|
+
"path"
|
|
19959
20267
|
]
|
|
19960
20268
|
},
|
|
19961
20269
|
"RevisionPageLayoutOptionsCoverSize": {
|
|
@@ -20317,6 +20625,9 @@
|
|
|
20317
20625
|
},
|
|
20318
20626
|
{
|
|
20319
20627
|
"$ref": "#/components/schemas/RevisionPageLink"
|
|
20628
|
+
},
|
|
20629
|
+
{
|
|
20630
|
+
"$ref": "#/components/schemas/RevisionPageComputed"
|
|
20320
20631
|
}
|
|
20321
20632
|
]
|
|
20322
20633
|
}
|
|
@@ -20342,6 +20653,9 @@
|
|
|
20342
20653
|
},
|
|
20343
20654
|
{
|
|
20344
20655
|
"$ref": "#/components/schemas/RevisionPageLink"
|
|
20656
|
+
},
|
|
20657
|
+
{
|
|
20658
|
+
"$ref": "#/components/schemas/RevisionPageComputed"
|
|
20345
20659
|
}
|
|
20346
20660
|
],
|
|
20347
20661
|
"discriminator": {
|
|
@@ -20677,6 +20991,28 @@
|
|
|
20677
20991
|
}
|
|
20678
20992
|
]
|
|
20679
20993
|
},
|
|
20994
|
+
"RevisionTypeComputed": {
|
|
20995
|
+
"allOf": [
|
|
20996
|
+
{
|
|
20997
|
+
"$ref": "#/components/schemas/RevisionBase"
|
|
20998
|
+
},
|
|
20999
|
+
{
|
|
21000
|
+
"type": "object",
|
|
21001
|
+
"properties": {
|
|
21002
|
+
"type": {
|
|
21003
|
+
"type": "string",
|
|
21004
|
+
"description": "Virtual revision, computed from a source revision",
|
|
21005
|
+
"enum": [
|
|
21006
|
+
"computed"
|
|
21007
|
+
]
|
|
21008
|
+
}
|
|
21009
|
+
},
|
|
21010
|
+
"required": [
|
|
21011
|
+
"type"
|
|
21012
|
+
]
|
|
21013
|
+
}
|
|
21014
|
+
]
|
|
21015
|
+
},
|
|
20680
21016
|
"Revision": {
|
|
20681
21017
|
"oneOf": [
|
|
20682
21018
|
{
|
|
@@ -20690,6 +21026,9 @@
|
|
|
20690
21026
|
},
|
|
20691
21027
|
{
|
|
20692
21028
|
"$ref": "#/components/schemas/RevisionTypeUpdate"
|
|
21029
|
+
},
|
|
21030
|
+
{
|
|
21031
|
+
"$ref": "#/components/schemas/RevisionTypeComputed"
|
|
20693
21032
|
}
|
|
20694
21033
|
],
|
|
20695
21034
|
"discriminator": {
|
|
@@ -21328,6 +21667,52 @@
|
|
|
21328
21667
|
"$ref": "#/components/schemas/IntegrationBlock"
|
|
21329
21668
|
}
|
|
21330
21669
|
},
|
|
21670
|
+
"IntegrationConfigurationComponent": {
|
|
21671
|
+
"type": "object",
|
|
21672
|
+
"description": "ContentKit component for configuration",
|
|
21673
|
+
"properties": {
|
|
21674
|
+
"componentId": {
|
|
21675
|
+
"type": "string",
|
|
21676
|
+
"description": "ID of the ContentKit component defined in the integration"
|
|
21677
|
+
}
|
|
21678
|
+
},
|
|
21679
|
+
"required": [
|
|
21680
|
+
"componentId"
|
|
21681
|
+
]
|
|
21682
|
+
},
|
|
21683
|
+
"IntegrationContentSource": {
|
|
21684
|
+
"type": "object",
|
|
21685
|
+
"description": "Definition of a content source provided by the integration.",
|
|
21686
|
+
"properties": {
|
|
21687
|
+
"id": {
|
|
21688
|
+
"type": "string",
|
|
21689
|
+
"description": "Unique ID in the integration for the source."
|
|
21690
|
+
},
|
|
21691
|
+
"title": {
|
|
21692
|
+
"type": "string",
|
|
21693
|
+
"description": "Short descriptive title for the source.",
|
|
21694
|
+
"minLength": 2,
|
|
21695
|
+
"maxLength": 40
|
|
21696
|
+
},
|
|
21697
|
+
"description": {
|
|
21698
|
+
"type": "string",
|
|
21699
|
+
"description": "Long descriptive text for the source.",
|
|
21700
|
+
"minLength": 0,
|
|
21701
|
+
"maxLength": 150
|
|
21702
|
+
},
|
|
21703
|
+
"icon": {
|
|
21704
|
+
"type": "string",
|
|
21705
|
+
"description": "URL of the icon to represent this source."
|
|
21706
|
+
},
|
|
21707
|
+
"configuration": {
|
|
21708
|
+
"$ref": "#/components/schemas/IntegrationConfigurationComponent"
|
|
21709
|
+
}
|
|
21710
|
+
},
|
|
21711
|
+
"required": [
|
|
21712
|
+
"id",
|
|
21713
|
+
"title"
|
|
21714
|
+
]
|
|
21715
|
+
},
|
|
21331
21716
|
"IntegrationConfigurationSchema": {
|
|
21332
21717
|
"type": "object",
|
|
21333
21718
|
"description": "Schema for a configuration",
|
|
@@ -21441,19 +21826,6 @@
|
|
|
21441
21826
|
"properties"
|
|
21442
21827
|
]
|
|
21443
21828
|
},
|
|
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
21829
|
"IntegrationConfiguration": {
|
|
21458
21830
|
"oneOf": [
|
|
21459
21831
|
{
|
|
@@ -21657,6 +22029,12 @@
|
|
|
21657
22029
|
"blocks": {
|
|
21658
22030
|
"$ref": "#/components/schemas/IntegrationBlocks"
|
|
21659
22031
|
},
|
|
22032
|
+
"contentSources": {
|
|
22033
|
+
"type": "array",
|
|
22034
|
+
"items": {
|
|
22035
|
+
"$ref": "#/components/schemas/IntegrationContentSource"
|
|
22036
|
+
}
|
|
22037
|
+
},
|
|
21660
22038
|
"configurations": {
|
|
21661
22039
|
"$ref": "#/components/schemas/IntegrationConfigurations"
|
|
21662
22040
|
},
|
|
@@ -22019,12 +22397,23 @@
|
|
|
22019
22397
|
"broken"
|
|
22020
22398
|
]
|
|
22021
22399
|
},
|
|
22400
|
+
"ContentReferenceRelation": {
|
|
22401
|
+
"type": "string",
|
|
22402
|
+
"enum": [
|
|
22403
|
+
"reference",
|
|
22404
|
+
"dependsOn"
|
|
22405
|
+
],
|
|
22406
|
+
"description": "Indicator of the relationship with the content ref target.\n- `reference` - The content soft-references the ref target\n- `dependsOn` - The content depends on the ref target\n"
|
|
22407
|
+
},
|
|
22022
22408
|
"ContentReferenceUsage": {
|
|
22023
22409
|
"type": "object",
|
|
22024
22410
|
"properties": {
|
|
22025
22411
|
"status": {
|
|
22026
22412
|
"$ref": "#/components/schemas/ContentReferenceStatus"
|
|
22027
22413
|
},
|
|
22414
|
+
"relation": {
|
|
22415
|
+
"$ref": "#/components/schemas/ContentReferenceRelation"
|
|
22416
|
+
},
|
|
22028
22417
|
"targetReference": {
|
|
22029
22418
|
"description": "The reference target where a list of pages are pointing at",
|
|
22030
22419
|
"$ref": "#/components/schemas/ContentLocation"
|
|
@@ -22038,6 +22427,7 @@
|
|
|
22038
22427
|
}
|
|
22039
22428
|
},
|
|
22040
22429
|
"required": [
|
|
22430
|
+
"relation",
|
|
22041
22431
|
"status",
|
|
22042
22432
|
"locationReferences"
|
|
22043
22433
|
]
|
|
@@ -22570,7 +22960,8 @@
|
|
|
22570
22960
|
"enum": [
|
|
22571
22961
|
"document",
|
|
22572
22962
|
"group",
|
|
22573
|
-
"link"
|
|
22963
|
+
"link",
|
|
22964
|
+
"computed"
|
|
22574
22965
|
]
|
|
22575
22966
|
},
|
|
22576
22967
|
"ChangedRevisionPage": {
|
|
@@ -23887,6 +24278,12 @@
|
|
|
23887
24278
|
"blocks": {
|
|
23888
24279
|
"$ref": "#/components/schemas/IntegrationBlocks"
|
|
23889
24280
|
},
|
|
24281
|
+
"contentSources": {
|
|
24282
|
+
"type": "array",
|
|
24283
|
+
"items": {
|
|
24284
|
+
"$ref": "#/components/schemas/IntegrationContentSource"
|
|
24285
|
+
}
|
|
24286
|
+
},
|
|
23890
24287
|
"externalLinks": {
|
|
23891
24288
|
"$ref": "#/components/schemas/IntegrationExternalLinks"
|
|
23892
24289
|
},
|
|
@@ -24832,6 +25229,33 @@
|
|
|
24832
25229
|
}
|
|
24833
25230
|
]
|
|
24834
25231
|
},
|
|
25232
|
+
"ContentKitContextConfigurationContentSource": {
|
|
25233
|
+
"allOf": [
|
|
25234
|
+
{
|
|
25235
|
+
"$ref": "#/components/schemas/ContentKitContextBase"
|
|
25236
|
+
},
|
|
25237
|
+
{
|
|
25238
|
+
"type": "object",
|
|
25239
|
+
"description": "Context while rendering the configuration flow of a content source.",
|
|
25240
|
+
"properties": {
|
|
25241
|
+
"type": {
|
|
25242
|
+
"type": "string",
|
|
25243
|
+
"enum": [
|
|
25244
|
+
"configuration_contentsource"
|
|
25245
|
+
]
|
|
25246
|
+
},
|
|
25247
|
+
"organizationId": {
|
|
25248
|
+
"type": "string",
|
|
25249
|
+
"description": "ID of the organization the content source installation configuration is in."
|
|
25250
|
+
}
|
|
25251
|
+
},
|
|
25252
|
+
"required": [
|
|
25253
|
+
"type",
|
|
25254
|
+
"organizationId"
|
|
25255
|
+
]
|
|
25256
|
+
}
|
|
25257
|
+
]
|
|
25258
|
+
},
|
|
24835
25259
|
"ContentKitContextDocument": {
|
|
24836
25260
|
"allOf": [
|
|
24837
25261
|
{
|
|
@@ -24875,6 +25299,9 @@
|
|
|
24875
25299
|
{
|
|
24876
25300
|
"$ref": "#/components/schemas/ContentKitContextConfigurationSite"
|
|
24877
25301
|
},
|
|
25302
|
+
{
|
|
25303
|
+
"$ref": "#/components/schemas/ContentKitContextConfigurationContentSource"
|
|
25304
|
+
},
|
|
24878
25305
|
{
|
|
24879
25306
|
"$ref": "#/components/schemas/ContentKitContextDocument"
|
|
24880
25307
|
}
|
|
@@ -24944,6 +25371,74 @@
|
|
|
24944
25371
|
}
|
|
24945
25372
|
]
|
|
24946
25373
|
},
|
|
25374
|
+
"ContentComputeEvent": {
|
|
25375
|
+
"allOf": [
|
|
25376
|
+
{
|
|
25377
|
+
"$ref": "#/components/schemas/SpaceEvent"
|
|
25378
|
+
},
|
|
25379
|
+
{
|
|
25380
|
+
"type": "object",
|
|
25381
|
+
"description": "Generic event when computing the content of a space",
|
|
25382
|
+
"properties": {
|
|
25383
|
+
"sourceId": {
|
|
25384
|
+
"type": "string"
|
|
25385
|
+
},
|
|
25386
|
+
"props": {
|
|
25387
|
+
"description": "Properties passed to the rendering.",
|
|
25388
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
25389
|
+
}
|
|
25390
|
+
},
|
|
25391
|
+
"required": [
|
|
25392
|
+
"sourceId",
|
|
25393
|
+
"props"
|
|
25394
|
+
]
|
|
25395
|
+
}
|
|
25396
|
+
]
|
|
25397
|
+
},
|
|
25398
|
+
"ContentComputeDocumentEvent": {
|
|
25399
|
+
"allOf": [
|
|
25400
|
+
{
|
|
25401
|
+
"$ref": "#/components/schemas/ContentComputeEvent"
|
|
25402
|
+
},
|
|
25403
|
+
{
|
|
25404
|
+
"type": "object",
|
|
25405
|
+
"description": "Event generated when computing the document of a pages.\nThe integration should respond with a `Document`.\n",
|
|
25406
|
+
"properties": {
|
|
25407
|
+
"type": {
|
|
25408
|
+
"type": "string",
|
|
25409
|
+
"enum": [
|
|
25410
|
+
"content_compute_document"
|
|
25411
|
+
]
|
|
25412
|
+
}
|
|
25413
|
+
},
|
|
25414
|
+
"required": [
|
|
25415
|
+
"type"
|
|
25416
|
+
]
|
|
25417
|
+
}
|
|
25418
|
+
]
|
|
25419
|
+
},
|
|
25420
|
+
"ContentComputeRevisionEvent": {
|
|
25421
|
+
"allOf": [
|
|
25422
|
+
{
|
|
25423
|
+
"$ref": "#/components/schemas/ContentComputeEvent"
|
|
25424
|
+
},
|
|
25425
|
+
{
|
|
25426
|
+
"type": "object",
|
|
25427
|
+
"description": "Event generated when computing revision in a content.\nThe integration should respond with an array of pages and files.\n",
|
|
25428
|
+
"properties": {
|
|
25429
|
+
"type": {
|
|
25430
|
+
"type": "string",
|
|
25431
|
+
"enum": [
|
|
25432
|
+
"content_compute_revision"
|
|
25433
|
+
]
|
|
25434
|
+
}
|
|
25435
|
+
},
|
|
25436
|
+
"required": [
|
|
25437
|
+
"type"
|
|
25438
|
+
]
|
|
25439
|
+
}
|
|
25440
|
+
]
|
|
25441
|
+
},
|
|
24947
25442
|
"Event": {
|
|
24948
25443
|
"description": "Any event that can be received from GitBook.",
|
|
24949
25444
|
"oneOf": [
|
|
@@ -24991,6 +25486,12 @@
|
|
|
24991
25486
|
},
|
|
24992
25487
|
{
|
|
24993
25488
|
"$ref": "#/components/schemas/UIRenderEvent"
|
|
25489
|
+
},
|
|
25490
|
+
{
|
|
25491
|
+
"$ref": "#/components/schemas/ContentComputeDocumentEvent"
|
|
25492
|
+
},
|
|
25493
|
+
{
|
|
25494
|
+
"$ref": "#/components/schemas/ContentComputeRevisionEvent"
|
|
24994
25495
|
}
|
|
24995
25496
|
],
|
|
24996
25497
|
"discriminator": {
|
|
@@ -26363,10 +26864,16 @@
|
|
|
26363
26864
|
"propertyName": "type"
|
|
26364
26865
|
}
|
|
26365
26866
|
},
|
|
26366
|
-
"
|
|
26867
|
+
"ContentKitRenderOutputElement": {
|
|
26367
26868
|
"type": "object",
|
|
26368
|
-
"description": "Output of the
|
|
26869
|
+
"description": "Output of type element in the lifecycle of the component.",
|
|
26369
26870
|
"properties": {
|
|
26871
|
+
"type": {
|
|
26872
|
+
"type": "string",
|
|
26873
|
+
"enum": [
|
|
26874
|
+
"element"
|
|
26875
|
+
]
|
|
26876
|
+
},
|
|
26370
26877
|
"element": {
|
|
26371
26878
|
"$ref": "#/components/schemas/ContentKitRootElement"
|
|
26372
26879
|
},
|
|
@@ -26374,7 +26881,7 @@
|
|
|
26374
26881
|
"type": "object"
|
|
26375
26882
|
},
|
|
26376
26883
|
"props": {
|
|
26377
|
-
"
|
|
26884
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
26378
26885
|
}
|
|
26379
26886
|
},
|
|
26380
26887
|
"required": [
|
|
@@ -26383,6 +26890,36 @@
|
|
|
26383
26890
|
"props"
|
|
26384
26891
|
]
|
|
26385
26892
|
},
|
|
26893
|
+
"ContentKitRenderOutputComplete": {
|
|
26894
|
+
"type": "object",
|
|
26895
|
+
"description": "Output of completed lifecycle of the component.",
|
|
26896
|
+
"properties": {
|
|
26897
|
+
"type": {
|
|
26898
|
+
"type": "string",
|
|
26899
|
+
"enum": [
|
|
26900
|
+
"complete"
|
|
26901
|
+
]
|
|
26902
|
+
},
|
|
26903
|
+
"returnValue": {
|
|
26904
|
+
"type": "object"
|
|
26905
|
+
}
|
|
26906
|
+
},
|
|
26907
|
+
"required": [
|
|
26908
|
+
"type"
|
|
26909
|
+
]
|
|
26910
|
+
},
|
|
26911
|
+
"ContentKitRenderOutput": {
|
|
26912
|
+
"type": "object",
|
|
26913
|
+
"description": "Output of the integration when rendering a UI.",
|
|
26914
|
+
"oneOf": [
|
|
26915
|
+
{
|
|
26916
|
+
"$ref": "#/components/schemas/ContentKitRenderOutputElement"
|
|
26917
|
+
},
|
|
26918
|
+
{
|
|
26919
|
+
"$ref": "#/components/schemas/ContentKitRenderOutputComplete"
|
|
26920
|
+
}
|
|
26921
|
+
]
|
|
26922
|
+
},
|
|
26386
26923
|
"RenderIntegrationUI": {
|
|
26387
26924
|
"type": "object",
|
|
26388
26925
|
"properties": {
|
|
@@ -26391,8 +26928,8 @@
|
|
|
26391
26928
|
"description": "ID of the component to render in the integration."
|
|
26392
26929
|
},
|
|
26393
26930
|
"props": {
|
|
26394
|
-
"
|
|
26395
|
-
"
|
|
26931
|
+
"description": "Current properties of the UI.",
|
|
26932
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
26396
26933
|
},
|
|
26397
26934
|
"state": {
|
|
26398
26935
|
"type": "object",
|
|
@@ -27380,13 +27917,18 @@
|
|
|
27380
27917
|
"ultimate": {
|
|
27381
27918
|
"description": "Count of all ultimate sites",
|
|
27382
27919
|
"type": "number"
|
|
27920
|
+
},
|
|
27921
|
+
"sponsored": {
|
|
27922
|
+
"description": "Count of all sponsored sites",
|
|
27923
|
+
"type": "number"
|
|
27383
27924
|
}
|
|
27384
27925
|
},
|
|
27385
27926
|
"required": [
|
|
27386
27927
|
"total",
|
|
27387
27928
|
"basic",
|
|
27388
27929
|
"premium",
|
|
27389
|
-
"ultimate"
|
|
27930
|
+
"ultimate",
|
|
27931
|
+
"sponsored"
|
|
27390
27932
|
]
|
|
27391
27933
|
}
|
|
27392
27934
|
]
|
|
@@ -27894,6 +28436,7 @@
|
|
|
27894
28436
|
"basic",
|
|
27895
28437
|
"premium",
|
|
27896
28438
|
"ultimate",
|
|
28439
|
+
"sponsored",
|
|
27897
28440
|
"legacy-basic",
|
|
27898
28441
|
"legacy-premium"
|
|
27899
28442
|
]
|
|
@@ -28185,6 +28728,12 @@
|
|
|
28185
28728
|
}
|
|
28186
28729
|
]
|
|
28187
28730
|
},
|
|
28731
|
+
"SiteSectionTitle": {
|
|
28732
|
+
"type": "string",
|
|
28733
|
+
"description": "Title of the site section",
|
|
28734
|
+
"minLength": 2,
|
|
28735
|
+
"maxLength": 128
|
|
28736
|
+
},
|
|
28188
28737
|
"SiteSectionPath": {
|
|
28189
28738
|
"type": "string",
|
|
28190
28739
|
"description": "Path to the section on the site",
|
|
@@ -28270,8 +28819,7 @@
|
|
|
28270
28819
|
"description": "Unique identifier of the site section"
|
|
28271
28820
|
},
|
|
28272
28821
|
"title": {
|
|
28273
|
-
"
|
|
28274
|
-
"description": "Title of the site section"
|
|
28822
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
28275
28823
|
},
|
|
28276
28824
|
"default": {
|
|
28277
28825
|
"type": "boolean",
|
|
@@ -29653,6 +30201,251 @@
|
|
|
29653
30201
|
}
|
|
29654
30202
|
]
|
|
29655
30203
|
},
|
|
30204
|
+
"InputPageBase": {
|
|
30205
|
+
"allOf": [
|
|
30206
|
+
{
|
|
30207
|
+
"type": "object",
|
|
30208
|
+
"properties": {
|
|
30209
|
+
"id": {
|
|
30210
|
+
"type": "string",
|
|
30211
|
+
"description": "Optional unique identifier for the page.\nIt can be used to reference pages in document links.\n"
|
|
30212
|
+
},
|
|
30213
|
+
"title": {
|
|
30214
|
+
"type": "string",
|
|
30215
|
+
"minLength": 1
|
|
30216
|
+
}
|
|
30217
|
+
},
|
|
30218
|
+
"required": [
|
|
30219
|
+
"title"
|
|
30220
|
+
]
|
|
30221
|
+
},
|
|
30222
|
+
{
|
|
30223
|
+
"oneOf": [
|
|
30224
|
+
{
|
|
30225
|
+
"type": "object",
|
|
30226
|
+
"properties": {
|
|
30227
|
+
"emoji": {
|
|
30228
|
+
"description": "Emoji of the page.",
|
|
30229
|
+
"$ref": "#/components/schemas/Emoji"
|
|
30230
|
+
}
|
|
30231
|
+
},
|
|
30232
|
+
"required": [
|
|
30233
|
+
"emoji"
|
|
30234
|
+
]
|
|
30235
|
+
},
|
|
30236
|
+
{
|
|
30237
|
+
"type": "object",
|
|
30238
|
+
"properties": {
|
|
30239
|
+
"icon": {
|
|
30240
|
+
"description": "Icon of the page.",
|
|
30241
|
+
"$ref": "#/components/schemas/Icon"
|
|
30242
|
+
}
|
|
30243
|
+
}
|
|
30244
|
+
}
|
|
30245
|
+
]
|
|
30246
|
+
}
|
|
30247
|
+
]
|
|
30248
|
+
},
|
|
30249
|
+
"InputPageDocument": {
|
|
30250
|
+
"allOf": [
|
|
30251
|
+
{
|
|
30252
|
+
"$ref": "#/components/schemas/InputPageBase"
|
|
30253
|
+
},
|
|
30254
|
+
{
|
|
30255
|
+
"type": "object",
|
|
30256
|
+
"properties": {
|
|
30257
|
+
"type": {
|
|
30258
|
+
"type": "string",
|
|
30259
|
+
"enum": [
|
|
30260
|
+
"document"
|
|
30261
|
+
]
|
|
30262
|
+
},
|
|
30263
|
+
"description": {
|
|
30264
|
+
"type": "string",
|
|
30265
|
+
"maxLength": 300,
|
|
30266
|
+
"minLength": 0
|
|
30267
|
+
},
|
|
30268
|
+
"slug": {
|
|
30269
|
+
"description": "Page's slug in its direct parent",
|
|
30270
|
+
"type": "string"
|
|
30271
|
+
},
|
|
30272
|
+
"pages": {
|
|
30273
|
+
"type": "array",
|
|
30274
|
+
"items": {
|
|
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
|
+
}
|
|
30287
|
+
},
|
|
30288
|
+
"computed": {
|
|
30289
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
30290
|
+
}
|
|
30291
|
+
},
|
|
30292
|
+
"required": [
|
|
30293
|
+
"type"
|
|
30294
|
+
]
|
|
30295
|
+
}
|
|
30296
|
+
]
|
|
30297
|
+
},
|
|
30298
|
+
"InputPageLink": {
|
|
30299
|
+
"allOf": [
|
|
30300
|
+
{
|
|
30301
|
+
"$ref": "#/components/schemas/InputPageBase"
|
|
30302
|
+
},
|
|
30303
|
+
{
|
|
30304
|
+
"type": "object",
|
|
30305
|
+
"properties": {
|
|
30306
|
+
"type": {
|
|
30307
|
+
"type": "string",
|
|
30308
|
+
"enum": [
|
|
30309
|
+
"link"
|
|
30310
|
+
]
|
|
30311
|
+
},
|
|
30312
|
+
"target": {
|
|
30313
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
30314
|
+
}
|
|
30315
|
+
},
|
|
30316
|
+
"required": [
|
|
30317
|
+
"type",
|
|
30318
|
+
"target"
|
|
30319
|
+
]
|
|
30320
|
+
}
|
|
30321
|
+
]
|
|
30322
|
+
},
|
|
30323
|
+
"InputPageComputed": {
|
|
30324
|
+
"allOf": [
|
|
30325
|
+
{
|
|
30326
|
+
"$ref": "#/components/schemas/InputPageBase"
|
|
30327
|
+
},
|
|
30328
|
+
{
|
|
30329
|
+
"type": "object",
|
|
30330
|
+
"properties": {
|
|
30331
|
+
"type": {
|
|
30332
|
+
"type": "string",
|
|
30333
|
+
"enum": [
|
|
30334
|
+
"computed"
|
|
30335
|
+
]
|
|
30336
|
+
},
|
|
30337
|
+
"computed": {
|
|
30338
|
+
"$ref": "#/components/schemas/ComputedContentSource"
|
|
30339
|
+
}
|
|
30340
|
+
},
|
|
30341
|
+
"required": [
|
|
30342
|
+
"type",
|
|
30343
|
+
"computed"
|
|
30344
|
+
]
|
|
30345
|
+
}
|
|
30346
|
+
]
|
|
30347
|
+
},
|
|
30348
|
+
"InputPageGroup": {
|
|
30349
|
+
"allOf": [
|
|
30350
|
+
{
|
|
30351
|
+
"$ref": "#/components/schemas/InputPageBase"
|
|
30352
|
+
},
|
|
30353
|
+
{
|
|
30354
|
+
"type": "object",
|
|
30355
|
+
"properties": {
|
|
30356
|
+
"type": {
|
|
30357
|
+
"type": "string",
|
|
30358
|
+
"enum": [
|
|
30359
|
+
"group"
|
|
30360
|
+
]
|
|
30361
|
+
},
|
|
30362
|
+
"slug": {
|
|
30363
|
+
"description": "Page's slug in its direct parent",
|
|
30364
|
+
"type": "string"
|
|
30365
|
+
},
|
|
30366
|
+
"pages": {
|
|
30367
|
+
"type": "array",
|
|
30368
|
+
"minLength": 1,
|
|
30369
|
+
"items": {
|
|
30370
|
+
"oneOf": [
|
|
30371
|
+
{
|
|
30372
|
+
"$ref": "#/components/schemas/InputPageDocument"
|
|
30373
|
+
},
|
|
30374
|
+
{
|
|
30375
|
+
"$ref": "#/components/schemas/InputPageLink"
|
|
30376
|
+
},
|
|
30377
|
+
{
|
|
30378
|
+
"$ref": "#/components/schemas/InputPageComputed"
|
|
30379
|
+
}
|
|
30380
|
+
]
|
|
30381
|
+
}
|
|
30382
|
+
}
|
|
30383
|
+
},
|
|
30384
|
+
"required": [
|
|
30385
|
+
"type",
|
|
30386
|
+
"pages"
|
|
30387
|
+
]
|
|
30388
|
+
}
|
|
30389
|
+
]
|
|
30390
|
+
},
|
|
30391
|
+
"InputPage": {
|
|
30392
|
+
"oneOf": [
|
|
30393
|
+
{
|
|
30394
|
+
"$ref": "#/components/schemas/InputPageDocument"
|
|
30395
|
+
},
|
|
30396
|
+
{
|
|
30397
|
+
"$ref": "#/components/schemas/InputPageLink"
|
|
30398
|
+
},
|
|
30399
|
+
{
|
|
30400
|
+
"$ref": "#/components/schemas/InputPageComputed"
|
|
30401
|
+
},
|
|
30402
|
+
{
|
|
30403
|
+
"$ref": "#/components/schemas/InputPageGroup"
|
|
30404
|
+
}
|
|
30405
|
+
]
|
|
30406
|
+
},
|
|
30407
|
+
"InputFile": {
|
|
30408
|
+
"type": "object",
|
|
30409
|
+
"properties": {
|
|
30410
|
+
"id": {
|
|
30411
|
+
"type": "string"
|
|
30412
|
+
},
|
|
30413
|
+
"name": {
|
|
30414
|
+
"type": "string"
|
|
30415
|
+
},
|
|
30416
|
+
"contentType": {
|
|
30417
|
+
"type": "string"
|
|
30418
|
+
},
|
|
30419
|
+
"downloadURL": {
|
|
30420
|
+
"type": "string"
|
|
30421
|
+
},
|
|
30422
|
+
"size": {
|
|
30423
|
+
"type": "number"
|
|
30424
|
+
},
|
|
30425
|
+
"dimensions": {
|
|
30426
|
+
"type": "object",
|
|
30427
|
+
"description": "For images, it contains the dimensions of it.",
|
|
30428
|
+
"properties": {
|
|
30429
|
+
"width": {
|
|
30430
|
+
"type": "number"
|
|
30431
|
+
},
|
|
30432
|
+
"height": {
|
|
30433
|
+
"type": "number"
|
|
30434
|
+
}
|
|
30435
|
+
},
|
|
30436
|
+
"required": [
|
|
30437
|
+
"width",
|
|
30438
|
+
"height"
|
|
30439
|
+
]
|
|
30440
|
+
}
|
|
30441
|
+
},
|
|
30442
|
+
"required": [
|
|
30443
|
+
"name",
|
|
30444
|
+
"contentType",
|
|
30445
|
+
"downloadURL",
|
|
30446
|
+
"size"
|
|
30447
|
+
]
|
|
30448
|
+
},
|
|
29656
30449
|
"RevisionSemanticChangeType": {
|
|
29657
30450
|
"type": "string",
|
|
29658
30451
|
"description": "The type of semantic change.",
|
|
@@ -29765,6 +30558,36 @@
|
|
|
29765
30558
|
"secrets"
|
|
29766
30559
|
]
|
|
29767
30560
|
},
|
|
30561
|
+
"ContentComputeDocumentEventResponse": {
|
|
30562
|
+
"type": "object",
|
|
30563
|
+
"description": "Response expected for an event of type `content_compute_document`.",
|
|
30564
|
+
"properties": {
|
|
30565
|
+
"document": {
|
|
30566
|
+
"$ref": "#/components/schemas/Document"
|
|
30567
|
+
}
|
|
30568
|
+
},
|
|
30569
|
+
"required": [
|
|
30570
|
+
"document"
|
|
30571
|
+
]
|
|
30572
|
+
},
|
|
30573
|
+
"ContentComputeRevisionEventResponse": {
|
|
30574
|
+
"type": "object",
|
|
30575
|
+
"description": "Response expected for an event of type `content_compute_pages`.",
|
|
30576
|
+
"properties": {
|
|
30577
|
+
"pages": {
|
|
30578
|
+
"type": "array",
|
|
30579
|
+
"items": {
|
|
30580
|
+
"$ref": "#/components/schemas/InputPage"
|
|
30581
|
+
}
|
|
30582
|
+
},
|
|
30583
|
+
"files": {
|
|
30584
|
+
"type": "array",
|
|
30585
|
+
"items": {
|
|
30586
|
+
"$ref": "#/components/schemas/InputFile"
|
|
30587
|
+
}
|
|
30588
|
+
}
|
|
30589
|
+
}
|
|
30590
|
+
},
|
|
29768
30591
|
"BillingTrialStatus": {
|
|
29769
30592
|
"type": "string",
|
|
29770
30593
|
"enum": [
|