@gitbook/api 0.111.0 → 0.112.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 +195 -165
- package/dist/index.cjs +29 -19
- package/dist/index.js +29 -19
- package/package.json +1 -1
- package/spec/openapi.json +1296 -1223
- package/spec/openapi.yaml +682 -642
package/spec/openapi.yaml
CHANGED
|
@@ -3641,6 +3641,45 @@ paths:
|
|
|
3641
3641
|
type: array
|
|
3642
3642
|
items:
|
|
3643
3643
|
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
3644
|
+
"/integrations/{integrationName}/sites":
|
|
3645
|
+
get:
|
|
3646
|
+
operationId: listIntegrationSiteInstallations
|
|
3647
|
+
summary: List all integration site installations
|
|
3648
|
+
tags:
|
|
3649
|
+
- integrations
|
|
3650
|
+
security:
|
|
3651
|
+
- integration: []
|
|
3652
|
+
parameters:
|
|
3653
|
+
- $ref: "#/components/parameters/integrationName"
|
|
3654
|
+
- $ref: "#/components/parameters/listPage"
|
|
3655
|
+
- $ref: "#/components/parameters/listLimit"
|
|
3656
|
+
- name: externalId
|
|
3657
|
+
in: query
|
|
3658
|
+
description: External ID to filter by
|
|
3659
|
+
schema:
|
|
3660
|
+
type: string
|
|
3661
|
+
- name: extended
|
|
3662
|
+
in: query
|
|
3663
|
+
description: If true, returns the site object in each items. If false, returns the site ID in each items.
|
|
3664
|
+
schema:
|
|
3665
|
+
type: boolean
|
|
3666
|
+
default: false
|
|
3667
|
+
responses:
|
|
3668
|
+
"200":
|
|
3669
|
+
description: OK
|
|
3670
|
+
content:
|
|
3671
|
+
application/json:
|
|
3672
|
+
schema:
|
|
3673
|
+
allOf:
|
|
3674
|
+
- $ref: "#/components/schemas/List"
|
|
3675
|
+
- type: object
|
|
3676
|
+
required:
|
|
3677
|
+
- items
|
|
3678
|
+
properties:
|
|
3679
|
+
items:
|
|
3680
|
+
type: array
|
|
3681
|
+
items:
|
|
3682
|
+
$ref: "#/components/schemas/IntegrationSiteInstallation"
|
|
3644
3683
|
"/integrations/{integrationName}/dev":
|
|
3645
3684
|
put:
|
|
3646
3685
|
operationId: setIntegrationDevelopmentMode
|
|
@@ -10062,6 +10101,9 @@ components:
|
|
|
10062
10101
|
- reusable-content
|
|
10063
10102
|
reusableContent:
|
|
10064
10103
|
type: string
|
|
10104
|
+
space:
|
|
10105
|
+
type: string
|
|
10106
|
+
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.
|
|
10065
10107
|
required:
|
|
10066
10108
|
- kind
|
|
10067
10109
|
- reusableContent
|
|
@@ -15914,222 +15956,492 @@ components:
|
|
|
15914
15956
|
- $ref: "#/components/schemas/Space"
|
|
15915
15957
|
required:
|
|
15916
15958
|
- space
|
|
15917
|
-
|
|
15959
|
+
SiteType:
|
|
15918
15960
|
type: string
|
|
15961
|
+
description: The type of the site
|
|
15919
15962
|
enum:
|
|
15920
|
-
-
|
|
15921
|
-
-
|
|
15922
|
-
-
|
|
15923
|
-
-
|
|
15924
|
-
-
|
|
15925
|
-
-
|
|
15926
|
-
|
|
15927
|
-
|
|
15928
|
-
|
|
15929
|
-
|
|
15930
|
-
|
|
15931
|
-
|
|
15932
|
-
|
|
15933
|
-
|
|
15934
|
-
|
|
15935
|
-
|
|
15936
|
-
|
|
15937
|
-
|
|
15938
|
-
|
|
15939
|
-
|
|
15940
|
-
|
|
15941
|
-
|
|
15942
|
-
|
|
15943
|
-
|
|
15944
|
-
|
|
15945
|
-
|
|
15946
|
-
|
|
15947
|
-
confirm:
|
|
15948
|
-
type: string
|
|
15949
|
-
description: A text value to define the text of the button that confirms the action.
|
|
15950
|
-
maxLength: 30
|
|
15951
|
-
style:
|
|
15952
|
-
type: string
|
|
15953
|
-
enum:
|
|
15954
|
-
- primary
|
|
15955
|
-
- danger
|
|
15956
|
-
required:
|
|
15957
|
-
- title
|
|
15958
|
-
- text
|
|
15959
|
-
- confirm
|
|
15960
|
-
ContentKitButton:
|
|
15963
|
+
- basic
|
|
15964
|
+
- premium
|
|
15965
|
+
- ultimate
|
|
15966
|
+
- sponsored
|
|
15967
|
+
- legacy-basic
|
|
15968
|
+
- legacy-premium
|
|
15969
|
+
SiteTitle:
|
|
15970
|
+
type: string
|
|
15971
|
+
description: Title of the site
|
|
15972
|
+
minLength: 2
|
|
15973
|
+
maxLength: 128
|
|
15974
|
+
SiteHostname:
|
|
15975
|
+
type: string
|
|
15976
|
+
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
15977
|
+
pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
15978
|
+
maxLength: 512
|
|
15979
|
+
SiteBasename:
|
|
15980
|
+
type: string
|
|
15981
|
+
description: Basename for the site. For e.g. api
|
|
15982
|
+
minLength: 1
|
|
15983
|
+
maxLength: 100
|
|
15984
|
+
SiteProxyOrigin:
|
|
15985
|
+
type: string
|
|
15986
|
+
description: Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.
|
|
15987
|
+
pattern: ^([\w-]+\.)*[\w-]+\.[a-zA-Z]{2,}(\/[\w-]+)+$
|
|
15988
|
+
maxLength: 512
|
|
15989
|
+
SiteProxy:
|
|
15961
15990
|
type: object
|
|
15962
|
-
description: Pressable button triggering an action.
|
|
15963
15991
|
properties:
|
|
15964
|
-
|
|
15965
|
-
|
|
15966
|
-
|
|
15967
|
-
- button
|
|
15968
|
-
style:
|
|
15969
|
-
type: string
|
|
15970
|
-
enum:
|
|
15971
|
-
- primary
|
|
15972
|
-
- secondary
|
|
15973
|
-
- danger
|
|
15974
|
-
onPress:
|
|
15975
|
-
$ref: "#/components/schemas/ContentKitAction"
|
|
15976
|
-
icon:
|
|
15977
|
-
$ref: "#/components/schemas/ContentKitIcon"
|
|
15978
|
-
trailingIcon:
|
|
15979
|
-
$ref: "#/components/schemas/ContentKitIcon"
|
|
15980
|
-
label:
|
|
15981
|
-
type: string
|
|
15982
|
-
tooltip:
|
|
15992
|
+
origin:
|
|
15993
|
+
$ref: "#/components/schemas/SiteProxyOrigin"
|
|
15994
|
+
target:
|
|
15983
15995
|
type: string
|
|
15984
|
-
|
|
15985
|
-
$ref: "#/components/schemas/ContentKitConfirm"
|
|
15986
|
-
disabled:
|
|
15987
|
-
type: boolean
|
|
15996
|
+
description: The target URL to which the requests at the origin URL should be proxied to.
|
|
15988
15997
|
required:
|
|
15989
|
-
-
|
|
15990
|
-
-
|
|
15991
|
-
|
|
15998
|
+
- origin
|
|
15999
|
+
- target
|
|
16000
|
+
SiteVisibility:
|
|
16001
|
+
type: string
|
|
16002
|
+
description: |
|
|
16003
|
+
The visibility setting of the site determines the audience of the site.
|
|
16004
|
+
* `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
16005
|
+
* `unlisted`: Anyone can access the site, and the site is not indexed by search engines
|
|
16006
|
+
* `share-link`: Anyone with a secret token in the url can access the site.
|
|
16007
|
+
* `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
16008
|
+
enum:
|
|
16009
|
+
- public
|
|
16010
|
+
- unlisted
|
|
16011
|
+
- share-link
|
|
16012
|
+
- visitor-auth
|
|
16013
|
+
SiteAdaptiveContent:
|
|
15992
16014
|
type: object
|
|
15993
|
-
description: Text input to prompt the user.
|
|
15994
16015
|
properties:
|
|
15995
|
-
|
|
15996
|
-
type: string
|
|
15997
|
-
enum:
|
|
15998
|
-
- textinput
|
|
15999
|
-
disabled:
|
|
16000
|
-
type: boolean
|
|
16001
|
-
state:
|
|
16002
|
-
description: State binding. The value of the input will be stored as a property in the state named after this ID.
|
|
16003
|
-
type: string
|
|
16004
|
-
initialValue:
|
|
16005
|
-
description: Text value to initialize the input with.
|
|
16006
|
-
type: string
|
|
16007
|
-
placeholder:
|
|
16008
|
-
description: Text that appears in the form control when it has no value set
|
|
16009
|
-
type: string
|
|
16010
|
-
multiline:
|
|
16016
|
+
enabled:
|
|
16011
16017
|
type: boolean
|
|
16012
|
-
|
|
16013
|
-
type: string
|
|
16014
|
-
enum:
|
|
16015
|
-
- text
|
|
16016
|
-
- password
|
|
16017
|
-
- email
|
|
16018
|
-
default: text
|
|
16018
|
+
description: Whether adaptive content should be enabled on the site.
|
|
16019
16019
|
required:
|
|
16020
|
-
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
description:
|
|
16020
|
+
- enabled
|
|
16021
|
+
SiteAdsTopic:
|
|
16022
|
+
type: string
|
|
16023
|
+
description: Topic of the content
|
|
16024
|
+
enum:
|
|
16025
|
+
- webdev
|
|
16026
|
+
- crypto
|
|
16027
|
+
SiteAds:
|
|
16024
16028
|
oneOf:
|
|
16025
|
-
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
|
|
16033
|
-
|
|
16034
|
-
|
|
16035
|
-
|
|
16036
|
-
|
|
16037
|
-
-
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
|
|
16048
|
-
|
|
16049
|
-
|
|
16050
|
-
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
|
-
|
|
16063
|
-
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
|
|
16087
|
-
|
|
16088
|
-
|
|
16089
|
-
|
|
16090
|
-
-
|
|
16091
|
-
|
|
16029
|
+
- type: object
|
|
16030
|
+
required:
|
|
16031
|
+
- status
|
|
16032
|
+
- submittable
|
|
16033
|
+
properties:
|
|
16034
|
+
status:
|
|
16035
|
+
type: string
|
|
16036
|
+
enum:
|
|
16037
|
+
- pending
|
|
16038
|
+
submittable:
|
|
16039
|
+
type: boolean
|
|
16040
|
+
description: True if the user can submit the site for review.
|
|
16041
|
+
- type: object
|
|
16042
|
+
required:
|
|
16043
|
+
- status
|
|
16044
|
+
- topic
|
|
16045
|
+
- accountEmail
|
|
16046
|
+
properties:
|
|
16047
|
+
status:
|
|
16048
|
+
type: string
|
|
16049
|
+
enum:
|
|
16050
|
+
- in-review
|
|
16051
|
+
topic:
|
|
16052
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16053
|
+
- type: object
|
|
16054
|
+
required:
|
|
16055
|
+
- status
|
|
16056
|
+
properties:
|
|
16057
|
+
status:
|
|
16058
|
+
type: string
|
|
16059
|
+
enum:
|
|
16060
|
+
- rejected
|
|
16061
|
+
reason:
|
|
16062
|
+
type: string
|
|
16063
|
+
description: Reason for the rejection
|
|
16064
|
+
- type: object
|
|
16065
|
+
required:
|
|
16066
|
+
- status
|
|
16067
|
+
- topic
|
|
16068
|
+
- zoneId
|
|
16069
|
+
properties:
|
|
16070
|
+
status:
|
|
16071
|
+
type: string
|
|
16072
|
+
enum:
|
|
16073
|
+
- live
|
|
16074
|
+
- disabled
|
|
16075
|
+
topic:
|
|
16076
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16077
|
+
zoneId:
|
|
16078
|
+
type: string
|
|
16079
|
+
description: The ad network zone ID
|
|
16080
|
+
SiteCustomizationFeature:
|
|
16081
|
+
type: string
|
|
16082
|
+
description: A list of all premium customizations.
|
|
16083
|
+
enum:
|
|
16084
|
+
- header-logo
|
|
16085
|
+
- theme-preset
|
|
16086
|
+
- premium-fonts
|
|
16087
|
+
- custom-icons
|
|
16088
|
+
- footer-logo
|
|
16089
|
+
- footer-links
|
|
16090
|
+
- footer-copyright
|
|
16091
|
+
- semantic-colors
|
|
16092
|
+
SiteFeature:
|
|
16093
|
+
oneOf:
|
|
16094
|
+
- type: object
|
|
16095
|
+
description: A site feature and the plan it is available on.
|
|
16096
|
+
properties:
|
|
16097
|
+
id:
|
|
16098
|
+
description: The feature identifier, matching the feature table keys in the pricing definition
|
|
16099
|
+
type: string
|
|
16100
|
+
enum:
|
|
16101
|
+
- sites-sections
|
|
16102
|
+
- sites-visitor-authentication
|
|
16103
|
+
- sites-adaptive-content
|
|
16104
|
+
- sites-redirects
|
|
16105
|
+
- sites-custom-domain
|
|
16106
|
+
- sites-ai-search
|
|
16107
|
+
- sites-pdf-export
|
|
16108
|
+
- sites-page-feedback
|
|
16109
|
+
- sites-unlisted-visibility
|
|
16110
|
+
- sites-share-links
|
|
16111
|
+
- sites-custom-fonts
|
|
16112
|
+
plan:
|
|
16113
|
+
$ref: "#/components/schemas/SiteType"
|
|
16114
|
+
frozen:
|
|
16115
|
+
description: A frozen feature is still enabled but cannot be changed or modified.
|
|
16116
|
+
type: boolean
|
|
16117
|
+
required:
|
|
16118
|
+
- id
|
|
16119
|
+
- plan
|
|
16120
|
+
- frozen
|
|
16121
|
+
- type: object
|
|
16122
|
+
description: The advanced customizations feature, carrying also which individual customization are used
|
|
16123
|
+
properties:
|
|
16124
|
+
id:
|
|
16125
|
+
description: The feature identifier, always set to `sites-advanced-customization`
|
|
16126
|
+
type: string
|
|
16127
|
+
enum:
|
|
16128
|
+
- sites-advanced-customization
|
|
16129
|
+
plan:
|
|
16130
|
+
$ref: "#/components/schemas/SiteType"
|
|
16131
|
+
frozen:
|
|
16132
|
+
description: A frozen feature is still enabled but cannot be changed or modified.
|
|
16133
|
+
type: boolean
|
|
16134
|
+
customizations:
|
|
16135
|
+
description: A list of the actual advanced customizations used
|
|
16136
|
+
type: array
|
|
16137
|
+
items:
|
|
16138
|
+
$ref: "#/components/schemas/SiteCustomizationFeature"
|
|
16139
|
+
required:
|
|
16140
|
+
- id
|
|
16141
|
+
- plan
|
|
16142
|
+
- frozen
|
|
16143
|
+
- customizations
|
|
16144
|
+
Site:
|
|
16092
16145
|
type: object
|
|
16093
16146
|
properties:
|
|
16094
|
-
|
|
16147
|
+
object:
|
|
16095
16148
|
type: string
|
|
16096
16149
|
enum:
|
|
16097
|
-
-
|
|
16098
|
-
|
|
16099
|
-
|
|
16150
|
+
- site
|
|
16151
|
+
id:
|
|
16152
|
+
type: string
|
|
16153
|
+
description: Unique identifier of the site
|
|
16154
|
+
type:
|
|
16155
|
+
$ref: "#/components/schemas/SiteType"
|
|
16156
|
+
title:
|
|
16157
|
+
$ref: "#/components/schemas/SiteTitle"
|
|
16158
|
+
hostname:
|
|
16159
|
+
$ref: "#/components/schemas/SiteHostname"
|
|
16160
|
+
basename:
|
|
16161
|
+
$ref: "#/components/schemas/SiteBasename"
|
|
16162
|
+
proxy:
|
|
16163
|
+
$ref: "#/components/schemas/SiteProxy"
|
|
16164
|
+
visibility:
|
|
16165
|
+
$ref: "#/components/schemas/SiteVisibility"
|
|
16166
|
+
published:
|
|
16167
|
+
type: boolean
|
|
16168
|
+
description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
|
|
16169
|
+
siteSpaces:
|
|
16100
16170
|
type: number
|
|
16101
|
-
|
|
16171
|
+
createdAt:
|
|
16172
|
+
type: string
|
|
16173
|
+
format: date-time
|
|
16174
|
+
adaptiveContent:
|
|
16175
|
+
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
16176
|
+
ads:
|
|
16177
|
+
$ref: "#/components/schemas/SiteAds"
|
|
16178
|
+
features:
|
|
16179
|
+
description: |
|
|
16180
|
+
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.
|
|
16102
16181
|
type: array
|
|
16103
16182
|
items:
|
|
16104
|
-
$ref: "#/components/schemas/
|
|
16183
|
+
$ref: "#/components/schemas/SiteFeature"
|
|
16184
|
+
urls:
|
|
16185
|
+
type: object
|
|
16186
|
+
description: URLs associated with the object
|
|
16187
|
+
properties:
|
|
16188
|
+
location:
|
|
16189
|
+
type: string
|
|
16190
|
+
description: URL of the site in the API
|
|
16191
|
+
format: uri
|
|
16192
|
+
app:
|
|
16193
|
+
type: string
|
|
16194
|
+
description: URL of the site in the application
|
|
16195
|
+
format: uri
|
|
16196
|
+
published:
|
|
16197
|
+
type: string
|
|
16198
|
+
description: URL of the published version of the site. Only defined when site is published.
|
|
16199
|
+
format: uri
|
|
16200
|
+
required:
|
|
16201
|
+
- app
|
|
16202
|
+
- location
|
|
16105
16203
|
required:
|
|
16204
|
+
- object
|
|
16205
|
+
- id
|
|
16106
16206
|
- type
|
|
16107
|
-
-
|
|
16108
|
-
|
|
16207
|
+
- title
|
|
16208
|
+
- visibility
|
|
16209
|
+
- published
|
|
16210
|
+
- createdAt
|
|
16211
|
+
- siteSpaces
|
|
16212
|
+
- defaultSpace
|
|
16213
|
+
- features
|
|
16214
|
+
- urls
|
|
16215
|
+
IntegrationSiteInstallation:
|
|
16216
|
+
allOf:
|
|
16217
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
16218
|
+
- type: object
|
|
16219
|
+
properties:
|
|
16220
|
+
site:
|
|
16221
|
+
description: The site the integration is installed on. Using the string value is deprecated in favor of site.id
|
|
16222
|
+
oneOf:
|
|
16223
|
+
- type: string
|
|
16224
|
+
- $ref: "#/components/schemas/Site"
|
|
16225
|
+
required:
|
|
16226
|
+
- site
|
|
16227
|
+
ContentKitIcon:
|
|
16228
|
+
type: string
|
|
16229
|
+
enum:
|
|
16230
|
+
- close
|
|
16231
|
+
- edit
|
|
16232
|
+
- github
|
|
16233
|
+
- gitlab
|
|
16234
|
+
- maximize
|
|
16235
|
+
- email
|
|
16236
|
+
- settings
|
|
16237
|
+
- search
|
|
16238
|
+
- delete
|
|
16239
|
+
- star
|
|
16240
|
+
- warning
|
|
16241
|
+
- link
|
|
16242
|
+
- link-external
|
|
16243
|
+
- eye
|
|
16244
|
+
- lock
|
|
16245
|
+
- check
|
|
16246
|
+
- check-circle
|
|
16247
|
+
ContentKitConfirm:
|
|
16109
16248
|
type: object
|
|
16110
|
-
description:
|
|
16249
|
+
description: A confirm object that defines an optional confirmation dialog after the input is clicked.
|
|
16111
16250
|
properties:
|
|
16112
|
-
|
|
16251
|
+
title:
|
|
16113
16252
|
type: string
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
|
|
16253
|
+
description: A text value that defines the dialog's title.
|
|
16254
|
+
maxLength: 100
|
|
16255
|
+
text:
|
|
16256
|
+
type: string
|
|
16257
|
+
description: A text value that defines the explanatory text that appears in the confirm dialog.
|
|
16258
|
+
maxLength: 300
|
|
16259
|
+
confirm:
|
|
16260
|
+
type: string
|
|
16261
|
+
description: A text value to define the text of the button that confirms the action.
|
|
16262
|
+
maxLength: 30
|
|
16263
|
+
style:
|
|
16117
16264
|
type: string
|
|
16118
16265
|
enum:
|
|
16119
|
-
-
|
|
16120
|
-
-
|
|
16121
|
-
- large
|
|
16266
|
+
- primary
|
|
16267
|
+
- danger
|
|
16122
16268
|
required:
|
|
16123
|
-
-
|
|
16124
|
-
|
|
16269
|
+
- title
|
|
16270
|
+
- text
|
|
16271
|
+
- confirm
|
|
16272
|
+
ContentKitButton:
|
|
16125
16273
|
type: object
|
|
16126
|
-
description:
|
|
16274
|
+
description: Pressable button triggering an action.
|
|
16127
16275
|
properties:
|
|
16128
|
-
|
|
16276
|
+
type:
|
|
16129
16277
|
type: string
|
|
16130
|
-
|
|
16131
|
-
|
|
16132
|
-
|
|
16278
|
+
enum:
|
|
16279
|
+
- button
|
|
16280
|
+
style:
|
|
16281
|
+
type: string
|
|
16282
|
+
enum:
|
|
16283
|
+
- primary
|
|
16284
|
+
- secondary
|
|
16285
|
+
- danger
|
|
16286
|
+
onPress:
|
|
16287
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
16288
|
+
icon:
|
|
16289
|
+
$ref: "#/components/schemas/ContentKitIcon"
|
|
16290
|
+
trailingIcon:
|
|
16291
|
+
$ref: "#/components/schemas/ContentKitIcon"
|
|
16292
|
+
label:
|
|
16293
|
+
type: string
|
|
16294
|
+
tooltip:
|
|
16295
|
+
type: string
|
|
16296
|
+
confirm:
|
|
16297
|
+
$ref: "#/components/schemas/ContentKitConfirm"
|
|
16298
|
+
disabled:
|
|
16299
|
+
type: boolean
|
|
16300
|
+
required:
|
|
16301
|
+
- type
|
|
16302
|
+
- onPress
|
|
16303
|
+
ContentKitTextInput:
|
|
16304
|
+
type: object
|
|
16305
|
+
description: Text input to prompt the user.
|
|
16306
|
+
properties:
|
|
16307
|
+
type:
|
|
16308
|
+
type: string
|
|
16309
|
+
enum:
|
|
16310
|
+
- textinput
|
|
16311
|
+
disabled:
|
|
16312
|
+
type: boolean
|
|
16313
|
+
state:
|
|
16314
|
+
description: State binding. The value of the input will be stored as a property in the state named after this ID.
|
|
16315
|
+
type: string
|
|
16316
|
+
initialValue:
|
|
16317
|
+
description: Text value to initialize the input with.
|
|
16318
|
+
type: string
|
|
16319
|
+
placeholder:
|
|
16320
|
+
description: Text that appears in the form control when it has no value set
|
|
16321
|
+
type: string
|
|
16322
|
+
multiline:
|
|
16323
|
+
type: boolean
|
|
16324
|
+
inputType:
|
|
16325
|
+
type: string
|
|
16326
|
+
enum:
|
|
16327
|
+
- text
|
|
16328
|
+
- password
|
|
16329
|
+
- email
|
|
16330
|
+
default: text
|
|
16331
|
+
required:
|
|
16332
|
+
- type
|
|
16333
|
+
- state
|
|
16334
|
+
ContentKitDescendantElement:
|
|
16335
|
+
description: Any element that can be used as children.
|
|
16336
|
+
oneOf:
|
|
16337
|
+
- $ref: "#/components/schemas/ContentKitButton"
|
|
16338
|
+
- $ref: "#/components/schemas/ContentKitTextInput"
|
|
16339
|
+
- $ref: "#/components/schemas/ContentKitHStack"
|
|
16340
|
+
- $ref: "#/components/schemas/ContentKitVStack"
|
|
16341
|
+
- $ref: "#/components/schemas/ContentKitBox"
|
|
16342
|
+
- $ref: "#/components/schemas/ContentKitDivider"
|
|
16343
|
+
- $ref: "#/components/schemas/ContentKitWebFrame"
|
|
16344
|
+
- $ref: "#/components/schemas/ContentKitCodeBlock"
|
|
16345
|
+
- $ref: "#/components/schemas/ContentKitMarkdown"
|
|
16346
|
+
- $ref: "#/components/schemas/ContentKitCard"
|
|
16347
|
+
- $ref: "#/components/schemas/ContentKitImage"
|
|
16348
|
+
- $ref: "#/components/schemas/ContentKitInput"
|
|
16349
|
+
- $ref: "#/components/schemas/ContentKitSelect"
|
|
16350
|
+
- $ref: "#/components/schemas/ContentKitSwitch"
|
|
16351
|
+
- $ref: "#/components/schemas/ContentKitCheckbox"
|
|
16352
|
+
- $ref: "#/components/schemas/ContentKitRadio"
|
|
16353
|
+
- $ref: "#/components/schemas/ContentKitText"
|
|
16354
|
+
- $ref: "#/components/schemas/ContentKitHint"
|
|
16355
|
+
- $ref: "#/components/schemas/ContentKitLink"
|
|
16356
|
+
- $ref: "#/components/schemas/ContentKitStepperStep"
|
|
16357
|
+
discriminator:
|
|
16358
|
+
propertyName: type
|
|
16359
|
+
ContentKitHStack:
|
|
16360
|
+
type: object
|
|
16361
|
+
description: Horizontal stack of boxes.
|
|
16362
|
+
properties:
|
|
16363
|
+
type:
|
|
16364
|
+
type: string
|
|
16365
|
+
enum:
|
|
16366
|
+
- hstack
|
|
16367
|
+
align:
|
|
16368
|
+
type: string
|
|
16369
|
+
default: start
|
|
16370
|
+
enum:
|
|
16371
|
+
- start
|
|
16372
|
+
- center
|
|
16373
|
+
- end
|
|
16374
|
+
children:
|
|
16375
|
+
type: array
|
|
16376
|
+
items:
|
|
16377
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16378
|
+
required:
|
|
16379
|
+
- type
|
|
16380
|
+
- children
|
|
16381
|
+
ContentKitVStack:
|
|
16382
|
+
type: object
|
|
16383
|
+
description: Vertical stack of boxes.
|
|
16384
|
+
properties:
|
|
16385
|
+
type:
|
|
16386
|
+
type: string
|
|
16387
|
+
enum:
|
|
16388
|
+
- vstack
|
|
16389
|
+
align:
|
|
16390
|
+
type: string
|
|
16391
|
+
default: start
|
|
16392
|
+
enum:
|
|
16393
|
+
- start
|
|
16394
|
+
- center
|
|
16395
|
+
- end
|
|
16396
|
+
children:
|
|
16397
|
+
type: array
|
|
16398
|
+
items:
|
|
16399
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16400
|
+
required:
|
|
16401
|
+
- type
|
|
16402
|
+
- children
|
|
16403
|
+
ContentKitBox:
|
|
16404
|
+
type: object
|
|
16405
|
+
properties:
|
|
16406
|
+
type:
|
|
16407
|
+
type: string
|
|
16408
|
+
enum:
|
|
16409
|
+
- box
|
|
16410
|
+
grow:
|
|
16411
|
+
description: specifies how much of the remaining space in the container should be assigned to the element
|
|
16412
|
+
type: number
|
|
16413
|
+
children:
|
|
16414
|
+
type: array
|
|
16415
|
+
items:
|
|
16416
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16417
|
+
required:
|
|
16418
|
+
- type
|
|
16419
|
+
- children
|
|
16420
|
+
ContentKitDivider:
|
|
16421
|
+
type: object
|
|
16422
|
+
description: Divider between 2 boxes in a stack.
|
|
16423
|
+
properties:
|
|
16424
|
+
type:
|
|
16425
|
+
type: string
|
|
16426
|
+
enum:
|
|
16427
|
+
- divider
|
|
16428
|
+
size:
|
|
16429
|
+
type: string
|
|
16430
|
+
enum:
|
|
16431
|
+
- small
|
|
16432
|
+
- medium
|
|
16433
|
+
- large
|
|
16434
|
+
required:
|
|
16435
|
+
- type
|
|
16436
|
+
ContentKitDynamicBinding:
|
|
16437
|
+
type: object
|
|
16438
|
+
description: Binding between a property and a state value.
|
|
16439
|
+
properties:
|
|
16440
|
+
$state:
|
|
16441
|
+
type: string
|
|
16442
|
+
description: Key in the state
|
|
16443
|
+
required:
|
|
16444
|
+
- $state
|
|
16133
16445
|
ContentKitWebFrame:
|
|
16134
16446
|
type: object
|
|
16135
16447
|
description: Frame for a webpage
|
|
@@ -16585,469 +16897,201 @@ components:
|
|
|
16585
16897
|
$ref: "#/components/schemas/ContentKitAction"
|
|
16586
16898
|
confirm:
|
|
16587
16899
|
$ref: "#/components/schemas/ContentKitConfirm"
|
|
16588
|
-
required:
|
|
16589
|
-
- label
|
|
16590
|
-
- onPress
|
|
16591
|
-
ContentKitBlock:
|
|
16592
|
-
type: object
|
|
16593
|
-
description: Higher level element to represent a custom block.
|
|
16594
|
-
properties:
|
|
16595
|
-
type:
|
|
16596
|
-
type: string
|
|
16597
|
-
enum:
|
|
16598
|
-
- block
|
|
16599
|
-
children:
|
|
16600
|
-
type: array
|
|
16601
|
-
items:
|
|
16602
|
-
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16603
|
-
controls:
|
|
16604
|
-
type: array
|
|
16605
|
-
items:
|
|
16606
|
-
oneOf:
|
|
16607
|
-
- $ref: "#/components/schemas/ContentKitBlockControl"
|
|
16608
|
-
- type: array
|
|
16609
|
-
items:
|
|
16610
|
-
$ref: "#/components/schemas/ContentKitBlockControl"
|
|
16611
|
-
required:
|
|
16612
|
-
- type
|
|
16613
|
-
- children
|
|
16614
|
-
ContentKitModal:
|
|
16615
|
-
type: object
|
|
16616
|
-
description: Overlay modal.
|
|
16617
|
-
properties:
|
|
16618
|
-
type:
|
|
16619
|
-
type: string
|
|
16620
|
-
enum:
|
|
16621
|
-
- modal
|
|
16622
|
-
title:
|
|
16623
|
-
type: string
|
|
16624
|
-
subtitle:
|
|
16625
|
-
type: array
|
|
16626
|
-
items:
|
|
16627
|
-
$ref: "#/components/schemas/ContentKitInlineElement"
|
|
16628
|
-
size:
|
|
16629
|
-
type: string
|
|
16630
|
-
enum:
|
|
16631
|
-
- medium
|
|
16632
|
-
- xlarge
|
|
16633
|
-
- fullscreen
|
|
16634
|
-
returnValue:
|
|
16635
|
-
description: Data passed back to the parent view when the modal is closed. These data are accessible in the "@ui.modal.close"
|
|
16636
|
-
type: object
|
|
16637
|
-
children:
|
|
16638
|
-
type: array
|
|
16639
|
-
items:
|
|
16640
|
-
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16641
|
-
submit:
|
|
16642
|
-
$ref: "#/components/schemas/ContentKitButton"
|
|
16643
|
-
required:
|
|
16644
|
-
- type
|
|
16645
|
-
- children
|
|
16646
|
-
ContentKitStepper:
|
|
16647
|
-
type: object
|
|
16648
|
-
properties:
|
|
16649
|
-
type:
|
|
16650
|
-
type: string
|
|
16651
|
-
enum:
|
|
16652
|
-
- stepper
|
|
16653
|
-
activeStep:
|
|
16654
|
-
type: string
|
|
16655
|
-
description: id of the currently active step
|
|
16656
|
-
onStepChange:
|
|
16657
|
-
$ref: "#/components/schemas/ContentKitAction"
|
|
16658
|
-
onComplete:
|
|
16659
|
-
$ref: "#/components/schemas/ContentKitAction"
|
|
16660
|
-
children:
|
|
16661
|
-
type: array
|
|
16662
|
-
items:
|
|
16663
|
-
$ref: "#/components/schemas/ContentKitStepperStep"
|
|
16664
|
-
minItems: 1
|
|
16665
|
-
required:
|
|
16666
|
-
- type
|
|
16667
|
-
- activeStep
|
|
16668
|
-
- onStepChange
|
|
16669
|
-
- onComplete
|
|
16670
|
-
- children
|
|
16671
|
-
ContentKitConfiguration:
|
|
16672
|
-
type: object
|
|
16673
|
-
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.
|
|
16674
|
-
properties:
|
|
16675
|
-
type:
|
|
16676
|
-
type: string
|
|
16677
|
-
enum:
|
|
16678
|
-
- configuration
|
|
16679
|
-
children:
|
|
16680
|
-
oneOf:
|
|
16681
|
-
- type: array
|
|
16682
|
-
items:
|
|
16683
|
-
$ref: "#/components/schemas/ContentKitStepper"
|
|
16684
|
-
minItems: 1
|
|
16685
|
-
maxItems: 1
|
|
16686
|
-
- type: array
|
|
16687
|
-
items:
|
|
16688
|
-
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16689
|
-
minItems: 1
|
|
16690
|
-
required:
|
|
16691
|
-
- type
|
|
16692
|
-
- children
|
|
16693
|
-
ContentKitRootElement:
|
|
16694
|
-
description: Element used as root
|
|
16695
|
-
oneOf:
|
|
16696
|
-
- $ref: "#/components/schemas/ContentKitBlock"
|
|
16697
|
-
- $ref: "#/components/schemas/ContentKitModal"
|
|
16698
|
-
- $ref: "#/components/schemas/ContentKitConfiguration"
|
|
16699
|
-
discriminator:
|
|
16700
|
-
propertyName: type
|
|
16701
|
-
ContentKitRenderOutputElement:
|
|
16702
|
-
type: object
|
|
16703
|
-
description: Output of type element in the lifecycle of the component.
|
|
16704
|
-
properties:
|
|
16705
|
-
type:
|
|
16706
|
-
type: string
|
|
16707
|
-
enum:
|
|
16708
|
-
- element
|
|
16709
|
-
element:
|
|
16710
|
-
$ref: "#/components/schemas/ContentKitRootElement"
|
|
16711
|
-
state:
|
|
16712
|
-
type: object
|
|
16713
|
-
props:
|
|
16714
|
-
$ref: "#/components/schemas/PlainObject"
|
|
16715
|
-
required:
|
|
16716
|
-
- element
|
|
16717
|
-
- state
|
|
16718
|
-
- props
|
|
16719
|
-
ContentKitRenderOutputComplete:
|
|
16720
|
-
type: object
|
|
16721
|
-
description: Output of completed lifecycle of the component.
|
|
16722
|
-
properties:
|
|
16723
|
-
type:
|
|
16724
|
-
type: string
|
|
16725
|
-
enum:
|
|
16726
|
-
- complete
|
|
16727
|
-
returnValue:
|
|
16728
|
-
type: object
|
|
16729
|
-
required:
|
|
16730
|
-
- type
|
|
16731
|
-
ContentKitRenderOutput:
|
|
16732
|
-
type: object
|
|
16733
|
-
description: Output of the integration when rendering a UI.
|
|
16734
|
-
oneOf:
|
|
16735
|
-
- $ref: "#/components/schemas/ContentKitRenderOutputElement"
|
|
16736
|
-
- $ref: "#/components/schemas/ContentKitRenderOutputComplete"
|
|
16737
|
-
RenderIntegrationUI:
|
|
16738
|
-
type: object
|
|
16739
|
-
properties:
|
|
16740
|
-
componentId:
|
|
16741
|
-
type: string
|
|
16742
|
-
description: ID of the component to render in the integration.
|
|
16743
|
-
props:
|
|
16744
|
-
description: Current properties of the UI.
|
|
16745
|
-
$ref: "#/components/schemas/PlainObject"
|
|
16746
|
-
state:
|
|
16747
|
-
type: object
|
|
16748
|
-
description: Current local state of the UI.
|
|
16749
|
-
context:
|
|
16750
|
-
$ref: "#/components/schemas/ContentKitContext"
|
|
16751
|
-
action:
|
|
16752
|
-
$ref: "#/components/schemas/ContentKitAction"
|
|
16753
|
-
required:
|
|
16754
|
-
- componentId
|
|
16755
|
-
- props
|
|
16756
|
-
- context
|
|
16757
|
-
UpdateIntegrationInstallation:
|
|
16758
|
-
type: object
|
|
16759
|
-
properties:
|
|
16760
|
-
externalIds:
|
|
16761
|
-
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
16762
|
-
configuration:
|
|
16763
|
-
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
16764
|
-
space_selection:
|
|
16765
|
-
$ref: "#/components/schemas/IntegrationInstallationSpaceSelection"
|
|
16766
|
-
site_selection:
|
|
16767
|
-
$ref: "#/components/schemas/IntegrationInstallationSiteSelection"
|
|
16768
|
-
APITemporaryToken:
|
|
16769
|
-
type: object
|
|
16770
|
-
properties:
|
|
16771
|
-
token:
|
|
16772
|
-
type: string
|
|
16773
|
-
description: Temporary access token to authenticate with the API
|
|
16774
|
-
required:
|
|
16775
|
-
- token
|
|
16776
|
-
UpdateIntegrationSpaceInstallation:
|
|
16777
|
-
type: object
|
|
16778
|
-
properties:
|
|
16779
|
-
externalIds:
|
|
16780
|
-
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
16781
|
-
configuration:
|
|
16782
|
-
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
16783
|
-
SiteType:
|
|
16784
|
-
type: string
|
|
16785
|
-
description: The type of the site
|
|
16786
|
-
enum:
|
|
16787
|
-
- basic
|
|
16788
|
-
- premium
|
|
16789
|
-
- ultimate
|
|
16790
|
-
- sponsored
|
|
16791
|
-
- legacy-basic
|
|
16792
|
-
- legacy-premium
|
|
16793
|
-
SiteTitle:
|
|
16794
|
-
type: string
|
|
16795
|
-
description: Title of the site
|
|
16796
|
-
minLength: 2
|
|
16797
|
-
maxLength: 128
|
|
16798
|
-
SiteHostname:
|
|
16799
|
-
type: string
|
|
16800
|
-
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
16801
|
-
pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
16802
|
-
maxLength: 512
|
|
16803
|
-
SiteBasename:
|
|
16804
|
-
type: string
|
|
16805
|
-
description: Basename for the site. For e.g. api
|
|
16806
|
-
minLength: 1
|
|
16807
|
-
maxLength: 100
|
|
16808
|
-
SiteProxyOrigin:
|
|
16809
|
-
type: string
|
|
16810
|
-
description: Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.
|
|
16811
|
-
pattern: ^([\w-]+\.)*[\w-]+\.[a-zA-Z]{2,}(\/[\w-]+)+$
|
|
16812
|
-
maxLength: 512
|
|
16813
|
-
SiteProxy:
|
|
16814
|
-
type: object
|
|
16815
|
-
properties:
|
|
16816
|
-
origin:
|
|
16817
|
-
$ref: "#/components/schemas/SiteProxyOrigin"
|
|
16818
|
-
target:
|
|
16819
|
-
type: string
|
|
16820
|
-
description: The target URL to which the requests at the origin URL should be proxied to.
|
|
16821
|
-
required:
|
|
16822
|
-
- origin
|
|
16823
|
-
- target
|
|
16824
|
-
SiteVisibility:
|
|
16825
|
-
type: string
|
|
16826
|
-
description: |
|
|
16827
|
-
The visibility setting of the site determines the audience of the site.
|
|
16828
|
-
* `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
16829
|
-
* `unlisted`: Anyone can access the site, and the site is not indexed by search engines
|
|
16830
|
-
* `share-link`: Anyone with a secret token in the url can access the site.
|
|
16831
|
-
* `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
16832
|
-
enum:
|
|
16833
|
-
- public
|
|
16834
|
-
- unlisted
|
|
16835
|
-
- share-link
|
|
16836
|
-
- visitor-auth
|
|
16837
|
-
SiteAdaptiveContent:
|
|
16838
|
-
type: object
|
|
16839
|
-
properties:
|
|
16840
|
-
enabled:
|
|
16841
|
-
type: boolean
|
|
16842
|
-
description: Whether adaptive content should be enabled on the site.
|
|
16843
|
-
required:
|
|
16844
|
-
- enabled
|
|
16845
|
-
SiteAdsTopic:
|
|
16846
|
-
type: string
|
|
16847
|
-
description: Topic of the content
|
|
16848
|
-
enum:
|
|
16849
|
-
- webdev
|
|
16850
|
-
- crypto
|
|
16851
|
-
SiteAds:
|
|
16852
|
-
oneOf:
|
|
16853
|
-
- type: object
|
|
16854
|
-
required:
|
|
16855
|
-
- status
|
|
16856
|
-
- submittable
|
|
16857
|
-
properties:
|
|
16858
|
-
status:
|
|
16859
|
-
type: string
|
|
16860
|
-
enum:
|
|
16861
|
-
- pending
|
|
16862
|
-
submittable:
|
|
16863
|
-
type: boolean
|
|
16864
|
-
description: True if the user can submit the site for review.
|
|
16865
|
-
- type: object
|
|
16866
|
-
required:
|
|
16867
|
-
- status
|
|
16868
|
-
- topic
|
|
16869
|
-
- accountEmail
|
|
16870
|
-
properties:
|
|
16871
|
-
status:
|
|
16872
|
-
type: string
|
|
16873
|
-
enum:
|
|
16874
|
-
- in-review
|
|
16875
|
-
topic:
|
|
16876
|
-
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16877
|
-
- type: object
|
|
16878
|
-
required:
|
|
16879
|
-
- status
|
|
16880
|
-
properties:
|
|
16881
|
-
status:
|
|
16882
|
-
type: string
|
|
16883
|
-
enum:
|
|
16884
|
-
- rejected
|
|
16885
|
-
reason:
|
|
16886
|
-
type: string
|
|
16887
|
-
description: Reason for the rejection
|
|
16888
|
-
- type: object
|
|
16889
|
-
required:
|
|
16890
|
-
- status
|
|
16891
|
-
- topic
|
|
16892
|
-
- zoneId
|
|
16893
|
-
properties:
|
|
16894
|
-
status:
|
|
16895
|
-
type: string
|
|
16896
|
-
enum:
|
|
16897
|
-
- live
|
|
16898
|
-
- disabled
|
|
16899
|
-
topic:
|
|
16900
|
-
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16901
|
-
zoneId:
|
|
16902
|
-
type: string
|
|
16903
|
-
description: The ad network zone ID
|
|
16904
|
-
SiteCustomizationFeature:
|
|
16905
|
-
type: string
|
|
16906
|
-
description: A list of all premium customizations.
|
|
16907
|
-
enum:
|
|
16908
|
-
- header-logo
|
|
16909
|
-
- theme-preset
|
|
16910
|
-
- premium-fonts
|
|
16911
|
-
- custom-icons
|
|
16912
|
-
- footer-logo
|
|
16913
|
-
- footer-links
|
|
16914
|
-
- footer-copyright
|
|
16915
|
-
- semantic-colors
|
|
16916
|
-
SiteFeature:
|
|
16917
|
-
oneOf:
|
|
16918
|
-
- type: object
|
|
16919
|
-
description: A site feature and the plan it is available on.
|
|
16920
|
-
properties:
|
|
16921
|
-
id:
|
|
16922
|
-
description: The feature identifier, matching the feature table keys in the pricing definition
|
|
16923
|
-
type: string
|
|
16924
|
-
enum:
|
|
16925
|
-
- sites-sections
|
|
16926
|
-
- sites-visitor-authentication
|
|
16927
|
-
- sites-adaptive-content
|
|
16928
|
-
- sites-redirects
|
|
16929
|
-
- sites-custom-domain
|
|
16930
|
-
- sites-ai-search
|
|
16931
|
-
- sites-pdf-export
|
|
16932
|
-
- sites-page-feedback
|
|
16933
|
-
- sites-unlisted-visibility
|
|
16934
|
-
- sites-share-links
|
|
16935
|
-
- sites-custom-fonts
|
|
16936
|
-
plan:
|
|
16937
|
-
$ref: "#/components/schemas/SiteType"
|
|
16938
|
-
frozen:
|
|
16939
|
-
description: A frozen feature is still enabled but cannot be changed or modified.
|
|
16940
|
-
type: boolean
|
|
16941
|
-
required:
|
|
16942
|
-
- id
|
|
16943
|
-
- plan
|
|
16944
|
-
- frozen
|
|
16945
|
-
- type: object
|
|
16946
|
-
description: The advanced customizations feature, carrying also which individual customization are used
|
|
16947
|
-
properties:
|
|
16948
|
-
id:
|
|
16949
|
-
description: The feature identifier, always set to `sites-advanced-customization`
|
|
16950
|
-
type: string
|
|
16951
|
-
enum:
|
|
16952
|
-
- sites-advanced-customization
|
|
16953
|
-
plan:
|
|
16954
|
-
$ref: "#/components/schemas/SiteType"
|
|
16955
|
-
frozen:
|
|
16956
|
-
description: A frozen feature is still enabled but cannot be changed or modified.
|
|
16957
|
-
type: boolean
|
|
16958
|
-
customizations:
|
|
16959
|
-
description: A list of the actual advanced customizations used
|
|
16960
|
-
type: array
|
|
16961
|
-
items:
|
|
16962
|
-
$ref: "#/components/schemas/SiteCustomizationFeature"
|
|
16963
|
-
required:
|
|
16964
|
-
- id
|
|
16965
|
-
- plan
|
|
16966
|
-
- frozen
|
|
16967
|
-
- customizations
|
|
16968
|
-
Site:
|
|
16900
|
+
required:
|
|
16901
|
+
- label
|
|
16902
|
+
- onPress
|
|
16903
|
+
ContentKitBlock:
|
|
16969
16904
|
type: object
|
|
16905
|
+
description: Higher level element to represent a custom block.
|
|
16970
16906
|
properties:
|
|
16971
|
-
|
|
16907
|
+
type:
|
|
16972
16908
|
type: string
|
|
16973
16909
|
enum:
|
|
16974
|
-
-
|
|
16975
|
-
|
|
16976
|
-
type:
|
|
16977
|
-
|
|
16910
|
+
- block
|
|
16911
|
+
children:
|
|
16912
|
+
type: array
|
|
16913
|
+
items:
|
|
16914
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16915
|
+
controls:
|
|
16916
|
+
type: array
|
|
16917
|
+
items:
|
|
16918
|
+
oneOf:
|
|
16919
|
+
- $ref: "#/components/schemas/ContentKitBlockControl"
|
|
16920
|
+
- type: array
|
|
16921
|
+
items:
|
|
16922
|
+
$ref: "#/components/schemas/ContentKitBlockControl"
|
|
16923
|
+
required:
|
|
16924
|
+
- type
|
|
16925
|
+
- children
|
|
16926
|
+
ContentKitModal:
|
|
16927
|
+
type: object
|
|
16928
|
+
description: Overlay modal.
|
|
16929
|
+
properties:
|
|
16978
16930
|
type:
|
|
16979
|
-
|
|
16931
|
+
type: string
|
|
16932
|
+
enum:
|
|
16933
|
+
- modal
|
|
16980
16934
|
title:
|
|
16981
|
-
$ref: "#/components/schemas/SiteTitle"
|
|
16982
|
-
hostname:
|
|
16983
|
-
$ref: "#/components/schemas/SiteHostname"
|
|
16984
|
-
basename:
|
|
16985
|
-
$ref: "#/components/schemas/SiteBasename"
|
|
16986
|
-
proxy:
|
|
16987
|
-
$ref: "#/components/schemas/SiteProxy"
|
|
16988
|
-
visibility:
|
|
16989
|
-
$ref: "#/components/schemas/SiteVisibility"
|
|
16990
|
-
published:
|
|
16991
|
-
type: boolean
|
|
16992
|
-
description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
|
|
16993
|
-
siteSpaces:
|
|
16994
|
-
type: number
|
|
16995
|
-
createdAt:
|
|
16996
16935
|
type: string
|
|
16997
|
-
|
|
16998
|
-
adaptiveContent:
|
|
16999
|
-
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
17000
|
-
ads:
|
|
17001
|
-
$ref: "#/components/schemas/SiteAds"
|
|
17002
|
-
features:
|
|
17003
|
-
description: |
|
|
17004
|
-
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.
|
|
16936
|
+
subtitle:
|
|
17005
16937
|
type: array
|
|
17006
16938
|
items:
|
|
17007
|
-
$ref: "#/components/schemas/
|
|
17008
|
-
|
|
16939
|
+
$ref: "#/components/schemas/ContentKitInlineElement"
|
|
16940
|
+
size:
|
|
16941
|
+
type: string
|
|
16942
|
+
enum:
|
|
16943
|
+
- medium
|
|
16944
|
+
- xlarge
|
|
16945
|
+
- fullscreen
|
|
16946
|
+
returnValue:
|
|
16947
|
+
description: Data passed back to the parent view when the modal is closed. These data are accessible in the "@ui.modal.close"
|
|
17009
16948
|
type: object
|
|
17010
|
-
|
|
17011
|
-
|
|
17012
|
-
|
|
17013
|
-
|
|
17014
|
-
|
|
17015
|
-
|
|
17016
|
-
app:
|
|
17017
|
-
type: string
|
|
17018
|
-
description: URL of the site in the application
|
|
17019
|
-
format: uri
|
|
17020
|
-
published:
|
|
17021
|
-
type: string
|
|
17022
|
-
description: URL of the published version of the site. Only defined when site is published.
|
|
17023
|
-
format: uri
|
|
17024
|
-
required:
|
|
17025
|
-
- app
|
|
17026
|
-
- location
|
|
16949
|
+
children:
|
|
16950
|
+
type: array
|
|
16951
|
+
items:
|
|
16952
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16953
|
+
submit:
|
|
16954
|
+
$ref: "#/components/schemas/ContentKitButton"
|
|
17027
16955
|
required:
|
|
17028
|
-
- object
|
|
17029
|
-
- id
|
|
17030
16956
|
- type
|
|
17031
|
-
-
|
|
17032
|
-
|
|
17033
|
-
|
|
17034
|
-
|
|
17035
|
-
|
|
17036
|
-
|
|
17037
|
-
|
|
17038
|
-
|
|
17039
|
-
|
|
17040
|
-
|
|
17041
|
-
|
|
17042
|
-
|
|
17043
|
-
|
|
17044
|
-
|
|
17045
|
-
|
|
17046
|
-
|
|
17047
|
-
|
|
17048
|
-
|
|
17049
|
-
|
|
17050
|
-
|
|
16957
|
+
- children
|
|
16958
|
+
ContentKitStepper:
|
|
16959
|
+
type: object
|
|
16960
|
+
properties:
|
|
16961
|
+
type:
|
|
16962
|
+
type: string
|
|
16963
|
+
enum:
|
|
16964
|
+
- stepper
|
|
16965
|
+
activeStep:
|
|
16966
|
+
type: string
|
|
16967
|
+
description: id of the currently active step
|
|
16968
|
+
onStepChange:
|
|
16969
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
16970
|
+
onComplete:
|
|
16971
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
16972
|
+
children:
|
|
16973
|
+
type: array
|
|
16974
|
+
items:
|
|
16975
|
+
$ref: "#/components/schemas/ContentKitStepperStep"
|
|
16976
|
+
minItems: 1
|
|
16977
|
+
required:
|
|
16978
|
+
- type
|
|
16979
|
+
- activeStep
|
|
16980
|
+
- onStepChange
|
|
16981
|
+
- onComplete
|
|
16982
|
+
- children
|
|
16983
|
+
ContentKitConfiguration:
|
|
16984
|
+
type: object
|
|
16985
|
+
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.
|
|
16986
|
+
properties:
|
|
16987
|
+
type:
|
|
16988
|
+
type: string
|
|
16989
|
+
enum:
|
|
16990
|
+
- configuration
|
|
16991
|
+
children:
|
|
16992
|
+
oneOf:
|
|
16993
|
+
- type: array
|
|
16994
|
+
items:
|
|
16995
|
+
$ref: "#/components/schemas/ContentKitStepper"
|
|
16996
|
+
minItems: 1
|
|
16997
|
+
maxItems: 1
|
|
16998
|
+
- type: array
|
|
16999
|
+
items:
|
|
17000
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
17001
|
+
minItems: 1
|
|
17002
|
+
required:
|
|
17003
|
+
- type
|
|
17004
|
+
- children
|
|
17005
|
+
ContentKitRootElement:
|
|
17006
|
+
description: Element used as root
|
|
17007
|
+
oneOf:
|
|
17008
|
+
- $ref: "#/components/schemas/ContentKitBlock"
|
|
17009
|
+
- $ref: "#/components/schemas/ContentKitModal"
|
|
17010
|
+
- $ref: "#/components/schemas/ContentKitConfiguration"
|
|
17011
|
+
discriminator:
|
|
17012
|
+
propertyName: type
|
|
17013
|
+
ContentKitRenderOutputElement:
|
|
17014
|
+
type: object
|
|
17015
|
+
description: Output of type element in the lifecycle of the component.
|
|
17016
|
+
properties:
|
|
17017
|
+
type:
|
|
17018
|
+
type: string
|
|
17019
|
+
enum:
|
|
17020
|
+
- element
|
|
17021
|
+
element:
|
|
17022
|
+
$ref: "#/components/schemas/ContentKitRootElement"
|
|
17023
|
+
state:
|
|
17024
|
+
type: object
|
|
17025
|
+
props:
|
|
17026
|
+
$ref: "#/components/schemas/PlainObject"
|
|
17027
|
+
required:
|
|
17028
|
+
- element
|
|
17029
|
+
- state
|
|
17030
|
+
- props
|
|
17031
|
+
ContentKitRenderOutputComplete:
|
|
17032
|
+
type: object
|
|
17033
|
+
description: Output of completed lifecycle of the component.
|
|
17034
|
+
properties:
|
|
17035
|
+
type:
|
|
17036
|
+
type: string
|
|
17037
|
+
enum:
|
|
17038
|
+
- complete
|
|
17039
|
+
returnValue:
|
|
17040
|
+
type: object
|
|
17041
|
+
required:
|
|
17042
|
+
- type
|
|
17043
|
+
ContentKitRenderOutput:
|
|
17044
|
+
type: object
|
|
17045
|
+
description: Output of the integration when rendering a UI.
|
|
17046
|
+
oneOf:
|
|
17047
|
+
- $ref: "#/components/schemas/ContentKitRenderOutputElement"
|
|
17048
|
+
- $ref: "#/components/schemas/ContentKitRenderOutputComplete"
|
|
17049
|
+
RenderIntegrationUI:
|
|
17050
|
+
type: object
|
|
17051
|
+
properties:
|
|
17052
|
+
componentId:
|
|
17053
|
+
type: string
|
|
17054
|
+
description: ID of the component to render in the integration.
|
|
17055
|
+
props:
|
|
17056
|
+
description: Current properties of the UI.
|
|
17057
|
+
$ref: "#/components/schemas/PlainObject"
|
|
17058
|
+
state:
|
|
17059
|
+
type: object
|
|
17060
|
+
description: Current local state of the UI.
|
|
17061
|
+
context:
|
|
17062
|
+
$ref: "#/components/schemas/ContentKitContext"
|
|
17063
|
+
action:
|
|
17064
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
17065
|
+
required:
|
|
17066
|
+
- componentId
|
|
17067
|
+
- props
|
|
17068
|
+
- context
|
|
17069
|
+
UpdateIntegrationInstallation:
|
|
17070
|
+
type: object
|
|
17071
|
+
properties:
|
|
17072
|
+
externalIds:
|
|
17073
|
+
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
17074
|
+
configuration:
|
|
17075
|
+
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
17076
|
+
space_selection:
|
|
17077
|
+
$ref: "#/components/schemas/IntegrationInstallationSpaceSelection"
|
|
17078
|
+
site_selection:
|
|
17079
|
+
$ref: "#/components/schemas/IntegrationInstallationSiteSelection"
|
|
17080
|
+
APITemporaryToken:
|
|
17081
|
+
type: object
|
|
17082
|
+
properties:
|
|
17083
|
+
token:
|
|
17084
|
+
type: string
|
|
17085
|
+
description: Temporary access token to authenticate with the API
|
|
17086
|
+
required:
|
|
17087
|
+
- token
|
|
17088
|
+
UpdateIntegrationSpaceInstallation:
|
|
17089
|
+
type: object
|
|
17090
|
+
properties:
|
|
17091
|
+
externalIds:
|
|
17092
|
+
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
17093
|
+
configuration:
|
|
17094
|
+
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
17051
17095
|
UpdateIntegrationSiteInstallation:
|
|
17052
17096
|
type: object
|
|
17053
17097
|
properties:
|
|
@@ -18220,11 +18264,7 @@ components:
|
|
|
18220
18264
|
location:
|
|
18221
18265
|
description: URL of the OpenAPI specification version in the API
|
|
18222
18266
|
$ref: "#/components/schemas/URL"
|
|
18223
|
-
app:
|
|
18224
|
-
description: URL of the OpenAPI specification version in the application
|
|
18225
|
-
$ref: "#/components/schemas/URL"
|
|
18226
18267
|
required:
|
|
18227
|
-
- app
|
|
18228
18268
|
- location
|
|
18229
18269
|
required:
|
|
18230
18270
|
- object
|