@gitbook/api 0.111.0 → 0.113.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 +259 -169
- package/dist/index.cjs +29 -19
- package/dist/index.js +29 -19
- package/package.json +1 -1
- package/spec/openapi.json +967 -728
- package/spec/openapi.yaml +767 -608
package/spec/openapi.json
CHANGED
|
@@ -6323,6 +6323,78 @@
|
|
|
6323
6323
|
}
|
|
6324
6324
|
}
|
|
6325
6325
|
},
|
|
6326
|
+
"/integrations/{integrationName}/sites": {
|
|
6327
|
+
"get": {
|
|
6328
|
+
"operationId": "listIntegrationSiteInstallations",
|
|
6329
|
+
"summary": "List all integration site installations",
|
|
6330
|
+
"tags": [
|
|
6331
|
+
"integrations"
|
|
6332
|
+
],
|
|
6333
|
+
"security": [
|
|
6334
|
+
{
|
|
6335
|
+
"integration": []
|
|
6336
|
+
}
|
|
6337
|
+
],
|
|
6338
|
+
"parameters": [
|
|
6339
|
+
{
|
|
6340
|
+
"$ref": "#/components/parameters/integrationName"
|
|
6341
|
+
},
|
|
6342
|
+
{
|
|
6343
|
+
"$ref": "#/components/parameters/listPage"
|
|
6344
|
+
},
|
|
6345
|
+
{
|
|
6346
|
+
"$ref": "#/components/parameters/listLimit"
|
|
6347
|
+
},
|
|
6348
|
+
{
|
|
6349
|
+
"name": "externalId",
|
|
6350
|
+
"in": "query",
|
|
6351
|
+
"description": "External ID to filter by",
|
|
6352
|
+
"schema": {
|
|
6353
|
+
"type": "string"
|
|
6354
|
+
}
|
|
6355
|
+
},
|
|
6356
|
+
{
|
|
6357
|
+
"name": "extended",
|
|
6358
|
+
"in": "query",
|
|
6359
|
+
"description": "If true, returns the site object in each items. If false, returns the site ID in each items.",
|
|
6360
|
+
"schema": {
|
|
6361
|
+
"type": "boolean",
|
|
6362
|
+
"default": false
|
|
6363
|
+
}
|
|
6364
|
+
}
|
|
6365
|
+
],
|
|
6366
|
+
"responses": {
|
|
6367
|
+
"200": {
|
|
6368
|
+
"description": "OK",
|
|
6369
|
+
"content": {
|
|
6370
|
+
"application/json": {
|
|
6371
|
+
"schema": {
|
|
6372
|
+
"allOf": [
|
|
6373
|
+
{
|
|
6374
|
+
"$ref": "#/components/schemas/List"
|
|
6375
|
+
},
|
|
6376
|
+
{
|
|
6377
|
+
"type": "object",
|
|
6378
|
+
"required": [
|
|
6379
|
+
"items"
|
|
6380
|
+
],
|
|
6381
|
+
"properties": {
|
|
6382
|
+
"items": {
|
|
6383
|
+
"type": "array",
|
|
6384
|
+
"items": {
|
|
6385
|
+
"$ref": "#/components/schemas/IntegrationSiteInstallation"
|
|
6386
|
+
}
|
|
6387
|
+
}
|
|
6388
|
+
}
|
|
6389
|
+
}
|
|
6390
|
+
]
|
|
6391
|
+
}
|
|
6392
|
+
}
|
|
6393
|
+
}
|
|
6394
|
+
}
|
|
6395
|
+
}
|
|
6396
|
+
}
|
|
6397
|
+
},
|
|
6326
6398
|
"/integrations/{integrationName}/dev": {
|
|
6327
6399
|
"put": {
|
|
6328
6400
|
"operationId": "setIntegrationDevelopmentMode",
|
|
@@ -16126,6 +16198,10 @@
|
|
|
16126
16198
|
"type": "object",
|
|
16127
16199
|
"description": "The set of permissions for the space",
|
|
16128
16200
|
"properties": {
|
|
16201
|
+
"view": {
|
|
16202
|
+
"type": "boolean",
|
|
16203
|
+
"description": "Can the user view the space content."
|
|
16204
|
+
},
|
|
16129
16205
|
"access": {
|
|
16130
16206
|
"type": "boolean",
|
|
16131
16207
|
"description": "Can the user access the space in the application."
|
|
@@ -16134,10 +16210,18 @@
|
|
|
16134
16210
|
"type": "boolean",
|
|
16135
16211
|
"description": "Can the user edit the title, install integrations, and manage the space."
|
|
16136
16212
|
},
|
|
16213
|
+
"viewInviteLinks": {
|
|
16214
|
+
"type": "boolean",
|
|
16215
|
+
"description": "Can the user view the invite links of the space."
|
|
16216
|
+
},
|
|
16137
16217
|
"edit": {
|
|
16138
16218
|
"type": "boolean",
|
|
16139
16219
|
"description": "Can the user edit the content of the space by creating a change request."
|
|
16140
16220
|
},
|
|
16221
|
+
"triggerGitSync": {
|
|
16222
|
+
"type": "boolean",
|
|
16223
|
+
"description": "Can the user trigger a git sync."
|
|
16224
|
+
},
|
|
16141
16225
|
"comment": {
|
|
16142
16226
|
"type": "boolean",
|
|
16143
16227
|
"description": "Can the user comment on the content."
|
|
@@ -16152,9 +16236,12 @@
|
|
|
16152
16236
|
}
|
|
16153
16237
|
},
|
|
16154
16238
|
"required": [
|
|
16239
|
+
"view",
|
|
16155
16240
|
"access",
|
|
16156
16241
|
"admin",
|
|
16242
|
+
"viewInviteLinks",
|
|
16157
16243
|
"edit",
|
|
16244
|
+
"triggerGitSync",
|
|
16158
16245
|
"comment",
|
|
16159
16246
|
"merge",
|
|
16160
16247
|
"review"
|
|
@@ -16681,6 +16768,24 @@
|
|
|
16681
16768
|
"createdAt": {
|
|
16682
16769
|
"description": "Date at which the team was created.",
|
|
16683
16770
|
"$ref": "#/components/schemas/Timestamp"
|
|
16771
|
+
},
|
|
16772
|
+
"permissions": {
|
|
16773
|
+
"type": "object",
|
|
16774
|
+
"description": "The set of permissions for the team",
|
|
16775
|
+
"properties": {
|
|
16776
|
+
"admin": {
|
|
16777
|
+
"type": "boolean",
|
|
16778
|
+
"description": "Can the user manage the team"
|
|
16779
|
+
},
|
|
16780
|
+
"view": {
|
|
16781
|
+
"type": "boolean",
|
|
16782
|
+
"description": "Can the user view the team and list its members"
|
|
16783
|
+
}
|
|
16784
|
+
},
|
|
16785
|
+
"required": [
|
|
16786
|
+
"admin",
|
|
16787
|
+
"view"
|
|
16788
|
+
]
|
|
16684
16789
|
}
|
|
16685
16790
|
},
|
|
16686
16791
|
"required": [
|
|
@@ -16689,7 +16794,8 @@
|
|
|
16689
16794
|
"title",
|
|
16690
16795
|
"members",
|
|
16691
16796
|
"spaces",
|
|
16692
|
-
"createdAt"
|
|
16797
|
+
"createdAt",
|
|
16798
|
+
"permissions"
|
|
16693
16799
|
]
|
|
16694
16800
|
},
|
|
16695
16801
|
"Icon": {
|
|
@@ -17243,6 +17349,10 @@
|
|
|
17243
17349
|
},
|
|
17244
17350
|
"reusableContent": {
|
|
17245
17351
|
"type": "string"
|
|
17352
|
+
},
|
|
17353
|
+
"space": {
|
|
17354
|
+
"type": "string",
|
|
17355
|
+
"description": "The space in which the reusable content is defined. If undefined, the reusable content is assumed to be in the same space as the content reference."
|
|
17246
17356
|
}
|
|
17247
17357
|
},
|
|
17248
17358
|
"required": [
|
|
@@ -19035,6 +19145,15 @@
|
|
|
19035
19145
|
"enum": [
|
|
19036
19146
|
true
|
|
19037
19147
|
]
|
|
19148
|
+
},
|
|
19149
|
+
"meta": {
|
|
19150
|
+
"type": "object",
|
|
19151
|
+
"properties": {
|
|
19152
|
+
"token": {
|
|
19153
|
+
"description": "A content token that can be used to fetch the reusable content from the API.",
|
|
19154
|
+
"type": "string"
|
|
19155
|
+
}
|
|
19156
|
+
}
|
|
19038
19157
|
}
|
|
19039
19158
|
},
|
|
19040
19159
|
"required": [
|
|
@@ -22019,17 +22138,43 @@
|
|
|
22019
22138
|
"type": "object",
|
|
22020
22139
|
"description": "The set of permissions for the organization",
|
|
22021
22140
|
"properties": {
|
|
22141
|
+
"view": {
|
|
22142
|
+
"type": "boolean",
|
|
22143
|
+
"description": "Can the user view the organization."
|
|
22144
|
+
},
|
|
22022
22145
|
"admin": {
|
|
22023
22146
|
"type": "boolean",
|
|
22024
22147
|
"description": "Can the user manage the title, members, etc."
|
|
22025
22148
|
},
|
|
22149
|
+
"ownTeam": {
|
|
22150
|
+
"type": "boolean",
|
|
22151
|
+
"description": "Is the user a team owner."
|
|
22152
|
+
},
|
|
22153
|
+
"viewBilling": {
|
|
22154
|
+
"type": "boolean",
|
|
22155
|
+
"description": "Can the user view the billing details of the organization."
|
|
22156
|
+
},
|
|
22157
|
+
"listMembers": {
|
|
22158
|
+
"type": "boolean",
|
|
22159
|
+
"description": "Can the user list the members of the organization."
|
|
22160
|
+
},
|
|
22161
|
+
"listTeams": {
|
|
22162
|
+
"type": "boolean",
|
|
22163
|
+
"description": "Can the user list the teams in the organization."
|
|
22164
|
+
},
|
|
22026
22165
|
"createContent": {
|
|
22027
22166
|
"type": "boolean",
|
|
22028
|
-
"description": "Can the user create new spaces/collections in the organization"
|
|
22167
|
+
"description": "Can the user create new spaces/collections in the organization."
|
|
22168
|
+
},
|
|
22169
|
+
"listIntegrations": {
|
|
22170
|
+
"type": "boolean",
|
|
22171
|
+
"description": "Can the user list the integrations in the organization."
|
|
22029
22172
|
}
|
|
22030
22173
|
},
|
|
22031
22174
|
"required": [
|
|
22175
|
+
"view",
|
|
22032
22176
|
"admin",
|
|
22177
|
+
"ownTeam",
|
|
22033
22178
|
"createContent"
|
|
22034
22179
|
]
|
|
22035
22180
|
}
|
|
@@ -22306,17 +22451,27 @@
|
|
|
22306
22451
|
"type": "object",
|
|
22307
22452
|
"description": "The set of permissions for the collection",
|
|
22308
22453
|
"properties": {
|
|
22454
|
+
"view": {
|
|
22455
|
+
"type": "boolean",
|
|
22456
|
+
"description": "Can the user view the collection."
|
|
22457
|
+
},
|
|
22309
22458
|
"admin": {
|
|
22310
22459
|
"type": "boolean",
|
|
22311
22460
|
"description": "Can the user edit the title/description."
|
|
22312
22461
|
},
|
|
22462
|
+
"viewInviteLinks": {
|
|
22463
|
+
"type": "boolean",
|
|
22464
|
+
"description": "Can the user view the invite links of the collection."
|
|
22465
|
+
},
|
|
22313
22466
|
"create": {
|
|
22314
22467
|
"type": "boolean",
|
|
22315
22468
|
"description": "Can the user create spaces/collections in this collection."
|
|
22316
22469
|
}
|
|
22317
22470
|
},
|
|
22318
22471
|
"required": [
|
|
22472
|
+
"view",
|
|
22319
22473
|
"admin",
|
|
22474
|
+
"viewInviteLinks",
|
|
22320
22475
|
"create"
|
|
22321
22476
|
]
|
|
22322
22477
|
}
|
|
@@ -22479,7 +22634,16 @@
|
|
|
22479
22634
|
"permissions": {
|
|
22480
22635
|
"type": "object",
|
|
22481
22636
|
"description": "The set of permissions for the OpenAPI specification.",
|
|
22637
|
+
"required": [
|
|
22638
|
+
"view",
|
|
22639
|
+
"delete",
|
|
22640
|
+
"edit"
|
|
22641
|
+
],
|
|
22482
22642
|
"properties": {
|
|
22643
|
+
"view": {
|
|
22644
|
+
"type": "boolean",
|
|
22645
|
+
"description": "Can the user view the specification."
|
|
22646
|
+
},
|
|
22483
22647
|
"edit": {
|
|
22484
22648
|
"type": "boolean",
|
|
22485
22649
|
"description": "Can the user edit the specification."
|
|
@@ -24825,6 +24989,23 @@
|
|
|
24825
24989
|
"required": [
|
|
24826
24990
|
"location"
|
|
24827
24991
|
]
|
|
24992
|
+
},
|
|
24993
|
+
"permissions": {
|
|
24994
|
+
"type": "object",
|
|
24995
|
+
"properties": {
|
|
24996
|
+
"view": {
|
|
24997
|
+
"type": "boolean",
|
|
24998
|
+
"description": "Whether the user can view the object"
|
|
24999
|
+
},
|
|
25000
|
+
"edit": {
|
|
25001
|
+
"type": "boolean",
|
|
25002
|
+
"description": "Whether the user can edit the object"
|
|
25003
|
+
}
|
|
25004
|
+
},
|
|
25005
|
+
"required": [
|
|
25006
|
+
"view",
|
|
25007
|
+
"edit"
|
|
25008
|
+
]
|
|
24828
25009
|
}
|
|
24829
25010
|
},
|
|
24830
25011
|
"required": [
|
|
@@ -26319,81 +26500,456 @@
|
|
|
26319
26500
|
}
|
|
26320
26501
|
]
|
|
26321
26502
|
},
|
|
26322
|
-
"
|
|
26503
|
+
"SiteType": {
|
|
26323
26504
|
"type": "string",
|
|
26505
|
+
"description": "The type of the site",
|
|
26324
26506
|
"enum": [
|
|
26325
|
-
"
|
|
26326
|
-
"
|
|
26327
|
-
"
|
|
26328
|
-
"
|
|
26329
|
-
"
|
|
26330
|
-
"
|
|
26331
|
-
"settings",
|
|
26332
|
-
"search",
|
|
26333
|
-
"delete",
|
|
26334
|
-
"star",
|
|
26335
|
-
"warning",
|
|
26336
|
-
"link",
|
|
26337
|
-
"link-external",
|
|
26338
|
-
"eye",
|
|
26339
|
-
"lock"
|
|
26507
|
+
"basic",
|
|
26508
|
+
"premium",
|
|
26509
|
+
"ultimate",
|
|
26510
|
+
"sponsored",
|
|
26511
|
+
"legacy-basic",
|
|
26512
|
+
"legacy-premium"
|
|
26340
26513
|
]
|
|
26341
26514
|
},
|
|
26342
|
-
"
|
|
26515
|
+
"SiteTitle": {
|
|
26516
|
+
"type": "string",
|
|
26517
|
+
"description": "Title of the site",
|
|
26518
|
+
"minLength": 2,
|
|
26519
|
+
"maxLength": 128
|
|
26520
|
+
},
|
|
26521
|
+
"SiteHostname": {
|
|
26522
|
+
"type": "string",
|
|
26523
|
+
"description": "Custom hostname for the site, for e.g. docs.mycompany.com",
|
|
26524
|
+
"pattern": "^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$",
|
|
26525
|
+
"maxLength": 512
|
|
26526
|
+
},
|
|
26527
|
+
"SiteBasename": {
|
|
26528
|
+
"type": "string",
|
|
26529
|
+
"description": "Basename for the site. For e.g. api",
|
|
26530
|
+
"minLength": 1,
|
|
26531
|
+
"maxLength": 100
|
|
26532
|
+
},
|
|
26533
|
+
"SiteProxyOrigin": {
|
|
26534
|
+
"type": "string",
|
|
26535
|
+
"description": "Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.",
|
|
26536
|
+
"pattern": "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$",
|
|
26537
|
+
"maxLength": 512
|
|
26538
|
+
},
|
|
26539
|
+
"SiteProxy": {
|
|
26343
26540
|
"type": "object",
|
|
26344
|
-
"description": "A confirm object that defines an optional confirmation dialog after the input is clicked.",
|
|
26345
26541
|
"properties": {
|
|
26346
|
-
"
|
|
26347
|
-
"
|
|
26348
|
-
"description": "A text value that defines the dialog's title.",
|
|
26349
|
-
"maxLength": 100
|
|
26350
|
-
},
|
|
26351
|
-
"text": {
|
|
26352
|
-
"type": "string",
|
|
26353
|
-
"description": "A text value that defines the explanatory text that appears in the confirm dialog.",
|
|
26354
|
-
"maxLength": 300
|
|
26355
|
-
},
|
|
26356
|
-
"confirm": {
|
|
26357
|
-
"type": "string",
|
|
26358
|
-
"description": "A text value to define the text of the button that confirms the action.",
|
|
26359
|
-
"maxLength": 30
|
|
26542
|
+
"origin": {
|
|
26543
|
+
"$ref": "#/components/schemas/SiteProxyOrigin"
|
|
26360
26544
|
},
|
|
26361
|
-
"
|
|
26545
|
+
"target": {
|
|
26362
26546
|
"type": "string",
|
|
26363
|
-
"
|
|
26364
|
-
"primary",
|
|
26365
|
-
"danger"
|
|
26366
|
-
]
|
|
26547
|
+
"description": "The target URL to which the requests at the origin URL should be proxied to."
|
|
26367
26548
|
}
|
|
26368
26549
|
},
|
|
26369
26550
|
"required": [
|
|
26370
|
-
"
|
|
26371
|
-
"
|
|
26372
|
-
"confirm"
|
|
26551
|
+
"origin",
|
|
26552
|
+
"target"
|
|
26373
26553
|
]
|
|
26374
26554
|
},
|
|
26375
|
-
"
|
|
26555
|
+
"SiteVisibility": {
|
|
26556
|
+
"type": "string",
|
|
26557
|
+
"description": "The visibility setting of the site determines the audience of the site.\n* `public`: Anyone can access the site, and the site is indexed by search engines.\n* `unlisted`: Anyone can access the site, and the site is not indexed by search engines\n* `share-link`: Anyone with a secret token in the url can access the site.\n* `visitor-auth`: Anyone authenticated through a JWT token can access the site.\n",
|
|
26558
|
+
"enum": [
|
|
26559
|
+
"public",
|
|
26560
|
+
"unlisted",
|
|
26561
|
+
"share-link",
|
|
26562
|
+
"visitor-auth"
|
|
26563
|
+
]
|
|
26564
|
+
},
|
|
26565
|
+
"SiteAdaptiveContent": {
|
|
26376
26566
|
"type": "object",
|
|
26377
|
-
"description": "Pressable button triggering an action.",
|
|
26378
26567
|
"properties": {
|
|
26379
|
-
"
|
|
26380
|
-
"type": "
|
|
26381
|
-
"
|
|
26382
|
-
|
|
26383
|
-
|
|
26384
|
-
|
|
26385
|
-
"
|
|
26386
|
-
|
|
26387
|
-
|
|
26388
|
-
|
|
26389
|
-
|
|
26390
|
-
|
|
26391
|
-
|
|
26392
|
-
|
|
26393
|
-
"
|
|
26394
|
-
|
|
26395
|
-
|
|
26396
|
-
|
|
26568
|
+
"enabled": {
|
|
26569
|
+
"type": "boolean",
|
|
26570
|
+
"description": "Whether adaptive content should be enabled on the site."
|
|
26571
|
+
}
|
|
26572
|
+
},
|
|
26573
|
+
"required": [
|
|
26574
|
+
"enabled"
|
|
26575
|
+
]
|
|
26576
|
+
},
|
|
26577
|
+
"SiteAdsTopic": {
|
|
26578
|
+
"type": "string",
|
|
26579
|
+
"description": "Topic of the content",
|
|
26580
|
+
"enum": [
|
|
26581
|
+
"webdev",
|
|
26582
|
+
"crypto"
|
|
26583
|
+
]
|
|
26584
|
+
},
|
|
26585
|
+
"SiteAds": {
|
|
26586
|
+
"oneOf": [
|
|
26587
|
+
{
|
|
26588
|
+
"type": "object",
|
|
26589
|
+
"required": [
|
|
26590
|
+
"status",
|
|
26591
|
+
"submittable"
|
|
26592
|
+
],
|
|
26593
|
+
"properties": {
|
|
26594
|
+
"status": {
|
|
26595
|
+
"type": "string",
|
|
26596
|
+
"enum": [
|
|
26597
|
+
"pending"
|
|
26598
|
+
]
|
|
26599
|
+
},
|
|
26600
|
+
"submittable": {
|
|
26601
|
+
"type": "boolean",
|
|
26602
|
+
"description": "True if the user can submit the site for review."
|
|
26603
|
+
}
|
|
26604
|
+
}
|
|
26605
|
+
},
|
|
26606
|
+
{
|
|
26607
|
+
"type": "object",
|
|
26608
|
+
"required": [
|
|
26609
|
+
"status",
|
|
26610
|
+
"topic",
|
|
26611
|
+
"accountEmail"
|
|
26612
|
+
],
|
|
26613
|
+
"properties": {
|
|
26614
|
+
"status": {
|
|
26615
|
+
"type": "string",
|
|
26616
|
+
"enum": [
|
|
26617
|
+
"in-review"
|
|
26618
|
+
]
|
|
26619
|
+
},
|
|
26620
|
+
"topic": {
|
|
26621
|
+
"$ref": "#/components/schemas/SiteAdsTopic"
|
|
26622
|
+
}
|
|
26623
|
+
}
|
|
26624
|
+
},
|
|
26625
|
+
{
|
|
26626
|
+
"type": "object",
|
|
26627
|
+
"required": [
|
|
26628
|
+
"status"
|
|
26629
|
+
],
|
|
26630
|
+
"properties": {
|
|
26631
|
+
"status": {
|
|
26632
|
+
"type": "string",
|
|
26633
|
+
"enum": [
|
|
26634
|
+
"rejected"
|
|
26635
|
+
]
|
|
26636
|
+
},
|
|
26637
|
+
"reason": {
|
|
26638
|
+
"type": "string",
|
|
26639
|
+
"description": "Reason for the rejection"
|
|
26640
|
+
}
|
|
26641
|
+
}
|
|
26642
|
+
},
|
|
26643
|
+
{
|
|
26644
|
+
"type": "object",
|
|
26645
|
+
"required": [
|
|
26646
|
+
"status",
|
|
26647
|
+
"topic",
|
|
26648
|
+
"zoneId"
|
|
26649
|
+
],
|
|
26650
|
+
"properties": {
|
|
26651
|
+
"status": {
|
|
26652
|
+
"type": "string",
|
|
26653
|
+
"enum": [
|
|
26654
|
+
"live",
|
|
26655
|
+
"disabled"
|
|
26656
|
+
]
|
|
26657
|
+
},
|
|
26658
|
+
"topic": {
|
|
26659
|
+
"$ref": "#/components/schemas/SiteAdsTopic"
|
|
26660
|
+
},
|
|
26661
|
+
"zoneId": {
|
|
26662
|
+
"type": "string",
|
|
26663
|
+
"description": "The ad network zone ID"
|
|
26664
|
+
}
|
|
26665
|
+
}
|
|
26666
|
+
}
|
|
26667
|
+
]
|
|
26668
|
+
},
|
|
26669
|
+
"SiteCustomizationFeature": {
|
|
26670
|
+
"type": "string",
|
|
26671
|
+
"description": "A list of all premium customizations.",
|
|
26672
|
+
"enum": [
|
|
26673
|
+
"header-logo",
|
|
26674
|
+
"theme-preset",
|
|
26675
|
+
"premium-fonts",
|
|
26676
|
+
"custom-icons",
|
|
26677
|
+
"footer-logo",
|
|
26678
|
+
"footer-links",
|
|
26679
|
+
"footer-copyright",
|
|
26680
|
+
"semantic-colors"
|
|
26681
|
+
]
|
|
26682
|
+
},
|
|
26683
|
+
"SiteFeature": {
|
|
26684
|
+
"oneOf": [
|
|
26685
|
+
{
|
|
26686
|
+
"type": "object",
|
|
26687
|
+
"description": "A site feature and the plan it is available on.",
|
|
26688
|
+
"properties": {
|
|
26689
|
+
"id": {
|
|
26690
|
+
"description": "The feature identifier, matching the feature table keys in the pricing definition",
|
|
26691
|
+
"type": "string",
|
|
26692
|
+
"enum": [
|
|
26693
|
+
"sites-sections",
|
|
26694
|
+
"sites-visitor-authentication",
|
|
26695
|
+
"sites-adaptive-content",
|
|
26696
|
+
"sites-redirects",
|
|
26697
|
+
"sites-custom-domain",
|
|
26698
|
+
"sites-ai-search",
|
|
26699
|
+
"sites-pdf-export",
|
|
26700
|
+
"sites-page-feedback",
|
|
26701
|
+
"sites-unlisted-visibility",
|
|
26702
|
+
"sites-share-links",
|
|
26703
|
+
"sites-custom-fonts"
|
|
26704
|
+
]
|
|
26705
|
+
},
|
|
26706
|
+
"plan": {
|
|
26707
|
+
"$ref": "#/components/schemas/SiteType"
|
|
26708
|
+
},
|
|
26709
|
+
"frozen": {
|
|
26710
|
+
"description": "A frozen feature is still enabled but cannot be changed or modified.",
|
|
26711
|
+
"type": "boolean"
|
|
26712
|
+
}
|
|
26713
|
+
},
|
|
26714
|
+
"required": [
|
|
26715
|
+
"id",
|
|
26716
|
+
"plan",
|
|
26717
|
+
"frozen"
|
|
26718
|
+
]
|
|
26719
|
+
},
|
|
26720
|
+
{
|
|
26721
|
+
"type": "object",
|
|
26722
|
+
"description": "The advanced customizations feature, carrying also which individual customization are used",
|
|
26723
|
+
"properties": {
|
|
26724
|
+
"id": {
|
|
26725
|
+
"description": "The feature identifier, always set to `sites-advanced-customization`",
|
|
26726
|
+
"type": "string",
|
|
26727
|
+
"enum": [
|
|
26728
|
+
"sites-advanced-customization"
|
|
26729
|
+
]
|
|
26730
|
+
},
|
|
26731
|
+
"plan": {
|
|
26732
|
+
"$ref": "#/components/schemas/SiteType"
|
|
26733
|
+
},
|
|
26734
|
+
"frozen": {
|
|
26735
|
+
"description": "A frozen feature is still enabled but cannot be changed or modified.",
|
|
26736
|
+
"type": "boolean"
|
|
26737
|
+
},
|
|
26738
|
+
"customizations": {
|
|
26739
|
+
"description": "A list of the actual advanced customizations used",
|
|
26740
|
+
"type": "array",
|
|
26741
|
+
"items": {
|
|
26742
|
+
"$ref": "#/components/schemas/SiteCustomizationFeature"
|
|
26743
|
+
}
|
|
26744
|
+
}
|
|
26745
|
+
},
|
|
26746
|
+
"required": [
|
|
26747
|
+
"id",
|
|
26748
|
+
"plan",
|
|
26749
|
+
"frozen",
|
|
26750
|
+
"customizations"
|
|
26751
|
+
]
|
|
26752
|
+
}
|
|
26753
|
+
]
|
|
26754
|
+
},
|
|
26755
|
+
"Site": {
|
|
26756
|
+
"type": "object",
|
|
26757
|
+
"properties": {
|
|
26758
|
+
"object": {
|
|
26759
|
+
"type": "string",
|
|
26760
|
+
"enum": [
|
|
26761
|
+
"site"
|
|
26762
|
+
]
|
|
26763
|
+
},
|
|
26764
|
+
"id": {
|
|
26765
|
+
"type": "string",
|
|
26766
|
+
"description": "Unique identifier of the site"
|
|
26767
|
+
},
|
|
26768
|
+
"type": {
|
|
26769
|
+
"$ref": "#/components/schemas/SiteType"
|
|
26770
|
+
},
|
|
26771
|
+
"title": {
|
|
26772
|
+
"$ref": "#/components/schemas/SiteTitle"
|
|
26773
|
+
},
|
|
26774
|
+
"hostname": {
|
|
26775
|
+
"$ref": "#/components/schemas/SiteHostname"
|
|
26776
|
+
},
|
|
26777
|
+
"basename": {
|
|
26778
|
+
"$ref": "#/components/schemas/SiteBasename"
|
|
26779
|
+
},
|
|
26780
|
+
"proxy": {
|
|
26781
|
+
"$ref": "#/components/schemas/SiteProxy"
|
|
26782
|
+
},
|
|
26783
|
+
"visibility": {
|
|
26784
|
+
"$ref": "#/components/schemas/SiteVisibility"
|
|
26785
|
+
},
|
|
26786
|
+
"published": {
|
|
26787
|
+
"type": "boolean",
|
|
26788
|
+
"description": "Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting."
|
|
26789
|
+
},
|
|
26790
|
+
"siteSpaces": {
|
|
26791
|
+
"type": "number"
|
|
26792
|
+
},
|
|
26793
|
+
"createdAt": {
|
|
26794
|
+
"type": "string",
|
|
26795
|
+
"format": "date-time"
|
|
26796
|
+
},
|
|
26797
|
+
"adaptiveContent": {
|
|
26798
|
+
"$ref": "#/components/schemas/SiteAdaptiveContent"
|
|
26799
|
+
},
|
|
26800
|
+
"ads": {
|
|
26801
|
+
"$ref": "#/components/schemas/SiteAds"
|
|
26802
|
+
},
|
|
26803
|
+
"features": {
|
|
26804
|
+
"description": "A list of all premium features enabled on this site. For each feature we list the plan they belong to and whether the feature is frozen. A frozen feature is still enabled but cannot be changed or modified.\n",
|
|
26805
|
+
"type": "array",
|
|
26806
|
+
"items": {
|
|
26807
|
+
"$ref": "#/components/schemas/SiteFeature"
|
|
26808
|
+
}
|
|
26809
|
+
},
|
|
26810
|
+
"urls": {
|
|
26811
|
+
"type": "object",
|
|
26812
|
+
"description": "URLs associated with the object",
|
|
26813
|
+
"properties": {
|
|
26814
|
+
"location": {
|
|
26815
|
+
"type": "string",
|
|
26816
|
+
"description": "URL of the site in the API",
|
|
26817
|
+
"format": "uri"
|
|
26818
|
+
},
|
|
26819
|
+
"app": {
|
|
26820
|
+
"type": "string",
|
|
26821
|
+
"description": "URL of the site in the application",
|
|
26822
|
+
"format": "uri"
|
|
26823
|
+
},
|
|
26824
|
+
"published": {
|
|
26825
|
+
"type": "string",
|
|
26826
|
+
"description": "URL of the published version of the site. Only defined when site is published.",
|
|
26827
|
+
"format": "uri"
|
|
26828
|
+
}
|
|
26829
|
+
},
|
|
26830
|
+
"required": [
|
|
26831
|
+
"app",
|
|
26832
|
+
"location"
|
|
26833
|
+
]
|
|
26834
|
+
}
|
|
26835
|
+
},
|
|
26836
|
+
"required": [
|
|
26837
|
+
"object",
|
|
26838
|
+
"id",
|
|
26839
|
+
"type",
|
|
26840
|
+
"title",
|
|
26841
|
+
"visibility",
|
|
26842
|
+
"published",
|
|
26843
|
+
"createdAt",
|
|
26844
|
+
"siteSpaces",
|
|
26845
|
+
"defaultSpace",
|
|
26846
|
+
"features",
|
|
26847
|
+
"urls"
|
|
26848
|
+
]
|
|
26849
|
+
},
|
|
26850
|
+
"IntegrationSiteInstallation": {
|
|
26851
|
+
"allOf": [
|
|
26852
|
+
{
|
|
26853
|
+
"$ref": "#/components/schemas/IntegrationContentInstallationBase"
|
|
26854
|
+
},
|
|
26855
|
+
{
|
|
26856
|
+
"type": "object",
|
|
26857
|
+
"properties": {
|
|
26858
|
+
"site": {
|
|
26859
|
+
"description": "The site the integration is installed on. Using the string value is deprecated in favor of site.id",
|
|
26860
|
+
"oneOf": [
|
|
26861
|
+
{
|
|
26862
|
+
"type": "string"
|
|
26863
|
+
},
|
|
26864
|
+
{
|
|
26865
|
+
"$ref": "#/components/schemas/Site"
|
|
26866
|
+
}
|
|
26867
|
+
]
|
|
26868
|
+
}
|
|
26869
|
+
},
|
|
26870
|
+
"required": [
|
|
26871
|
+
"site"
|
|
26872
|
+
]
|
|
26873
|
+
}
|
|
26874
|
+
]
|
|
26875
|
+
},
|
|
26876
|
+
"ContentKitIcon": {
|
|
26877
|
+
"type": "string",
|
|
26878
|
+
"enum": [
|
|
26879
|
+
"close",
|
|
26880
|
+
"edit",
|
|
26881
|
+
"github",
|
|
26882
|
+
"gitlab",
|
|
26883
|
+
"maximize",
|
|
26884
|
+
"email",
|
|
26885
|
+
"settings",
|
|
26886
|
+
"search",
|
|
26887
|
+
"delete",
|
|
26888
|
+
"star",
|
|
26889
|
+
"warning",
|
|
26890
|
+
"link",
|
|
26891
|
+
"link-external",
|
|
26892
|
+
"eye",
|
|
26893
|
+
"lock",
|
|
26894
|
+
"check",
|
|
26895
|
+
"check-circle"
|
|
26896
|
+
]
|
|
26897
|
+
},
|
|
26898
|
+
"ContentKitConfirm": {
|
|
26899
|
+
"type": "object",
|
|
26900
|
+
"description": "A confirm object that defines an optional confirmation dialog after the input is clicked.",
|
|
26901
|
+
"properties": {
|
|
26902
|
+
"title": {
|
|
26903
|
+
"type": "string",
|
|
26904
|
+
"description": "A text value that defines the dialog's title.",
|
|
26905
|
+
"maxLength": 100
|
|
26906
|
+
},
|
|
26907
|
+
"text": {
|
|
26908
|
+
"type": "string",
|
|
26909
|
+
"description": "A text value that defines the explanatory text that appears in the confirm dialog.",
|
|
26910
|
+
"maxLength": 300
|
|
26911
|
+
},
|
|
26912
|
+
"confirm": {
|
|
26913
|
+
"type": "string",
|
|
26914
|
+
"description": "A text value to define the text of the button that confirms the action.",
|
|
26915
|
+
"maxLength": 30
|
|
26916
|
+
},
|
|
26917
|
+
"style": {
|
|
26918
|
+
"type": "string",
|
|
26919
|
+
"enum": [
|
|
26920
|
+
"primary",
|
|
26921
|
+
"danger"
|
|
26922
|
+
]
|
|
26923
|
+
}
|
|
26924
|
+
},
|
|
26925
|
+
"required": [
|
|
26926
|
+
"title",
|
|
26927
|
+
"text",
|
|
26928
|
+
"confirm"
|
|
26929
|
+
]
|
|
26930
|
+
},
|
|
26931
|
+
"ContentKitButton": {
|
|
26932
|
+
"type": "object",
|
|
26933
|
+
"description": "Pressable button triggering an action.",
|
|
26934
|
+
"properties": {
|
|
26935
|
+
"type": {
|
|
26936
|
+
"type": "string",
|
|
26937
|
+
"enum": [
|
|
26938
|
+
"button"
|
|
26939
|
+
]
|
|
26940
|
+
},
|
|
26941
|
+
"style": {
|
|
26942
|
+
"type": "string",
|
|
26943
|
+
"enum": [
|
|
26944
|
+
"primary",
|
|
26945
|
+
"secondary",
|
|
26946
|
+
"danger"
|
|
26947
|
+
]
|
|
26948
|
+
},
|
|
26949
|
+
"onPress": {
|
|
26950
|
+
"$ref": "#/components/schemas/ContentKitAction"
|
|
26951
|
+
},
|
|
26952
|
+
"icon": {
|
|
26397
26953
|
"$ref": "#/components/schemas/ContentKitIcon"
|
|
26398
26954
|
},
|
|
26399
26955
|
"trailingIcon": {
|
|
@@ -27307,768 +27863,395 @@
|
|
|
27307
27863
|
"$ref": "#/components/schemas/ContentKitCheckbox"
|
|
27308
27864
|
},
|
|
27309
27865
|
{
|
|
27310
|
-
"$ref": "#/components/schemas/ContentKitButton"
|
|
27311
|
-
},
|
|
27312
|
-
{
|
|
27313
|
-
"$ref": "#/components/schemas/ContentKitCodeBlock"
|
|
27314
|
-
}
|
|
27315
|
-
]
|
|
27316
|
-
}
|
|
27317
|
-
},
|
|
27318
|
-
"required": [
|
|
27319
|
-
"type",
|
|
27320
|
-
"label",
|
|
27321
|
-
"element"
|
|
27322
|
-
]
|
|
27323
|
-
},
|
|
27324
|
-
"ContentKitHint": {
|
|
27325
|
-
"type": "object",
|
|
27326
|
-
"description": "Element used to contextualize other elements or info.",
|
|
27327
|
-
"properties": {
|
|
27328
|
-
"type": {
|
|
27329
|
-
"type": "string",
|
|
27330
|
-
"enum": [
|
|
27331
|
-
"hint"
|
|
27332
|
-
]
|
|
27333
|
-
},
|
|
27334
|
-
"children": {
|
|
27335
|
-
"type": "array",
|
|
27336
|
-
"items": {
|
|
27337
|
-
"$ref": "#/components/schemas/ContentKitInlineElement"
|
|
27338
|
-
}
|
|
27339
|
-
}
|
|
27340
|
-
},
|
|
27341
|
-
"required": [
|
|
27342
|
-
"type",
|
|
27343
|
-
"children"
|
|
27344
|
-
]
|
|
27345
|
-
},
|
|
27346
|
-
"ContentKitStepperStep": {
|
|
27347
|
-
"type": "object",
|
|
27348
|
-
"properties": {
|
|
27349
|
-
"type": {
|
|
27350
|
-
"type": "string",
|
|
27351
|
-
"enum": [
|
|
27352
|
-
"step"
|
|
27353
|
-
]
|
|
27354
|
-
},
|
|
27355
|
-
"id": {
|
|
27356
|
-
"description": "unique identifier for the step",
|
|
27357
|
-
"type": "string"
|
|
27358
|
-
},
|
|
27359
|
-
"title": {
|
|
27360
|
-
"description": "title of the step",
|
|
27361
|
-
"type": "string",
|
|
27362
|
-
"maxLength": 50
|
|
27363
|
-
},
|
|
27364
|
-
"next": {
|
|
27365
|
-
"description": "indicates if the user can progress to the next step based on some internal validation or condition",
|
|
27366
|
-
"type": "boolean",
|
|
27367
|
-
"default": false
|
|
27368
|
-
},
|
|
27369
|
-
"children": {
|
|
27370
|
-
"type": "array",
|
|
27371
|
-
"items": {
|
|
27372
|
-
"$ref": "#/components/schemas/ContentKitDescendantElement"
|
|
27373
|
-
},
|
|
27374
|
-
"minItems": 1
|
|
27375
|
-
}
|
|
27376
|
-
},
|
|
27377
|
-
"required": [
|
|
27378
|
-
"type",
|
|
27379
|
-
"id",
|
|
27380
|
-
"children"
|
|
27381
|
-
]
|
|
27382
|
-
},
|
|
27383
|
-
"ContentKitBlockControl": {
|
|
27384
|
-
"type": "object",
|
|
27385
|
-
"description": "Control menu item displayed for the block.",
|
|
27386
|
-
"properties": {
|
|
27387
|
-
"icon": {
|
|
27388
|
-
"$ref": "#/components/schemas/ContentKitIcon"
|
|
27389
|
-
},
|
|
27390
|
-
"label": {
|
|
27391
|
-
"type": "string"
|
|
27392
|
-
},
|
|
27393
|
-
"onPress": {
|
|
27394
|
-
"$ref": "#/components/schemas/ContentKitAction"
|
|
27395
|
-
},
|
|
27396
|
-
"confirm": {
|
|
27397
|
-
"$ref": "#/components/schemas/ContentKitConfirm"
|
|
27398
|
-
}
|
|
27399
|
-
},
|
|
27400
|
-
"required": [
|
|
27401
|
-
"label",
|
|
27402
|
-
"onPress"
|
|
27403
|
-
]
|
|
27404
|
-
},
|
|
27405
|
-
"ContentKitBlock": {
|
|
27406
|
-
"type": "object",
|
|
27407
|
-
"description": "Higher level element to represent a custom block.",
|
|
27408
|
-
"properties": {
|
|
27409
|
-
"type": {
|
|
27410
|
-
"type": "string",
|
|
27411
|
-
"enum": [
|
|
27412
|
-
"block"
|
|
27413
|
-
]
|
|
27414
|
-
},
|
|
27415
|
-
"children": {
|
|
27416
|
-
"type": "array",
|
|
27417
|
-
"items": {
|
|
27418
|
-
"$ref": "#/components/schemas/ContentKitDescendantElement"
|
|
27419
|
-
}
|
|
27420
|
-
},
|
|
27421
|
-
"controls": {
|
|
27422
|
-
"type": "array",
|
|
27423
|
-
"items": {
|
|
27424
|
-
"oneOf": [
|
|
27425
|
-
{
|
|
27426
|
-
"$ref": "#/components/schemas/ContentKitBlockControl"
|
|
27427
|
-
},
|
|
27428
|
-
{
|
|
27429
|
-
"type": "array",
|
|
27430
|
-
"items": {
|
|
27431
|
-
"$ref": "#/components/schemas/ContentKitBlockControl"
|
|
27432
|
-
}
|
|
27433
|
-
}
|
|
27434
|
-
]
|
|
27435
|
-
}
|
|
27436
|
-
}
|
|
27437
|
-
},
|
|
27438
|
-
"required": [
|
|
27439
|
-
"type",
|
|
27440
|
-
"children"
|
|
27441
|
-
]
|
|
27442
|
-
},
|
|
27443
|
-
"ContentKitModal": {
|
|
27444
|
-
"type": "object",
|
|
27445
|
-
"description": "Overlay modal.",
|
|
27446
|
-
"properties": {
|
|
27447
|
-
"type": {
|
|
27448
|
-
"type": "string",
|
|
27449
|
-
"enum": [
|
|
27450
|
-
"modal"
|
|
27451
|
-
]
|
|
27452
|
-
},
|
|
27453
|
-
"title": {
|
|
27454
|
-
"type": "string"
|
|
27455
|
-
},
|
|
27456
|
-
"subtitle": {
|
|
27457
|
-
"type": "array",
|
|
27458
|
-
"items": {
|
|
27459
|
-
"$ref": "#/components/schemas/ContentKitInlineElement"
|
|
27460
|
-
}
|
|
27461
|
-
},
|
|
27462
|
-
"size": {
|
|
27463
|
-
"type": "string",
|
|
27464
|
-
"enum": [
|
|
27465
|
-
"medium",
|
|
27466
|
-
"xlarge",
|
|
27467
|
-
"fullscreen"
|
|
27468
|
-
]
|
|
27469
|
-
},
|
|
27470
|
-
"returnValue": {
|
|
27471
|
-
"description": "Data passed back to the parent view when the modal is closed. These data are accessible in the \"@ui.modal.close\"",
|
|
27472
|
-
"type": "object"
|
|
27473
|
-
},
|
|
27474
|
-
"children": {
|
|
27475
|
-
"type": "array",
|
|
27476
|
-
"items": {
|
|
27477
|
-
"$ref": "#/components/schemas/ContentKitDescendantElement"
|
|
27478
|
-
}
|
|
27479
|
-
},
|
|
27480
|
-
"submit": {
|
|
27481
|
-
"$ref": "#/components/schemas/ContentKitButton"
|
|
27482
|
-
}
|
|
27483
|
-
},
|
|
27484
|
-
"required": [
|
|
27485
|
-
"type",
|
|
27486
|
-
"children"
|
|
27487
|
-
]
|
|
27488
|
-
},
|
|
27489
|
-
"ContentKitStepper": {
|
|
27490
|
-
"type": "object",
|
|
27491
|
-
"properties": {
|
|
27492
|
-
"type": {
|
|
27493
|
-
"type": "string",
|
|
27494
|
-
"enum": [
|
|
27495
|
-
"stepper"
|
|
27496
|
-
]
|
|
27497
|
-
},
|
|
27498
|
-
"activeStep": {
|
|
27499
|
-
"type": "string",
|
|
27500
|
-
"description": "id of the currently active step"
|
|
27501
|
-
},
|
|
27502
|
-
"onStepChange": {
|
|
27503
|
-
"$ref": "#/components/schemas/ContentKitAction"
|
|
27504
|
-
},
|
|
27505
|
-
"onComplete": {
|
|
27506
|
-
"$ref": "#/components/schemas/ContentKitAction"
|
|
27507
|
-
},
|
|
27508
|
-
"children": {
|
|
27509
|
-
"type": "array",
|
|
27510
|
-
"items": {
|
|
27511
|
-
"$ref": "#/components/schemas/ContentKitStepperStep"
|
|
27512
|
-
},
|
|
27513
|
-
"minItems": 1
|
|
27514
|
-
}
|
|
27515
|
-
},
|
|
27516
|
-
"required": [
|
|
27517
|
-
"type",
|
|
27518
|
-
"activeStep",
|
|
27519
|
-
"onStepChange",
|
|
27520
|
-
"onComplete",
|
|
27521
|
-
"children"
|
|
27522
|
-
]
|
|
27523
|
-
},
|
|
27524
|
-
"ContentKitConfiguration": {
|
|
27525
|
-
"type": "object",
|
|
27526
|
-
"description": "Higher level element to define a configuration block. Does not add any UI elements or wrappers. Must be used as a top level element for any configuration component.",
|
|
27527
|
-
"properties": {
|
|
27528
|
-
"type": {
|
|
27529
|
-
"type": "string",
|
|
27530
|
-
"enum": [
|
|
27531
|
-
"configuration"
|
|
27532
|
-
]
|
|
27533
|
-
},
|
|
27534
|
-
"children": {
|
|
27535
|
-
"oneOf": [
|
|
27536
|
-
{
|
|
27537
|
-
"type": "array",
|
|
27538
|
-
"items": {
|
|
27539
|
-
"$ref": "#/components/schemas/ContentKitStepper"
|
|
27540
|
-
},
|
|
27541
|
-
"minItems": 1,
|
|
27542
|
-
"maxItems": 1
|
|
27866
|
+
"$ref": "#/components/schemas/ContentKitButton"
|
|
27543
27867
|
},
|
|
27544
27868
|
{
|
|
27545
|
-
"
|
|
27546
|
-
"items": {
|
|
27547
|
-
"$ref": "#/components/schemas/ContentKitDescendantElement"
|
|
27548
|
-
},
|
|
27549
|
-
"minItems": 1
|
|
27869
|
+
"$ref": "#/components/schemas/ContentKitCodeBlock"
|
|
27550
27870
|
}
|
|
27551
27871
|
]
|
|
27552
27872
|
}
|
|
27553
27873
|
},
|
|
27554
27874
|
"required": [
|
|
27555
27875
|
"type",
|
|
27556
|
-
"
|
|
27876
|
+
"label",
|
|
27877
|
+
"element"
|
|
27557
27878
|
]
|
|
27558
27879
|
},
|
|
27559
|
-
"
|
|
27560
|
-
"description": "Element used as root",
|
|
27561
|
-
"oneOf": [
|
|
27562
|
-
{
|
|
27563
|
-
"$ref": "#/components/schemas/ContentKitBlock"
|
|
27564
|
-
},
|
|
27565
|
-
{
|
|
27566
|
-
"$ref": "#/components/schemas/ContentKitModal"
|
|
27567
|
-
},
|
|
27568
|
-
{
|
|
27569
|
-
"$ref": "#/components/schemas/ContentKitConfiguration"
|
|
27570
|
-
}
|
|
27571
|
-
],
|
|
27572
|
-
"discriminator": {
|
|
27573
|
-
"propertyName": "type"
|
|
27574
|
-
}
|
|
27575
|
-
},
|
|
27576
|
-
"ContentKitRenderOutputElement": {
|
|
27880
|
+
"ContentKitHint": {
|
|
27577
27881
|
"type": "object",
|
|
27578
|
-
"description": "
|
|
27882
|
+
"description": "Element used to contextualize other elements or info.",
|
|
27579
27883
|
"properties": {
|
|
27580
27884
|
"type": {
|
|
27581
27885
|
"type": "string",
|
|
27582
27886
|
"enum": [
|
|
27583
|
-
"
|
|
27887
|
+
"hint"
|
|
27584
27888
|
]
|
|
27585
27889
|
},
|
|
27586
|
-
"
|
|
27587
|
-
"
|
|
27588
|
-
|
|
27589
|
-
|
|
27590
|
-
|
|
27591
|
-
},
|
|
27592
|
-
"props": {
|
|
27593
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
27890
|
+
"children": {
|
|
27891
|
+
"type": "array",
|
|
27892
|
+
"items": {
|
|
27893
|
+
"$ref": "#/components/schemas/ContentKitInlineElement"
|
|
27894
|
+
}
|
|
27594
27895
|
}
|
|
27595
27896
|
},
|
|
27596
27897
|
"required": [
|
|
27597
|
-
"
|
|
27598
|
-
"
|
|
27599
|
-
"props"
|
|
27898
|
+
"type",
|
|
27899
|
+
"children"
|
|
27600
27900
|
]
|
|
27601
27901
|
},
|
|
27602
|
-
"
|
|
27902
|
+
"ContentKitStepperStep": {
|
|
27603
27903
|
"type": "object",
|
|
27604
|
-
"description": "Output of completed lifecycle of the component.",
|
|
27605
27904
|
"properties": {
|
|
27606
27905
|
"type": {
|
|
27607
27906
|
"type": "string",
|
|
27608
27907
|
"enum": [
|
|
27609
|
-
"
|
|
27908
|
+
"step"
|
|
27610
27909
|
]
|
|
27611
27910
|
},
|
|
27612
|
-
"
|
|
27613
|
-
"
|
|
27614
|
-
|
|
27615
|
-
},
|
|
27616
|
-
"required": [
|
|
27617
|
-
"type"
|
|
27618
|
-
]
|
|
27619
|
-
},
|
|
27620
|
-
"ContentKitRenderOutput": {
|
|
27621
|
-
"type": "object",
|
|
27622
|
-
"description": "Output of the integration when rendering a UI.",
|
|
27623
|
-
"oneOf": [
|
|
27624
|
-
{
|
|
27625
|
-
"$ref": "#/components/schemas/ContentKitRenderOutputElement"
|
|
27911
|
+
"id": {
|
|
27912
|
+
"description": "unique identifier for the step",
|
|
27913
|
+
"type": "string"
|
|
27626
27914
|
},
|
|
27627
|
-
{
|
|
27628
|
-
"
|
|
27629
|
-
}
|
|
27630
|
-
]
|
|
27631
|
-
},
|
|
27632
|
-
"RenderIntegrationUI": {
|
|
27633
|
-
"type": "object",
|
|
27634
|
-
"properties": {
|
|
27635
|
-
"componentId": {
|
|
27915
|
+
"title": {
|
|
27916
|
+
"description": "title of the step",
|
|
27636
27917
|
"type": "string",
|
|
27637
|
-
"
|
|
27638
|
-
},
|
|
27639
|
-
"props": {
|
|
27640
|
-
"description": "Current properties of the UI.",
|
|
27641
|
-
"$ref": "#/components/schemas/PlainObject"
|
|
27642
|
-
},
|
|
27643
|
-
"state": {
|
|
27644
|
-
"type": "object",
|
|
27645
|
-
"description": "Current local state of the UI."
|
|
27918
|
+
"maxLength": 50
|
|
27646
27919
|
},
|
|
27647
|
-
"
|
|
27648
|
-
"
|
|
27920
|
+
"next": {
|
|
27921
|
+
"description": "indicates if the user can progress to the next step based on some internal validation or condition",
|
|
27922
|
+
"type": "boolean",
|
|
27923
|
+
"default": false
|
|
27649
27924
|
},
|
|
27650
|
-
"
|
|
27651
|
-
"
|
|
27925
|
+
"children": {
|
|
27926
|
+
"type": "array",
|
|
27927
|
+
"items": {
|
|
27928
|
+
"$ref": "#/components/schemas/ContentKitDescendantElement"
|
|
27929
|
+
},
|
|
27930
|
+
"minItems": 1
|
|
27652
27931
|
}
|
|
27653
27932
|
},
|
|
27654
27933
|
"required": [
|
|
27655
|
-
"
|
|
27656
|
-
"
|
|
27657
|
-
"
|
|
27934
|
+
"type",
|
|
27935
|
+
"id",
|
|
27936
|
+
"children"
|
|
27658
27937
|
]
|
|
27659
27938
|
},
|
|
27660
|
-
"
|
|
27939
|
+
"ContentKitBlockControl": {
|
|
27661
27940
|
"type": "object",
|
|
27941
|
+
"description": "Control menu item displayed for the block.",
|
|
27662
27942
|
"properties": {
|
|
27663
|
-
"
|
|
27664
|
-
"$ref": "#/components/schemas/
|
|
27943
|
+
"icon": {
|
|
27944
|
+
"$ref": "#/components/schemas/ContentKitIcon"
|
|
27665
27945
|
},
|
|
27666
|
-
"
|
|
27667
|
-
"
|
|
27946
|
+
"label": {
|
|
27947
|
+
"type": "string"
|
|
27668
27948
|
},
|
|
27669
|
-
"
|
|
27670
|
-
"$ref": "#/components/schemas/
|
|
27949
|
+
"onPress": {
|
|
27950
|
+
"$ref": "#/components/schemas/ContentKitAction"
|
|
27671
27951
|
},
|
|
27672
|
-
"
|
|
27673
|
-
"$ref": "#/components/schemas/
|
|
27674
|
-
}
|
|
27675
|
-
}
|
|
27676
|
-
},
|
|
27677
|
-
"APITemporaryToken": {
|
|
27678
|
-
"type": "object",
|
|
27679
|
-
"properties": {
|
|
27680
|
-
"token": {
|
|
27681
|
-
"type": "string",
|
|
27682
|
-
"description": "Temporary access token to authenticate with the API"
|
|
27952
|
+
"confirm": {
|
|
27953
|
+
"$ref": "#/components/schemas/ContentKitConfirm"
|
|
27683
27954
|
}
|
|
27684
27955
|
},
|
|
27685
27956
|
"required": [
|
|
27686
|
-
"
|
|
27957
|
+
"label",
|
|
27958
|
+
"onPress"
|
|
27687
27959
|
]
|
|
27688
27960
|
},
|
|
27689
|
-
"
|
|
27961
|
+
"ContentKitBlock": {
|
|
27690
27962
|
"type": "object",
|
|
27963
|
+
"description": "Higher level element to represent a custom block.",
|
|
27691
27964
|
"properties": {
|
|
27692
|
-
"
|
|
27693
|
-
"
|
|
27965
|
+
"type": {
|
|
27966
|
+
"type": "string",
|
|
27967
|
+
"enum": [
|
|
27968
|
+
"block"
|
|
27969
|
+
]
|
|
27694
27970
|
},
|
|
27695
|
-
"
|
|
27696
|
-
"
|
|
27971
|
+
"children": {
|
|
27972
|
+
"type": "array",
|
|
27973
|
+
"items": {
|
|
27974
|
+
"$ref": "#/components/schemas/ContentKitDescendantElement"
|
|
27975
|
+
}
|
|
27976
|
+
},
|
|
27977
|
+
"controls": {
|
|
27978
|
+
"type": "array",
|
|
27979
|
+
"items": {
|
|
27980
|
+
"oneOf": [
|
|
27981
|
+
{
|
|
27982
|
+
"$ref": "#/components/schemas/ContentKitBlockControl"
|
|
27983
|
+
},
|
|
27984
|
+
{
|
|
27985
|
+
"type": "array",
|
|
27986
|
+
"items": {
|
|
27987
|
+
"$ref": "#/components/schemas/ContentKitBlockControl"
|
|
27988
|
+
}
|
|
27989
|
+
}
|
|
27990
|
+
]
|
|
27991
|
+
}
|
|
27697
27992
|
}
|
|
27698
|
-
}
|
|
27699
|
-
|
|
27700
|
-
|
|
27701
|
-
|
|
27702
|
-
"description": "The type of the site",
|
|
27703
|
-
"enum": [
|
|
27704
|
-
"basic",
|
|
27705
|
-
"premium",
|
|
27706
|
-
"ultimate",
|
|
27707
|
-
"sponsored",
|
|
27708
|
-
"legacy-basic",
|
|
27709
|
-
"legacy-premium"
|
|
27993
|
+
},
|
|
27994
|
+
"required": [
|
|
27995
|
+
"type",
|
|
27996
|
+
"children"
|
|
27710
27997
|
]
|
|
27711
27998
|
},
|
|
27712
|
-
"
|
|
27713
|
-
"type": "string",
|
|
27714
|
-
"description": "Title of the site",
|
|
27715
|
-
"minLength": 2,
|
|
27716
|
-
"maxLength": 128
|
|
27717
|
-
},
|
|
27718
|
-
"SiteHostname": {
|
|
27719
|
-
"type": "string",
|
|
27720
|
-
"description": "Custom hostname for the site, for e.g. docs.mycompany.com",
|
|
27721
|
-
"pattern": "^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$",
|
|
27722
|
-
"maxLength": 512
|
|
27723
|
-
},
|
|
27724
|
-
"SiteBasename": {
|
|
27725
|
-
"type": "string",
|
|
27726
|
-
"description": "Basename for the site. For e.g. api",
|
|
27727
|
-
"minLength": 1,
|
|
27728
|
-
"maxLength": 100
|
|
27729
|
-
},
|
|
27730
|
-
"SiteProxyOrigin": {
|
|
27731
|
-
"type": "string",
|
|
27732
|
-
"description": "Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.",
|
|
27733
|
-
"pattern": "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$",
|
|
27734
|
-
"maxLength": 512
|
|
27735
|
-
},
|
|
27736
|
-
"SiteProxy": {
|
|
27999
|
+
"ContentKitModal": {
|
|
27737
28000
|
"type": "object",
|
|
28001
|
+
"description": "Overlay modal.",
|
|
27738
28002
|
"properties": {
|
|
27739
|
-
"
|
|
27740
|
-
"
|
|
28003
|
+
"type": {
|
|
28004
|
+
"type": "string",
|
|
28005
|
+
"enum": [
|
|
28006
|
+
"modal"
|
|
28007
|
+
]
|
|
28008
|
+
},
|
|
28009
|
+
"title": {
|
|
28010
|
+
"type": "string"
|
|
28011
|
+
},
|
|
28012
|
+
"subtitle": {
|
|
28013
|
+
"type": "array",
|
|
28014
|
+
"items": {
|
|
28015
|
+
"$ref": "#/components/schemas/ContentKitInlineElement"
|
|
28016
|
+
}
|
|
28017
|
+
},
|
|
28018
|
+
"size": {
|
|
28019
|
+
"type": "string",
|
|
28020
|
+
"enum": [
|
|
28021
|
+
"medium",
|
|
28022
|
+
"xlarge",
|
|
28023
|
+
"fullscreen"
|
|
28024
|
+
]
|
|
28025
|
+
},
|
|
28026
|
+
"returnValue": {
|
|
28027
|
+
"description": "Data passed back to the parent view when the modal is closed. These data are accessible in the \"@ui.modal.close\"",
|
|
28028
|
+
"type": "object"
|
|
28029
|
+
},
|
|
28030
|
+
"children": {
|
|
28031
|
+
"type": "array",
|
|
28032
|
+
"items": {
|
|
28033
|
+
"$ref": "#/components/schemas/ContentKitDescendantElement"
|
|
28034
|
+
}
|
|
27741
28035
|
},
|
|
27742
|
-
"
|
|
27743
|
-
"
|
|
27744
|
-
"description": "The target URL to which the requests at the origin URL should be proxied to."
|
|
28036
|
+
"submit": {
|
|
28037
|
+
"$ref": "#/components/schemas/ContentKitButton"
|
|
27745
28038
|
}
|
|
27746
28039
|
},
|
|
27747
28040
|
"required": [
|
|
27748
|
-
"
|
|
27749
|
-
"
|
|
27750
|
-
]
|
|
27751
|
-
},
|
|
27752
|
-
"SiteVisibility": {
|
|
27753
|
-
"type": "string",
|
|
27754
|
-
"description": "The visibility setting of the site determines the audience of the site.\n* `public`: Anyone can access the site, and the site is indexed by search engines.\n* `unlisted`: Anyone can access the site, and the site is not indexed by search engines\n* `share-link`: Anyone with a secret token in the url can access the site.\n* `visitor-auth`: Anyone authenticated through a JWT token can access the site.\n",
|
|
27755
|
-
"enum": [
|
|
27756
|
-
"public",
|
|
27757
|
-
"unlisted",
|
|
27758
|
-
"share-link",
|
|
27759
|
-
"visitor-auth"
|
|
28041
|
+
"type",
|
|
28042
|
+
"children"
|
|
27760
28043
|
]
|
|
27761
28044
|
},
|
|
27762
|
-
"
|
|
28045
|
+
"ContentKitStepper": {
|
|
27763
28046
|
"type": "object",
|
|
27764
28047
|
"properties": {
|
|
27765
|
-
"
|
|
27766
|
-
"type": "
|
|
27767
|
-
"
|
|
28048
|
+
"type": {
|
|
28049
|
+
"type": "string",
|
|
28050
|
+
"enum": [
|
|
28051
|
+
"stepper"
|
|
28052
|
+
]
|
|
28053
|
+
},
|
|
28054
|
+
"activeStep": {
|
|
28055
|
+
"type": "string",
|
|
28056
|
+
"description": "id of the currently active step"
|
|
28057
|
+
},
|
|
28058
|
+
"onStepChange": {
|
|
28059
|
+
"$ref": "#/components/schemas/ContentKitAction"
|
|
28060
|
+
},
|
|
28061
|
+
"onComplete": {
|
|
28062
|
+
"$ref": "#/components/schemas/ContentKitAction"
|
|
28063
|
+
},
|
|
28064
|
+
"children": {
|
|
28065
|
+
"type": "array",
|
|
28066
|
+
"items": {
|
|
28067
|
+
"$ref": "#/components/schemas/ContentKitStepperStep"
|
|
28068
|
+
},
|
|
28069
|
+
"minItems": 1
|
|
27768
28070
|
}
|
|
27769
28071
|
},
|
|
27770
28072
|
"required": [
|
|
27771
|
-
"
|
|
27772
|
-
|
|
27773
|
-
|
|
27774
|
-
|
|
27775
|
-
|
|
27776
|
-
"description": "Topic of the content",
|
|
27777
|
-
"enum": [
|
|
27778
|
-
"webdev",
|
|
27779
|
-
"crypto"
|
|
28073
|
+
"type",
|
|
28074
|
+
"activeStep",
|
|
28075
|
+
"onStepChange",
|
|
28076
|
+
"onComplete",
|
|
28077
|
+
"children"
|
|
27780
28078
|
]
|
|
27781
28079
|
},
|
|
27782
|
-
"
|
|
27783
|
-
"
|
|
27784
|
-
|
|
27785
|
-
|
|
27786
|
-
|
|
27787
|
-
|
|
27788
|
-
|
|
27789
|
-
|
|
27790
|
-
|
|
27791
|
-
"status": {
|
|
27792
|
-
"type": "string",
|
|
27793
|
-
"enum": [
|
|
27794
|
-
"pending"
|
|
27795
|
-
]
|
|
27796
|
-
},
|
|
27797
|
-
"submittable": {
|
|
27798
|
-
"type": "boolean",
|
|
27799
|
-
"description": "True if the user can submit the site for review."
|
|
27800
|
-
}
|
|
27801
|
-
}
|
|
27802
|
-
},
|
|
27803
|
-
{
|
|
27804
|
-
"type": "object",
|
|
27805
|
-
"required": [
|
|
27806
|
-
"status",
|
|
27807
|
-
"topic",
|
|
27808
|
-
"accountEmail"
|
|
27809
|
-
],
|
|
27810
|
-
"properties": {
|
|
27811
|
-
"status": {
|
|
27812
|
-
"type": "string",
|
|
27813
|
-
"enum": [
|
|
27814
|
-
"in-review"
|
|
27815
|
-
]
|
|
27816
|
-
},
|
|
27817
|
-
"topic": {
|
|
27818
|
-
"$ref": "#/components/schemas/SiteAdsTopic"
|
|
27819
|
-
}
|
|
27820
|
-
}
|
|
27821
|
-
},
|
|
27822
|
-
{
|
|
27823
|
-
"type": "object",
|
|
27824
|
-
"required": [
|
|
27825
|
-
"status"
|
|
27826
|
-
],
|
|
27827
|
-
"properties": {
|
|
27828
|
-
"status": {
|
|
27829
|
-
"type": "string",
|
|
27830
|
-
"enum": [
|
|
27831
|
-
"rejected"
|
|
27832
|
-
]
|
|
27833
|
-
},
|
|
27834
|
-
"reason": {
|
|
27835
|
-
"type": "string",
|
|
27836
|
-
"description": "Reason for the rejection"
|
|
27837
|
-
}
|
|
27838
|
-
}
|
|
28080
|
+
"ContentKitConfiguration": {
|
|
28081
|
+
"type": "object",
|
|
28082
|
+
"description": "Higher level element to define a configuration block. Does not add any UI elements or wrappers. Must be used as a top level element for any configuration component.",
|
|
28083
|
+
"properties": {
|
|
28084
|
+
"type": {
|
|
28085
|
+
"type": "string",
|
|
28086
|
+
"enum": [
|
|
28087
|
+
"configuration"
|
|
28088
|
+
]
|
|
27839
28089
|
},
|
|
27840
|
-
{
|
|
27841
|
-
"
|
|
27842
|
-
|
|
27843
|
-
|
|
27844
|
-
|
|
27845
|
-
|
|
27846
|
-
|
|
27847
|
-
|
|
27848
|
-
|
|
27849
|
-
"type": "string",
|
|
27850
|
-
"enum": [
|
|
27851
|
-
"live",
|
|
27852
|
-
"disabled"
|
|
27853
|
-
]
|
|
27854
|
-
},
|
|
27855
|
-
"topic": {
|
|
27856
|
-
"$ref": "#/components/schemas/SiteAdsTopic"
|
|
28090
|
+
"children": {
|
|
28091
|
+
"oneOf": [
|
|
28092
|
+
{
|
|
28093
|
+
"type": "array",
|
|
28094
|
+
"items": {
|
|
28095
|
+
"$ref": "#/components/schemas/ContentKitStepper"
|
|
28096
|
+
},
|
|
28097
|
+
"minItems": 1,
|
|
28098
|
+
"maxItems": 1
|
|
27857
28099
|
},
|
|
27858
|
-
|
|
27859
|
-
"type": "
|
|
27860
|
-
"
|
|
28100
|
+
{
|
|
28101
|
+
"type": "array",
|
|
28102
|
+
"items": {
|
|
28103
|
+
"$ref": "#/components/schemas/ContentKitDescendantElement"
|
|
28104
|
+
},
|
|
28105
|
+
"minItems": 1
|
|
27861
28106
|
}
|
|
27862
|
-
|
|
28107
|
+
]
|
|
27863
28108
|
}
|
|
28109
|
+
},
|
|
28110
|
+
"required": [
|
|
28111
|
+
"type",
|
|
28112
|
+
"children"
|
|
27864
28113
|
]
|
|
27865
28114
|
},
|
|
27866
|
-
"
|
|
27867
|
-
"
|
|
27868
|
-
"description": "A list of all premium customizations.",
|
|
27869
|
-
"enum": [
|
|
27870
|
-
"header-logo",
|
|
27871
|
-
"theme-preset",
|
|
27872
|
-
"premium-fonts",
|
|
27873
|
-
"custom-icons",
|
|
27874
|
-
"footer-logo",
|
|
27875
|
-
"footer-links",
|
|
27876
|
-
"footer-copyright",
|
|
27877
|
-
"semantic-colors"
|
|
27878
|
-
]
|
|
27879
|
-
},
|
|
27880
|
-
"SiteFeature": {
|
|
28115
|
+
"ContentKitRootElement": {
|
|
28116
|
+
"description": "Element used as root",
|
|
27881
28117
|
"oneOf": [
|
|
27882
28118
|
{
|
|
27883
|
-
"
|
|
27884
|
-
"description": "A site feature and the plan it is available on.",
|
|
27885
|
-
"properties": {
|
|
27886
|
-
"id": {
|
|
27887
|
-
"description": "The feature identifier, matching the feature table keys in the pricing definition",
|
|
27888
|
-
"type": "string",
|
|
27889
|
-
"enum": [
|
|
27890
|
-
"sites-sections",
|
|
27891
|
-
"sites-visitor-authentication",
|
|
27892
|
-
"sites-adaptive-content",
|
|
27893
|
-
"sites-redirects",
|
|
27894
|
-
"sites-custom-domain",
|
|
27895
|
-
"sites-ai-search",
|
|
27896
|
-
"sites-pdf-export",
|
|
27897
|
-
"sites-page-feedback",
|
|
27898
|
-
"sites-unlisted-visibility",
|
|
27899
|
-
"sites-share-links",
|
|
27900
|
-
"sites-custom-fonts"
|
|
27901
|
-
]
|
|
27902
|
-
},
|
|
27903
|
-
"plan": {
|
|
27904
|
-
"$ref": "#/components/schemas/SiteType"
|
|
27905
|
-
},
|
|
27906
|
-
"frozen": {
|
|
27907
|
-
"description": "A frozen feature is still enabled but cannot be changed or modified.",
|
|
27908
|
-
"type": "boolean"
|
|
27909
|
-
}
|
|
27910
|
-
},
|
|
27911
|
-
"required": [
|
|
27912
|
-
"id",
|
|
27913
|
-
"plan",
|
|
27914
|
-
"frozen"
|
|
27915
|
-
]
|
|
28119
|
+
"$ref": "#/components/schemas/ContentKitBlock"
|
|
27916
28120
|
},
|
|
27917
28121
|
{
|
|
27918
|
-
"
|
|
27919
|
-
|
|
27920
|
-
|
|
27921
|
-
|
|
27922
|
-
"description": "The feature identifier, always set to `sites-advanced-customization`",
|
|
27923
|
-
"type": "string",
|
|
27924
|
-
"enum": [
|
|
27925
|
-
"sites-advanced-customization"
|
|
27926
|
-
]
|
|
27927
|
-
},
|
|
27928
|
-
"plan": {
|
|
27929
|
-
"$ref": "#/components/schemas/SiteType"
|
|
27930
|
-
},
|
|
27931
|
-
"frozen": {
|
|
27932
|
-
"description": "A frozen feature is still enabled but cannot be changed or modified.",
|
|
27933
|
-
"type": "boolean"
|
|
27934
|
-
},
|
|
27935
|
-
"customizations": {
|
|
27936
|
-
"description": "A list of the actual advanced customizations used",
|
|
27937
|
-
"type": "array",
|
|
27938
|
-
"items": {
|
|
27939
|
-
"$ref": "#/components/schemas/SiteCustomizationFeature"
|
|
27940
|
-
}
|
|
27941
|
-
}
|
|
27942
|
-
},
|
|
27943
|
-
"required": [
|
|
27944
|
-
"id",
|
|
27945
|
-
"plan",
|
|
27946
|
-
"frozen",
|
|
27947
|
-
"customizations"
|
|
27948
|
-
]
|
|
28122
|
+
"$ref": "#/components/schemas/ContentKitModal"
|
|
28123
|
+
},
|
|
28124
|
+
{
|
|
28125
|
+
"$ref": "#/components/schemas/ContentKitConfiguration"
|
|
27949
28126
|
}
|
|
27950
|
-
]
|
|
28127
|
+
],
|
|
28128
|
+
"discriminator": {
|
|
28129
|
+
"propertyName": "type"
|
|
28130
|
+
}
|
|
27951
28131
|
},
|
|
27952
|
-
"
|
|
28132
|
+
"ContentKitRenderOutputElement": {
|
|
27953
28133
|
"type": "object",
|
|
28134
|
+
"description": "Output of type element in the lifecycle of the component.",
|
|
27954
28135
|
"properties": {
|
|
27955
|
-
"
|
|
28136
|
+
"type": {
|
|
27956
28137
|
"type": "string",
|
|
27957
28138
|
"enum": [
|
|
27958
|
-
"
|
|
28139
|
+
"element"
|
|
27959
28140
|
]
|
|
27960
28141
|
},
|
|
27961
|
-
"
|
|
27962
|
-
"
|
|
27963
|
-
"description": "Unique identifier of the site"
|
|
27964
|
-
},
|
|
27965
|
-
"type": {
|
|
27966
|
-
"$ref": "#/components/schemas/SiteType"
|
|
27967
|
-
},
|
|
27968
|
-
"title": {
|
|
27969
|
-
"$ref": "#/components/schemas/SiteTitle"
|
|
28142
|
+
"element": {
|
|
28143
|
+
"$ref": "#/components/schemas/ContentKitRootElement"
|
|
27970
28144
|
},
|
|
27971
|
-
"
|
|
27972
|
-
"
|
|
28145
|
+
"state": {
|
|
28146
|
+
"type": "object"
|
|
27973
28147
|
},
|
|
27974
|
-
"
|
|
27975
|
-
"$ref": "#/components/schemas/
|
|
28148
|
+
"props": {
|
|
28149
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
28150
|
+
}
|
|
28151
|
+
},
|
|
28152
|
+
"required": [
|
|
28153
|
+
"element",
|
|
28154
|
+
"state",
|
|
28155
|
+
"props"
|
|
28156
|
+
]
|
|
28157
|
+
},
|
|
28158
|
+
"ContentKitRenderOutputComplete": {
|
|
28159
|
+
"type": "object",
|
|
28160
|
+
"description": "Output of completed lifecycle of the component.",
|
|
28161
|
+
"properties": {
|
|
28162
|
+
"type": {
|
|
28163
|
+
"type": "string",
|
|
28164
|
+
"enum": [
|
|
28165
|
+
"complete"
|
|
28166
|
+
]
|
|
27976
28167
|
},
|
|
27977
|
-
"
|
|
27978
|
-
"
|
|
28168
|
+
"returnValue": {
|
|
28169
|
+
"type": "object"
|
|
28170
|
+
}
|
|
28171
|
+
},
|
|
28172
|
+
"required": [
|
|
28173
|
+
"type"
|
|
28174
|
+
]
|
|
28175
|
+
},
|
|
28176
|
+
"ContentKitRenderOutput": {
|
|
28177
|
+
"type": "object",
|
|
28178
|
+
"description": "Output of the integration when rendering a UI.",
|
|
28179
|
+
"oneOf": [
|
|
28180
|
+
{
|
|
28181
|
+
"$ref": "#/components/schemas/ContentKitRenderOutputElement"
|
|
27979
28182
|
},
|
|
27980
|
-
|
|
27981
|
-
"$ref": "#/components/schemas/
|
|
28183
|
+
{
|
|
28184
|
+
"$ref": "#/components/schemas/ContentKitRenderOutputComplete"
|
|
28185
|
+
}
|
|
28186
|
+
]
|
|
28187
|
+
},
|
|
28188
|
+
"RenderIntegrationUI": {
|
|
28189
|
+
"type": "object",
|
|
28190
|
+
"properties": {
|
|
28191
|
+
"componentId": {
|
|
28192
|
+
"type": "string",
|
|
28193
|
+
"description": "ID of the component to render in the integration."
|
|
27982
28194
|
},
|
|
27983
|
-
"
|
|
27984
|
-
"
|
|
27985
|
-
"
|
|
28195
|
+
"props": {
|
|
28196
|
+
"description": "Current properties of the UI.",
|
|
28197
|
+
"$ref": "#/components/schemas/PlainObject"
|
|
27986
28198
|
},
|
|
27987
|
-
"
|
|
27988
|
-
"type": "
|
|
28199
|
+
"state": {
|
|
28200
|
+
"type": "object",
|
|
28201
|
+
"description": "Current local state of the UI."
|
|
27989
28202
|
},
|
|
27990
|
-
"
|
|
27991
|
-
"
|
|
27992
|
-
"format": "date-time"
|
|
28203
|
+
"context": {
|
|
28204
|
+
"$ref": "#/components/schemas/ContentKitContext"
|
|
27993
28205
|
},
|
|
27994
|
-
"
|
|
27995
|
-
"$ref": "#/components/schemas/
|
|
28206
|
+
"action": {
|
|
28207
|
+
"$ref": "#/components/schemas/ContentKitAction"
|
|
28208
|
+
}
|
|
28209
|
+
},
|
|
28210
|
+
"required": [
|
|
28211
|
+
"componentId",
|
|
28212
|
+
"props",
|
|
28213
|
+
"context"
|
|
28214
|
+
]
|
|
28215
|
+
},
|
|
28216
|
+
"UpdateIntegrationInstallation": {
|
|
28217
|
+
"type": "object",
|
|
28218
|
+
"properties": {
|
|
28219
|
+
"externalIds": {
|
|
28220
|
+
"$ref": "#/components/schemas/IntegrationInstallationExternalIds"
|
|
27996
28221
|
},
|
|
27997
|
-
"
|
|
27998
|
-
"$ref": "#/components/schemas/
|
|
28222
|
+
"configuration": {
|
|
28223
|
+
"$ref": "#/components/schemas/IntegrationInstallationConfiguration"
|
|
27999
28224
|
},
|
|
28000
|
-
"
|
|
28001
|
-
"
|
|
28002
|
-
"type": "array",
|
|
28003
|
-
"items": {
|
|
28004
|
-
"$ref": "#/components/schemas/SiteFeature"
|
|
28005
|
-
}
|
|
28225
|
+
"space_selection": {
|
|
28226
|
+
"$ref": "#/components/schemas/IntegrationInstallationSpaceSelection"
|
|
28006
28227
|
},
|
|
28007
|
-
"
|
|
28008
|
-
"
|
|
28009
|
-
|
|
28010
|
-
|
|
28011
|
-
|
|
28012
|
-
|
|
28013
|
-
|
|
28014
|
-
|
|
28015
|
-
|
|
28016
|
-
|
|
28017
|
-
|
|
28018
|
-
"description": "URL of the site in the application",
|
|
28019
|
-
"format": "uri"
|
|
28020
|
-
},
|
|
28021
|
-
"published": {
|
|
28022
|
-
"type": "string",
|
|
28023
|
-
"description": "URL of the published version of the site. Only defined when site is published.",
|
|
28024
|
-
"format": "uri"
|
|
28025
|
-
}
|
|
28026
|
-
},
|
|
28027
|
-
"required": [
|
|
28028
|
-
"app",
|
|
28029
|
-
"location"
|
|
28030
|
-
]
|
|
28228
|
+
"site_selection": {
|
|
28229
|
+
"$ref": "#/components/schemas/IntegrationInstallationSiteSelection"
|
|
28230
|
+
}
|
|
28231
|
+
}
|
|
28232
|
+
},
|
|
28233
|
+
"APITemporaryToken": {
|
|
28234
|
+
"type": "object",
|
|
28235
|
+
"properties": {
|
|
28236
|
+
"token": {
|
|
28237
|
+
"type": "string",
|
|
28238
|
+
"description": "Temporary access token to authenticate with the API"
|
|
28031
28239
|
}
|
|
28032
28240
|
},
|
|
28033
28241
|
"required": [
|
|
28034
|
-
"
|
|
28035
|
-
"id",
|
|
28036
|
-
"type",
|
|
28037
|
-
"title",
|
|
28038
|
-
"visibility",
|
|
28039
|
-
"published",
|
|
28040
|
-
"createdAt",
|
|
28041
|
-
"siteSpaces",
|
|
28042
|
-
"defaultSpace",
|
|
28043
|
-
"features",
|
|
28044
|
-
"urls"
|
|
28242
|
+
"token"
|
|
28045
28243
|
]
|
|
28046
28244
|
},
|
|
28047
|
-
"
|
|
28048
|
-
"
|
|
28049
|
-
|
|
28050
|
-
|
|
28245
|
+
"UpdateIntegrationSpaceInstallation": {
|
|
28246
|
+
"type": "object",
|
|
28247
|
+
"properties": {
|
|
28248
|
+
"externalIds": {
|
|
28249
|
+
"$ref": "#/components/schemas/IntegrationInstallationExternalIds"
|
|
28051
28250
|
},
|
|
28052
|
-
{
|
|
28053
|
-
"
|
|
28054
|
-
"properties": {
|
|
28055
|
-
"site": {
|
|
28056
|
-
"description": "The site the integration is installed on. Using the string value is deprecated in favor of site.id",
|
|
28057
|
-
"oneOf": [
|
|
28058
|
-
{
|
|
28059
|
-
"type": "string"
|
|
28060
|
-
},
|
|
28061
|
-
{
|
|
28062
|
-
"$ref": "#/components/schemas/Site"
|
|
28063
|
-
}
|
|
28064
|
-
]
|
|
28065
|
-
}
|
|
28066
|
-
},
|
|
28067
|
-
"required": [
|
|
28068
|
-
"site"
|
|
28069
|
-
]
|
|
28251
|
+
"configuration": {
|
|
28252
|
+
"$ref": "#/components/schemas/IntegrationInstallationConfiguration"
|
|
28070
28253
|
}
|
|
28071
|
-
|
|
28254
|
+
}
|
|
28072
28255
|
},
|
|
28073
28256
|
"UpdateIntegrationSiteInstallation": {
|
|
28074
28257
|
"type": "object",
|
|
@@ -28543,11 +28726,25 @@
|
|
|
28543
28726
|
"team": {
|
|
28544
28727
|
"description": "User information as a team member",
|
|
28545
28728
|
"$ref": "#/components/schemas/TeamMember"
|
|
28729
|
+
},
|
|
28730
|
+
"permissions": {
|
|
28731
|
+
"type": "object",
|
|
28732
|
+
"description": "The set of permissions for the team member",
|
|
28733
|
+
"properties": {
|
|
28734
|
+
"view": {
|
|
28735
|
+
"type": "boolean",
|
|
28736
|
+
"description": "Can the user view the team member"
|
|
28737
|
+
}
|
|
28738
|
+
},
|
|
28739
|
+
"required": [
|
|
28740
|
+
"view"
|
|
28741
|
+
]
|
|
28546
28742
|
}
|
|
28547
28743
|
},
|
|
28548
28744
|
"required": [
|
|
28549
28745
|
"organization",
|
|
28550
|
-
"team"
|
|
28746
|
+
"team",
|
|
28747
|
+
"permissions"
|
|
28551
28748
|
]
|
|
28552
28749
|
},
|
|
28553
28750
|
"UpdateMembersInOrganizationTeam": {
|
|
@@ -29559,6 +29756,19 @@
|
|
|
29559
29756
|
},
|
|
29560
29757
|
"teamMembers": {
|
|
29561
29758
|
"$ref": "#/components/schemas/OrganizationUsageTeamMembers"
|
|
29759
|
+
},
|
|
29760
|
+
"permissions": {
|
|
29761
|
+
"type": "object",
|
|
29762
|
+
"description": "The set of permissions for the organization's usage.",
|
|
29763
|
+
"required": [
|
|
29764
|
+
"view"
|
|
29765
|
+
],
|
|
29766
|
+
"properties": {
|
|
29767
|
+
"view": {
|
|
29768
|
+
"type": "boolean",
|
|
29769
|
+
"description": "Can the user view the organization's usage."
|
|
29770
|
+
}
|
|
29771
|
+
}
|
|
29562
29772
|
}
|
|
29563
29773
|
},
|
|
29564
29774
|
"required": [
|
|
@@ -29567,7 +29777,8 @@
|
|
|
29567
29777
|
"sites",
|
|
29568
29778
|
"teams",
|
|
29569
29779
|
"members",
|
|
29570
|
-
"teamMembers"
|
|
29780
|
+
"teamMembers",
|
|
29781
|
+
"permissions"
|
|
29571
29782
|
]
|
|
29572
29783
|
},
|
|
29573
29784
|
"SearchAIQuery": {
|
|
@@ -29762,14 +29973,9 @@
|
|
|
29762
29973
|
"location": {
|
|
29763
29974
|
"description": "URL of the OpenAPI specification version in the API",
|
|
29764
29975
|
"$ref": "#/components/schemas/URL"
|
|
29765
|
-
},
|
|
29766
|
-
"app": {
|
|
29767
|
-
"description": "URL of the OpenAPI specification version in the application",
|
|
29768
|
-
"$ref": "#/components/schemas/URL"
|
|
29769
29976
|
}
|
|
29770
29977
|
},
|
|
29771
29978
|
"required": [
|
|
29772
|
-
"app",
|
|
29773
29979
|
"location"
|
|
29774
29980
|
]
|
|
29775
29981
|
}
|
|
@@ -29837,12 +30043,17 @@
|
|
|
29837
30043
|
"permissions": {
|
|
29838
30044
|
"type": "object",
|
|
29839
30045
|
"properties": {
|
|
30046
|
+
"view": {
|
|
30047
|
+
"type": "boolean",
|
|
30048
|
+
"description": "Whether the user can view the object"
|
|
30049
|
+
},
|
|
29840
30050
|
"edit": {
|
|
29841
30051
|
"type": "boolean",
|
|
29842
30052
|
"description": "Whether the user can edit the object"
|
|
29843
30053
|
}
|
|
29844
30054
|
},
|
|
29845
30055
|
"required": [
|
|
30056
|
+
"view",
|
|
29846
30057
|
"edit"
|
|
29847
30058
|
]
|
|
29848
30059
|
},
|
|
@@ -30016,7 +30227,7 @@
|
|
|
30016
30227
|
"sources"
|
|
30017
30228
|
]
|
|
30018
30229
|
},
|
|
30019
|
-
"
|
|
30230
|
+
"CustomizationFontDefinitionInput": {
|
|
30020
30231
|
"type": "object",
|
|
30021
30232
|
"description": "Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.",
|
|
30022
30233
|
"properties": {
|
|
@@ -30047,6 +30258,34 @@
|
|
|
30047
30258
|
"fontFaces"
|
|
30048
30259
|
]
|
|
30049
30260
|
},
|
|
30261
|
+
"CustomizationFontDefinition": {
|
|
30262
|
+
"allOf": [
|
|
30263
|
+
{
|
|
30264
|
+
"$ref": "#/components/schemas/CustomizationFontDefinitionInput"
|
|
30265
|
+
},
|
|
30266
|
+
{
|
|
30267
|
+
"type": "object",
|
|
30268
|
+
"properties": {
|
|
30269
|
+
"permissions": {
|
|
30270
|
+
"type": "object",
|
|
30271
|
+
"description": "The set of permissions for the font definition",
|
|
30272
|
+
"properties": {
|
|
30273
|
+
"edit": {
|
|
30274
|
+
"type": "boolean",
|
|
30275
|
+
"description": "Can the user edit the font definition"
|
|
30276
|
+
}
|
|
30277
|
+
},
|
|
30278
|
+
"required": [
|
|
30279
|
+
"edit"
|
|
30280
|
+
]
|
|
30281
|
+
}
|
|
30282
|
+
},
|
|
30283
|
+
"required": [
|
|
30284
|
+
"permissions"
|
|
30285
|
+
]
|
|
30286
|
+
}
|
|
30287
|
+
]
|
|
30288
|
+
},
|
|
30050
30289
|
"StorageFileKey": {
|
|
30051
30290
|
"type": "string",
|
|
30052
30291
|
"description": "The path of the file in the storage bucket",
|
|
@@ -30445,7 +30684,7 @@
|
|
|
30445
30684
|
"$ref": "#/components/schemas/CustomizationDefaultFont"
|
|
30446
30685
|
},
|
|
30447
30686
|
{
|
|
30448
|
-
"$ref": "#/components/schemas/
|
|
30687
|
+
"$ref": "#/components/schemas/CustomizationFontDefinitionInput"
|
|
30449
30688
|
}
|
|
30450
30689
|
]
|
|
30451
30690
|
},
|