@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.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
|
|
@@ -9305,15 +9344,24 @@ components:
|
|
|
9305
9344
|
type: object
|
|
9306
9345
|
description: The set of permissions for the space
|
|
9307
9346
|
properties:
|
|
9347
|
+
view:
|
|
9348
|
+
type: boolean
|
|
9349
|
+
description: Can the user view the space content.
|
|
9308
9350
|
access:
|
|
9309
9351
|
type: boolean
|
|
9310
9352
|
description: Can the user access the space in the application.
|
|
9311
9353
|
admin:
|
|
9312
9354
|
type: boolean
|
|
9313
9355
|
description: Can the user edit the title, install integrations, and manage the space.
|
|
9356
|
+
viewInviteLinks:
|
|
9357
|
+
type: boolean
|
|
9358
|
+
description: Can the user view the invite links of the space.
|
|
9314
9359
|
edit:
|
|
9315
9360
|
type: boolean
|
|
9316
9361
|
description: Can the user edit the content of the space by creating a change request.
|
|
9362
|
+
triggerGitSync:
|
|
9363
|
+
type: boolean
|
|
9364
|
+
description: Can the user trigger a git sync.
|
|
9317
9365
|
comment:
|
|
9318
9366
|
type: boolean
|
|
9319
9367
|
description: Can the user comment on the content.
|
|
@@ -9324,9 +9372,12 @@ components:
|
|
|
9324
9372
|
type: boolean
|
|
9325
9373
|
description: Can the user review change requests.
|
|
9326
9374
|
required:
|
|
9375
|
+
- view
|
|
9327
9376
|
- access
|
|
9328
9377
|
- admin
|
|
9378
|
+
- viewInviteLinks
|
|
9329
9379
|
- edit
|
|
9380
|
+
- triggerGitSync
|
|
9330
9381
|
- comment
|
|
9331
9382
|
- merge
|
|
9332
9383
|
- review
|
|
@@ -9690,6 +9741,19 @@ components:
|
|
|
9690
9741
|
createdAt:
|
|
9691
9742
|
description: Date at which the team was created.
|
|
9692
9743
|
$ref: "#/components/schemas/Timestamp"
|
|
9744
|
+
permissions:
|
|
9745
|
+
type: object
|
|
9746
|
+
description: The set of permissions for the team
|
|
9747
|
+
properties:
|
|
9748
|
+
admin:
|
|
9749
|
+
type: boolean
|
|
9750
|
+
description: Can the user manage the team
|
|
9751
|
+
view:
|
|
9752
|
+
type: boolean
|
|
9753
|
+
description: Can the user view the team and list its members
|
|
9754
|
+
required:
|
|
9755
|
+
- admin
|
|
9756
|
+
- view
|
|
9693
9757
|
required:
|
|
9694
9758
|
- object
|
|
9695
9759
|
- id
|
|
@@ -9697,6 +9761,7 @@ components:
|
|
|
9697
9761
|
- members
|
|
9698
9762
|
- spaces
|
|
9699
9763
|
- createdAt
|
|
9764
|
+
- permissions
|
|
9700
9765
|
Icon:
|
|
9701
9766
|
type: string
|
|
9702
9767
|
maxLength: 50
|
|
@@ -10062,6 +10127,9 @@ components:
|
|
|
10062
10127
|
- reusable-content
|
|
10063
10128
|
reusableContent:
|
|
10064
10129
|
type: string
|
|
10130
|
+
space:
|
|
10131
|
+
type: string
|
|
10132
|
+
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
10133
|
required:
|
|
10066
10134
|
- kind
|
|
10067
10135
|
- reusableContent
|
|
@@ -11184,6 +11252,12 @@ components:
|
|
|
11184
11252
|
type: boolean
|
|
11185
11253
|
enum:
|
|
11186
11254
|
- true
|
|
11255
|
+
meta:
|
|
11256
|
+
type: object
|
|
11257
|
+
properties:
|
|
11258
|
+
token:
|
|
11259
|
+
description: A content token that can be used to fetch the reusable content from the API.
|
|
11260
|
+
type: string
|
|
11187
11261
|
required:
|
|
11188
11262
|
- object
|
|
11189
11263
|
- type
|
|
@@ -13060,14 +13134,34 @@ components:
|
|
|
13060
13134
|
type: object
|
|
13061
13135
|
description: The set of permissions for the organization
|
|
13062
13136
|
properties:
|
|
13137
|
+
view:
|
|
13138
|
+
type: boolean
|
|
13139
|
+
description: Can the user view the organization.
|
|
13063
13140
|
admin:
|
|
13064
13141
|
type: boolean
|
|
13065
13142
|
description: Can the user manage the title, members, etc.
|
|
13143
|
+
ownTeam:
|
|
13144
|
+
type: boolean
|
|
13145
|
+
description: Is the user a team owner.
|
|
13146
|
+
viewBilling:
|
|
13147
|
+
type: boolean
|
|
13148
|
+
description: Can the user view the billing details of the organization.
|
|
13149
|
+
listMembers:
|
|
13150
|
+
type: boolean
|
|
13151
|
+
description: Can the user list the members of the organization.
|
|
13152
|
+
listTeams:
|
|
13153
|
+
type: boolean
|
|
13154
|
+
description: Can the user list the teams in the organization.
|
|
13066
13155
|
createContent:
|
|
13067
13156
|
type: boolean
|
|
13068
|
-
description: Can the user create new spaces/collections in the organization
|
|
13157
|
+
description: Can the user create new spaces/collections in the organization.
|
|
13158
|
+
listIntegrations:
|
|
13159
|
+
type: boolean
|
|
13160
|
+
description: Can the user list the integrations in the organization.
|
|
13069
13161
|
required:
|
|
13162
|
+
- view
|
|
13070
13163
|
- admin
|
|
13164
|
+
- ownTeam
|
|
13071
13165
|
- createContent
|
|
13072
13166
|
required:
|
|
13073
13167
|
- object
|
|
@@ -13254,14 +13348,22 @@ components:
|
|
|
13254
13348
|
type: object
|
|
13255
13349
|
description: The set of permissions for the collection
|
|
13256
13350
|
properties:
|
|
13351
|
+
view:
|
|
13352
|
+
type: boolean
|
|
13353
|
+
description: Can the user view the collection.
|
|
13257
13354
|
admin:
|
|
13258
13355
|
type: boolean
|
|
13259
13356
|
description: Can the user edit the title/description.
|
|
13357
|
+
viewInviteLinks:
|
|
13358
|
+
type: boolean
|
|
13359
|
+
description: Can the user view the invite links of the collection.
|
|
13260
13360
|
create:
|
|
13261
13361
|
type: boolean
|
|
13262
13362
|
description: Can the user create spaces/collections in this collection.
|
|
13263
13363
|
required:
|
|
13364
|
+
- view
|
|
13264
13365
|
- admin
|
|
13366
|
+
- viewInviteLinks
|
|
13265
13367
|
- create
|
|
13266
13368
|
required:
|
|
13267
13369
|
- object
|
|
@@ -13375,7 +13477,14 @@ components:
|
|
|
13375
13477
|
permissions:
|
|
13376
13478
|
type: object
|
|
13377
13479
|
description: The set of permissions for the OpenAPI specification.
|
|
13480
|
+
required:
|
|
13481
|
+
- view
|
|
13482
|
+
- delete
|
|
13483
|
+
- edit
|
|
13378
13484
|
properties:
|
|
13485
|
+
view:
|
|
13486
|
+
type: boolean
|
|
13487
|
+
description: Can the user view the specification.
|
|
13379
13488
|
edit:
|
|
13380
13489
|
type: boolean
|
|
13381
13490
|
description: Can the user edit the specification.
|
|
@@ -14969,6 +15078,18 @@ components:
|
|
|
14969
15078
|
format: uri
|
|
14970
15079
|
required:
|
|
14971
15080
|
- location
|
|
15081
|
+
permissions:
|
|
15082
|
+
type: object
|
|
15083
|
+
properties:
|
|
15084
|
+
view:
|
|
15085
|
+
type: boolean
|
|
15086
|
+
description: Whether the user can view the object
|
|
15087
|
+
edit:
|
|
15088
|
+
type: boolean
|
|
15089
|
+
description: Whether the user can edit the object
|
|
15090
|
+
required:
|
|
15091
|
+
- view
|
|
15092
|
+
- edit
|
|
14972
15093
|
required:
|
|
14973
15094
|
- id
|
|
14974
15095
|
- name
|
|
@@ -15914,127 +16035,397 @@ components:
|
|
|
15914
16035
|
- $ref: "#/components/schemas/Space"
|
|
15915
16036
|
required:
|
|
15916
16037
|
- space
|
|
15917
|
-
|
|
16038
|
+
SiteType:
|
|
15918
16039
|
type: string
|
|
16040
|
+
description: The type of the site
|
|
15919
16041
|
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:
|
|
16042
|
+
- basic
|
|
16043
|
+
- premium
|
|
16044
|
+
- ultimate
|
|
16045
|
+
- sponsored
|
|
16046
|
+
- legacy-basic
|
|
16047
|
+
- legacy-premium
|
|
16048
|
+
SiteTitle:
|
|
16049
|
+
type: string
|
|
16050
|
+
description: Title of the site
|
|
16051
|
+
minLength: 2
|
|
16052
|
+
maxLength: 128
|
|
16053
|
+
SiteHostname:
|
|
16054
|
+
type: string
|
|
16055
|
+
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
16056
|
+
pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
16057
|
+
maxLength: 512
|
|
16058
|
+
SiteBasename:
|
|
16059
|
+
type: string
|
|
16060
|
+
description: Basename for the site. For e.g. api
|
|
16061
|
+
minLength: 1
|
|
16062
|
+
maxLength: 100
|
|
16063
|
+
SiteProxyOrigin:
|
|
16064
|
+
type: string
|
|
16065
|
+
description: Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.
|
|
16066
|
+
pattern: ^([\w-]+\.)*[\w-]+\.[a-zA-Z]{2,}(\/[\w-]+)+$
|
|
16067
|
+
maxLength: 512
|
|
16068
|
+
SiteProxy:
|
|
15961
16069
|
type: object
|
|
15962
|
-
description: Pressable button triggering an action.
|
|
15963
16070
|
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:
|
|
16071
|
+
origin:
|
|
16072
|
+
$ref: "#/components/schemas/SiteProxyOrigin"
|
|
16073
|
+
target:
|
|
15983
16074
|
type: string
|
|
15984
|
-
|
|
15985
|
-
$ref: "#/components/schemas/ContentKitConfirm"
|
|
15986
|
-
disabled:
|
|
15987
|
-
type: boolean
|
|
16075
|
+
description: The target URL to which the requests at the origin URL should be proxied to.
|
|
15988
16076
|
required:
|
|
15989
|
-
-
|
|
15990
|
-
-
|
|
15991
|
-
|
|
16077
|
+
- origin
|
|
16078
|
+
- target
|
|
16079
|
+
SiteVisibility:
|
|
16080
|
+
type: string
|
|
16081
|
+
description: |
|
|
16082
|
+
The visibility setting of the site determines the audience of the site.
|
|
16083
|
+
* `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
16084
|
+
* `unlisted`: Anyone can access the site, and the site is not indexed by search engines
|
|
16085
|
+
* `share-link`: Anyone with a secret token in the url can access the site.
|
|
16086
|
+
* `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
16087
|
+
enum:
|
|
16088
|
+
- public
|
|
16089
|
+
- unlisted
|
|
16090
|
+
- share-link
|
|
16091
|
+
- visitor-auth
|
|
16092
|
+
SiteAdaptiveContent:
|
|
15992
16093
|
type: object
|
|
15993
|
-
description: Text input to prompt the user.
|
|
15994
16094
|
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:
|
|
16095
|
+
enabled:
|
|
16011
16096
|
type: boolean
|
|
16012
|
-
|
|
16013
|
-
type: string
|
|
16014
|
-
enum:
|
|
16015
|
-
- text
|
|
16016
|
-
- password
|
|
16017
|
-
- email
|
|
16018
|
-
default: text
|
|
16097
|
+
description: Whether adaptive content should be enabled on the site.
|
|
16019
16098
|
required:
|
|
16020
|
-
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
description:
|
|
16099
|
+
- enabled
|
|
16100
|
+
SiteAdsTopic:
|
|
16101
|
+
type: string
|
|
16102
|
+
description: Topic of the content
|
|
16103
|
+
enum:
|
|
16104
|
+
- webdev
|
|
16105
|
+
- crypto
|
|
16106
|
+
SiteAds:
|
|
16024
16107
|
oneOf:
|
|
16025
|
-
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
|
|
16033
|
-
|
|
16034
|
-
|
|
16035
|
-
|
|
16036
|
-
|
|
16037
|
-
-
|
|
16108
|
+
- type: object
|
|
16109
|
+
required:
|
|
16110
|
+
- status
|
|
16111
|
+
- submittable
|
|
16112
|
+
properties:
|
|
16113
|
+
status:
|
|
16114
|
+
type: string
|
|
16115
|
+
enum:
|
|
16116
|
+
- pending
|
|
16117
|
+
submittable:
|
|
16118
|
+
type: boolean
|
|
16119
|
+
description: True if the user can submit the site for review.
|
|
16120
|
+
- type: object
|
|
16121
|
+
required:
|
|
16122
|
+
- status
|
|
16123
|
+
- topic
|
|
16124
|
+
- accountEmail
|
|
16125
|
+
properties:
|
|
16126
|
+
status:
|
|
16127
|
+
type: string
|
|
16128
|
+
enum:
|
|
16129
|
+
- in-review
|
|
16130
|
+
topic:
|
|
16131
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16132
|
+
- type: object
|
|
16133
|
+
required:
|
|
16134
|
+
- status
|
|
16135
|
+
properties:
|
|
16136
|
+
status:
|
|
16137
|
+
type: string
|
|
16138
|
+
enum:
|
|
16139
|
+
- rejected
|
|
16140
|
+
reason:
|
|
16141
|
+
type: string
|
|
16142
|
+
description: Reason for the rejection
|
|
16143
|
+
- type: object
|
|
16144
|
+
required:
|
|
16145
|
+
- status
|
|
16146
|
+
- topic
|
|
16147
|
+
- zoneId
|
|
16148
|
+
properties:
|
|
16149
|
+
status:
|
|
16150
|
+
type: string
|
|
16151
|
+
enum:
|
|
16152
|
+
- live
|
|
16153
|
+
- disabled
|
|
16154
|
+
topic:
|
|
16155
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16156
|
+
zoneId:
|
|
16157
|
+
type: string
|
|
16158
|
+
description: The ad network zone ID
|
|
16159
|
+
SiteCustomizationFeature:
|
|
16160
|
+
type: string
|
|
16161
|
+
description: A list of all premium customizations.
|
|
16162
|
+
enum:
|
|
16163
|
+
- header-logo
|
|
16164
|
+
- theme-preset
|
|
16165
|
+
- premium-fonts
|
|
16166
|
+
- custom-icons
|
|
16167
|
+
- footer-logo
|
|
16168
|
+
- footer-links
|
|
16169
|
+
- footer-copyright
|
|
16170
|
+
- semantic-colors
|
|
16171
|
+
SiteFeature:
|
|
16172
|
+
oneOf:
|
|
16173
|
+
- type: object
|
|
16174
|
+
description: A site feature and the plan it is available on.
|
|
16175
|
+
properties:
|
|
16176
|
+
id:
|
|
16177
|
+
description: The feature identifier, matching the feature table keys in the pricing definition
|
|
16178
|
+
type: string
|
|
16179
|
+
enum:
|
|
16180
|
+
- sites-sections
|
|
16181
|
+
- sites-visitor-authentication
|
|
16182
|
+
- sites-adaptive-content
|
|
16183
|
+
- sites-redirects
|
|
16184
|
+
- sites-custom-domain
|
|
16185
|
+
- sites-ai-search
|
|
16186
|
+
- sites-pdf-export
|
|
16187
|
+
- sites-page-feedback
|
|
16188
|
+
- sites-unlisted-visibility
|
|
16189
|
+
- sites-share-links
|
|
16190
|
+
- sites-custom-fonts
|
|
16191
|
+
plan:
|
|
16192
|
+
$ref: "#/components/schemas/SiteType"
|
|
16193
|
+
frozen:
|
|
16194
|
+
description: A frozen feature is still enabled but cannot be changed or modified.
|
|
16195
|
+
type: boolean
|
|
16196
|
+
required:
|
|
16197
|
+
- id
|
|
16198
|
+
- plan
|
|
16199
|
+
- frozen
|
|
16200
|
+
- type: object
|
|
16201
|
+
description: The advanced customizations feature, carrying also which individual customization are used
|
|
16202
|
+
properties:
|
|
16203
|
+
id:
|
|
16204
|
+
description: The feature identifier, always set to `sites-advanced-customization`
|
|
16205
|
+
type: string
|
|
16206
|
+
enum:
|
|
16207
|
+
- sites-advanced-customization
|
|
16208
|
+
plan:
|
|
16209
|
+
$ref: "#/components/schemas/SiteType"
|
|
16210
|
+
frozen:
|
|
16211
|
+
description: A frozen feature is still enabled but cannot be changed or modified.
|
|
16212
|
+
type: boolean
|
|
16213
|
+
customizations:
|
|
16214
|
+
description: A list of the actual advanced customizations used
|
|
16215
|
+
type: array
|
|
16216
|
+
items:
|
|
16217
|
+
$ref: "#/components/schemas/SiteCustomizationFeature"
|
|
16218
|
+
required:
|
|
16219
|
+
- id
|
|
16220
|
+
- plan
|
|
16221
|
+
- frozen
|
|
16222
|
+
- customizations
|
|
16223
|
+
Site:
|
|
16224
|
+
type: object
|
|
16225
|
+
properties:
|
|
16226
|
+
object:
|
|
16227
|
+
type: string
|
|
16228
|
+
enum:
|
|
16229
|
+
- site
|
|
16230
|
+
id:
|
|
16231
|
+
type: string
|
|
16232
|
+
description: Unique identifier of the site
|
|
16233
|
+
type:
|
|
16234
|
+
$ref: "#/components/schemas/SiteType"
|
|
16235
|
+
title:
|
|
16236
|
+
$ref: "#/components/schemas/SiteTitle"
|
|
16237
|
+
hostname:
|
|
16238
|
+
$ref: "#/components/schemas/SiteHostname"
|
|
16239
|
+
basename:
|
|
16240
|
+
$ref: "#/components/schemas/SiteBasename"
|
|
16241
|
+
proxy:
|
|
16242
|
+
$ref: "#/components/schemas/SiteProxy"
|
|
16243
|
+
visibility:
|
|
16244
|
+
$ref: "#/components/schemas/SiteVisibility"
|
|
16245
|
+
published:
|
|
16246
|
+
type: boolean
|
|
16247
|
+
description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
|
|
16248
|
+
siteSpaces:
|
|
16249
|
+
type: number
|
|
16250
|
+
createdAt:
|
|
16251
|
+
type: string
|
|
16252
|
+
format: date-time
|
|
16253
|
+
adaptiveContent:
|
|
16254
|
+
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
16255
|
+
ads:
|
|
16256
|
+
$ref: "#/components/schemas/SiteAds"
|
|
16257
|
+
features:
|
|
16258
|
+
description: |
|
|
16259
|
+
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.
|
|
16260
|
+
type: array
|
|
16261
|
+
items:
|
|
16262
|
+
$ref: "#/components/schemas/SiteFeature"
|
|
16263
|
+
urls:
|
|
16264
|
+
type: object
|
|
16265
|
+
description: URLs associated with the object
|
|
16266
|
+
properties:
|
|
16267
|
+
location:
|
|
16268
|
+
type: string
|
|
16269
|
+
description: URL of the site in the API
|
|
16270
|
+
format: uri
|
|
16271
|
+
app:
|
|
16272
|
+
type: string
|
|
16273
|
+
description: URL of the site in the application
|
|
16274
|
+
format: uri
|
|
16275
|
+
published:
|
|
16276
|
+
type: string
|
|
16277
|
+
description: URL of the published version of the site. Only defined when site is published.
|
|
16278
|
+
format: uri
|
|
16279
|
+
required:
|
|
16280
|
+
- app
|
|
16281
|
+
- location
|
|
16282
|
+
required:
|
|
16283
|
+
- object
|
|
16284
|
+
- id
|
|
16285
|
+
- type
|
|
16286
|
+
- title
|
|
16287
|
+
- visibility
|
|
16288
|
+
- published
|
|
16289
|
+
- createdAt
|
|
16290
|
+
- siteSpaces
|
|
16291
|
+
- defaultSpace
|
|
16292
|
+
- features
|
|
16293
|
+
- urls
|
|
16294
|
+
IntegrationSiteInstallation:
|
|
16295
|
+
allOf:
|
|
16296
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
16297
|
+
- type: object
|
|
16298
|
+
properties:
|
|
16299
|
+
site:
|
|
16300
|
+
description: The site the integration is installed on. Using the string value is deprecated in favor of site.id
|
|
16301
|
+
oneOf:
|
|
16302
|
+
- type: string
|
|
16303
|
+
- $ref: "#/components/schemas/Site"
|
|
16304
|
+
required:
|
|
16305
|
+
- site
|
|
16306
|
+
ContentKitIcon:
|
|
16307
|
+
type: string
|
|
16308
|
+
enum:
|
|
16309
|
+
- close
|
|
16310
|
+
- edit
|
|
16311
|
+
- github
|
|
16312
|
+
- gitlab
|
|
16313
|
+
- maximize
|
|
16314
|
+
- email
|
|
16315
|
+
- settings
|
|
16316
|
+
- search
|
|
16317
|
+
- delete
|
|
16318
|
+
- star
|
|
16319
|
+
- warning
|
|
16320
|
+
- link
|
|
16321
|
+
- link-external
|
|
16322
|
+
- eye
|
|
16323
|
+
- lock
|
|
16324
|
+
- check
|
|
16325
|
+
- check-circle
|
|
16326
|
+
ContentKitConfirm:
|
|
16327
|
+
type: object
|
|
16328
|
+
description: A confirm object that defines an optional confirmation dialog after the input is clicked.
|
|
16329
|
+
properties:
|
|
16330
|
+
title:
|
|
16331
|
+
type: string
|
|
16332
|
+
description: A text value that defines the dialog's title.
|
|
16333
|
+
maxLength: 100
|
|
16334
|
+
text:
|
|
16335
|
+
type: string
|
|
16336
|
+
description: A text value that defines the explanatory text that appears in the confirm dialog.
|
|
16337
|
+
maxLength: 300
|
|
16338
|
+
confirm:
|
|
16339
|
+
type: string
|
|
16340
|
+
description: A text value to define the text of the button that confirms the action.
|
|
16341
|
+
maxLength: 30
|
|
16342
|
+
style:
|
|
16343
|
+
type: string
|
|
16344
|
+
enum:
|
|
16345
|
+
- primary
|
|
16346
|
+
- danger
|
|
16347
|
+
required:
|
|
16348
|
+
- title
|
|
16349
|
+
- text
|
|
16350
|
+
- confirm
|
|
16351
|
+
ContentKitButton:
|
|
16352
|
+
type: object
|
|
16353
|
+
description: Pressable button triggering an action.
|
|
16354
|
+
properties:
|
|
16355
|
+
type:
|
|
16356
|
+
type: string
|
|
16357
|
+
enum:
|
|
16358
|
+
- button
|
|
16359
|
+
style:
|
|
16360
|
+
type: string
|
|
16361
|
+
enum:
|
|
16362
|
+
- primary
|
|
16363
|
+
- secondary
|
|
16364
|
+
- danger
|
|
16365
|
+
onPress:
|
|
16366
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
16367
|
+
icon:
|
|
16368
|
+
$ref: "#/components/schemas/ContentKitIcon"
|
|
16369
|
+
trailingIcon:
|
|
16370
|
+
$ref: "#/components/schemas/ContentKitIcon"
|
|
16371
|
+
label:
|
|
16372
|
+
type: string
|
|
16373
|
+
tooltip:
|
|
16374
|
+
type: string
|
|
16375
|
+
confirm:
|
|
16376
|
+
$ref: "#/components/schemas/ContentKitConfirm"
|
|
16377
|
+
disabled:
|
|
16378
|
+
type: boolean
|
|
16379
|
+
required:
|
|
16380
|
+
- type
|
|
16381
|
+
- onPress
|
|
16382
|
+
ContentKitTextInput:
|
|
16383
|
+
type: object
|
|
16384
|
+
description: Text input to prompt the user.
|
|
16385
|
+
properties:
|
|
16386
|
+
type:
|
|
16387
|
+
type: string
|
|
16388
|
+
enum:
|
|
16389
|
+
- textinput
|
|
16390
|
+
disabled:
|
|
16391
|
+
type: boolean
|
|
16392
|
+
state:
|
|
16393
|
+
description: State binding. The value of the input will be stored as a property in the state named after this ID.
|
|
16394
|
+
type: string
|
|
16395
|
+
initialValue:
|
|
16396
|
+
description: Text value to initialize the input with.
|
|
16397
|
+
type: string
|
|
16398
|
+
placeholder:
|
|
16399
|
+
description: Text that appears in the form control when it has no value set
|
|
16400
|
+
type: string
|
|
16401
|
+
multiline:
|
|
16402
|
+
type: boolean
|
|
16403
|
+
inputType:
|
|
16404
|
+
type: string
|
|
16405
|
+
enum:
|
|
16406
|
+
- text
|
|
16407
|
+
- password
|
|
16408
|
+
- email
|
|
16409
|
+
default: text
|
|
16410
|
+
required:
|
|
16411
|
+
- type
|
|
16412
|
+
- state
|
|
16413
|
+
ContentKitDescendantElement:
|
|
16414
|
+
description: Any element that can be used as children.
|
|
16415
|
+
oneOf:
|
|
16416
|
+
- $ref: "#/components/schemas/ContentKitButton"
|
|
16417
|
+
- $ref: "#/components/schemas/ContentKitTextInput"
|
|
16418
|
+
- $ref: "#/components/schemas/ContentKitHStack"
|
|
16419
|
+
- $ref: "#/components/schemas/ContentKitVStack"
|
|
16420
|
+
- $ref: "#/components/schemas/ContentKitBox"
|
|
16421
|
+
- $ref: "#/components/schemas/ContentKitDivider"
|
|
16422
|
+
- $ref: "#/components/schemas/ContentKitWebFrame"
|
|
16423
|
+
- $ref: "#/components/schemas/ContentKitCodeBlock"
|
|
16424
|
+
- $ref: "#/components/schemas/ContentKitMarkdown"
|
|
16425
|
+
- $ref: "#/components/schemas/ContentKitCard"
|
|
16426
|
+
- $ref: "#/components/schemas/ContentKitImage"
|
|
16427
|
+
- $ref: "#/components/schemas/ContentKitInput"
|
|
16428
|
+
- $ref: "#/components/schemas/ContentKitSelect"
|
|
16038
16429
|
- $ref: "#/components/schemas/ContentKitSwitch"
|
|
16039
16430
|
- $ref: "#/components/schemas/ContentKitCheckbox"
|
|
16040
16431
|
- $ref: "#/components/schemas/ContentKitRadio"
|
|
@@ -16533,521 +16924,253 @@ components:
|
|
|
16533
16924
|
- element
|
|
16534
16925
|
ContentKitHint:
|
|
16535
16926
|
type: object
|
|
16536
|
-
description: Element used to contextualize other elements or info.
|
|
16537
|
-
properties:
|
|
16538
|
-
type:
|
|
16539
|
-
type: string
|
|
16540
|
-
enum:
|
|
16541
|
-
- hint
|
|
16542
|
-
children:
|
|
16543
|
-
type: array
|
|
16544
|
-
items:
|
|
16545
|
-
$ref: "#/components/schemas/ContentKitInlineElement"
|
|
16546
|
-
required:
|
|
16547
|
-
- type
|
|
16548
|
-
- children
|
|
16549
|
-
ContentKitStepperStep:
|
|
16550
|
-
type: object
|
|
16551
|
-
properties:
|
|
16552
|
-
type:
|
|
16553
|
-
type: string
|
|
16554
|
-
enum:
|
|
16555
|
-
- step
|
|
16556
|
-
id:
|
|
16557
|
-
description: unique identifier for the step
|
|
16558
|
-
type: string
|
|
16559
|
-
title:
|
|
16560
|
-
description: title of the step
|
|
16561
|
-
type: string
|
|
16562
|
-
maxLength: 50
|
|
16563
|
-
next:
|
|
16564
|
-
description: indicates if the user can progress to the next step based on some internal validation or condition
|
|
16565
|
-
type: boolean
|
|
16566
|
-
default: false
|
|
16567
|
-
children:
|
|
16568
|
-
type: array
|
|
16569
|
-
items:
|
|
16570
|
-
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16571
|
-
minItems: 1
|
|
16572
|
-
required:
|
|
16573
|
-
- type
|
|
16574
|
-
- id
|
|
16575
|
-
- children
|
|
16576
|
-
ContentKitBlockControl:
|
|
16577
|
-
type: object
|
|
16578
|
-
description: Control menu item displayed for the block.
|
|
16579
|
-
properties:
|
|
16580
|
-
icon:
|
|
16581
|
-
$ref: "#/components/schemas/ContentKitIcon"
|
|
16582
|
-
label:
|
|
16583
|
-
type: string
|
|
16584
|
-
onPress:
|
|
16585
|
-
$ref: "#/components/schemas/ContentKitAction"
|
|
16586
|
-
confirm:
|
|
16587
|
-
$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
|
|
16927
|
+
description: Element used to contextualize other elements or info.
|
|
16770
16928
|
properties:
|
|
16771
|
-
|
|
16929
|
+
type:
|
|
16772
16930
|
type: string
|
|
16773
|
-
|
|
16931
|
+
enum:
|
|
16932
|
+
- hint
|
|
16933
|
+
children:
|
|
16934
|
+
type: array
|
|
16935
|
+
items:
|
|
16936
|
+
$ref: "#/components/schemas/ContentKitInlineElement"
|
|
16774
16937
|
required:
|
|
16775
|
-
-
|
|
16776
|
-
|
|
16938
|
+
- type
|
|
16939
|
+
- children
|
|
16940
|
+
ContentKitStepperStep:
|
|
16777
16941
|
type: object
|
|
16778
16942
|
properties:
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
|
|
16783
|
-
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
|
|
16788
|
-
|
|
16789
|
-
|
|
16790
|
-
|
|
16791
|
-
|
|
16792
|
-
|
|
16793
|
-
|
|
16794
|
-
|
|
16795
|
-
|
|
16796
|
-
|
|
16797
|
-
|
|
16798
|
-
|
|
16799
|
-
|
|
16800
|
-
|
|
16801
|
-
|
|
16802
|
-
|
|
16803
|
-
|
|
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:
|
|
16943
|
+
type:
|
|
16944
|
+
type: string
|
|
16945
|
+
enum:
|
|
16946
|
+
- step
|
|
16947
|
+
id:
|
|
16948
|
+
description: unique identifier for the step
|
|
16949
|
+
type: string
|
|
16950
|
+
title:
|
|
16951
|
+
description: title of the step
|
|
16952
|
+
type: string
|
|
16953
|
+
maxLength: 50
|
|
16954
|
+
next:
|
|
16955
|
+
description: indicates if the user can progress to the next step based on some internal validation or condition
|
|
16956
|
+
type: boolean
|
|
16957
|
+
default: false
|
|
16958
|
+
children:
|
|
16959
|
+
type: array
|
|
16960
|
+
items:
|
|
16961
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16962
|
+
minItems: 1
|
|
16963
|
+
required:
|
|
16964
|
+
- type
|
|
16965
|
+
- id
|
|
16966
|
+
- children
|
|
16967
|
+
ContentKitBlockControl:
|
|
16814
16968
|
type: object
|
|
16969
|
+
description: Control menu item displayed for the block.
|
|
16815
16970
|
properties:
|
|
16816
|
-
|
|
16817
|
-
$ref: "#/components/schemas/
|
|
16818
|
-
|
|
16971
|
+
icon:
|
|
16972
|
+
$ref: "#/components/schemas/ContentKitIcon"
|
|
16973
|
+
label:
|
|
16819
16974
|
type: string
|
|
16820
|
-
|
|
16975
|
+
onPress:
|
|
16976
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
16977
|
+
confirm:
|
|
16978
|
+
$ref: "#/components/schemas/ContentKitConfirm"
|
|
16821
16979
|
required:
|
|
16822
|
-
-
|
|
16823
|
-
-
|
|
16824
|
-
|
|
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:
|
|
16980
|
+
- label
|
|
16981
|
+
- onPress
|
|
16982
|
+
ContentKitBlock:
|
|
16838
16983
|
type: object
|
|
16984
|
+
description: Higher level element to represent a custom block.
|
|
16839
16985
|
properties:
|
|
16840
|
-
|
|
16841
|
-
type:
|
|
16842
|
-
|
|
16986
|
+
type:
|
|
16987
|
+
type: string
|
|
16988
|
+
enum:
|
|
16989
|
+
- block
|
|
16990
|
+
children:
|
|
16991
|
+
type: array
|
|
16992
|
+
items:
|
|
16993
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
16994
|
+
controls:
|
|
16995
|
+
type: array
|
|
16996
|
+
items:
|
|
16997
|
+
oneOf:
|
|
16998
|
+
- $ref: "#/components/schemas/ContentKitBlockControl"
|
|
16999
|
+
- type: array
|
|
17000
|
+
items:
|
|
17001
|
+
$ref: "#/components/schemas/ContentKitBlockControl"
|
|
16843
17002
|
required:
|
|
16844
|
-
-
|
|
16845
|
-
|
|
16846
|
-
|
|
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:
|
|
17003
|
+
- type
|
|
17004
|
+
- children
|
|
17005
|
+
ContentKitModal:
|
|
16969
17006
|
type: object
|
|
17007
|
+
description: Overlay modal.
|
|
16970
17008
|
properties:
|
|
16971
|
-
|
|
17009
|
+
type:
|
|
16972
17010
|
type: string
|
|
16973
17011
|
enum:
|
|
16974
|
-
-
|
|
16975
|
-
|
|
17012
|
+
- modal
|
|
17013
|
+
title:
|
|
16976
17014
|
type: string
|
|
16977
|
-
|
|
17015
|
+
subtitle:
|
|
17016
|
+
type: array
|
|
17017
|
+
items:
|
|
17018
|
+
$ref: "#/components/schemas/ContentKitInlineElement"
|
|
17019
|
+
size:
|
|
17020
|
+
type: string
|
|
17021
|
+
enum:
|
|
17022
|
+
- medium
|
|
17023
|
+
- xlarge
|
|
17024
|
+
- fullscreen
|
|
17025
|
+
returnValue:
|
|
17026
|
+
description: Data passed back to the parent view when the modal is closed. These data are accessible in the "@ui.modal.close"
|
|
17027
|
+
type: object
|
|
17028
|
+
children:
|
|
17029
|
+
type: array
|
|
17030
|
+
items:
|
|
17031
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
17032
|
+
submit:
|
|
17033
|
+
$ref: "#/components/schemas/ContentKitButton"
|
|
17034
|
+
required:
|
|
17035
|
+
- type
|
|
17036
|
+
- children
|
|
17037
|
+
ContentKitStepper:
|
|
17038
|
+
type: object
|
|
17039
|
+
properties:
|
|
16978
17040
|
type:
|
|
16979
|
-
$ref: "#/components/schemas/SiteType"
|
|
16980
|
-
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
17041
|
type: string
|
|
16997
|
-
|
|
16998
|
-
|
|
16999
|
-
|
|
17000
|
-
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17042
|
+
enum:
|
|
17043
|
+
- stepper
|
|
17044
|
+
activeStep:
|
|
17045
|
+
type: string
|
|
17046
|
+
description: id of the currently active step
|
|
17047
|
+
onStepChange:
|
|
17048
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
17049
|
+
onComplete:
|
|
17050
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
17051
|
+
children:
|
|
17005
17052
|
type: array
|
|
17006
17053
|
items:
|
|
17007
|
-
$ref: "#/components/schemas/
|
|
17008
|
-
|
|
17054
|
+
$ref: "#/components/schemas/ContentKitStepperStep"
|
|
17055
|
+
minItems: 1
|
|
17056
|
+
required:
|
|
17057
|
+
- type
|
|
17058
|
+
- activeStep
|
|
17059
|
+
- onStepChange
|
|
17060
|
+
- onComplete
|
|
17061
|
+
- children
|
|
17062
|
+
ContentKitConfiguration:
|
|
17063
|
+
type: object
|
|
17064
|
+
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.
|
|
17065
|
+
properties:
|
|
17066
|
+
type:
|
|
17067
|
+
type: string
|
|
17068
|
+
enum:
|
|
17069
|
+
- configuration
|
|
17070
|
+
children:
|
|
17071
|
+
oneOf:
|
|
17072
|
+
- type: array
|
|
17073
|
+
items:
|
|
17074
|
+
$ref: "#/components/schemas/ContentKitStepper"
|
|
17075
|
+
minItems: 1
|
|
17076
|
+
maxItems: 1
|
|
17077
|
+
- type: array
|
|
17078
|
+
items:
|
|
17079
|
+
$ref: "#/components/schemas/ContentKitDescendantElement"
|
|
17080
|
+
minItems: 1
|
|
17081
|
+
required:
|
|
17082
|
+
- type
|
|
17083
|
+
- children
|
|
17084
|
+
ContentKitRootElement:
|
|
17085
|
+
description: Element used as root
|
|
17086
|
+
oneOf:
|
|
17087
|
+
- $ref: "#/components/schemas/ContentKitBlock"
|
|
17088
|
+
- $ref: "#/components/schemas/ContentKitModal"
|
|
17089
|
+
- $ref: "#/components/schemas/ContentKitConfiguration"
|
|
17090
|
+
discriminator:
|
|
17091
|
+
propertyName: type
|
|
17092
|
+
ContentKitRenderOutputElement:
|
|
17093
|
+
type: object
|
|
17094
|
+
description: Output of type element in the lifecycle of the component.
|
|
17095
|
+
properties:
|
|
17096
|
+
type:
|
|
17097
|
+
type: string
|
|
17098
|
+
enum:
|
|
17099
|
+
- element
|
|
17100
|
+
element:
|
|
17101
|
+
$ref: "#/components/schemas/ContentKitRootElement"
|
|
17102
|
+
state:
|
|
17103
|
+
type: object
|
|
17104
|
+
props:
|
|
17105
|
+
$ref: "#/components/schemas/PlainObject"
|
|
17106
|
+
required:
|
|
17107
|
+
- element
|
|
17108
|
+
- state
|
|
17109
|
+
- props
|
|
17110
|
+
ContentKitRenderOutputComplete:
|
|
17111
|
+
type: object
|
|
17112
|
+
description: Output of completed lifecycle of the component.
|
|
17113
|
+
properties:
|
|
17114
|
+
type:
|
|
17115
|
+
type: string
|
|
17116
|
+
enum:
|
|
17117
|
+
- complete
|
|
17118
|
+
returnValue:
|
|
17009
17119
|
type: object
|
|
17010
|
-
description: URLs associated with the object
|
|
17011
|
-
properties:
|
|
17012
|
-
location:
|
|
17013
|
-
type: string
|
|
17014
|
-
description: URL of the site in the API
|
|
17015
|
-
format: uri
|
|
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
|
|
17027
17120
|
required:
|
|
17028
|
-
- object
|
|
17029
|
-
- id
|
|
17030
17121
|
- type
|
|
17031
|
-
|
|
17032
|
-
|
|
17033
|
-
|
|
17034
|
-
|
|
17035
|
-
-
|
|
17036
|
-
-
|
|
17037
|
-
|
|
17038
|
-
|
|
17039
|
-
|
|
17040
|
-
|
|
17041
|
-
|
|
17042
|
-
|
|
17043
|
-
|
|
17044
|
-
|
|
17045
|
-
|
|
17046
|
-
|
|
17047
|
-
|
|
17048
|
-
|
|
17049
|
-
|
|
17050
|
-
|
|
17122
|
+
ContentKitRenderOutput:
|
|
17123
|
+
type: object
|
|
17124
|
+
description: Output of the integration when rendering a UI.
|
|
17125
|
+
oneOf:
|
|
17126
|
+
- $ref: "#/components/schemas/ContentKitRenderOutputElement"
|
|
17127
|
+
- $ref: "#/components/schemas/ContentKitRenderOutputComplete"
|
|
17128
|
+
RenderIntegrationUI:
|
|
17129
|
+
type: object
|
|
17130
|
+
properties:
|
|
17131
|
+
componentId:
|
|
17132
|
+
type: string
|
|
17133
|
+
description: ID of the component to render in the integration.
|
|
17134
|
+
props:
|
|
17135
|
+
description: Current properties of the UI.
|
|
17136
|
+
$ref: "#/components/schemas/PlainObject"
|
|
17137
|
+
state:
|
|
17138
|
+
type: object
|
|
17139
|
+
description: Current local state of the UI.
|
|
17140
|
+
context:
|
|
17141
|
+
$ref: "#/components/schemas/ContentKitContext"
|
|
17142
|
+
action:
|
|
17143
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
17144
|
+
required:
|
|
17145
|
+
- componentId
|
|
17146
|
+
- props
|
|
17147
|
+
- context
|
|
17148
|
+
UpdateIntegrationInstallation:
|
|
17149
|
+
type: object
|
|
17150
|
+
properties:
|
|
17151
|
+
externalIds:
|
|
17152
|
+
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
17153
|
+
configuration:
|
|
17154
|
+
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
17155
|
+
space_selection:
|
|
17156
|
+
$ref: "#/components/schemas/IntegrationInstallationSpaceSelection"
|
|
17157
|
+
site_selection:
|
|
17158
|
+
$ref: "#/components/schemas/IntegrationInstallationSiteSelection"
|
|
17159
|
+
APITemporaryToken:
|
|
17160
|
+
type: object
|
|
17161
|
+
properties:
|
|
17162
|
+
token:
|
|
17163
|
+
type: string
|
|
17164
|
+
description: Temporary access token to authenticate with the API
|
|
17165
|
+
required:
|
|
17166
|
+
- token
|
|
17167
|
+
UpdateIntegrationSpaceInstallation:
|
|
17168
|
+
type: object
|
|
17169
|
+
properties:
|
|
17170
|
+
externalIds:
|
|
17171
|
+
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
17172
|
+
configuration:
|
|
17173
|
+
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
17051
17174
|
UpdateIntegrationSiteInstallation:
|
|
17052
17175
|
type: object
|
|
17053
17176
|
properties:
|
|
@@ -17378,9 +17501,19 @@ components:
|
|
|
17378
17501
|
team:
|
|
17379
17502
|
description: User information as a team member
|
|
17380
17503
|
$ref: "#/components/schemas/TeamMember"
|
|
17504
|
+
permissions:
|
|
17505
|
+
type: object
|
|
17506
|
+
description: The set of permissions for the team member
|
|
17507
|
+
properties:
|
|
17508
|
+
view:
|
|
17509
|
+
type: boolean
|
|
17510
|
+
description: Can the user view the team member
|
|
17511
|
+
required:
|
|
17512
|
+
- view
|
|
17381
17513
|
required:
|
|
17382
17514
|
- organization
|
|
17383
17515
|
- team
|
|
17516
|
+
- permissions
|
|
17384
17517
|
UpdateMembersInOrganizationTeam:
|
|
17385
17518
|
type: object
|
|
17386
17519
|
properties:
|
|
@@ -18078,6 +18211,15 @@ components:
|
|
|
18078
18211
|
$ref: "#/components/schemas/OrganizationUsageMembers"
|
|
18079
18212
|
teamMembers:
|
|
18080
18213
|
$ref: "#/components/schemas/OrganizationUsageTeamMembers"
|
|
18214
|
+
permissions:
|
|
18215
|
+
type: object
|
|
18216
|
+
description: The set of permissions for the organization's usage.
|
|
18217
|
+
required:
|
|
18218
|
+
- view
|
|
18219
|
+
properties:
|
|
18220
|
+
view:
|
|
18221
|
+
type: boolean
|
|
18222
|
+
description: Can the user view the organization's usage.
|
|
18081
18223
|
required:
|
|
18082
18224
|
- spaces
|
|
18083
18225
|
- collections
|
|
@@ -18085,6 +18227,7 @@ components:
|
|
|
18085
18227
|
- teams
|
|
18086
18228
|
- members
|
|
18087
18229
|
- teamMembers
|
|
18230
|
+
- permissions
|
|
18088
18231
|
SearchAIQuery:
|
|
18089
18232
|
type: object
|
|
18090
18233
|
properties:
|
|
@@ -18220,11 +18363,7 @@ components:
|
|
|
18220
18363
|
location:
|
|
18221
18364
|
description: URL of the OpenAPI specification version in the API
|
|
18222
18365
|
$ref: "#/components/schemas/URL"
|
|
18223
|
-
app:
|
|
18224
|
-
description: URL of the OpenAPI specification version in the application
|
|
18225
|
-
$ref: "#/components/schemas/URL"
|
|
18226
18366
|
required:
|
|
18227
|
-
- app
|
|
18228
18367
|
- location
|
|
18229
18368
|
required:
|
|
18230
18369
|
- object
|
|
@@ -18273,10 +18412,14 @@ components:
|
|
|
18273
18412
|
permissions:
|
|
18274
18413
|
type: object
|
|
18275
18414
|
properties:
|
|
18415
|
+
view:
|
|
18416
|
+
type: boolean
|
|
18417
|
+
description: Whether the user can view the object
|
|
18276
18418
|
edit:
|
|
18277
18419
|
type: boolean
|
|
18278
18420
|
description: Whether the user can edit the object
|
|
18279
18421
|
required:
|
|
18422
|
+
- view
|
|
18280
18423
|
- edit
|
|
18281
18424
|
urls:
|
|
18282
18425
|
type: object
|
|
@@ -18401,7 +18544,7 @@ components:
|
|
|
18401
18544
|
required:
|
|
18402
18545
|
- weight
|
|
18403
18546
|
- sources
|
|
18404
|
-
|
|
18547
|
+
CustomizationFontDefinitionInput:
|
|
18405
18548
|
type: object
|
|
18406
18549
|
description: Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.
|
|
18407
18550
|
properties:
|
|
@@ -18424,6 +18567,22 @@ components:
|
|
|
18424
18567
|
- custom
|
|
18425
18568
|
- fontFamily
|
|
18426
18569
|
- fontFaces
|
|
18570
|
+
CustomizationFontDefinition:
|
|
18571
|
+
allOf:
|
|
18572
|
+
- $ref: "#/components/schemas/CustomizationFontDefinitionInput"
|
|
18573
|
+
- type: object
|
|
18574
|
+
properties:
|
|
18575
|
+
permissions:
|
|
18576
|
+
type: object
|
|
18577
|
+
description: The set of permissions for the font definition
|
|
18578
|
+
properties:
|
|
18579
|
+
edit:
|
|
18580
|
+
type: boolean
|
|
18581
|
+
description: Can the user edit the font definition
|
|
18582
|
+
required:
|
|
18583
|
+
- edit
|
|
18584
|
+
required:
|
|
18585
|
+
- permissions
|
|
18427
18586
|
StorageFileKey:
|
|
18428
18587
|
type: string
|
|
18429
18588
|
description: The path of the file in the storage bucket
|
|
@@ -18699,7 +18858,7 @@ components:
|
|
|
18699
18858
|
CustomizationFont:
|
|
18700
18859
|
oneOf:
|
|
18701
18860
|
- $ref: "#/components/schemas/CustomizationDefaultFont"
|
|
18702
|
-
- $ref: "#/components/schemas/
|
|
18861
|
+
- $ref: "#/components/schemas/CustomizationFontDefinitionInput"
|
|
18703
18862
|
CustomizationBackground:
|
|
18704
18863
|
type: string
|
|
18705
18864
|
enum:
|