@gitbook/api 0.74.0 → 0.76.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 +607 -375
- package/dist/index.cjs +84 -40
- package/dist/index.js +82 -40
- package/package.json +1 -1
- package/spec/openapi.json +1741 -1018
- package/spec/openapi.yaml +984 -524
package/spec/openapi.yaml
CHANGED
|
@@ -189,6 +189,7 @@ paths:
|
|
|
189
189
|
summary: Get a user by its ID
|
|
190
190
|
tags:
|
|
191
191
|
- users
|
|
192
|
+
- critical
|
|
192
193
|
security:
|
|
193
194
|
- user: []
|
|
194
195
|
description: |
|
|
@@ -210,6 +211,7 @@ paths:
|
|
|
210
211
|
summary: Get the details about a space.
|
|
211
212
|
tags:
|
|
212
213
|
- spaces
|
|
214
|
+
- critical
|
|
213
215
|
security:
|
|
214
216
|
- user: []
|
|
215
217
|
parameters:
|
|
@@ -1247,7 +1249,13 @@ paths:
|
|
|
1247
1249
|
schema:
|
|
1248
1250
|
$ref: "#/components/schemas/ChangeRequestStatus"
|
|
1249
1251
|
default: open
|
|
1250
|
-
description: If defined, only change requests matching this status will be returned
|
|
1252
|
+
description: If defined, only change requests matching this status will be returned.
|
|
1253
|
+
- name: contributor
|
|
1254
|
+
in: query
|
|
1255
|
+
required: false
|
|
1256
|
+
schema:
|
|
1257
|
+
type: string
|
|
1258
|
+
description: If defined, only change requests with contributions from this user will be returned.
|
|
1251
1259
|
responses:
|
|
1252
1260
|
"200":
|
|
1253
1261
|
description: List of the space's change requests
|
|
@@ -3651,6 +3659,12 @@ paths:
|
|
|
3651
3659
|
description: External Id to filter by
|
|
3652
3660
|
schema:
|
|
3653
3661
|
type: string
|
|
3662
|
+
- name: extended
|
|
3663
|
+
in: query
|
|
3664
|
+
description: If true, returns the space object in each items. If false, returns the space ID in each items.
|
|
3665
|
+
schema:
|
|
3666
|
+
type: boolean
|
|
3667
|
+
default: false
|
|
3654
3668
|
responses:
|
|
3655
3669
|
"200":
|
|
3656
3670
|
description: OK
|
|
@@ -3902,6 +3916,12 @@ paths:
|
|
|
3902
3916
|
- $ref: "#/components/parameters/installationId"
|
|
3903
3917
|
- $ref: "#/components/parameters/listPage"
|
|
3904
3918
|
- $ref: "#/components/parameters/listLimit"
|
|
3919
|
+
- name: extended
|
|
3920
|
+
in: query
|
|
3921
|
+
description: If true, returns the space object in each items. If false, returns the space ID in each items.
|
|
3922
|
+
schema:
|
|
3923
|
+
type: boolean
|
|
3924
|
+
default: false
|
|
3905
3925
|
responses:
|
|
3906
3926
|
"200":
|
|
3907
3927
|
description: OK
|
|
@@ -3926,6 +3946,12 @@ paths:
|
|
|
3926
3946
|
parameters:
|
|
3927
3947
|
- $ref: "#/components/parameters/integrationName"
|
|
3928
3948
|
- $ref: "#/components/parameters/installationId"
|
|
3949
|
+
- name: extended
|
|
3950
|
+
in: query
|
|
3951
|
+
description: If true, returns the space object in each items. If false, returns the space ID in each items.
|
|
3952
|
+
schema:
|
|
3953
|
+
type: boolean
|
|
3954
|
+
default: false
|
|
3929
3955
|
requestBody:
|
|
3930
3956
|
required: true
|
|
3931
3957
|
content:
|
|
@@ -3964,6 +3990,12 @@ paths:
|
|
|
3964
3990
|
- $ref: "#/components/parameters/integrationName"
|
|
3965
3991
|
- $ref: "#/components/parameters/installationId"
|
|
3966
3992
|
- $ref: "#/components/parameters/spaceId"
|
|
3993
|
+
- name: extended
|
|
3994
|
+
in: query
|
|
3995
|
+
description: If true, returns the space object in each items. If false, returns the space ID in each items.
|
|
3996
|
+
schema:
|
|
3997
|
+
type: boolean
|
|
3998
|
+
default: false
|
|
3967
3999
|
responses:
|
|
3968
4000
|
"200":
|
|
3969
4001
|
description: Integration space installation
|
|
@@ -3982,6 +4014,12 @@ paths:
|
|
|
3982
4014
|
- $ref: "#/components/parameters/integrationName"
|
|
3983
4015
|
- $ref: "#/components/parameters/installationId"
|
|
3984
4016
|
- $ref: "#/components/parameters/spaceId"
|
|
4017
|
+
- name: extended
|
|
4018
|
+
in: query
|
|
4019
|
+
description: If true, returns the space object in each items. If false, returns the space ID in each items.
|
|
4020
|
+
schema:
|
|
4021
|
+
type: boolean
|
|
4022
|
+
default: false
|
|
3985
4023
|
responses:
|
|
3986
4024
|
"200":
|
|
3987
4025
|
description: The space installation has been updated.
|
|
@@ -4020,6 +4058,12 @@ paths:
|
|
|
4020
4058
|
- $ref: "#/components/parameters/installationId"
|
|
4021
4059
|
- $ref: "#/components/parameters/listPage"
|
|
4022
4060
|
- $ref: "#/components/parameters/listLimit"
|
|
4061
|
+
- name: extended
|
|
4062
|
+
in: query
|
|
4063
|
+
description: If true, returns the site object in each items. If false, returns the site ID in each items.
|
|
4064
|
+
schema:
|
|
4065
|
+
type: boolean
|
|
4066
|
+
default: false
|
|
4023
4067
|
responses:
|
|
4024
4068
|
"200":
|
|
4025
4069
|
description: OK
|
|
@@ -4046,6 +4090,12 @@ paths:
|
|
|
4046
4090
|
parameters:
|
|
4047
4091
|
- $ref: "#/components/parameters/integrationName"
|
|
4048
4092
|
- $ref: "#/components/parameters/installationId"
|
|
4093
|
+
- name: extended
|
|
4094
|
+
in: query
|
|
4095
|
+
description: If true, returns the site object in each items. If false, returns the site ID in each items.
|
|
4096
|
+
schema:
|
|
4097
|
+
type: boolean
|
|
4098
|
+
default: false
|
|
4049
4099
|
requestBody:
|
|
4050
4100
|
required: true
|
|
4051
4101
|
content:
|
|
@@ -4084,6 +4134,12 @@ paths:
|
|
|
4084
4134
|
- $ref: "#/components/parameters/integrationName"
|
|
4085
4135
|
- $ref: "#/components/parameters/installationId"
|
|
4086
4136
|
- $ref: "#/components/parameters/siteId"
|
|
4137
|
+
- name: extended
|
|
4138
|
+
in: query
|
|
4139
|
+
description: If true, returns the site object in each items. If false, returns the site ID in each items.
|
|
4140
|
+
schema:
|
|
4141
|
+
type: boolean
|
|
4142
|
+
default: false
|
|
4087
4143
|
responses:
|
|
4088
4144
|
"200":
|
|
4089
4145
|
description: Integration site installation
|
|
@@ -4102,6 +4158,12 @@ paths:
|
|
|
4102
4158
|
- $ref: "#/components/parameters/integrationName"
|
|
4103
4159
|
- $ref: "#/components/parameters/installationId"
|
|
4104
4160
|
- $ref: "#/components/parameters/siteId"
|
|
4161
|
+
- name: extended
|
|
4162
|
+
in: query
|
|
4163
|
+
description: If true, returns the site object in each items. If false, returns the site ID in each items.
|
|
4164
|
+
schema:
|
|
4165
|
+
type: boolean
|
|
4166
|
+
default: false
|
|
4105
4167
|
responses:
|
|
4106
4168
|
"200":
|
|
4107
4169
|
description: The site installation has been updated.
|
|
@@ -4190,6 +4252,7 @@ paths:
|
|
|
4190
4252
|
summary: Get an organization by its ID
|
|
4191
4253
|
tags:
|
|
4192
4254
|
- organizations
|
|
4255
|
+
- critical
|
|
4193
4256
|
security:
|
|
4194
4257
|
- user: []
|
|
4195
4258
|
parameters:
|
|
@@ -4265,6 +4328,8 @@ paths:
|
|
|
4265
4328
|
type: boolean
|
|
4266
4329
|
ai:
|
|
4267
4330
|
type: boolean
|
|
4331
|
+
inviteLinks:
|
|
4332
|
+
type: boolean
|
|
4268
4333
|
responses:
|
|
4269
4334
|
"200":
|
|
4270
4335
|
description: The organization has been updated
|
|
@@ -4277,6 +4342,27 @@ paths:
|
|
|
4277
4342
|
$ref: "#/components/responses/BadRequestError"
|
|
4278
4343
|
default:
|
|
4279
4344
|
$ref: "#/components/responses/UnexpectedError"
|
|
4345
|
+
"/orgs/{organizationId}/content":
|
|
4346
|
+
get:
|
|
4347
|
+
operationId: getOrganizationAllContent
|
|
4348
|
+
summary: List all content in an organization
|
|
4349
|
+
description: |
|
|
4350
|
+
Lists all spaces, collections, sites accessible by current user in the current organization. This endpoint is internal for now as the data structure is optimized for the sidebar.
|
|
4351
|
+
tags:
|
|
4352
|
+
- organizations
|
|
4353
|
+
security:
|
|
4354
|
+
- user-internal: []
|
|
4355
|
+
parameters:
|
|
4356
|
+
- $ref: "#/components/parameters/organizationId"
|
|
4357
|
+
responses:
|
|
4358
|
+
"200":
|
|
4359
|
+
description: OK
|
|
4360
|
+
content:
|
|
4361
|
+
application/json:
|
|
4362
|
+
schema:
|
|
4363
|
+
$ref: "#/components/schemas/OrganizationAllContent"
|
|
4364
|
+
default:
|
|
4365
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
4280
4366
|
"/orgs/{organizationId}/members":
|
|
4281
4367
|
get:
|
|
4282
4368
|
operationId: listMembersInOrganizationById
|
|
@@ -5008,6 +5094,7 @@ paths:
|
|
|
5008
5094
|
application/json:
|
|
5009
5095
|
schema:
|
|
5010
5096
|
$ref: "#/components/schemas/UpgradeOrganizationBilling"
|
|
5097
|
+
"/orgs/{organizationId}/billing/portal":
|
|
5011
5098
|
get:
|
|
5012
5099
|
operationId: getOrganizationBillingPortal
|
|
5013
5100
|
summary: Get the billing portal for an organization
|
|
@@ -6462,6 +6549,7 @@ paths:
|
|
|
6462
6549
|
summary: List all the sites created in an organization
|
|
6463
6550
|
tags:
|
|
6464
6551
|
- sites
|
|
6552
|
+
- critical
|
|
6465
6553
|
security:
|
|
6466
6554
|
- user: []
|
|
6467
6555
|
parameters:
|
|
@@ -6660,6 +6748,30 @@ paths:
|
|
|
6660
6748
|
description: Site has been deleted
|
|
6661
6749
|
default:
|
|
6662
6750
|
$ref: "#/components/responses/UnexpectedError"
|
|
6751
|
+
"/orgs/{organizationId}/sites/{siteId}/published":
|
|
6752
|
+
get:
|
|
6753
|
+
operationId: getPublishedContentSite
|
|
6754
|
+
summary: Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.
|
|
6755
|
+
tags:
|
|
6756
|
+
- sites
|
|
6757
|
+
security:
|
|
6758
|
+
- user: []
|
|
6759
|
+
parameters:
|
|
6760
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6761
|
+
- $ref: "#/components/parameters/siteId"
|
|
6762
|
+
- $ref: "#/components/parameters/siteShareKey"
|
|
6763
|
+
responses:
|
|
6764
|
+
"200":
|
|
6765
|
+
description: OK
|
|
6766
|
+
content:
|
|
6767
|
+
application/json:
|
|
6768
|
+
schema:
|
|
6769
|
+
$ref: "#/components/schemas/PublishedContentSite"
|
|
6770
|
+
"404":
|
|
6771
|
+
description: No matching site found
|
|
6772
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6773
|
+
default:
|
|
6774
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6663
6775
|
"/orgs/{organizationId}/sites/{siteId}/publish":
|
|
6664
6776
|
post:
|
|
6665
6777
|
operationId: publishSite
|
|
@@ -6878,6 +6990,9 @@ paths:
|
|
|
6878
6990
|
interval:
|
|
6879
6991
|
description: Desired interval for new subscriptions. Defaults to the existing billing interval.
|
|
6880
6992
|
$ref: "#/components/schemas/BillingInterval"
|
|
6993
|
+
reason:
|
|
6994
|
+
type: string
|
|
6995
|
+
description: Reason that triggered the billing upgrade
|
|
6881
6996
|
required:
|
|
6882
6997
|
- plan
|
|
6883
6998
|
responses:
|
|
@@ -6922,6 +7037,16 @@ paths:
|
|
|
6922
7037
|
type: string
|
|
6923
7038
|
enum:
|
|
6924
7039
|
- success
|
|
7040
|
+
outcome:
|
|
7041
|
+
description: |
|
|
7042
|
+
* `upgraded`: Subscription was upgraded to include the site
|
|
7043
|
+
* `downgraded`: Subscription was downgraded by removing the site
|
|
7044
|
+
* `no-payment-changes`: No impact on subscription (e.g. trial, unpublished)
|
|
7045
|
+
type: object
|
|
7046
|
+
enum:
|
|
7047
|
+
- upgraded
|
|
7048
|
+
- downgraded
|
|
7049
|
+
- no-payment-changes
|
|
6925
7050
|
default:
|
|
6926
7051
|
$ref: "#/components/responses/UnexpectedError"
|
|
6927
7052
|
get:
|
|
@@ -7228,6 +7353,7 @@ paths:
|
|
|
7228
7353
|
summary: List all the site spaces under a site in an organization
|
|
7229
7354
|
tags:
|
|
7230
7355
|
- sites
|
|
7356
|
+
- critical
|
|
7231
7357
|
security:
|
|
7232
7358
|
- user: []
|
|
7233
7359
|
parameters:
|
|
@@ -8026,6 +8152,74 @@ paths:
|
|
|
8026
8152
|
application/json:
|
|
8027
8153
|
schema:
|
|
8028
8154
|
$ref: "#/components/schemas/SiteTrackPageView"
|
|
8155
|
+
"/orgs/{organizationId}/sites/{siteId}/insights/ads":
|
|
8156
|
+
get:
|
|
8157
|
+
operationId: getAdsInsightsForSiteById
|
|
8158
|
+
summary: Get analytics insights of ads on a site.
|
|
8159
|
+
tags:
|
|
8160
|
+
- analytics
|
|
8161
|
+
- sites
|
|
8162
|
+
security:
|
|
8163
|
+
- user-internal: []
|
|
8164
|
+
parameters:
|
|
8165
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8166
|
+
- $ref: "#/components/parameters/siteId"
|
|
8167
|
+
- name: interval
|
|
8168
|
+
in: query
|
|
8169
|
+
schema:
|
|
8170
|
+
$ref: "#/components/schemas/InsightsInterval"
|
|
8171
|
+
- name: start
|
|
8172
|
+
description: The earliest timestamp for any data returned
|
|
8173
|
+
in: query
|
|
8174
|
+
schema:
|
|
8175
|
+
type: string
|
|
8176
|
+
format: date-time
|
|
8177
|
+
- name: end
|
|
8178
|
+
description: The latest timestamp for any data returned
|
|
8179
|
+
in: query
|
|
8180
|
+
schema:
|
|
8181
|
+
type: string
|
|
8182
|
+
format: date-time
|
|
8183
|
+
responses:
|
|
8184
|
+
"200":
|
|
8185
|
+
description: The site's ads insights stats for the provided period.
|
|
8186
|
+
content:
|
|
8187
|
+
application/json:
|
|
8188
|
+
schema:
|
|
8189
|
+
type: object
|
|
8190
|
+
properties:
|
|
8191
|
+
values:
|
|
8192
|
+
type: array
|
|
8193
|
+
description: A time serie of the ads stats over the provided period
|
|
8194
|
+
items:
|
|
8195
|
+
type: object
|
|
8196
|
+
properties:
|
|
8197
|
+
date:
|
|
8198
|
+
description: The start date of this interval
|
|
8199
|
+
type: string
|
|
8200
|
+
format: date-time
|
|
8201
|
+
stats:
|
|
8202
|
+
$ref: "#/components/schemas/SiteAdsStats"
|
|
8203
|
+
required:
|
|
8204
|
+
- date
|
|
8205
|
+
- stats
|
|
8206
|
+
account:
|
|
8207
|
+
type: object
|
|
8208
|
+
properties:
|
|
8209
|
+
email:
|
|
8210
|
+
type: string
|
|
8211
|
+
description: Email address on the Ads platform.
|
|
8212
|
+
url:
|
|
8213
|
+
type: string
|
|
8214
|
+
description: URL to configure payout.
|
|
8215
|
+
required:
|
|
8216
|
+
- email
|
|
8217
|
+
- url
|
|
8218
|
+
required:
|
|
8219
|
+
- values
|
|
8220
|
+
- account
|
|
8221
|
+
default:
|
|
8222
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8029
8223
|
"/orgs/{organizationId}/sites/{siteId}/insights/search":
|
|
8030
8224
|
get:
|
|
8031
8225
|
operationId: getSearchAnalyticsForSiteById
|
|
@@ -8088,26 +8282,6 @@ paths:
|
|
|
8088
8282
|
description: OK
|
|
8089
8283
|
default:
|
|
8090
8284
|
$ref: "#/components/responses/UnexpectedError"
|
|
8091
|
-
"/orgs/{organizationId}/sites/{siteId}/ads/stats":
|
|
8092
|
-
post:
|
|
8093
|
-
operationId: getSiteAdsStatsById
|
|
8094
|
-
summary: Get the stats about Ads on a site.
|
|
8095
|
-
tags:
|
|
8096
|
-
- sites
|
|
8097
|
-
security:
|
|
8098
|
-
- user: []
|
|
8099
|
-
parameters:
|
|
8100
|
-
- $ref: "#/components/parameters/organizationId"
|
|
8101
|
-
- $ref: "#/components/parameters/siteId"
|
|
8102
|
-
responses:
|
|
8103
|
-
"200":
|
|
8104
|
-
description: OK
|
|
8105
|
-
content:
|
|
8106
|
-
application/json:
|
|
8107
|
-
schema:
|
|
8108
|
-
$ref: "#/components/schemas/SiteAdsStats"
|
|
8109
|
-
default:
|
|
8110
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
8111
8285
|
"/custom-hostnames/{hostname}":
|
|
8112
8286
|
get:
|
|
8113
8287
|
operationId: getCustomHostname
|
|
@@ -8339,6 +8513,7 @@ paths:
|
|
|
8339
8513
|
summary: Returns a token to authenticate with Hive.
|
|
8340
8514
|
tags:
|
|
8341
8515
|
- hive
|
|
8516
|
+
- critical
|
|
8342
8517
|
security:
|
|
8343
8518
|
- user-internal: []
|
|
8344
8519
|
requestBody:
|
|
@@ -12158,6 +12333,21 @@ components:
|
|
|
12158
12333
|
revision:
|
|
12159
12334
|
type: string
|
|
12160
12335
|
description: ID of the active revision in the change request.
|
|
12336
|
+
revisionInitial:
|
|
12337
|
+
type: string
|
|
12338
|
+
description: ID of the initial revision in the space from which the change request was created.
|
|
12339
|
+
revisionMergedAncestor:
|
|
12340
|
+
type: string
|
|
12341
|
+
description: ID of the latest revision when updating from main space content.
|
|
12342
|
+
revisionMerged:
|
|
12343
|
+
type: string
|
|
12344
|
+
description: When merged, ID of the revision resulting from the merge.
|
|
12345
|
+
comments:
|
|
12346
|
+
type: number
|
|
12347
|
+
description: Count of opened comments on the change request.
|
|
12348
|
+
outdated:
|
|
12349
|
+
type: boolean
|
|
12350
|
+
description: If true, the change request is not up-to-date with latest changes in the main content.
|
|
12161
12351
|
urls:
|
|
12162
12352
|
type: object
|
|
12163
12353
|
description: URLs associated with the object
|
|
@@ -12183,6 +12373,9 @@ components:
|
|
|
12183
12373
|
- createdAt
|
|
12184
12374
|
- updatedAt
|
|
12185
12375
|
- revision
|
|
12376
|
+
- revisionInitial
|
|
12377
|
+
- comments
|
|
12378
|
+
- outdated
|
|
12186
12379
|
- urls
|
|
12187
12380
|
RevisionTypeMerge:
|
|
12188
12381
|
allOf:
|
|
@@ -12342,6 +12535,26 @@ components:
|
|
|
12342
12535
|
- $ref: "#/components/schemas/SpacePointer"
|
|
12343
12536
|
- $ref: "#/components/schemas/CollectionPointer"
|
|
12344
12537
|
- $ref: "#/components/schemas/SitePointer"
|
|
12538
|
+
BillingProduct:
|
|
12539
|
+
type: string
|
|
12540
|
+
description: Name of the product
|
|
12541
|
+
enum:
|
|
12542
|
+
- free_2024
|
|
12543
|
+
- plus_2024
|
|
12544
|
+
- pro_2024
|
|
12545
|
+
- enterprise_2024
|
|
12546
|
+
- free
|
|
12547
|
+
- plus
|
|
12548
|
+
- pro
|
|
12549
|
+
- team
|
|
12550
|
+
- business
|
|
12551
|
+
- legacy
|
|
12552
|
+
- startup
|
|
12553
|
+
- enterprise
|
|
12554
|
+
- community
|
|
12555
|
+
- team_oct_2019_free
|
|
12556
|
+
- team_dec_2021
|
|
12557
|
+
- business_dec_2021
|
|
12345
12558
|
Organization:
|
|
12346
12559
|
type: object
|
|
12347
12560
|
properties:
|
|
@@ -12377,6 +12590,11 @@ components:
|
|
|
12377
12590
|
ai:
|
|
12378
12591
|
description: If true, the organization is configured to use all our AI features.
|
|
12379
12592
|
type: boolean
|
|
12593
|
+
inviteLinks:
|
|
12594
|
+
description: If true, invite links are enabled for this organization.
|
|
12595
|
+
type: boolean
|
|
12596
|
+
plan:
|
|
12597
|
+
$ref: "#/components/schemas/BillingProduct"
|
|
12380
12598
|
urls:
|
|
12381
12599
|
type: object
|
|
12382
12600
|
description: URLs associated with the object
|
|
@@ -12398,8 +12616,10 @@ components:
|
|
|
12398
12616
|
required:
|
|
12399
12617
|
- object
|
|
12400
12618
|
- id
|
|
12619
|
+
- plan
|
|
12401
12620
|
- title
|
|
12402
12621
|
- createdAt
|
|
12622
|
+
- inviteLinks
|
|
12403
12623
|
- type
|
|
12404
12624
|
- emailDomains
|
|
12405
12625
|
- urls
|
|
@@ -15304,9 +15524,9 @@ components:
|
|
|
15304
15524
|
type: array
|
|
15305
15525
|
items:
|
|
15306
15526
|
$ref: "#/components/schemas/IntegrationEventLog"
|
|
15307
|
-
|
|
15527
|
+
IntegrationContentInstallationBase:
|
|
15308
15528
|
type: object
|
|
15309
|
-
description:
|
|
15529
|
+
description: Base properties of an installation of an integration on a site or space.
|
|
15310
15530
|
properties:
|
|
15311
15531
|
integration:
|
|
15312
15532
|
description: Unique name identifier of the integration
|
|
@@ -15314,13 +15534,10 @@ components:
|
|
|
15314
15534
|
installation:
|
|
15315
15535
|
description: ID of the integration installation
|
|
15316
15536
|
type: string
|
|
15317
|
-
space:
|
|
15318
|
-
description: ID of the space the integration is installed on.
|
|
15319
|
-
type: string
|
|
15320
15537
|
status:
|
|
15321
15538
|
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
15322
15539
|
configuration:
|
|
15323
|
-
description: Configuration of the integration for this
|
|
15540
|
+
description: Configuration of the integration for this site
|
|
15324
15541
|
type: object
|
|
15325
15542
|
externalIds:
|
|
15326
15543
|
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
@@ -15330,11 +15547,11 @@ components:
|
|
|
15330
15547
|
properties:
|
|
15331
15548
|
location:
|
|
15332
15549
|
type: string
|
|
15333
|
-
description: URL of the integration's
|
|
15550
|
+
description: URL of the integration's installation in the API
|
|
15334
15551
|
format: uri
|
|
15335
15552
|
publicEndpoint:
|
|
15336
15553
|
type: string
|
|
15337
|
-
description: Public HTTP endpoint for the integration's
|
|
15554
|
+
description: Public HTTP endpoint for the integration's installation
|
|
15338
15555
|
format: uri
|
|
15339
15556
|
required:
|
|
15340
15557
|
- location
|
|
@@ -15342,11 +15559,22 @@ components:
|
|
|
15342
15559
|
required:
|
|
15343
15560
|
- integration
|
|
15344
15561
|
- installation
|
|
15345
|
-
- space
|
|
15346
15562
|
- status
|
|
15347
15563
|
- configuration
|
|
15348
15564
|
- externalIds
|
|
15349
15565
|
- urls
|
|
15566
|
+
IntegrationSpaceInstallation:
|
|
15567
|
+
allOf:
|
|
15568
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
15569
|
+
- type: object
|
|
15570
|
+
properties:
|
|
15571
|
+
space:
|
|
15572
|
+
description: The space the integration is installed on. Using the string value is deprecated in favor of space.id
|
|
15573
|
+
oneOf:
|
|
15574
|
+
- type: string
|
|
15575
|
+
- $ref: "#/components/schemas/Space"
|
|
15576
|
+
required:
|
|
15577
|
+
- space
|
|
15350
15578
|
ContentKitIcon:
|
|
15351
15579
|
type: string
|
|
15352
15580
|
enum:
|
|
@@ -16201,49 +16429,171 @@ components:
|
|
|
16201
16429
|
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
16202
16430
|
configuration:
|
|
16203
16431
|
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
16204
|
-
|
|
16205
|
-
type:
|
|
16206
|
-
description:
|
|
16207
|
-
|
|
16208
|
-
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
|
|
16213
|
-
|
|
16214
|
-
|
|
16215
|
-
|
|
16216
|
-
|
|
16217
|
-
|
|
16218
|
-
|
|
16219
|
-
|
|
16220
|
-
|
|
16221
|
-
|
|
16222
|
-
|
|
16223
|
-
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16432
|
+
SiteType:
|
|
16433
|
+
type: string
|
|
16434
|
+
description: The type of the site
|
|
16435
|
+
enum:
|
|
16436
|
+
- basic
|
|
16437
|
+
- premium
|
|
16438
|
+
- ultimate
|
|
16439
|
+
- sponsored
|
|
16440
|
+
- legacy-basic
|
|
16441
|
+
- legacy-premium
|
|
16442
|
+
SiteTitle:
|
|
16443
|
+
type: string
|
|
16444
|
+
description: Title of the site
|
|
16445
|
+
minLength: 2
|
|
16446
|
+
maxLength: 128
|
|
16447
|
+
SiteHostname:
|
|
16448
|
+
type: string
|
|
16449
|
+
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
16450
|
+
pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
16451
|
+
SiteBasename:
|
|
16452
|
+
type: string
|
|
16453
|
+
description: Basename for the site. For e.g. api
|
|
16454
|
+
minLength: 1
|
|
16455
|
+
maxLength: 100
|
|
16456
|
+
SiteVisibility:
|
|
16457
|
+
type: string
|
|
16458
|
+
description: |
|
|
16459
|
+
The visibility setting of the site determines the audience of the site.
|
|
16460
|
+
* `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
16461
|
+
* `unlisted`: Anyone can access the site, and the site is not indexed by search engines
|
|
16462
|
+
* `share-link`: Anyone with a secret token in the url can access the site.
|
|
16463
|
+
* `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
16464
|
+
enum:
|
|
16465
|
+
- public
|
|
16466
|
+
- unlisted
|
|
16467
|
+
- share-link
|
|
16468
|
+
- visitor-auth
|
|
16469
|
+
SiteAdsTopic:
|
|
16470
|
+
type: string
|
|
16471
|
+
description: Topic of the content
|
|
16472
|
+
enum:
|
|
16473
|
+
- webdev
|
|
16474
|
+
- crypto
|
|
16475
|
+
SiteAds:
|
|
16476
|
+
oneOf:
|
|
16477
|
+
- type: object
|
|
16478
|
+
required:
|
|
16479
|
+
- status
|
|
16480
|
+
- submittable
|
|
16227
16481
|
properties:
|
|
16228
|
-
|
|
16482
|
+
status:
|
|
16229
16483
|
type: string
|
|
16230
|
-
|
|
16231
|
-
|
|
16232
|
-
|
|
16484
|
+
enum:
|
|
16485
|
+
- pending
|
|
16486
|
+
submittable:
|
|
16487
|
+
type: boolean
|
|
16488
|
+
description: True if the user can submit the site for review.
|
|
16489
|
+
- type: object
|
|
16490
|
+
required:
|
|
16491
|
+
- status
|
|
16492
|
+
- topic
|
|
16493
|
+
- accountEmail
|
|
16494
|
+
properties:
|
|
16495
|
+
status:
|
|
16233
16496
|
type: string
|
|
16234
|
-
|
|
16235
|
-
|
|
16497
|
+
enum:
|
|
16498
|
+
- in-review
|
|
16499
|
+
topic:
|
|
16500
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16501
|
+
- type: object
|
|
16236
16502
|
required:
|
|
16237
|
-
-
|
|
16238
|
-
|
|
16503
|
+
- status
|
|
16504
|
+
properties:
|
|
16505
|
+
status:
|
|
16506
|
+
type: string
|
|
16507
|
+
enum:
|
|
16508
|
+
- rejected
|
|
16509
|
+
- type: object
|
|
16510
|
+
required:
|
|
16511
|
+
- status
|
|
16512
|
+
- topic
|
|
16513
|
+
- zoneId
|
|
16514
|
+
properties:
|
|
16515
|
+
status:
|
|
16516
|
+
type: string
|
|
16517
|
+
enum:
|
|
16518
|
+
- live
|
|
16519
|
+
- disabled
|
|
16520
|
+
topic:
|
|
16521
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16522
|
+
zoneId:
|
|
16523
|
+
type: string
|
|
16524
|
+
description: The ad network zone ID
|
|
16525
|
+
Site:
|
|
16526
|
+
type: object
|
|
16527
|
+
properties:
|
|
16528
|
+
object:
|
|
16529
|
+
type: string
|
|
16530
|
+
enum:
|
|
16531
|
+
- site
|
|
16532
|
+
id:
|
|
16533
|
+
type: string
|
|
16534
|
+
description: Unique identifier of the site
|
|
16535
|
+
type:
|
|
16536
|
+
$ref: "#/components/schemas/SiteType"
|
|
16537
|
+
title:
|
|
16538
|
+
$ref: "#/components/schemas/SiteTitle"
|
|
16539
|
+
hostname:
|
|
16540
|
+
$ref: "#/components/schemas/SiteHostname"
|
|
16541
|
+
basename:
|
|
16542
|
+
$ref: "#/components/schemas/SiteBasename"
|
|
16543
|
+
visibility:
|
|
16544
|
+
$ref: "#/components/schemas/SiteVisibility"
|
|
16545
|
+
published:
|
|
16546
|
+
type: boolean
|
|
16547
|
+
description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
|
|
16548
|
+
siteSpaces:
|
|
16549
|
+
type: number
|
|
16550
|
+
createdAt:
|
|
16551
|
+
type: string
|
|
16552
|
+
format: date-time
|
|
16553
|
+
ads:
|
|
16554
|
+
$ref: "#/components/schemas/SiteAds"
|
|
16555
|
+
urls:
|
|
16556
|
+
type: object
|
|
16557
|
+
description: URLs associated with the object
|
|
16558
|
+
properties:
|
|
16559
|
+
location:
|
|
16560
|
+
type: string
|
|
16561
|
+
description: URL of the site in the API
|
|
16562
|
+
format: uri
|
|
16563
|
+
app:
|
|
16564
|
+
type: string
|
|
16565
|
+
description: URL of the site in the application
|
|
16566
|
+
format: uri
|
|
16567
|
+
published:
|
|
16568
|
+
type: string
|
|
16569
|
+
description: URL of the published version of the site. Only defined when site is published.
|
|
16570
|
+
format: uri
|
|
16571
|
+
required:
|
|
16572
|
+
- app
|
|
16573
|
+
- location
|
|
16239
16574
|
required:
|
|
16240
|
-
-
|
|
16241
|
-
-
|
|
16242
|
-
-
|
|
16243
|
-
-
|
|
16244
|
-
-
|
|
16245
|
-
-
|
|
16575
|
+
- object
|
|
16576
|
+
- id
|
|
16577
|
+
- type
|
|
16578
|
+
- title
|
|
16579
|
+
- visibility
|
|
16580
|
+
- published
|
|
16581
|
+
- createdAt
|
|
16582
|
+
- siteSpaces
|
|
16583
|
+
- defaultSpace
|
|
16246
16584
|
- urls
|
|
16585
|
+
IntegrationSiteInstallation:
|
|
16586
|
+
allOf:
|
|
16587
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
16588
|
+
- type: object
|
|
16589
|
+
properties:
|
|
16590
|
+
site:
|
|
16591
|
+
description: The site the integration is installed on. Using the string value is deprecated in favor of site.id
|
|
16592
|
+
oneOf:
|
|
16593
|
+
- type: string
|
|
16594
|
+
- $ref: "#/components/schemas/Site"
|
|
16595
|
+
required:
|
|
16596
|
+
- site
|
|
16247
16597
|
UpdateIntegrationSiteInstallation:
|
|
16248
16598
|
type: object
|
|
16249
16599
|
properties:
|
|
@@ -16264,6 +16614,178 @@ components:
|
|
|
16264
16614
|
$ref: "#/components/schemas/OrganizationUseCase"
|
|
16265
16615
|
required:
|
|
16266
16616
|
- title
|
|
16617
|
+
SiteSectionTitle:
|
|
16618
|
+
type: string
|
|
16619
|
+
description: Title of the site section
|
|
16620
|
+
minLength: 2
|
|
16621
|
+
maxLength: 128
|
|
16622
|
+
SiteSectionPath:
|
|
16623
|
+
type: string
|
|
16624
|
+
description: Path to the section on the site
|
|
16625
|
+
minLength: 1
|
|
16626
|
+
maxLength: 100
|
|
16627
|
+
SiteSpacePath:
|
|
16628
|
+
type: string
|
|
16629
|
+
description: Path to the space on the site
|
|
16630
|
+
minLength: 1
|
|
16631
|
+
maxLength: 100
|
|
16632
|
+
SiteSpace:
|
|
16633
|
+
type: object
|
|
16634
|
+
properties:
|
|
16635
|
+
object:
|
|
16636
|
+
type: string
|
|
16637
|
+
description: The object type, which is always "site-space"
|
|
16638
|
+
enum:
|
|
16639
|
+
- site-space
|
|
16640
|
+
id:
|
|
16641
|
+
type: string
|
|
16642
|
+
description: Unique identifier of the site-space
|
|
16643
|
+
path:
|
|
16644
|
+
$ref: "#/components/schemas/SiteSpacePath"
|
|
16645
|
+
section:
|
|
16646
|
+
type: string
|
|
16647
|
+
description: ID of the section the space belongs to in the site
|
|
16648
|
+
space:
|
|
16649
|
+
$ref: "#/components/schemas/Space"
|
|
16650
|
+
title:
|
|
16651
|
+
type: string
|
|
16652
|
+
default:
|
|
16653
|
+
type: boolean
|
|
16654
|
+
description: Whether this is the default space for the site
|
|
16655
|
+
hasAdvancedCustomizationFeature:
|
|
16656
|
+
type: boolean
|
|
16657
|
+
description: Whether the space has advanced customization feature enabled
|
|
16658
|
+
urls:
|
|
16659
|
+
type: object
|
|
16660
|
+
description: URLs associated with the object
|
|
16661
|
+
properties:
|
|
16662
|
+
published:
|
|
16663
|
+
type: string
|
|
16664
|
+
description: URL of the published version of the site-space. Only defined when site is published.
|
|
16665
|
+
format: uri
|
|
16666
|
+
required:
|
|
16667
|
+
- location
|
|
16668
|
+
required:
|
|
16669
|
+
- object
|
|
16670
|
+
- id
|
|
16671
|
+
- space
|
|
16672
|
+
- title
|
|
16673
|
+
- path
|
|
16674
|
+
- urls
|
|
16675
|
+
SiteSection:
|
|
16676
|
+
type: object
|
|
16677
|
+
properties:
|
|
16678
|
+
object:
|
|
16679
|
+
type: string
|
|
16680
|
+
description: The object type, which is always "site-section"
|
|
16681
|
+
enum:
|
|
16682
|
+
- site-section
|
|
16683
|
+
id:
|
|
16684
|
+
type: string
|
|
16685
|
+
description: Unique identifier of the site section
|
|
16686
|
+
title:
|
|
16687
|
+
$ref: "#/components/schemas/SiteSectionTitle"
|
|
16688
|
+
default:
|
|
16689
|
+
type: boolean
|
|
16690
|
+
description: Whether this is the default section for the site
|
|
16691
|
+
path:
|
|
16692
|
+
$ref: "#/components/schemas/SiteSectionPath"
|
|
16693
|
+
siteSpaces:
|
|
16694
|
+
type: array
|
|
16695
|
+
items:
|
|
16696
|
+
$ref: "#/components/schemas/SiteSpace"
|
|
16697
|
+
urls:
|
|
16698
|
+
type: object
|
|
16699
|
+
description: URLs associated with the object
|
|
16700
|
+
properties:
|
|
16701
|
+
published:
|
|
16702
|
+
type: string
|
|
16703
|
+
description: URL of the published version of the site section. Only defined when site is published.
|
|
16704
|
+
format: uri
|
|
16705
|
+
required:
|
|
16706
|
+
- location
|
|
16707
|
+
required:
|
|
16708
|
+
- object
|
|
16709
|
+
- id
|
|
16710
|
+
- title
|
|
16711
|
+
- path
|
|
16712
|
+
- siteSpaces
|
|
16713
|
+
- urls
|
|
16714
|
+
SiteStructure:
|
|
16715
|
+
oneOf:
|
|
16716
|
+
- type: object
|
|
16717
|
+
properties:
|
|
16718
|
+
type:
|
|
16719
|
+
type: string
|
|
16720
|
+
enum:
|
|
16721
|
+
- sections
|
|
16722
|
+
structure:
|
|
16723
|
+
type: array
|
|
16724
|
+
items:
|
|
16725
|
+
$ref: "#/components/schemas/SiteSection"
|
|
16726
|
+
required:
|
|
16727
|
+
- type
|
|
16728
|
+
- structure
|
|
16729
|
+
- type: object
|
|
16730
|
+
properties:
|
|
16731
|
+
type:
|
|
16732
|
+
type: string
|
|
16733
|
+
enum:
|
|
16734
|
+
- siteSpaces
|
|
16735
|
+
structure:
|
|
16736
|
+
type: array
|
|
16737
|
+
items:
|
|
16738
|
+
$ref: "#/components/schemas/SiteSpace"
|
|
16739
|
+
required:
|
|
16740
|
+
- type
|
|
16741
|
+
- structure
|
|
16742
|
+
OrganizationAllSite:
|
|
16743
|
+
type: object
|
|
16744
|
+
properties:
|
|
16745
|
+
site:
|
|
16746
|
+
$ref: "#/components/schemas/Site"
|
|
16747
|
+
structure:
|
|
16748
|
+
$ref: "#/components/schemas/SiteStructure"
|
|
16749
|
+
required:
|
|
16750
|
+
- site
|
|
16751
|
+
- structure
|
|
16752
|
+
OrganizationAllCollection:
|
|
16753
|
+
type: object
|
|
16754
|
+
properties:
|
|
16755
|
+
collection:
|
|
16756
|
+
$ref: "#/components/schemas/Collection"
|
|
16757
|
+
content:
|
|
16758
|
+
type: array
|
|
16759
|
+
items:
|
|
16760
|
+
oneOf:
|
|
16761
|
+
- $ref: "#/components/schemas/OrganizationAllCollection"
|
|
16762
|
+
- $ref: "#/components/schemas/OrganizationAllSpace"
|
|
16763
|
+
required:
|
|
16764
|
+
- collection
|
|
16765
|
+
- content
|
|
16766
|
+
OrganizationAllSpace:
|
|
16767
|
+
type: object
|
|
16768
|
+
properties:
|
|
16769
|
+
space:
|
|
16770
|
+
$ref: "#/components/schemas/Space"
|
|
16771
|
+
required:
|
|
16772
|
+
- space
|
|
16773
|
+
OrganizationAllContent:
|
|
16774
|
+
type: object
|
|
16775
|
+
properties:
|
|
16776
|
+
sites:
|
|
16777
|
+
type: array
|
|
16778
|
+
items:
|
|
16779
|
+
$ref: "#/components/schemas/OrganizationAllSite"
|
|
16780
|
+
spaces:
|
|
16781
|
+
type: array
|
|
16782
|
+
items:
|
|
16783
|
+
oneOf:
|
|
16784
|
+
- $ref: "#/components/schemas/OrganizationAllCollection"
|
|
16785
|
+
- $ref: "#/components/schemas/OrganizationAllSpace"
|
|
16786
|
+
required:
|
|
16787
|
+
- sites
|
|
16788
|
+
- spaces
|
|
16267
16789
|
OrganizationMember:
|
|
16268
16790
|
type: object
|
|
16269
16791
|
properties:
|
|
@@ -16532,30 +17054,6 @@ components:
|
|
|
16532
17054
|
- $ref: "#/components/schemas/InviteLinkToOrganization"
|
|
16533
17055
|
- $ref: "#/components/schemas/InviteLinkToSpace"
|
|
16534
17056
|
- $ref: "#/components/schemas/InviteLinkToCollection"
|
|
16535
|
-
BillingPortal:
|
|
16536
|
-
type: object
|
|
16537
|
-
properties:
|
|
16538
|
-
url:
|
|
16539
|
-
type: string
|
|
16540
|
-
description: URL to the billing portal for an organization
|
|
16541
|
-
required:
|
|
16542
|
-
- url
|
|
16543
|
-
BillingProduct:
|
|
16544
|
-
type: string
|
|
16545
|
-
description: Name of the product
|
|
16546
|
-
enum:
|
|
16547
|
-
- free_2024
|
|
16548
|
-
- plus_2024
|
|
16549
|
-
- pro_2024
|
|
16550
|
-
- enterprise_2024
|
|
16551
|
-
- free
|
|
16552
|
-
- plus
|
|
16553
|
-
- pro
|
|
16554
|
-
- team
|
|
16555
|
-
- business
|
|
16556
|
-
- legacy
|
|
16557
|
-
- startup
|
|
16558
|
-
- enterprise
|
|
16559
17057
|
BillingInterval:
|
|
16560
17058
|
type: string
|
|
16561
17059
|
description: Interval for a billing subscription
|
|
@@ -16695,6 +17193,14 @@ components:
|
|
|
16695
17193
|
- interval_changed
|
|
16696
17194
|
required:
|
|
16697
17195
|
- result
|
|
17196
|
+
BillingPortal:
|
|
17197
|
+
type: object
|
|
17198
|
+
properties:
|
|
17199
|
+
url:
|
|
17200
|
+
type: string
|
|
17201
|
+
description: URL to the billing portal for an organization
|
|
17202
|
+
required:
|
|
17203
|
+
- url
|
|
16698
17204
|
CreateSpace:
|
|
16699
17205
|
type: object
|
|
16700
17206
|
properties:
|
|
@@ -17179,174 +17685,21 @@ components:
|
|
|
17179
17685
|
required:
|
|
17180
17686
|
- type
|
|
17181
17687
|
- filename
|
|
17182
|
-
- fileSnapshot
|
|
17183
|
-
CaptureEvent:
|
|
17184
|
-
oneOf:
|
|
17185
|
-
- $ref: "#/components/schemas/CaptureTerminalCommandEvent"
|
|
17186
|
-
- $ref: "#/components/schemas/CaptureSpeechEvent"
|
|
17187
|
-
- $ref: "#/components/schemas/CaptureThreadMessageEvent"
|
|
17188
|
-
- $ref: "#/components/schemas/CaptureFileAddedEvent"
|
|
17189
|
-
- $ref: "#/components/schemas/CaptureFileChangedEvent"
|
|
17190
|
-
- $ref: "#/components/schemas/CaptureFileRemovedEvent"
|
|
17191
|
-
UpdateSnippetSchema:
|
|
17192
|
-
type: object
|
|
17193
|
-
properties:
|
|
17194
|
-
title:
|
|
17195
|
-
type: string
|
|
17196
|
-
description: A new title for the snippet.
|
|
17197
|
-
SiteType:
|
|
17198
|
-
type: string
|
|
17199
|
-
description: The type of the site
|
|
17200
|
-
enum:
|
|
17201
|
-
- basic
|
|
17202
|
-
- premium
|
|
17203
|
-
- ultimate
|
|
17204
|
-
- sponsored
|
|
17205
|
-
- legacy-basic
|
|
17206
|
-
- legacy-premium
|
|
17207
|
-
SiteTitle:
|
|
17208
|
-
type: string
|
|
17209
|
-
description: Title of the site
|
|
17210
|
-
minLength: 2
|
|
17211
|
-
maxLength: 128
|
|
17212
|
-
SiteHostname:
|
|
17213
|
-
type: string
|
|
17214
|
-
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
17215
|
-
pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
17216
|
-
SiteBasename:
|
|
17217
|
-
type: string
|
|
17218
|
-
description: Basename for the site. For e.g. api
|
|
17219
|
-
minLength: 1
|
|
17220
|
-
maxLength: 100
|
|
17221
|
-
SiteVisibility:
|
|
17222
|
-
type: string
|
|
17223
|
-
description: |
|
|
17224
|
-
The visibility setting of the site determines the audience of the site.
|
|
17225
|
-
* `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
17226
|
-
* `unlisted`: Anyone can access the site, and the site is not indexed by search engines
|
|
17227
|
-
* `share-link`: Anyone with a secret token in the url can access the site.
|
|
17228
|
-
* `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
17229
|
-
enum:
|
|
17230
|
-
- public
|
|
17231
|
-
- unlisted
|
|
17232
|
-
- share-link
|
|
17233
|
-
- visitor-auth
|
|
17234
|
-
SiteAdsTopic:
|
|
17235
|
-
type: string
|
|
17236
|
-
description: Topic of the content
|
|
17237
|
-
enum:
|
|
17238
|
-
- webdev
|
|
17239
|
-
- crypto
|
|
17240
|
-
SiteAds:
|
|
17241
|
-
oneOf:
|
|
17242
|
-
- type: object
|
|
17243
|
-
required:
|
|
17244
|
-
- status
|
|
17245
|
-
- submittable
|
|
17246
|
-
properties:
|
|
17247
|
-
status:
|
|
17248
|
-
type: string
|
|
17249
|
-
enum:
|
|
17250
|
-
- pending
|
|
17251
|
-
submittable:
|
|
17252
|
-
type: boolean
|
|
17253
|
-
description: True if the user can submit the site for review.
|
|
17254
|
-
- type: object
|
|
17255
|
-
required:
|
|
17256
|
-
- status
|
|
17257
|
-
- topic
|
|
17258
|
-
- accountEmail
|
|
17259
|
-
properties:
|
|
17260
|
-
status:
|
|
17261
|
-
type: string
|
|
17262
|
-
enum:
|
|
17263
|
-
- in-review
|
|
17264
|
-
topic:
|
|
17265
|
-
$ref: "#/components/schemas/SiteAdsTopic"
|
|
17266
|
-
- type: object
|
|
17267
|
-
required:
|
|
17268
|
-
- status
|
|
17269
|
-
properties:
|
|
17270
|
-
status:
|
|
17271
|
-
type: string
|
|
17272
|
-
enum:
|
|
17273
|
-
- rejected
|
|
17274
|
-
- type: object
|
|
17275
|
-
required:
|
|
17276
|
-
- status
|
|
17277
|
-
- topic
|
|
17278
|
-
- zoneId
|
|
17279
|
-
properties:
|
|
17280
|
-
status:
|
|
17281
|
-
type: string
|
|
17282
|
-
enum:
|
|
17283
|
-
- live
|
|
17284
|
-
- disabled
|
|
17285
|
-
topic:
|
|
17286
|
-
$ref: "#/components/schemas/SiteAdsTopic"
|
|
17287
|
-
zoneId:
|
|
17288
|
-
type: string
|
|
17289
|
-
description: The ad network zone ID
|
|
17290
|
-
Site:
|
|
17291
|
-
type: object
|
|
17292
|
-
properties:
|
|
17293
|
-
object:
|
|
17294
|
-
type: string
|
|
17295
|
-
enum:
|
|
17296
|
-
- site
|
|
17297
|
-
id:
|
|
17298
|
-
type: string
|
|
17299
|
-
description: Unique identifier of the site
|
|
17300
|
-
type:
|
|
17301
|
-
$ref: "#/components/schemas/SiteType"
|
|
17302
|
-
title:
|
|
17303
|
-
$ref: "#/components/schemas/SiteTitle"
|
|
17304
|
-
hostname:
|
|
17305
|
-
$ref: "#/components/schemas/SiteHostname"
|
|
17306
|
-
basename:
|
|
17307
|
-
$ref: "#/components/schemas/SiteBasename"
|
|
17308
|
-
visibility:
|
|
17309
|
-
$ref: "#/components/schemas/SiteVisibility"
|
|
17310
|
-
published:
|
|
17311
|
-
type: boolean
|
|
17312
|
-
description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
|
|
17313
|
-
siteSpaces:
|
|
17314
|
-
type: number
|
|
17315
|
-
createdAt:
|
|
17316
|
-
type: string
|
|
17317
|
-
format: date-time
|
|
17318
|
-
ads:
|
|
17319
|
-
$ref: "#/components/schemas/SiteAds"
|
|
17320
|
-
urls:
|
|
17321
|
-
type: object
|
|
17322
|
-
description: URLs associated with the object
|
|
17323
|
-
properties:
|
|
17324
|
-
location:
|
|
17325
|
-
type: string
|
|
17326
|
-
description: URL of the site in the API
|
|
17327
|
-
format: uri
|
|
17328
|
-
app:
|
|
17329
|
-
type: string
|
|
17330
|
-
description: URL of the site in the application
|
|
17331
|
-
format: uri
|
|
17332
|
-
published:
|
|
17333
|
-
type: string
|
|
17334
|
-
description: URL of the published version of the site. Only defined when site is published.
|
|
17335
|
-
format: uri
|
|
17336
|
-
required:
|
|
17337
|
-
- app
|
|
17338
|
-
- location
|
|
17339
|
-
required:
|
|
17340
|
-
- object
|
|
17341
|
-
- id
|
|
17342
|
-
- type
|
|
17343
|
-
- title
|
|
17344
|
-
- visibility
|
|
17345
|
-
- published
|
|
17346
|
-
- createdAt
|
|
17347
|
-
- siteSpaces
|
|
17348
|
-
- defaultSpace
|
|
17349
|
-
- urls
|
|
17688
|
+
- fileSnapshot
|
|
17689
|
+
CaptureEvent:
|
|
17690
|
+
oneOf:
|
|
17691
|
+
- $ref: "#/components/schemas/CaptureTerminalCommandEvent"
|
|
17692
|
+
- $ref: "#/components/schemas/CaptureSpeechEvent"
|
|
17693
|
+
- $ref: "#/components/schemas/CaptureThreadMessageEvent"
|
|
17694
|
+
- $ref: "#/components/schemas/CaptureFileAddedEvent"
|
|
17695
|
+
- $ref: "#/components/schemas/CaptureFileChangedEvent"
|
|
17696
|
+
- $ref: "#/components/schemas/CaptureFileRemovedEvent"
|
|
17697
|
+
UpdateSnippetSchema:
|
|
17698
|
+
type: object
|
|
17699
|
+
properties:
|
|
17700
|
+
title:
|
|
17701
|
+
type: string
|
|
17702
|
+
description: A new title for the snippet.
|
|
17350
17703
|
BillingOperationPreviewResponse:
|
|
17351
17704
|
description: |
|
|
17352
17705
|
A response to a request to preview a paid operation or action. A user might preview an operation before executing it to see which billing steps would be required (if any). This schema defines the response of that preview request.
|
|
@@ -17404,167 +17757,6 @@ components:
|
|
|
17404
17757
|
required:
|
|
17405
17758
|
- type
|
|
17406
17759
|
- plan
|
|
17407
|
-
SiteSectionTitle:
|
|
17408
|
-
type: string
|
|
17409
|
-
description: Title of the site section
|
|
17410
|
-
minLength: 2
|
|
17411
|
-
maxLength: 128
|
|
17412
|
-
SiteSectionPath:
|
|
17413
|
-
type: string
|
|
17414
|
-
description: Path to the section on the site
|
|
17415
|
-
minLength: 1
|
|
17416
|
-
maxLength: 100
|
|
17417
|
-
SiteSpacePath:
|
|
17418
|
-
type: string
|
|
17419
|
-
description: Path to the space on the site
|
|
17420
|
-
minLength: 1
|
|
17421
|
-
maxLength: 100
|
|
17422
|
-
SiteSpace:
|
|
17423
|
-
type: object
|
|
17424
|
-
properties:
|
|
17425
|
-
object:
|
|
17426
|
-
type: string
|
|
17427
|
-
description: The object type, which is always "site-space"
|
|
17428
|
-
enum:
|
|
17429
|
-
- site-space
|
|
17430
|
-
id:
|
|
17431
|
-
type: string
|
|
17432
|
-
description: Unique identifier of the site-space
|
|
17433
|
-
path:
|
|
17434
|
-
$ref: "#/components/schemas/SiteSpacePath"
|
|
17435
|
-
section:
|
|
17436
|
-
type: string
|
|
17437
|
-
description: ID of the section the space belongs to in the site
|
|
17438
|
-
space:
|
|
17439
|
-
$ref: "#/components/schemas/Space"
|
|
17440
|
-
title:
|
|
17441
|
-
type: string
|
|
17442
|
-
default:
|
|
17443
|
-
type: boolean
|
|
17444
|
-
description: Whether this is the default space for the site
|
|
17445
|
-
hasAdvancedCustomizationFeature:
|
|
17446
|
-
type: boolean
|
|
17447
|
-
description: Whether the space has advanced customization feature enabled
|
|
17448
|
-
urls:
|
|
17449
|
-
type: object
|
|
17450
|
-
description: URLs associated with the object
|
|
17451
|
-
properties:
|
|
17452
|
-
published:
|
|
17453
|
-
type: string
|
|
17454
|
-
description: URL of the published version of the site-space. Only defined when site is published.
|
|
17455
|
-
format: uri
|
|
17456
|
-
required:
|
|
17457
|
-
- location
|
|
17458
|
-
required:
|
|
17459
|
-
- id
|
|
17460
|
-
- space
|
|
17461
|
-
- title
|
|
17462
|
-
- path
|
|
17463
|
-
- urls
|
|
17464
|
-
SiteSection:
|
|
17465
|
-
type: object
|
|
17466
|
-
properties:
|
|
17467
|
-
object:
|
|
17468
|
-
type: string
|
|
17469
|
-
description: The object type, which is always "site-section"
|
|
17470
|
-
enum:
|
|
17471
|
-
- site-section
|
|
17472
|
-
id:
|
|
17473
|
-
type: string
|
|
17474
|
-
description: Unique identifier of the site section
|
|
17475
|
-
title:
|
|
17476
|
-
$ref: "#/components/schemas/SiteSectionTitle"
|
|
17477
|
-
default:
|
|
17478
|
-
type: boolean
|
|
17479
|
-
description: Whether this is the default section for the site
|
|
17480
|
-
path:
|
|
17481
|
-
$ref: "#/components/schemas/SiteSectionPath"
|
|
17482
|
-
siteSpaces:
|
|
17483
|
-
type: array
|
|
17484
|
-
items:
|
|
17485
|
-
$ref: "#/components/schemas/SiteSpace"
|
|
17486
|
-
urls:
|
|
17487
|
-
type: object
|
|
17488
|
-
description: URLs associated with the object
|
|
17489
|
-
properties:
|
|
17490
|
-
published:
|
|
17491
|
-
type: string
|
|
17492
|
-
description: URL of the published version of the site section. Only defined when site is published.
|
|
17493
|
-
format: uri
|
|
17494
|
-
required:
|
|
17495
|
-
- location
|
|
17496
|
-
required:
|
|
17497
|
-
- id
|
|
17498
|
-
- title
|
|
17499
|
-
- path
|
|
17500
|
-
- siteSpaces
|
|
17501
|
-
- urls
|
|
17502
|
-
SiteStructure:
|
|
17503
|
-
oneOf:
|
|
17504
|
-
- type: object
|
|
17505
|
-
properties:
|
|
17506
|
-
type:
|
|
17507
|
-
type: string
|
|
17508
|
-
enum:
|
|
17509
|
-
- sections
|
|
17510
|
-
structure:
|
|
17511
|
-
type: array
|
|
17512
|
-
items:
|
|
17513
|
-
$ref: "#/components/schemas/SiteSection"
|
|
17514
|
-
required:
|
|
17515
|
-
- type
|
|
17516
|
-
- structure
|
|
17517
|
-
- type: object
|
|
17518
|
-
properties:
|
|
17519
|
-
type:
|
|
17520
|
-
type: string
|
|
17521
|
-
enum:
|
|
17522
|
-
- siteSpaces
|
|
17523
|
-
structure:
|
|
17524
|
-
type: array
|
|
17525
|
-
items:
|
|
17526
|
-
$ref: "#/components/schemas/SiteSpace"
|
|
17527
|
-
required:
|
|
17528
|
-
- type
|
|
17529
|
-
- structure
|
|
17530
|
-
SitePublishingAuth:
|
|
17531
|
-
allOf:
|
|
17532
|
-
- oneOf:
|
|
17533
|
-
- $ref: "#/components/schemas/VisitorAuthCustomBackend"
|
|
17534
|
-
- $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
17535
|
-
- type: object
|
|
17536
|
-
properties:
|
|
17537
|
-
object:
|
|
17538
|
-
type: string
|
|
17539
|
-
description: Type of Object, always equals to "publishing-auth"
|
|
17540
|
-
enum:
|
|
17541
|
-
- publishing-auth
|
|
17542
|
-
privateKey:
|
|
17543
|
-
type: string
|
|
17544
|
-
description: Private key used to sign JWT tokens.
|
|
17545
|
-
fallbackURL:
|
|
17546
|
-
type: string
|
|
17547
|
-
format: uri
|
|
17548
|
-
description: URL to redirect to when the visitor auth secret is invalid.
|
|
17549
|
-
integration:
|
|
17550
|
-
type: string
|
|
17551
|
-
description: |
|
|
17552
|
-
Name of the Visitor Authentication integration installed on the site (if any).
|
|
17553
|
-
It is also the one being used as VA backend when the published auth settings are configured to use "integration" as backend.
|
|
17554
|
-
required:
|
|
17555
|
-
- object
|
|
17556
|
-
- privateKey
|
|
17557
|
-
SitePublishingAuthUpdate:
|
|
17558
|
-
allOf:
|
|
17559
|
-
- oneOf:
|
|
17560
|
-
- $ref: "#/components/schemas/VisitorAuthCustomBackend"
|
|
17561
|
-
- $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
17562
|
-
- type: object
|
|
17563
|
-
properties:
|
|
17564
|
-
fallbackURL:
|
|
17565
|
-
type: string
|
|
17566
|
-
format: uri
|
|
17567
|
-
description: A fallback URL that will be used if authentication fails.
|
|
17568
17760
|
CustomizationIconsStyle:
|
|
17569
17761
|
type: string
|
|
17570
17762
|
enum:
|
|
@@ -17762,6 +17954,77 @@ components:
|
|
|
17762
17954
|
required:
|
|
17763
17955
|
- script
|
|
17764
17956
|
- cookies
|
|
17957
|
+
PublishedContentSite:
|
|
17958
|
+
type: object
|
|
17959
|
+
properties:
|
|
17960
|
+
object:
|
|
17961
|
+
type: string
|
|
17962
|
+
enum:
|
|
17963
|
+
- published-content-site
|
|
17964
|
+
site:
|
|
17965
|
+
$ref: "#/components/schemas/Site"
|
|
17966
|
+
structure:
|
|
17967
|
+
$ref: "#/components/schemas/SiteStructure"
|
|
17968
|
+
customizations:
|
|
17969
|
+
type: object
|
|
17970
|
+
properties:
|
|
17971
|
+
site:
|
|
17972
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
17973
|
+
siteSpaces:
|
|
17974
|
+
type: object
|
|
17975
|
+
additionalProperties:
|
|
17976
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
17977
|
+
required:
|
|
17978
|
+
- site
|
|
17979
|
+
- siteSpaces
|
|
17980
|
+
scripts:
|
|
17981
|
+
type: array
|
|
17982
|
+
items:
|
|
17983
|
+
$ref: "#/components/schemas/SiteIntegrationScript"
|
|
17984
|
+
required:
|
|
17985
|
+
- object
|
|
17986
|
+
- site
|
|
17987
|
+
- structure
|
|
17988
|
+
- customizations
|
|
17989
|
+
- scripts
|
|
17990
|
+
SitePublishingAuth:
|
|
17991
|
+
allOf:
|
|
17992
|
+
- oneOf:
|
|
17993
|
+
- $ref: "#/components/schemas/VisitorAuthCustomBackend"
|
|
17994
|
+
- $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
17995
|
+
- type: object
|
|
17996
|
+
properties:
|
|
17997
|
+
object:
|
|
17998
|
+
type: string
|
|
17999
|
+
description: Type of Object, always equals to "publishing-auth"
|
|
18000
|
+
enum:
|
|
18001
|
+
- publishing-auth
|
|
18002
|
+
privateKey:
|
|
18003
|
+
type: string
|
|
18004
|
+
description: Private key used to sign JWT tokens.
|
|
18005
|
+
fallbackURL:
|
|
18006
|
+
type: string
|
|
18007
|
+
format: uri
|
|
18008
|
+
description: URL to redirect to when the visitor auth secret is invalid.
|
|
18009
|
+
integration:
|
|
18010
|
+
type: string
|
|
18011
|
+
description: |
|
|
18012
|
+
Name of the Visitor Authentication integration installed on the site (if any).
|
|
18013
|
+
It is also the one being used as VA backend when the published auth settings are configured to use "integration" as backend.
|
|
18014
|
+
required:
|
|
18015
|
+
- object
|
|
18016
|
+
- privateKey
|
|
18017
|
+
SitePublishingAuthUpdate:
|
|
18018
|
+
allOf:
|
|
18019
|
+
- oneOf:
|
|
18020
|
+
- $ref: "#/components/schemas/VisitorAuthCustomBackend"
|
|
18021
|
+
- $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
18022
|
+
- type: object
|
|
18023
|
+
properties:
|
|
18024
|
+
fallbackURL:
|
|
18025
|
+
type: string
|
|
18026
|
+
format: uri
|
|
18027
|
+
description: A fallback URL that will be used if authentication fails.
|
|
17765
18028
|
SiteSectionPointer:
|
|
17766
18029
|
type: object
|
|
17767
18030
|
properties:
|
|
@@ -17835,59 +18098,90 @@ components:
|
|
|
17835
18098
|
- user
|
|
17836
18099
|
- origin
|
|
17837
18100
|
SiteTrackPageView:
|
|
17838
|
-
|
|
17839
|
-
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
description: Unique identifier of the page.
|
|
17843
|
-
spaceId:
|
|
17844
|
-
type: string
|
|
17845
|
-
description: Unique identifier of the space.
|
|
17846
|
-
siteSpaceId:
|
|
17847
|
-
description: The site-space that was viewed
|
|
17848
|
-
type: string
|
|
17849
|
-
visitor:
|
|
17850
|
-
type: object
|
|
17851
|
-
description: Analytics info on the GitBook's content visitor.
|
|
17852
|
-
properties:
|
|
17853
|
-
anonymousId:
|
|
17854
|
-
type: string
|
|
17855
|
-
description: GitBook's unique identifier of the visitor.
|
|
17856
|
-
cookies:
|
|
17857
|
-
type: object
|
|
17858
|
-
description: The visitors cookies.
|
|
17859
|
-
additionalProperties:
|
|
17860
|
-
type: string
|
|
17861
|
-
ip:
|
|
18101
|
+
allOf:
|
|
18102
|
+
- type: object
|
|
18103
|
+
properties:
|
|
18104
|
+
pageId:
|
|
17862
18105
|
type: string
|
|
17863
|
-
description:
|
|
17864
|
-
|
|
17865
|
-
|
|
17866
|
-
|
|
18106
|
+
description: Unique identifier of the page.
|
|
18107
|
+
visitor:
|
|
18108
|
+
type: object
|
|
18109
|
+
description: Analytics info on the GitBook's content visitor.
|
|
18110
|
+
properties:
|
|
18111
|
+
anonymousId:
|
|
18112
|
+
type: string
|
|
18113
|
+
description: GitBook's unique identifier of the visitor.
|
|
18114
|
+
cookies:
|
|
18115
|
+
type: object
|
|
18116
|
+
description: The visitors cookies.
|
|
18117
|
+
additionalProperties:
|
|
18118
|
+
type: string
|
|
18119
|
+
ip:
|
|
18120
|
+
type: string
|
|
18121
|
+
description: |
|
|
18122
|
+
IP address of the visitor.
|
|
18123
|
+
If undefined, it'll default to the IP executing the request.
|
|
18124
|
+
userAgent:
|
|
18125
|
+
type: string
|
|
18126
|
+
description: |
|
|
18127
|
+
User-agent of the visitor.
|
|
18128
|
+
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
|
|
18129
|
+
language:
|
|
18130
|
+
type: string
|
|
18131
|
+
description: |
|
|
18132
|
+
Language of the visitor.
|
|
18133
|
+
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
|
|
18134
|
+
required:
|
|
18135
|
+
- anonymousId
|
|
18136
|
+
- cookies
|
|
18137
|
+
- userAgent
|
|
18138
|
+
url:
|
|
17867
18139
|
type: string
|
|
17868
|
-
description:
|
|
17869
|
-
|
|
17870
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
|
|
17871
|
-
language:
|
|
18140
|
+
description: The GitBook content's URL visited (including URL params).
|
|
18141
|
+
referrer:
|
|
17872
18142
|
type: string
|
|
17873
|
-
description:
|
|
17874
|
-
Language of the visitor.
|
|
17875
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
|
|
18143
|
+
description: The URL of referrer that linked to the page.
|
|
17876
18144
|
required:
|
|
17877
|
-
-
|
|
17878
|
-
-
|
|
17879
|
-
-
|
|
17880
|
-
|
|
17881
|
-
|
|
17882
|
-
|
|
17883
|
-
|
|
17884
|
-
|
|
17885
|
-
|
|
18145
|
+
- visitor
|
|
18146
|
+
- url
|
|
18147
|
+
- referrer
|
|
18148
|
+
- oneOf:
|
|
18149
|
+
- type: object
|
|
18150
|
+
properties:
|
|
18151
|
+
spaceId:
|
|
18152
|
+
type: string
|
|
18153
|
+
description: Unique identifier of the space.
|
|
18154
|
+
required:
|
|
18155
|
+
- spaceId
|
|
18156
|
+
- type: object
|
|
18157
|
+
properties:
|
|
18158
|
+
siteSpaceId:
|
|
18159
|
+
description: The site-space that was viewed
|
|
18160
|
+
type: string
|
|
18161
|
+
required:
|
|
18162
|
+
- siteSpaceId
|
|
18163
|
+
InsightsInterval:
|
|
18164
|
+
type: string
|
|
18165
|
+
description: The interval for grouping the results
|
|
18166
|
+
enum:
|
|
18167
|
+
- day
|
|
18168
|
+
- week
|
|
18169
|
+
- month
|
|
18170
|
+
- year
|
|
18171
|
+
default: week
|
|
18172
|
+
SiteAdsStats:
|
|
18173
|
+
type: object
|
|
17886
18174
|
required:
|
|
17887
|
-
-
|
|
17888
|
-
-
|
|
17889
|
-
-
|
|
17890
|
-
|
|
18175
|
+
- impressions
|
|
18176
|
+
- clicks
|
|
18177
|
+
- revenue
|
|
18178
|
+
properties:
|
|
18179
|
+
impressions:
|
|
18180
|
+
type: number
|
|
18181
|
+
clicks:
|
|
18182
|
+
type: number
|
|
18183
|
+
revenue:
|
|
18184
|
+
type: string
|
|
17891
18185
|
InsightsContentPage:
|
|
17892
18186
|
type: object
|
|
17893
18187
|
description: Page entry in the content insights.
|
|
@@ -17910,32 +18204,6 @@ components:
|
|
|
17910
18204
|
icon:
|
|
17911
18205
|
description: Icon of the page, if one has been set.
|
|
17912
18206
|
$ref: "#/components/schemas/Icon"
|
|
17913
|
-
SiteAdsStats:
|
|
17914
|
-
type: object
|
|
17915
|
-
required:
|
|
17916
|
-
- impressions
|
|
17917
|
-
- clicks
|
|
17918
|
-
- revenue
|
|
17919
|
-
- account
|
|
17920
|
-
properties:
|
|
17921
|
-
impressions:
|
|
17922
|
-
type: number
|
|
17923
|
-
clicks:
|
|
17924
|
-
type: number
|
|
17925
|
-
revenue:
|
|
17926
|
-
type: string
|
|
17927
|
-
account:
|
|
17928
|
-
type: object
|
|
17929
|
-
properties:
|
|
17930
|
-
email:
|
|
17931
|
-
type: string
|
|
17932
|
-
description: Email address on the Ads platform.
|
|
17933
|
-
url:
|
|
17934
|
-
type: string
|
|
17935
|
-
description: URL to configure payout.
|
|
17936
|
-
required:
|
|
17937
|
-
- email
|
|
17938
|
-
- url
|
|
17939
18207
|
CustomHostnameDnsStatus:
|
|
17940
18208
|
type: string
|
|
17941
18209
|
enum:
|
|
@@ -18626,6 +18894,21 @@ components:
|
|
|
18626
18894
|
- file_edited
|
|
18627
18895
|
- file_deleted
|
|
18628
18896
|
- custom_fields_edited
|
|
18897
|
+
GitSyncOperationStage:
|
|
18898
|
+
type: string
|
|
18899
|
+
description: |
|
|
18900
|
+
Core stages of a Git Sync process. This is not exhaustive, but should cover
|
|
18901
|
+
the important ones.
|
|
18902
|
+
- repo_fetch: Includes fetching the latest repository contents from remote provider.
|
|
18903
|
+
- config_check: Includes checking if the YAML config is valid, etc.
|
|
18904
|
+
- content_process: Includes processing of pages & files to be imported/exported.
|
|
18905
|
+
- finalize: Includes finalizing the sync process like creating the commit on git, or
|
|
18906
|
+
creating a new revision.
|
|
18907
|
+
enum:
|
|
18908
|
+
- repo_fetch
|
|
18909
|
+
- config_check
|
|
18910
|
+
- content_process
|
|
18911
|
+
- finalize
|
|
18629
18912
|
OrganizationTransferResponse:
|
|
18630
18913
|
type: object
|
|
18631
18914
|
required:
|
|
@@ -18637,6 +18920,26 @@ components:
|
|
|
18637
18920
|
newSourceHostname:
|
|
18638
18921
|
type: string
|
|
18639
18922
|
description: The new hostname if the source organization needed to change hostname.
|
|
18923
|
+
IntegrationEnvironmentSpaceInstallation:
|
|
18924
|
+
allOf:
|
|
18925
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
18926
|
+
- type: object
|
|
18927
|
+
properties:
|
|
18928
|
+
space:
|
|
18929
|
+
description: The space the integration is installed on.
|
|
18930
|
+
type: string
|
|
18931
|
+
required:
|
|
18932
|
+
- space
|
|
18933
|
+
IntegrationEnvironmentSiteInstallation:
|
|
18934
|
+
allOf:
|
|
18935
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
18936
|
+
- type: object
|
|
18937
|
+
properties:
|
|
18938
|
+
site:
|
|
18939
|
+
description: The site the integration is installed on.
|
|
18940
|
+
type: string
|
|
18941
|
+
required:
|
|
18942
|
+
- site
|
|
18640
18943
|
IntegrationEnvironment:
|
|
18641
18944
|
type: object
|
|
18642
18945
|
description: Runtime environment provided during the execution of integration's code.
|
|
@@ -18650,9 +18953,9 @@ components:
|
|
|
18650
18953
|
installation:
|
|
18651
18954
|
$ref: "#/components/schemas/IntegrationInstallation"
|
|
18652
18955
|
spaceInstallation:
|
|
18653
|
-
$ref: "#/components/schemas/
|
|
18956
|
+
$ref: "#/components/schemas/IntegrationEnvironmentSpaceInstallation"
|
|
18654
18957
|
siteInstallation:
|
|
18655
|
-
$ref: "#/components/schemas/
|
|
18958
|
+
$ref: "#/components/schemas/IntegrationEnvironmentSiteInstallation"
|
|
18656
18959
|
secrets:
|
|
18657
18960
|
$ref: "#/components/schemas/IntegrationSecrets"
|
|
18658
18961
|
signingSecret:
|
|
@@ -18827,78 +19130,79 @@ components:
|
|
|
18827
19130
|
required:
|
|
18828
19131
|
- channel
|
|
18829
19132
|
- space
|
|
18830
|
-
|
|
19133
|
+
SpaceContentChannel:
|
|
18831
19134
|
type: object
|
|
19135
|
+
description: Channel notified when the main content of a space is changed.
|
|
18832
19136
|
properties:
|
|
18833
19137
|
channel:
|
|
18834
19138
|
type: string
|
|
18835
19139
|
enum:
|
|
18836
|
-
- space-
|
|
19140
|
+
- space-content
|
|
18837
19141
|
space:
|
|
18838
19142
|
type: string
|
|
18839
19143
|
required:
|
|
18840
19144
|
- channel
|
|
18841
19145
|
- space
|
|
18842
|
-
|
|
19146
|
+
SpaceGitInfoChannel:
|
|
18843
19147
|
type: object
|
|
18844
19148
|
properties:
|
|
18845
19149
|
channel:
|
|
18846
19150
|
type: string
|
|
18847
19151
|
enum:
|
|
18848
|
-
- space-
|
|
19152
|
+
- space-git-info
|
|
18849
19153
|
space:
|
|
18850
19154
|
type: string
|
|
18851
19155
|
required:
|
|
18852
19156
|
- channel
|
|
18853
19157
|
- space
|
|
18854
|
-
|
|
19158
|
+
SpacePublishingAuthChannel:
|
|
18855
19159
|
type: object
|
|
18856
19160
|
properties:
|
|
18857
19161
|
channel:
|
|
18858
19162
|
type: string
|
|
18859
19163
|
enum:
|
|
18860
|
-
- space-publishing-
|
|
19164
|
+
- space-publishing-auth
|
|
18861
19165
|
space:
|
|
18862
19166
|
type: string
|
|
18863
19167
|
required:
|
|
18864
19168
|
- channel
|
|
18865
19169
|
- space
|
|
18866
|
-
|
|
19170
|
+
SpacePublishingCustomizationChannel:
|
|
18867
19171
|
type: object
|
|
18868
19172
|
properties:
|
|
18869
19173
|
channel:
|
|
18870
19174
|
type: string
|
|
18871
19175
|
enum:
|
|
18872
|
-
- space-
|
|
19176
|
+
- space-publishing-customization
|
|
18873
19177
|
space:
|
|
18874
19178
|
type: string
|
|
18875
19179
|
required:
|
|
18876
19180
|
- channel
|
|
18877
19181
|
- space
|
|
18878
|
-
|
|
19182
|
+
SpaceCustomFieldsChannel:
|
|
18879
19183
|
type: object
|
|
18880
19184
|
properties:
|
|
18881
19185
|
channel:
|
|
18882
19186
|
type: string
|
|
18883
19187
|
enum:
|
|
18884
|
-
- space-
|
|
19188
|
+
- space-customfields
|
|
18885
19189
|
space:
|
|
18886
19190
|
type: string
|
|
18887
19191
|
required:
|
|
18888
19192
|
- channel
|
|
18889
19193
|
- space
|
|
18890
|
-
|
|
19194
|
+
SpaceContentRefsChannel:
|
|
18891
19195
|
type: object
|
|
18892
19196
|
properties:
|
|
18893
19197
|
channel:
|
|
18894
19198
|
type: string
|
|
18895
19199
|
enum:
|
|
18896
|
-
-
|
|
18897
|
-
|
|
19200
|
+
- space-content-refs
|
|
19201
|
+
space:
|
|
18898
19202
|
type: string
|
|
18899
19203
|
required:
|
|
18900
19204
|
- channel
|
|
18901
|
-
-
|
|
19205
|
+
- space
|
|
18902
19206
|
SpaceIntegrationsChannel:
|
|
18903
19207
|
type: object
|
|
18904
19208
|
properties:
|
|
@@ -19001,13 +19305,13 @@ components:
|
|
|
19001
19305
|
- channel
|
|
19002
19306
|
- space
|
|
19003
19307
|
- changeRequest
|
|
19004
|
-
|
|
19308
|
+
ChangeRequestContentRefsChannel:
|
|
19005
19309
|
type: object
|
|
19006
19310
|
properties:
|
|
19007
19311
|
channel:
|
|
19008
19312
|
type: string
|
|
19009
19313
|
enum:
|
|
19010
|
-
- space-change-request-
|
|
19314
|
+
- space-change-request-content-refs
|
|
19011
19315
|
space:
|
|
19012
19316
|
type: string
|
|
19013
19317
|
changeRequest:
|
|
@@ -19249,7 +19553,7 @@ components:
|
|
|
19249
19553
|
required:
|
|
19250
19554
|
- channel
|
|
19251
19555
|
- organization
|
|
19252
|
-
|
|
19556
|
+
SpaceCommentsChannel:
|
|
19253
19557
|
type: object
|
|
19254
19558
|
properties:
|
|
19255
19559
|
channel:
|
|
@@ -19258,11 +19562,24 @@ components:
|
|
|
19258
19562
|
- space-comments
|
|
19259
19563
|
space:
|
|
19260
19564
|
type: string
|
|
19565
|
+
required:
|
|
19566
|
+
- channel
|
|
19567
|
+
- space
|
|
19568
|
+
ChangeRequestCommentsChannel:
|
|
19569
|
+
type: object
|
|
19570
|
+
properties:
|
|
19571
|
+
channel:
|
|
19572
|
+
type: string
|
|
19573
|
+
enum:
|
|
19574
|
+
- space-change-request-comments
|
|
19575
|
+
space:
|
|
19576
|
+
type: string
|
|
19261
19577
|
changeRequest:
|
|
19262
19578
|
type: string
|
|
19263
19579
|
required:
|
|
19264
19580
|
- channel
|
|
19265
19581
|
- space
|
|
19582
|
+
- changeRequest
|
|
19266
19583
|
CommentInfoChannel:
|
|
19267
19584
|
type: object
|
|
19268
19585
|
properties:
|
|
@@ -19272,8 +19589,6 @@ components:
|
|
|
19272
19589
|
- space-comment
|
|
19273
19590
|
space:
|
|
19274
19591
|
type: string
|
|
19275
|
-
changeRequest:
|
|
19276
|
-
type: string
|
|
19277
19592
|
comment:
|
|
19278
19593
|
type: string
|
|
19279
19594
|
required:
|
|
@@ -19289,8 +19604,6 @@ components:
|
|
|
19289
19604
|
- space-comment-reply
|
|
19290
19605
|
space:
|
|
19291
19606
|
type: string
|
|
19292
|
-
changeRequest:
|
|
19293
|
-
type: string
|
|
19294
19607
|
comment:
|
|
19295
19608
|
type: string
|
|
19296
19609
|
commentReply:
|
|
@@ -19309,8 +19622,6 @@ components:
|
|
|
19309
19622
|
- space-comment-replies
|
|
19310
19623
|
space:
|
|
19311
19624
|
type: string
|
|
19312
|
-
changeRequest:
|
|
19313
|
-
type: string
|
|
19314
19625
|
comment:
|
|
19315
19626
|
type: string
|
|
19316
19627
|
required:
|
|
@@ -19410,6 +19721,18 @@ components:
|
|
|
19410
19721
|
- channel
|
|
19411
19722
|
- integration
|
|
19412
19723
|
- installation
|
|
19724
|
+
PublishedContentSiteChannel:
|
|
19725
|
+
type: object
|
|
19726
|
+
properties:
|
|
19727
|
+
channel:
|
|
19728
|
+
type: string
|
|
19729
|
+
enum:
|
|
19730
|
+
- published-content-site
|
|
19731
|
+
site:
|
|
19732
|
+
type: string
|
|
19733
|
+
required:
|
|
19734
|
+
- channel
|
|
19735
|
+
- site
|
|
19413
19736
|
SiteChannel:
|
|
19414
19737
|
type: object
|
|
19415
19738
|
properties:
|
|
@@ -19556,16 +19879,40 @@ components:
|
|
|
19556
19879
|
required:
|
|
19557
19880
|
- channel
|
|
19558
19881
|
- customHostname
|
|
19882
|
+
GitSyncSettingsChannel:
|
|
19883
|
+
type: object
|
|
19884
|
+
properties:
|
|
19885
|
+
channel:
|
|
19886
|
+
type: string
|
|
19887
|
+
enum:
|
|
19888
|
+
- space-gitsync-settings
|
|
19889
|
+
space:
|
|
19890
|
+
type: string
|
|
19891
|
+
required:
|
|
19892
|
+
- channel
|
|
19893
|
+
- space
|
|
19894
|
+
GitSyncOperationChannel:
|
|
19895
|
+
type: object
|
|
19896
|
+
properties:
|
|
19897
|
+
channel:
|
|
19898
|
+
type: string
|
|
19899
|
+
enum:
|
|
19900
|
+
- space-gitsync-operation
|
|
19901
|
+
space:
|
|
19902
|
+
type: string
|
|
19903
|
+
required:
|
|
19904
|
+
- channel
|
|
19905
|
+
- space
|
|
19559
19906
|
SubscriptionChannel:
|
|
19560
|
-
description: Channel to subscribe to for
|
|
19907
|
+
description: Channel to subscribe to for realtime updates.
|
|
19561
19908
|
oneOf:
|
|
19562
19909
|
- $ref: "#/components/schemas/SpaceInfoChannel"
|
|
19910
|
+
- $ref: "#/components/schemas/SpaceContentChannel"
|
|
19563
19911
|
- $ref: "#/components/schemas/SpaceGitInfoChannel"
|
|
19564
19912
|
- $ref: "#/components/schemas/SpacePublishingAuthChannel"
|
|
19565
19913
|
- $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
|
|
19566
19914
|
- $ref: "#/components/schemas/SpaceCustomFieldsChannel"
|
|
19567
|
-
- $ref: "#/components/schemas/
|
|
19568
|
-
- $ref: "#/components/schemas/BackofficeUserInfoChannel"
|
|
19915
|
+
- $ref: "#/components/schemas/SpaceContentRefsChannel"
|
|
19569
19916
|
- $ref: "#/components/schemas/SpaceIntegrationsChannel"
|
|
19570
19917
|
- $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
|
|
19571
19918
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
@@ -19574,7 +19921,7 @@ components:
|
|
|
19574
19921
|
- $ref: "#/components/schemas/ChangeRequestChannel"
|
|
19575
19922
|
- $ref: "#/components/schemas/ChangeRequestsChannel"
|
|
19576
19923
|
- $ref: "#/components/schemas/ChangeRequestReviewsChannel"
|
|
19577
|
-
- $ref: "#/components/schemas/
|
|
19924
|
+
- $ref: "#/components/schemas/ChangeRequestContentRefsChannel"
|
|
19578
19925
|
- $ref: "#/components/schemas/CollectionChannel"
|
|
19579
19926
|
- $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
19580
19927
|
- $ref: "#/components/schemas/OrganizationInfoChannel"
|
|
@@ -19593,7 +19940,8 @@ components:
|
|
|
19593
19940
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
19594
19941
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
19595
19942
|
- $ref: "#/components/schemas/OrganizationExperimentalFeaturesChannel"
|
|
19596
|
-
- $ref: "#/components/schemas/
|
|
19943
|
+
- $ref: "#/components/schemas/SpaceCommentsChannel"
|
|
19944
|
+
- $ref: "#/components/schemas/ChangeRequestCommentsChannel"
|
|
19597
19945
|
- $ref: "#/components/schemas/CommentInfoChannel"
|
|
19598
19946
|
- $ref: "#/components/schemas/CommentReplyInfoChannel"
|
|
19599
19947
|
- $ref: "#/components/schemas/CommentRepliesChannel"
|
|
@@ -19603,6 +19951,7 @@ components:
|
|
|
19603
19951
|
- $ref: "#/components/schemas/IntegrationSpaceInstallationsChannel"
|
|
19604
19952
|
- $ref: "#/components/schemas/IntegrationSiteInstallationChannel"
|
|
19605
19953
|
- $ref: "#/components/schemas/IntegrationSiteInstallationsChannel"
|
|
19954
|
+
- $ref: "#/components/schemas/PublishedContentSiteChannel"
|
|
19606
19955
|
- $ref: "#/components/schemas/SiteChannel"
|
|
19607
19956
|
- $ref: "#/components/schemas/SiteCustomizationChannel"
|
|
19608
19957
|
- $ref: "#/components/schemas/SiteIntegrationsChannel"
|
|
@@ -19614,6 +19963,117 @@ components:
|
|
|
19614
19963
|
- $ref: "#/components/schemas/SiteShareLinkChannel"
|
|
19615
19964
|
- $ref: "#/components/schemas/SiteSectionChannel"
|
|
19616
19965
|
- $ref: "#/components/schemas/CustomHostnameChannel"
|
|
19966
|
+
- $ref: "#/components/schemas/GitSyncSettingsChannel"
|
|
19967
|
+
- $ref: "#/components/schemas/GitSyncOperationChannel"
|
|
19968
|
+
discriminator:
|
|
19969
|
+
propertyName: channel
|
|
19970
|
+
GitSyncOperationChannelData:
|
|
19971
|
+
type: object
|
|
19972
|
+
properties:
|
|
19973
|
+
channel:
|
|
19974
|
+
type: string
|
|
19975
|
+
enum:
|
|
19976
|
+
- space-gitsync-operation
|
|
19977
|
+
data:
|
|
19978
|
+
type: object
|
|
19979
|
+
nullable: true
|
|
19980
|
+
description: Data passed on the channel messages for GitSync running in a space.
|
|
19981
|
+
properties:
|
|
19982
|
+
direction:
|
|
19983
|
+
type: string
|
|
19984
|
+
enum:
|
|
19985
|
+
- export
|
|
19986
|
+
- import
|
|
19987
|
+
stage:
|
|
19988
|
+
$ref: "#/components/schemas/GitSyncOperationStage"
|
|
19989
|
+
dispatchedTasks:
|
|
19990
|
+
type: number
|
|
19991
|
+
completedTasks:
|
|
19992
|
+
type: number
|
|
19993
|
+
startedAt:
|
|
19994
|
+
type: number
|
|
19995
|
+
updatedAt:
|
|
19996
|
+
type: number
|
|
19997
|
+
required:
|
|
19998
|
+
- direction
|
|
19999
|
+
- stage
|
|
20000
|
+
- dispatchedTasks
|
|
20001
|
+
- completedTasks
|
|
20002
|
+
- startedAt
|
|
20003
|
+
- updatedAt
|
|
20004
|
+
required:
|
|
20005
|
+
- channel
|
|
20006
|
+
- data
|
|
20007
|
+
SpaceContentRefsChannelData:
|
|
20008
|
+
type: object
|
|
20009
|
+
properties:
|
|
20010
|
+
channel:
|
|
20011
|
+
type: string
|
|
20012
|
+
enum:
|
|
20013
|
+
- space-content-refs
|
|
20014
|
+
data:
|
|
20015
|
+
type: object
|
|
20016
|
+
description: Data passed on the channel messages for content refs indexation.
|
|
20017
|
+
properties:
|
|
20018
|
+
revision:
|
|
20019
|
+
type: string
|
|
20020
|
+
description: ID of the latest indexed revision
|
|
20021
|
+
updatedAt:
|
|
20022
|
+
type: number
|
|
20023
|
+
required:
|
|
20024
|
+
- revision
|
|
20025
|
+
- updatedAt
|
|
20026
|
+
required:
|
|
20027
|
+
- channel
|
|
20028
|
+
- data
|
|
20029
|
+
ChangeRequestContentRefsChannelData:
|
|
20030
|
+
type: object
|
|
20031
|
+
properties:
|
|
20032
|
+
channel:
|
|
20033
|
+
type: string
|
|
20034
|
+
enum:
|
|
20035
|
+
- space-change-request-content-refs
|
|
20036
|
+
data:
|
|
20037
|
+
type: object
|
|
20038
|
+
description: Data passed on the channel messages for content refs indexation.
|
|
20039
|
+
properties:
|
|
20040
|
+
revision:
|
|
20041
|
+
type: string
|
|
20042
|
+
description: ID of the latest indexed revision
|
|
20043
|
+
updatedAt:
|
|
20044
|
+
type: number
|
|
20045
|
+
required:
|
|
20046
|
+
- revision
|
|
20047
|
+
- updatedAt
|
|
20048
|
+
required:
|
|
20049
|
+
- channel
|
|
20050
|
+
- data
|
|
20051
|
+
APIChannelMutationData:
|
|
20052
|
+
type: object
|
|
20053
|
+
properties:
|
|
20054
|
+
channel:
|
|
20055
|
+
type: string
|
|
20056
|
+
enum:
|
|
20057
|
+
- "*"
|
|
20058
|
+
data:
|
|
20059
|
+
type: object
|
|
20060
|
+
description: Data passed on the channels associated to API endpoints.
|
|
20061
|
+
properties:
|
|
20062
|
+
executionId:
|
|
20063
|
+
type: string
|
|
20064
|
+
description: ID of the API execution that triggered the mutation.
|
|
20065
|
+
required:
|
|
20066
|
+
- executionId
|
|
20067
|
+
required:
|
|
20068
|
+
- channel
|
|
20069
|
+
- data
|
|
20070
|
+
SubscriptionChannelData:
|
|
20071
|
+
description: Data passed through a realtime channel
|
|
20072
|
+
oneOf:
|
|
20073
|
+
- $ref: "#/components/schemas/GitSyncOperationChannelData"
|
|
20074
|
+
- $ref: "#/components/schemas/SpaceContentRefsChannelData"
|
|
20075
|
+
- $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
|
|
20076
|
+
- $ref: "#/components/schemas/APIChannelMutationData"
|
|
19617
20077
|
discriminator:
|
|
19618
20078
|
propertyName: channel
|
|
19619
20079
|
SiteAdsStatus:
|