@gitbook/api 0.74.0 → 0.75.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 +525 -311
- package/dist/index.cjs +76 -40
- package/dist/index.js +74 -40
- package/package.json +1 -1
- package/spec/openapi.json +1186 -590
- package/spec/openapi.yaml +836 -439
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:
|
|
@@ -6878,6 +6966,9 @@ paths:
|
|
|
6878
6966
|
interval:
|
|
6879
6967
|
description: Desired interval for new subscriptions. Defaults to the existing billing interval.
|
|
6880
6968
|
$ref: "#/components/schemas/BillingInterval"
|
|
6969
|
+
reason:
|
|
6970
|
+
type: string
|
|
6971
|
+
description: Reason that triggered the billing upgrade
|
|
6881
6972
|
required:
|
|
6882
6973
|
- plan
|
|
6883
6974
|
responses:
|
|
@@ -6922,6 +7013,16 @@ paths:
|
|
|
6922
7013
|
type: string
|
|
6923
7014
|
enum:
|
|
6924
7015
|
- success
|
|
7016
|
+
outcome:
|
|
7017
|
+
description: |
|
|
7018
|
+
* `upgraded`: Subscription was upgraded to include the site
|
|
7019
|
+
* `downgraded`: Subscription was downgraded by removing the site
|
|
7020
|
+
* `no-payment-changes`: No impact on subscription (e.g. trial, unpublished)
|
|
7021
|
+
type: object
|
|
7022
|
+
enum:
|
|
7023
|
+
- upgraded
|
|
7024
|
+
- downgraded
|
|
7025
|
+
- no-payment-changes
|
|
6925
7026
|
default:
|
|
6926
7027
|
$ref: "#/components/responses/UnexpectedError"
|
|
6927
7028
|
get:
|
|
@@ -7228,6 +7329,7 @@ paths:
|
|
|
7228
7329
|
summary: List all the site spaces under a site in an organization
|
|
7229
7330
|
tags:
|
|
7230
7331
|
- sites
|
|
7332
|
+
- critical
|
|
7231
7333
|
security:
|
|
7232
7334
|
- user: []
|
|
7233
7335
|
parameters:
|
|
@@ -8026,6 +8128,74 @@ paths:
|
|
|
8026
8128
|
application/json:
|
|
8027
8129
|
schema:
|
|
8028
8130
|
$ref: "#/components/schemas/SiteTrackPageView"
|
|
8131
|
+
"/orgs/{organizationId}/sites/{siteId}/insights/ads":
|
|
8132
|
+
get:
|
|
8133
|
+
operationId: getAdsInsightsForSiteById
|
|
8134
|
+
summary: Get analytics insights of ads on a site.
|
|
8135
|
+
tags:
|
|
8136
|
+
- analytics
|
|
8137
|
+
- sites
|
|
8138
|
+
security:
|
|
8139
|
+
- user-internal: []
|
|
8140
|
+
parameters:
|
|
8141
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8142
|
+
- $ref: "#/components/parameters/siteId"
|
|
8143
|
+
- name: interval
|
|
8144
|
+
in: query
|
|
8145
|
+
schema:
|
|
8146
|
+
$ref: "#/components/schemas/InsightsInterval"
|
|
8147
|
+
- name: start
|
|
8148
|
+
description: The earliest timestamp for any data returned
|
|
8149
|
+
in: query
|
|
8150
|
+
schema:
|
|
8151
|
+
type: string
|
|
8152
|
+
format: date-time
|
|
8153
|
+
- name: end
|
|
8154
|
+
description: The latest timestamp for any data returned
|
|
8155
|
+
in: query
|
|
8156
|
+
schema:
|
|
8157
|
+
type: string
|
|
8158
|
+
format: date-time
|
|
8159
|
+
responses:
|
|
8160
|
+
"200":
|
|
8161
|
+
description: The site's ads insights stats for the provided period.
|
|
8162
|
+
content:
|
|
8163
|
+
application/json:
|
|
8164
|
+
schema:
|
|
8165
|
+
type: object
|
|
8166
|
+
properties:
|
|
8167
|
+
values:
|
|
8168
|
+
type: array
|
|
8169
|
+
description: A time serie of the ads stats over the provided period
|
|
8170
|
+
items:
|
|
8171
|
+
type: object
|
|
8172
|
+
properties:
|
|
8173
|
+
date:
|
|
8174
|
+
description: The start date of this interval
|
|
8175
|
+
type: string
|
|
8176
|
+
format: date-time
|
|
8177
|
+
stats:
|
|
8178
|
+
$ref: "#/components/schemas/SiteAdsStats"
|
|
8179
|
+
required:
|
|
8180
|
+
- date
|
|
8181
|
+
- stats
|
|
8182
|
+
account:
|
|
8183
|
+
type: object
|
|
8184
|
+
properties:
|
|
8185
|
+
email:
|
|
8186
|
+
type: string
|
|
8187
|
+
description: Email address on the Ads platform.
|
|
8188
|
+
url:
|
|
8189
|
+
type: string
|
|
8190
|
+
description: URL to configure payout.
|
|
8191
|
+
required:
|
|
8192
|
+
- email
|
|
8193
|
+
- url
|
|
8194
|
+
required:
|
|
8195
|
+
- values
|
|
8196
|
+
- account
|
|
8197
|
+
default:
|
|
8198
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8029
8199
|
"/orgs/{organizationId}/sites/{siteId}/insights/search":
|
|
8030
8200
|
get:
|
|
8031
8201
|
operationId: getSearchAnalyticsForSiteById
|
|
@@ -8088,26 +8258,6 @@ paths:
|
|
|
8088
8258
|
description: OK
|
|
8089
8259
|
default:
|
|
8090
8260
|
$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
8261
|
"/custom-hostnames/{hostname}":
|
|
8112
8262
|
get:
|
|
8113
8263
|
operationId: getCustomHostname
|
|
@@ -8339,6 +8489,7 @@ paths:
|
|
|
8339
8489
|
summary: Returns a token to authenticate with Hive.
|
|
8340
8490
|
tags:
|
|
8341
8491
|
- hive
|
|
8492
|
+
- critical
|
|
8342
8493
|
security:
|
|
8343
8494
|
- user-internal: []
|
|
8344
8495
|
requestBody:
|
|
@@ -12158,6 +12309,21 @@ components:
|
|
|
12158
12309
|
revision:
|
|
12159
12310
|
type: string
|
|
12160
12311
|
description: ID of the active revision in the change request.
|
|
12312
|
+
revisionInitial:
|
|
12313
|
+
type: string
|
|
12314
|
+
description: ID of the initial revision in the space from which the change request was created.
|
|
12315
|
+
revisionMergedAncestor:
|
|
12316
|
+
type: string
|
|
12317
|
+
description: ID of the latest revision when updating from main space content.
|
|
12318
|
+
revisionMerged:
|
|
12319
|
+
type: string
|
|
12320
|
+
description: When merged, ID of the revision resulting from the merge.
|
|
12321
|
+
comments:
|
|
12322
|
+
type: number
|
|
12323
|
+
description: Count of opened comments on the change request.
|
|
12324
|
+
outdated:
|
|
12325
|
+
type: boolean
|
|
12326
|
+
description: If true, the change request is not up-to-date with latest changes in the main content.
|
|
12161
12327
|
urls:
|
|
12162
12328
|
type: object
|
|
12163
12329
|
description: URLs associated with the object
|
|
@@ -12183,6 +12349,9 @@ components:
|
|
|
12183
12349
|
- createdAt
|
|
12184
12350
|
- updatedAt
|
|
12185
12351
|
- revision
|
|
12352
|
+
- revisionInitial
|
|
12353
|
+
- comments
|
|
12354
|
+
- outdated
|
|
12186
12355
|
- urls
|
|
12187
12356
|
RevisionTypeMerge:
|
|
12188
12357
|
allOf:
|
|
@@ -12342,6 +12511,26 @@ components:
|
|
|
12342
12511
|
- $ref: "#/components/schemas/SpacePointer"
|
|
12343
12512
|
- $ref: "#/components/schemas/CollectionPointer"
|
|
12344
12513
|
- $ref: "#/components/schemas/SitePointer"
|
|
12514
|
+
BillingProduct:
|
|
12515
|
+
type: string
|
|
12516
|
+
description: Name of the product
|
|
12517
|
+
enum:
|
|
12518
|
+
- free_2024
|
|
12519
|
+
- plus_2024
|
|
12520
|
+
- pro_2024
|
|
12521
|
+
- enterprise_2024
|
|
12522
|
+
- free
|
|
12523
|
+
- plus
|
|
12524
|
+
- pro
|
|
12525
|
+
- team
|
|
12526
|
+
- business
|
|
12527
|
+
- legacy
|
|
12528
|
+
- startup
|
|
12529
|
+
- enterprise
|
|
12530
|
+
- community
|
|
12531
|
+
- team_oct_2019_free
|
|
12532
|
+
- team_dec_2021
|
|
12533
|
+
- business_dec_2021
|
|
12345
12534
|
Organization:
|
|
12346
12535
|
type: object
|
|
12347
12536
|
properties:
|
|
@@ -12377,6 +12566,11 @@ components:
|
|
|
12377
12566
|
ai:
|
|
12378
12567
|
description: If true, the organization is configured to use all our AI features.
|
|
12379
12568
|
type: boolean
|
|
12569
|
+
inviteLinks:
|
|
12570
|
+
description: If true, invite links are enabled for this organization.
|
|
12571
|
+
type: boolean
|
|
12572
|
+
plan:
|
|
12573
|
+
$ref: "#/components/schemas/BillingProduct"
|
|
12380
12574
|
urls:
|
|
12381
12575
|
type: object
|
|
12382
12576
|
description: URLs associated with the object
|
|
@@ -12398,8 +12592,10 @@ components:
|
|
|
12398
12592
|
required:
|
|
12399
12593
|
- object
|
|
12400
12594
|
- id
|
|
12595
|
+
- plan
|
|
12401
12596
|
- title
|
|
12402
12597
|
- createdAt
|
|
12598
|
+
- inviteLinks
|
|
12403
12599
|
- type
|
|
12404
12600
|
- emailDomains
|
|
12405
12601
|
- urls
|
|
@@ -15315,8 +15511,10 @@ components:
|
|
|
15315
15511
|
description: ID of the integration installation
|
|
15316
15512
|
type: string
|
|
15317
15513
|
space:
|
|
15318
|
-
description:
|
|
15319
|
-
|
|
15514
|
+
description: The space the integration is installed on. Using the string value is deprecated in favor of space.id
|
|
15515
|
+
oneOf:
|
|
15516
|
+
- type: string
|
|
15517
|
+
- $ref: "#/components/schemas/Space"
|
|
15320
15518
|
status:
|
|
15321
15519
|
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
15322
15520
|
configuration:
|
|
@@ -16201,22 +16399,177 @@ components:
|
|
|
16201
16399
|
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
16202
16400
|
configuration:
|
|
16203
16401
|
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
16204
|
-
|
|
16402
|
+
SiteType:
|
|
16403
|
+
type: string
|
|
16404
|
+
description: The type of the site
|
|
16405
|
+
enum:
|
|
16406
|
+
- basic
|
|
16407
|
+
- premium
|
|
16408
|
+
- ultimate
|
|
16409
|
+
- sponsored
|
|
16410
|
+
- legacy-basic
|
|
16411
|
+
- legacy-premium
|
|
16412
|
+
SiteTitle:
|
|
16413
|
+
type: string
|
|
16414
|
+
description: Title of the site
|
|
16415
|
+
minLength: 2
|
|
16416
|
+
maxLength: 128
|
|
16417
|
+
SiteHostname:
|
|
16418
|
+
type: string
|
|
16419
|
+
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
16420
|
+
pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
16421
|
+
SiteBasename:
|
|
16422
|
+
type: string
|
|
16423
|
+
description: Basename for the site. For e.g. api
|
|
16424
|
+
minLength: 1
|
|
16425
|
+
maxLength: 100
|
|
16426
|
+
SiteVisibility:
|
|
16427
|
+
type: string
|
|
16428
|
+
description: |
|
|
16429
|
+
The visibility setting of the site determines the audience of the site.
|
|
16430
|
+
* `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
16431
|
+
* `unlisted`: Anyone can access the site, and the site is not indexed by search engines
|
|
16432
|
+
* `share-link`: Anyone with a secret token in the url can access the site.
|
|
16433
|
+
* `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
16434
|
+
enum:
|
|
16435
|
+
- public
|
|
16436
|
+
- unlisted
|
|
16437
|
+
- share-link
|
|
16438
|
+
- visitor-auth
|
|
16439
|
+
SiteAdsTopic:
|
|
16440
|
+
type: string
|
|
16441
|
+
description: Topic of the content
|
|
16442
|
+
enum:
|
|
16443
|
+
- webdev
|
|
16444
|
+
- crypto
|
|
16445
|
+
SiteAds:
|
|
16446
|
+
oneOf:
|
|
16447
|
+
- type: object
|
|
16448
|
+
required:
|
|
16449
|
+
- status
|
|
16450
|
+
- submittable
|
|
16451
|
+
properties:
|
|
16452
|
+
status:
|
|
16453
|
+
type: string
|
|
16454
|
+
enum:
|
|
16455
|
+
- pending
|
|
16456
|
+
submittable:
|
|
16457
|
+
type: boolean
|
|
16458
|
+
description: True if the user can submit the site for review.
|
|
16459
|
+
- type: object
|
|
16460
|
+
required:
|
|
16461
|
+
- status
|
|
16462
|
+
- topic
|
|
16463
|
+
- accountEmail
|
|
16464
|
+
properties:
|
|
16465
|
+
status:
|
|
16466
|
+
type: string
|
|
16467
|
+
enum:
|
|
16468
|
+
- in-review
|
|
16469
|
+
topic:
|
|
16470
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16471
|
+
- type: object
|
|
16472
|
+
required:
|
|
16473
|
+
- status
|
|
16474
|
+
properties:
|
|
16475
|
+
status:
|
|
16476
|
+
type: string
|
|
16477
|
+
enum:
|
|
16478
|
+
- rejected
|
|
16479
|
+
- type: object
|
|
16480
|
+
required:
|
|
16481
|
+
- status
|
|
16482
|
+
- topic
|
|
16483
|
+
- zoneId
|
|
16484
|
+
properties:
|
|
16485
|
+
status:
|
|
16486
|
+
type: string
|
|
16487
|
+
enum:
|
|
16488
|
+
- live
|
|
16489
|
+
- disabled
|
|
16490
|
+
topic:
|
|
16491
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16492
|
+
zoneId:
|
|
16493
|
+
type: string
|
|
16494
|
+
description: The ad network zone ID
|
|
16495
|
+
Site:
|
|
16205
16496
|
type: object
|
|
16206
|
-
description: Installation of an integration at a site level
|
|
16207
16497
|
properties:
|
|
16208
|
-
|
|
16209
|
-
description: Unique name identifier of the integration
|
|
16498
|
+
object:
|
|
16210
16499
|
type: string
|
|
16211
|
-
|
|
16212
|
-
|
|
16500
|
+
enum:
|
|
16501
|
+
- site
|
|
16502
|
+
id:
|
|
16213
16503
|
type: string
|
|
16214
|
-
|
|
16215
|
-
|
|
16504
|
+
description: Unique identifier of the site
|
|
16505
|
+
type:
|
|
16506
|
+
$ref: "#/components/schemas/SiteType"
|
|
16507
|
+
title:
|
|
16508
|
+
$ref: "#/components/schemas/SiteTitle"
|
|
16509
|
+
hostname:
|
|
16510
|
+
$ref: "#/components/schemas/SiteHostname"
|
|
16511
|
+
basename:
|
|
16512
|
+
$ref: "#/components/schemas/SiteBasename"
|
|
16513
|
+
visibility:
|
|
16514
|
+
$ref: "#/components/schemas/SiteVisibility"
|
|
16515
|
+
published:
|
|
16516
|
+
type: boolean
|
|
16517
|
+
description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
|
|
16518
|
+
siteSpaces:
|
|
16519
|
+
type: number
|
|
16520
|
+
createdAt:
|
|
16216
16521
|
type: string
|
|
16217
|
-
|
|
16218
|
-
|
|
16219
|
-
|
|
16522
|
+
format: date-time
|
|
16523
|
+
ads:
|
|
16524
|
+
$ref: "#/components/schemas/SiteAds"
|
|
16525
|
+
urls:
|
|
16526
|
+
type: object
|
|
16527
|
+
description: URLs associated with the object
|
|
16528
|
+
properties:
|
|
16529
|
+
location:
|
|
16530
|
+
type: string
|
|
16531
|
+
description: URL of the site in the API
|
|
16532
|
+
format: uri
|
|
16533
|
+
app:
|
|
16534
|
+
type: string
|
|
16535
|
+
description: URL of the site in the application
|
|
16536
|
+
format: uri
|
|
16537
|
+
published:
|
|
16538
|
+
type: string
|
|
16539
|
+
description: URL of the published version of the site. Only defined when site is published.
|
|
16540
|
+
format: uri
|
|
16541
|
+
required:
|
|
16542
|
+
- app
|
|
16543
|
+
- location
|
|
16544
|
+
required:
|
|
16545
|
+
- object
|
|
16546
|
+
- id
|
|
16547
|
+
- type
|
|
16548
|
+
- title
|
|
16549
|
+
- visibility
|
|
16550
|
+
- published
|
|
16551
|
+
- createdAt
|
|
16552
|
+
- siteSpaces
|
|
16553
|
+
- defaultSpace
|
|
16554
|
+
- urls
|
|
16555
|
+
IntegrationSiteInstallation:
|
|
16556
|
+
type: object
|
|
16557
|
+
description: Installation of an integration at a site level
|
|
16558
|
+
properties:
|
|
16559
|
+
integration:
|
|
16560
|
+
description: Unique name identifier of the integration
|
|
16561
|
+
type: string
|
|
16562
|
+
installation:
|
|
16563
|
+
description: ID of the integration installation
|
|
16564
|
+
type: string
|
|
16565
|
+
site:
|
|
16566
|
+
description: The site the integration is installed on. Using the string value is deprecated in favor of site.id
|
|
16567
|
+
oneOf:
|
|
16568
|
+
- type: string
|
|
16569
|
+
- $ref: "#/components/schemas/Site"
|
|
16570
|
+
status:
|
|
16571
|
+
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
16572
|
+
configuration:
|
|
16220
16573
|
description: Configuration of the integration for this site
|
|
16221
16574
|
type: object
|
|
16222
16575
|
externalIds:
|
|
@@ -16264,6 +16617,178 @@ components:
|
|
|
16264
16617
|
$ref: "#/components/schemas/OrganizationUseCase"
|
|
16265
16618
|
required:
|
|
16266
16619
|
- title
|
|
16620
|
+
SiteSectionTitle:
|
|
16621
|
+
type: string
|
|
16622
|
+
description: Title of the site section
|
|
16623
|
+
minLength: 2
|
|
16624
|
+
maxLength: 128
|
|
16625
|
+
SiteSectionPath:
|
|
16626
|
+
type: string
|
|
16627
|
+
description: Path to the section on the site
|
|
16628
|
+
minLength: 1
|
|
16629
|
+
maxLength: 100
|
|
16630
|
+
SiteSpacePath:
|
|
16631
|
+
type: string
|
|
16632
|
+
description: Path to the space on the site
|
|
16633
|
+
minLength: 1
|
|
16634
|
+
maxLength: 100
|
|
16635
|
+
SiteSpace:
|
|
16636
|
+
type: object
|
|
16637
|
+
properties:
|
|
16638
|
+
object:
|
|
16639
|
+
type: string
|
|
16640
|
+
description: The object type, which is always "site-space"
|
|
16641
|
+
enum:
|
|
16642
|
+
- site-space
|
|
16643
|
+
id:
|
|
16644
|
+
type: string
|
|
16645
|
+
description: Unique identifier of the site-space
|
|
16646
|
+
path:
|
|
16647
|
+
$ref: "#/components/schemas/SiteSpacePath"
|
|
16648
|
+
section:
|
|
16649
|
+
type: string
|
|
16650
|
+
description: ID of the section the space belongs to in the site
|
|
16651
|
+
space:
|
|
16652
|
+
$ref: "#/components/schemas/Space"
|
|
16653
|
+
title:
|
|
16654
|
+
type: string
|
|
16655
|
+
default:
|
|
16656
|
+
type: boolean
|
|
16657
|
+
description: Whether this is the default space for the site
|
|
16658
|
+
hasAdvancedCustomizationFeature:
|
|
16659
|
+
type: boolean
|
|
16660
|
+
description: Whether the space has advanced customization feature enabled
|
|
16661
|
+
urls:
|
|
16662
|
+
type: object
|
|
16663
|
+
description: URLs associated with the object
|
|
16664
|
+
properties:
|
|
16665
|
+
published:
|
|
16666
|
+
type: string
|
|
16667
|
+
description: URL of the published version of the site-space. Only defined when site is published.
|
|
16668
|
+
format: uri
|
|
16669
|
+
required:
|
|
16670
|
+
- location
|
|
16671
|
+
required:
|
|
16672
|
+
- object
|
|
16673
|
+
- id
|
|
16674
|
+
- space
|
|
16675
|
+
- title
|
|
16676
|
+
- path
|
|
16677
|
+
- urls
|
|
16678
|
+
SiteSection:
|
|
16679
|
+
type: object
|
|
16680
|
+
properties:
|
|
16681
|
+
object:
|
|
16682
|
+
type: string
|
|
16683
|
+
description: The object type, which is always "site-section"
|
|
16684
|
+
enum:
|
|
16685
|
+
- site-section
|
|
16686
|
+
id:
|
|
16687
|
+
type: string
|
|
16688
|
+
description: Unique identifier of the site section
|
|
16689
|
+
title:
|
|
16690
|
+
$ref: "#/components/schemas/SiteSectionTitle"
|
|
16691
|
+
default:
|
|
16692
|
+
type: boolean
|
|
16693
|
+
description: Whether this is the default section for the site
|
|
16694
|
+
path:
|
|
16695
|
+
$ref: "#/components/schemas/SiteSectionPath"
|
|
16696
|
+
siteSpaces:
|
|
16697
|
+
type: array
|
|
16698
|
+
items:
|
|
16699
|
+
$ref: "#/components/schemas/SiteSpace"
|
|
16700
|
+
urls:
|
|
16701
|
+
type: object
|
|
16702
|
+
description: URLs associated with the object
|
|
16703
|
+
properties:
|
|
16704
|
+
published:
|
|
16705
|
+
type: string
|
|
16706
|
+
description: URL of the published version of the site section. Only defined when site is published.
|
|
16707
|
+
format: uri
|
|
16708
|
+
required:
|
|
16709
|
+
- location
|
|
16710
|
+
required:
|
|
16711
|
+
- object
|
|
16712
|
+
- id
|
|
16713
|
+
- title
|
|
16714
|
+
- path
|
|
16715
|
+
- siteSpaces
|
|
16716
|
+
- urls
|
|
16717
|
+
SiteStructure:
|
|
16718
|
+
oneOf:
|
|
16719
|
+
- type: object
|
|
16720
|
+
properties:
|
|
16721
|
+
type:
|
|
16722
|
+
type: string
|
|
16723
|
+
enum:
|
|
16724
|
+
- sections
|
|
16725
|
+
structure:
|
|
16726
|
+
type: array
|
|
16727
|
+
items:
|
|
16728
|
+
$ref: "#/components/schemas/SiteSection"
|
|
16729
|
+
required:
|
|
16730
|
+
- type
|
|
16731
|
+
- structure
|
|
16732
|
+
- type: object
|
|
16733
|
+
properties:
|
|
16734
|
+
type:
|
|
16735
|
+
type: string
|
|
16736
|
+
enum:
|
|
16737
|
+
- siteSpaces
|
|
16738
|
+
structure:
|
|
16739
|
+
type: array
|
|
16740
|
+
items:
|
|
16741
|
+
$ref: "#/components/schemas/SiteSpace"
|
|
16742
|
+
required:
|
|
16743
|
+
- type
|
|
16744
|
+
- structure
|
|
16745
|
+
OrganizationAllSite:
|
|
16746
|
+
type: object
|
|
16747
|
+
properties:
|
|
16748
|
+
site:
|
|
16749
|
+
$ref: "#/components/schemas/Site"
|
|
16750
|
+
structure:
|
|
16751
|
+
$ref: "#/components/schemas/SiteStructure"
|
|
16752
|
+
required:
|
|
16753
|
+
- site
|
|
16754
|
+
- structure
|
|
16755
|
+
OrganizationAllCollection:
|
|
16756
|
+
type: object
|
|
16757
|
+
properties:
|
|
16758
|
+
collection:
|
|
16759
|
+
$ref: "#/components/schemas/Collection"
|
|
16760
|
+
content:
|
|
16761
|
+
type: array
|
|
16762
|
+
items:
|
|
16763
|
+
oneOf:
|
|
16764
|
+
- $ref: "#/components/schemas/OrganizationAllCollection"
|
|
16765
|
+
- $ref: "#/components/schemas/OrganizationAllSpace"
|
|
16766
|
+
required:
|
|
16767
|
+
- collection
|
|
16768
|
+
- content
|
|
16769
|
+
OrganizationAllSpace:
|
|
16770
|
+
type: object
|
|
16771
|
+
properties:
|
|
16772
|
+
space:
|
|
16773
|
+
$ref: "#/components/schemas/Space"
|
|
16774
|
+
required:
|
|
16775
|
+
- space
|
|
16776
|
+
OrganizationAllContent:
|
|
16777
|
+
type: object
|
|
16778
|
+
properties:
|
|
16779
|
+
sites:
|
|
16780
|
+
type: array
|
|
16781
|
+
items:
|
|
16782
|
+
$ref: "#/components/schemas/OrganizationAllSite"
|
|
16783
|
+
spaces:
|
|
16784
|
+
type: array
|
|
16785
|
+
items:
|
|
16786
|
+
oneOf:
|
|
16787
|
+
- $ref: "#/components/schemas/OrganizationAllCollection"
|
|
16788
|
+
- $ref: "#/components/schemas/OrganizationAllSpace"
|
|
16789
|
+
required:
|
|
16790
|
+
- sites
|
|
16791
|
+
- spaces
|
|
16267
16792
|
OrganizationMember:
|
|
16268
16793
|
type: object
|
|
16269
16794
|
properties:
|
|
@@ -16532,30 +17057,6 @@ components:
|
|
|
16532
17057
|
- $ref: "#/components/schemas/InviteLinkToOrganization"
|
|
16533
17058
|
- $ref: "#/components/schemas/InviteLinkToSpace"
|
|
16534
17059
|
- $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
17060
|
BillingInterval:
|
|
16560
17061
|
type: string
|
|
16561
17062
|
description: Interval for a billing subscription
|
|
@@ -16695,6 +17196,14 @@ components:
|
|
|
16695
17196
|
- interval_changed
|
|
16696
17197
|
required:
|
|
16697
17198
|
- result
|
|
17199
|
+
BillingPortal:
|
|
17200
|
+
type: object
|
|
17201
|
+
properties:
|
|
17202
|
+
url:
|
|
17203
|
+
type: string
|
|
17204
|
+
description: URL to the billing portal for an organization
|
|
17205
|
+
required:
|
|
17206
|
+
- url
|
|
16698
17207
|
CreateSpace:
|
|
16699
17208
|
type: object
|
|
16700
17209
|
properties:
|
|
@@ -17194,159 +17703,6 @@ components:
|
|
|
17194
17703
|
title:
|
|
17195
17704
|
type: string
|
|
17196
17705
|
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
|
|
17350
17706
|
BillingOperationPreviewResponse:
|
|
17351
17707
|
description: |
|
|
17352
17708
|
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.
|
|
@@ -17397,136 +17753,13 @@ components:
|
|
|
17397
17753
|
enum:
|
|
17398
17754
|
- legacy-upgrade
|
|
17399
17755
|
plan:
|
|
17400
|
-
description: The plan the user must upgrade to.
|
|
17401
|
-
$ref: "#/components/schemas/BillingProduct"
|
|
17402
|
-
invoice:
|
|
17403
|
-
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
17404
|
-
required:
|
|
17405
|
-
- type
|
|
17406
|
-
- 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"
|
|
17756
|
+
description: The plan the user must upgrade to.
|
|
17757
|
+
$ref: "#/components/schemas/BillingProduct"
|
|
17758
|
+
invoice:
|
|
17759
|
+
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
17527
17760
|
required:
|
|
17528
17761
|
- type
|
|
17529
|
-
-
|
|
17762
|
+
- plan
|
|
17530
17763
|
SitePublishingAuth:
|
|
17531
17764
|
allOf:
|
|
17532
17765
|
- oneOf:
|
|
@@ -17835,59 +18068,90 @@ components:
|
|
|
17835
18068
|
- user
|
|
17836
18069
|
- origin
|
|
17837
18070
|
SiteTrackPageView:
|
|
17838
|
-
|
|
17839
|
-
|
|
17840
|
-
pageId:
|
|
17841
|
-
type: string
|
|
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.
|
|
18071
|
+
allOf:
|
|
18072
|
+
- type: object
|
|
17852
18073
|
properties:
|
|
17853
|
-
|
|
18074
|
+
pageId:
|
|
17854
18075
|
type: string
|
|
17855
|
-
description:
|
|
17856
|
-
|
|
18076
|
+
description: Unique identifier of the page.
|
|
18077
|
+
visitor:
|
|
17857
18078
|
type: object
|
|
17858
|
-
description:
|
|
17859
|
-
|
|
17860
|
-
|
|
17861
|
-
|
|
17862
|
-
|
|
17863
|
-
|
|
17864
|
-
|
|
17865
|
-
|
|
17866
|
-
|
|
18079
|
+
description: Analytics info on the GitBook's content visitor.
|
|
18080
|
+
properties:
|
|
18081
|
+
anonymousId:
|
|
18082
|
+
type: string
|
|
18083
|
+
description: GitBook's unique identifier of the visitor.
|
|
18084
|
+
cookies:
|
|
18085
|
+
type: object
|
|
18086
|
+
description: The visitors cookies.
|
|
18087
|
+
additionalProperties:
|
|
18088
|
+
type: string
|
|
18089
|
+
ip:
|
|
18090
|
+
type: string
|
|
18091
|
+
description: |
|
|
18092
|
+
IP address of the visitor.
|
|
18093
|
+
If undefined, it'll default to the IP executing the request.
|
|
18094
|
+
userAgent:
|
|
18095
|
+
type: string
|
|
18096
|
+
description: |
|
|
18097
|
+
User-agent of the visitor.
|
|
18098
|
+
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
|
|
18099
|
+
language:
|
|
18100
|
+
type: string
|
|
18101
|
+
description: |
|
|
18102
|
+
Language of the visitor.
|
|
18103
|
+
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
|
|
18104
|
+
required:
|
|
18105
|
+
- anonymousId
|
|
18106
|
+
- cookies
|
|
18107
|
+
- userAgent
|
|
18108
|
+
url:
|
|
17867
18109
|
type: string
|
|
17868
|
-
description:
|
|
17869
|
-
|
|
17870
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
|
|
17871
|
-
language:
|
|
18110
|
+
description: The GitBook content's URL visited (including URL params).
|
|
18111
|
+
referrer:
|
|
17872
18112
|
type: string
|
|
17873
|
-
description:
|
|
17874
|
-
Language of the visitor.
|
|
17875
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
|
|
18113
|
+
description: The URL of referrer that linked to the page.
|
|
17876
18114
|
required:
|
|
17877
|
-
-
|
|
17878
|
-
-
|
|
17879
|
-
-
|
|
17880
|
-
|
|
17881
|
-
|
|
17882
|
-
|
|
17883
|
-
|
|
17884
|
-
|
|
17885
|
-
|
|
18115
|
+
- visitor
|
|
18116
|
+
- url
|
|
18117
|
+
- referrer
|
|
18118
|
+
- oneOf:
|
|
18119
|
+
- type: object
|
|
18120
|
+
properties:
|
|
18121
|
+
spaceId:
|
|
18122
|
+
type: string
|
|
18123
|
+
description: Unique identifier of the space.
|
|
18124
|
+
required:
|
|
18125
|
+
- spaceId
|
|
18126
|
+
- type: object
|
|
18127
|
+
properties:
|
|
18128
|
+
siteSpaceId:
|
|
18129
|
+
description: The site-space that was viewed
|
|
18130
|
+
type: string
|
|
18131
|
+
required:
|
|
18132
|
+
- siteSpaceId
|
|
18133
|
+
InsightsInterval:
|
|
18134
|
+
type: string
|
|
18135
|
+
description: The interval for grouping the results
|
|
18136
|
+
enum:
|
|
18137
|
+
- day
|
|
18138
|
+
- week
|
|
18139
|
+
- month
|
|
18140
|
+
- year
|
|
18141
|
+
default: week
|
|
18142
|
+
SiteAdsStats:
|
|
18143
|
+
type: object
|
|
17886
18144
|
required:
|
|
17887
|
-
-
|
|
17888
|
-
-
|
|
17889
|
-
-
|
|
17890
|
-
|
|
18145
|
+
- impressions
|
|
18146
|
+
- clicks
|
|
18147
|
+
- revenue
|
|
18148
|
+
properties:
|
|
18149
|
+
impressions:
|
|
18150
|
+
type: number
|
|
18151
|
+
clicks:
|
|
18152
|
+
type: number
|
|
18153
|
+
revenue:
|
|
18154
|
+
type: string
|
|
17891
18155
|
InsightsContentPage:
|
|
17892
18156
|
type: object
|
|
17893
18157
|
description: Page entry in the content insights.
|
|
@@ -17910,32 +18174,6 @@ components:
|
|
|
17910
18174
|
icon:
|
|
17911
18175
|
description: Icon of the page, if one has been set.
|
|
17912
18176
|
$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
18177
|
CustomHostnameDnsStatus:
|
|
17940
18178
|
type: string
|
|
17941
18179
|
enum:
|
|
@@ -18626,6 +18864,21 @@ components:
|
|
|
18626
18864
|
- file_edited
|
|
18627
18865
|
- file_deleted
|
|
18628
18866
|
- custom_fields_edited
|
|
18867
|
+
GitSyncOperationStage:
|
|
18868
|
+
type: string
|
|
18869
|
+
description: |
|
|
18870
|
+
Core stages of a Git Sync process. This is not exhaustive, but should cover
|
|
18871
|
+
the important ones.
|
|
18872
|
+
- repo_fetch: Includes fetching the latest repository contents from remote provider.
|
|
18873
|
+
- config_check: Includes checking if the YAML config is valid, etc.
|
|
18874
|
+
- content_process: Includes processing of pages & files to be imported/exported.
|
|
18875
|
+
- finalize: Includes finalizing the sync process like creating the commit on git, or
|
|
18876
|
+
creating a new revision.
|
|
18877
|
+
enum:
|
|
18878
|
+
- repo_fetch
|
|
18879
|
+
- config_check
|
|
18880
|
+
- content_process
|
|
18881
|
+
- finalize
|
|
18629
18882
|
OrganizationTransferResponse:
|
|
18630
18883
|
type: object
|
|
18631
18884
|
required:
|
|
@@ -18827,78 +19080,79 @@ components:
|
|
|
18827
19080
|
required:
|
|
18828
19081
|
- channel
|
|
18829
19082
|
- space
|
|
18830
|
-
|
|
19083
|
+
SpaceContentChannel:
|
|
18831
19084
|
type: object
|
|
19085
|
+
description: Channel notified when the main content of a space is changed.
|
|
18832
19086
|
properties:
|
|
18833
19087
|
channel:
|
|
18834
19088
|
type: string
|
|
18835
19089
|
enum:
|
|
18836
|
-
- space-
|
|
19090
|
+
- space-content
|
|
18837
19091
|
space:
|
|
18838
19092
|
type: string
|
|
18839
19093
|
required:
|
|
18840
19094
|
- channel
|
|
18841
19095
|
- space
|
|
18842
|
-
|
|
19096
|
+
SpaceGitInfoChannel:
|
|
18843
19097
|
type: object
|
|
18844
19098
|
properties:
|
|
18845
19099
|
channel:
|
|
18846
19100
|
type: string
|
|
18847
19101
|
enum:
|
|
18848
|
-
- space-
|
|
19102
|
+
- space-git-info
|
|
18849
19103
|
space:
|
|
18850
19104
|
type: string
|
|
18851
19105
|
required:
|
|
18852
19106
|
- channel
|
|
18853
19107
|
- space
|
|
18854
|
-
|
|
19108
|
+
SpacePublishingAuthChannel:
|
|
18855
19109
|
type: object
|
|
18856
19110
|
properties:
|
|
18857
19111
|
channel:
|
|
18858
19112
|
type: string
|
|
18859
19113
|
enum:
|
|
18860
|
-
- space-publishing-
|
|
19114
|
+
- space-publishing-auth
|
|
18861
19115
|
space:
|
|
18862
19116
|
type: string
|
|
18863
19117
|
required:
|
|
18864
19118
|
- channel
|
|
18865
19119
|
- space
|
|
18866
|
-
|
|
19120
|
+
SpacePublishingCustomizationChannel:
|
|
18867
19121
|
type: object
|
|
18868
19122
|
properties:
|
|
18869
19123
|
channel:
|
|
18870
19124
|
type: string
|
|
18871
19125
|
enum:
|
|
18872
|
-
- space-
|
|
19126
|
+
- space-publishing-customization
|
|
18873
19127
|
space:
|
|
18874
19128
|
type: string
|
|
18875
19129
|
required:
|
|
18876
19130
|
- channel
|
|
18877
19131
|
- space
|
|
18878
|
-
|
|
19132
|
+
SpaceCustomFieldsChannel:
|
|
18879
19133
|
type: object
|
|
18880
19134
|
properties:
|
|
18881
19135
|
channel:
|
|
18882
19136
|
type: string
|
|
18883
19137
|
enum:
|
|
18884
|
-
- space-
|
|
19138
|
+
- space-customfields
|
|
18885
19139
|
space:
|
|
18886
19140
|
type: string
|
|
18887
19141
|
required:
|
|
18888
19142
|
- channel
|
|
18889
19143
|
- space
|
|
18890
|
-
|
|
19144
|
+
SpaceContentRefsChannel:
|
|
18891
19145
|
type: object
|
|
18892
19146
|
properties:
|
|
18893
19147
|
channel:
|
|
18894
19148
|
type: string
|
|
18895
19149
|
enum:
|
|
18896
|
-
-
|
|
18897
|
-
|
|
19150
|
+
- space-content-refs
|
|
19151
|
+
space:
|
|
18898
19152
|
type: string
|
|
18899
19153
|
required:
|
|
18900
19154
|
- channel
|
|
18901
|
-
-
|
|
19155
|
+
- space
|
|
18902
19156
|
SpaceIntegrationsChannel:
|
|
18903
19157
|
type: object
|
|
18904
19158
|
properties:
|
|
@@ -19001,13 +19255,13 @@ components:
|
|
|
19001
19255
|
- channel
|
|
19002
19256
|
- space
|
|
19003
19257
|
- changeRequest
|
|
19004
|
-
|
|
19258
|
+
ChangeRequestContentRefsChannel:
|
|
19005
19259
|
type: object
|
|
19006
19260
|
properties:
|
|
19007
19261
|
channel:
|
|
19008
19262
|
type: string
|
|
19009
19263
|
enum:
|
|
19010
|
-
- space-change-request-
|
|
19264
|
+
- space-change-request-content-refs
|
|
19011
19265
|
space:
|
|
19012
19266
|
type: string
|
|
19013
19267
|
changeRequest:
|
|
@@ -19249,7 +19503,7 @@ components:
|
|
|
19249
19503
|
required:
|
|
19250
19504
|
- channel
|
|
19251
19505
|
- organization
|
|
19252
|
-
|
|
19506
|
+
SpaceCommentsChannel:
|
|
19253
19507
|
type: object
|
|
19254
19508
|
properties:
|
|
19255
19509
|
channel:
|
|
@@ -19258,11 +19512,24 @@ components:
|
|
|
19258
19512
|
- space-comments
|
|
19259
19513
|
space:
|
|
19260
19514
|
type: string
|
|
19515
|
+
required:
|
|
19516
|
+
- channel
|
|
19517
|
+
- space
|
|
19518
|
+
ChangeRequestCommentsChannel:
|
|
19519
|
+
type: object
|
|
19520
|
+
properties:
|
|
19521
|
+
channel:
|
|
19522
|
+
type: string
|
|
19523
|
+
enum:
|
|
19524
|
+
- space-change-request-comments
|
|
19525
|
+
space:
|
|
19526
|
+
type: string
|
|
19261
19527
|
changeRequest:
|
|
19262
19528
|
type: string
|
|
19263
19529
|
required:
|
|
19264
19530
|
- channel
|
|
19265
19531
|
- space
|
|
19532
|
+
- changeRequest
|
|
19266
19533
|
CommentInfoChannel:
|
|
19267
19534
|
type: object
|
|
19268
19535
|
properties:
|
|
@@ -19272,8 +19539,6 @@ components:
|
|
|
19272
19539
|
- space-comment
|
|
19273
19540
|
space:
|
|
19274
19541
|
type: string
|
|
19275
|
-
changeRequest:
|
|
19276
|
-
type: string
|
|
19277
19542
|
comment:
|
|
19278
19543
|
type: string
|
|
19279
19544
|
required:
|
|
@@ -19289,8 +19554,6 @@ components:
|
|
|
19289
19554
|
- space-comment-reply
|
|
19290
19555
|
space:
|
|
19291
19556
|
type: string
|
|
19292
|
-
changeRequest:
|
|
19293
|
-
type: string
|
|
19294
19557
|
comment:
|
|
19295
19558
|
type: string
|
|
19296
19559
|
commentReply:
|
|
@@ -19309,8 +19572,6 @@ components:
|
|
|
19309
19572
|
- space-comment-replies
|
|
19310
19573
|
space:
|
|
19311
19574
|
type: string
|
|
19312
|
-
changeRequest:
|
|
19313
|
-
type: string
|
|
19314
19575
|
comment:
|
|
19315
19576
|
type: string
|
|
19316
19577
|
required:
|
|
@@ -19556,16 +19817,40 @@ components:
|
|
|
19556
19817
|
required:
|
|
19557
19818
|
- channel
|
|
19558
19819
|
- customHostname
|
|
19820
|
+
GitSyncSettingsChannel:
|
|
19821
|
+
type: object
|
|
19822
|
+
properties:
|
|
19823
|
+
channel:
|
|
19824
|
+
type: string
|
|
19825
|
+
enum:
|
|
19826
|
+
- space-gitsync-settings
|
|
19827
|
+
space:
|
|
19828
|
+
type: string
|
|
19829
|
+
required:
|
|
19830
|
+
- channel
|
|
19831
|
+
- space
|
|
19832
|
+
GitSyncOperationChannel:
|
|
19833
|
+
type: object
|
|
19834
|
+
properties:
|
|
19835
|
+
channel:
|
|
19836
|
+
type: string
|
|
19837
|
+
enum:
|
|
19838
|
+
- space-gitsync-operation
|
|
19839
|
+
space:
|
|
19840
|
+
type: string
|
|
19841
|
+
required:
|
|
19842
|
+
- channel
|
|
19843
|
+
- space
|
|
19559
19844
|
SubscriptionChannel:
|
|
19560
|
-
description: Channel to subscribe to for
|
|
19845
|
+
description: Channel to subscribe to for realtime updates.
|
|
19561
19846
|
oneOf:
|
|
19562
19847
|
- $ref: "#/components/schemas/SpaceInfoChannel"
|
|
19848
|
+
- $ref: "#/components/schemas/SpaceContentChannel"
|
|
19563
19849
|
- $ref: "#/components/schemas/SpaceGitInfoChannel"
|
|
19564
19850
|
- $ref: "#/components/schemas/SpacePublishingAuthChannel"
|
|
19565
19851
|
- $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
|
|
19566
19852
|
- $ref: "#/components/schemas/SpaceCustomFieldsChannel"
|
|
19567
|
-
- $ref: "#/components/schemas/
|
|
19568
|
-
- $ref: "#/components/schemas/BackofficeUserInfoChannel"
|
|
19853
|
+
- $ref: "#/components/schemas/SpaceContentRefsChannel"
|
|
19569
19854
|
- $ref: "#/components/schemas/SpaceIntegrationsChannel"
|
|
19570
19855
|
- $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
|
|
19571
19856
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
@@ -19574,7 +19859,7 @@ components:
|
|
|
19574
19859
|
- $ref: "#/components/schemas/ChangeRequestChannel"
|
|
19575
19860
|
- $ref: "#/components/schemas/ChangeRequestsChannel"
|
|
19576
19861
|
- $ref: "#/components/schemas/ChangeRequestReviewsChannel"
|
|
19577
|
-
- $ref: "#/components/schemas/
|
|
19862
|
+
- $ref: "#/components/schemas/ChangeRequestContentRefsChannel"
|
|
19578
19863
|
- $ref: "#/components/schemas/CollectionChannel"
|
|
19579
19864
|
- $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
19580
19865
|
- $ref: "#/components/schemas/OrganizationInfoChannel"
|
|
@@ -19593,7 +19878,8 @@ components:
|
|
|
19593
19878
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
19594
19879
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
19595
19880
|
- $ref: "#/components/schemas/OrganizationExperimentalFeaturesChannel"
|
|
19596
|
-
- $ref: "#/components/schemas/
|
|
19881
|
+
- $ref: "#/components/schemas/SpaceCommentsChannel"
|
|
19882
|
+
- $ref: "#/components/schemas/ChangeRequestCommentsChannel"
|
|
19597
19883
|
- $ref: "#/components/schemas/CommentInfoChannel"
|
|
19598
19884
|
- $ref: "#/components/schemas/CommentReplyInfoChannel"
|
|
19599
19885
|
- $ref: "#/components/schemas/CommentRepliesChannel"
|
|
@@ -19614,6 +19900,117 @@ components:
|
|
|
19614
19900
|
- $ref: "#/components/schemas/SiteShareLinkChannel"
|
|
19615
19901
|
- $ref: "#/components/schemas/SiteSectionChannel"
|
|
19616
19902
|
- $ref: "#/components/schemas/CustomHostnameChannel"
|
|
19903
|
+
- $ref: "#/components/schemas/GitSyncSettingsChannel"
|
|
19904
|
+
- $ref: "#/components/schemas/GitSyncOperationChannel"
|
|
19905
|
+
discriminator:
|
|
19906
|
+
propertyName: channel
|
|
19907
|
+
GitSyncOperationChannelData:
|
|
19908
|
+
type: object
|
|
19909
|
+
properties:
|
|
19910
|
+
channel:
|
|
19911
|
+
type: string
|
|
19912
|
+
enum:
|
|
19913
|
+
- space-gitsync-operation
|
|
19914
|
+
data:
|
|
19915
|
+
type: object
|
|
19916
|
+
nullable: true
|
|
19917
|
+
description: Data passed on the channel messages for GitSync running in a space.
|
|
19918
|
+
properties:
|
|
19919
|
+
direction:
|
|
19920
|
+
type: string
|
|
19921
|
+
enum:
|
|
19922
|
+
- export
|
|
19923
|
+
- import
|
|
19924
|
+
stage:
|
|
19925
|
+
$ref: "#/components/schemas/GitSyncOperationStage"
|
|
19926
|
+
dispatchedTasks:
|
|
19927
|
+
type: number
|
|
19928
|
+
completedTasks:
|
|
19929
|
+
type: number
|
|
19930
|
+
startedAt:
|
|
19931
|
+
type: number
|
|
19932
|
+
updatedAt:
|
|
19933
|
+
type: number
|
|
19934
|
+
required:
|
|
19935
|
+
- direction
|
|
19936
|
+
- stage
|
|
19937
|
+
- dispatchedTasks
|
|
19938
|
+
- completedTasks
|
|
19939
|
+
- startedAt
|
|
19940
|
+
- updatedAt
|
|
19941
|
+
required:
|
|
19942
|
+
- channel
|
|
19943
|
+
- data
|
|
19944
|
+
SpaceContentRefsChannelData:
|
|
19945
|
+
type: object
|
|
19946
|
+
properties:
|
|
19947
|
+
channel:
|
|
19948
|
+
type: string
|
|
19949
|
+
enum:
|
|
19950
|
+
- space-content-refs
|
|
19951
|
+
data:
|
|
19952
|
+
type: object
|
|
19953
|
+
description: Data passed on the channel messages for content refs indexation.
|
|
19954
|
+
properties:
|
|
19955
|
+
revision:
|
|
19956
|
+
type: string
|
|
19957
|
+
description: ID of the latest indexed revision
|
|
19958
|
+
updatedAt:
|
|
19959
|
+
type: number
|
|
19960
|
+
required:
|
|
19961
|
+
- revision
|
|
19962
|
+
- updatedAt
|
|
19963
|
+
required:
|
|
19964
|
+
- channel
|
|
19965
|
+
- data
|
|
19966
|
+
ChangeRequestContentRefsChannelData:
|
|
19967
|
+
type: object
|
|
19968
|
+
properties:
|
|
19969
|
+
channel:
|
|
19970
|
+
type: string
|
|
19971
|
+
enum:
|
|
19972
|
+
- space-change-request-content-refs
|
|
19973
|
+
data:
|
|
19974
|
+
type: object
|
|
19975
|
+
description: Data passed on the channel messages for content refs indexation.
|
|
19976
|
+
properties:
|
|
19977
|
+
revision:
|
|
19978
|
+
type: string
|
|
19979
|
+
description: ID of the latest indexed revision
|
|
19980
|
+
updatedAt:
|
|
19981
|
+
type: number
|
|
19982
|
+
required:
|
|
19983
|
+
- revision
|
|
19984
|
+
- updatedAt
|
|
19985
|
+
required:
|
|
19986
|
+
- channel
|
|
19987
|
+
- data
|
|
19988
|
+
APIChannelMutationData:
|
|
19989
|
+
type: object
|
|
19990
|
+
properties:
|
|
19991
|
+
channel:
|
|
19992
|
+
type: string
|
|
19993
|
+
enum:
|
|
19994
|
+
- "*"
|
|
19995
|
+
data:
|
|
19996
|
+
type: object
|
|
19997
|
+
description: Data passed on the channels associated to API endpoints.
|
|
19998
|
+
properties:
|
|
19999
|
+
executionId:
|
|
20000
|
+
type: string
|
|
20001
|
+
description: ID of the API execution that triggered the mutation.
|
|
20002
|
+
required:
|
|
20003
|
+
- executionId
|
|
20004
|
+
required:
|
|
20005
|
+
- channel
|
|
20006
|
+
- data
|
|
20007
|
+
SubscriptionChannelData:
|
|
20008
|
+
description: Data passed through a realtime channel
|
|
20009
|
+
oneOf:
|
|
20010
|
+
- $ref: "#/components/schemas/GitSyncOperationChannelData"
|
|
20011
|
+
- $ref: "#/components/schemas/SpaceContentRefsChannelData"
|
|
20012
|
+
- $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
|
|
20013
|
+
- $ref: "#/components/schemas/APIChannelMutationData"
|
|
19617
20014
|
discriminator:
|
|
19618
20015
|
propertyName: channel
|
|
19619
20016
|
SiteAdsStatus:
|