@gitbook/api 0.73.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 +535 -312
- package/dist/index.cjs +76 -40
- package/dist/index.js +74 -40
- package/package.json +1 -1
- package/spec/openapi.json +1195 -586
- package/spec/openapi.yaml +841 -434
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
|
|
@@ -14837,6 +15033,10 @@ components:
|
|
|
14837
15033
|
spaceId:
|
|
14838
15034
|
type: string
|
|
14839
15035
|
description: Unique identifier of the visited space in the site.
|
|
15036
|
+
deprecated: true
|
|
15037
|
+
siteSpaceId:
|
|
15038
|
+
description: The site-space that was viewed
|
|
15039
|
+
type: string
|
|
14840
15040
|
pageId:
|
|
14841
15041
|
type: string
|
|
14842
15042
|
description: Unique identifier of the visited page.
|
|
@@ -15311,8 +15511,10 @@ components:
|
|
|
15311
15511
|
description: ID of the integration installation
|
|
15312
15512
|
type: string
|
|
15313
15513
|
space:
|
|
15314
|
-
description:
|
|
15315
|
-
|
|
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"
|
|
15316
15518
|
status:
|
|
15317
15519
|
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
15318
15520
|
configuration:
|
|
@@ -16197,20 +16399,175 @@ components:
|
|
|
16197
16399
|
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
16198
16400
|
configuration:
|
|
16199
16401
|
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
16200
|
-
|
|
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:
|
|
16201
16496
|
type: object
|
|
16202
|
-
description: Installation of an integration at a site level
|
|
16203
16497
|
properties:
|
|
16204
|
-
|
|
16205
|
-
description: Unique name identifier of the integration
|
|
16498
|
+
object:
|
|
16206
16499
|
type: string
|
|
16207
|
-
|
|
16208
|
-
|
|
16500
|
+
enum:
|
|
16501
|
+
- site
|
|
16502
|
+
id:
|
|
16209
16503
|
type: string
|
|
16210
|
-
|
|
16211
|
-
|
|
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:
|
|
16212
16521
|
type: string
|
|
16213
|
-
|
|
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:
|
|
16214
16571
|
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
16215
16572
|
configuration:
|
|
16216
16573
|
description: Configuration of the integration for this site
|
|
@@ -16260,6 +16617,178 @@ components:
|
|
|
16260
16617
|
$ref: "#/components/schemas/OrganizationUseCase"
|
|
16261
16618
|
required:
|
|
16262
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
|
|
16263
16792
|
OrganizationMember:
|
|
16264
16793
|
type: object
|
|
16265
16794
|
properties:
|
|
@@ -16528,30 +17057,6 @@ components:
|
|
|
16528
17057
|
- $ref: "#/components/schemas/InviteLinkToOrganization"
|
|
16529
17058
|
- $ref: "#/components/schemas/InviteLinkToSpace"
|
|
16530
17059
|
- $ref: "#/components/schemas/InviteLinkToCollection"
|
|
16531
|
-
BillingPortal:
|
|
16532
|
-
type: object
|
|
16533
|
-
properties:
|
|
16534
|
-
url:
|
|
16535
|
-
type: string
|
|
16536
|
-
description: URL to the billing portal for an organization
|
|
16537
|
-
required:
|
|
16538
|
-
- url
|
|
16539
|
-
BillingProduct:
|
|
16540
|
-
type: string
|
|
16541
|
-
description: Name of the product
|
|
16542
|
-
enum:
|
|
16543
|
-
- free_2024
|
|
16544
|
-
- plus_2024
|
|
16545
|
-
- pro_2024
|
|
16546
|
-
- enterprise_2024
|
|
16547
|
-
- free
|
|
16548
|
-
- plus
|
|
16549
|
-
- pro
|
|
16550
|
-
- team
|
|
16551
|
-
- business
|
|
16552
|
-
- legacy
|
|
16553
|
-
- startup
|
|
16554
|
-
- enterprise
|
|
16555
17060
|
BillingInterval:
|
|
16556
17061
|
type: string
|
|
16557
17062
|
description: Interval for a billing subscription
|
|
@@ -16691,6 +17196,14 @@ components:
|
|
|
16691
17196
|
- interval_changed
|
|
16692
17197
|
required:
|
|
16693
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
|
|
16694
17207
|
CreateSpace:
|
|
16695
17208
|
type: object
|
|
16696
17209
|
properties:
|
|
@@ -17190,159 +17703,6 @@ components:
|
|
|
17190
17703
|
title:
|
|
17191
17704
|
type: string
|
|
17192
17705
|
description: A new title for the snippet.
|
|
17193
|
-
SiteType:
|
|
17194
|
-
type: string
|
|
17195
|
-
description: The type of the site
|
|
17196
|
-
enum:
|
|
17197
|
-
- basic
|
|
17198
|
-
- premium
|
|
17199
|
-
- ultimate
|
|
17200
|
-
- sponsored
|
|
17201
|
-
- legacy-basic
|
|
17202
|
-
- legacy-premium
|
|
17203
|
-
SiteTitle:
|
|
17204
|
-
type: string
|
|
17205
|
-
description: Title of the site
|
|
17206
|
-
minLength: 2
|
|
17207
|
-
maxLength: 128
|
|
17208
|
-
SiteHostname:
|
|
17209
|
-
type: string
|
|
17210
|
-
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
17211
|
-
pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
17212
|
-
SiteBasename:
|
|
17213
|
-
type: string
|
|
17214
|
-
description: Basename for the site. For e.g. api
|
|
17215
|
-
minLength: 1
|
|
17216
|
-
maxLength: 100
|
|
17217
|
-
SiteVisibility:
|
|
17218
|
-
type: string
|
|
17219
|
-
description: |
|
|
17220
|
-
The visibility setting of the site determines the audience of the site.
|
|
17221
|
-
* `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
17222
|
-
* `unlisted`: Anyone can access the site, and the site is not indexed by search engines
|
|
17223
|
-
* `share-link`: Anyone with a secret token in the url can access the site.
|
|
17224
|
-
* `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
17225
|
-
enum:
|
|
17226
|
-
- public
|
|
17227
|
-
- unlisted
|
|
17228
|
-
- share-link
|
|
17229
|
-
- visitor-auth
|
|
17230
|
-
SiteAdsTopic:
|
|
17231
|
-
type: string
|
|
17232
|
-
description: Topic of the content
|
|
17233
|
-
enum:
|
|
17234
|
-
- webdev
|
|
17235
|
-
- crypto
|
|
17236
|
-
SiteAds:
|
|
17237
|
-
oneOf:
|
|
17238
|
-
- type: object
|
|
17239
|
-
required:
|
|
17240
|
-
- status
|
|
17241
|
-
- submittable
|
|
17242
|
-
properties:
|
|
17243
|
-
status:
|
|
17244
|
-
type: string
|
|
17245
|
-
enum:
|
|
17246
|
-
- pending
|
|
17247
|
-
submittable:
|
|
17248
|
-
type: boolean
|
|
17249
|
-
description: True if the user can submit the site for review.
|
|
17250
|
-
- type: object
|
|
17251
|
-
required:
|
|
17252
|
-
- status
|
|
17253
|
-
- topic
|
|
17254
|
-
- accountEmail
|
|
17255
|
-
properties:
|
|
17256
|
-
status:
|
|
17257
|
-
type: string
|
|
17258
|
-
enum:
|
|
17259
|
-
- in-review
|
|
17260
|
-
topic:
|
|
17261
|
-
$ref: "#/components/schemas/SiteAdsTopic"
|
|
17262
|
-
- type: object
|
|
17263
|
-
required:
|
|
17264
|
-
- status
|
|
17265
|
-
properties:
|
|
17266
|
-
status:
|
|
17267
|
-
type: string
|
|
17268
|
-
enum:
|
|
17269
|
-
- rejected
|
|
17270
|
-
- type: object
|
|
17271
|
-
required:
|
|
17272
|
-
- status
|
|
17273
|
-
- topic
|
|
17274
|
-
- zoneId
|
|
17275
|
-
properties:
|
|
17276
|
-
status:
|
|
17277
|
-
type: string
|
|
17278
|
-
enum:
|
|
17279
|
-
- live
|
|
17280
|
-
- disabled
|
|
17281
|
-
topic:
|
|
17282
|
-
$ref: "#/components/schemas/SiteAdsTopic"
|
|
17283
|
-
zoneId:
|
|
17284
|
-
type: string
|
|
17285
|
-
description: The ad network zone ID
|
|
17286
|
-
Site:
|
|
17287
|
-
type: object
|
|
17288
|
-
properties:
|
|
17289
|
-
object:
|
|
17290
|
-
type: string
|
|
17291
|
-
enum:
|
|
17292
|
-
- site
|
|
17293
|
-
id:
|
|
17294
|
-
type: string
|
|
17295
|
-
description: Unique identifier of the site
|
|
17296
|
-
type:
|
|
17297
|
-
$ref: "#/components/schemas/SiteType"
|
|
17298
|
-
title:
|
|
17299
|
-
$ref: "#/components/schemas/SiteTitle"
|
|
17300
|
-
hostname:
|
|
17301
|
-
$ref: "#/components/schemas/SiteHostname"
|
|
17302
|
-
basename:
|
|
17303
|
-
$ref: "#/components/schemas/SiteBasename"
|
|
17304
|
-
visibility:
|
|
17305
|
-
$ref: "#/components/schemas/SiteVisibility"
|
|
17306
|
-
published:
|
|
17307
|
-
type: boolean
|
|
17308
|
-
description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
|
|
17309
|
-
siteSpaces:
|
|
17310
|
-
type: number
|
|
17311
|
-
createdAt:
|
|
17312
|
-
type: string
|
|
17313
|
-
format: date-time
|
|
17314
|
-
ads:
|
|
17315
|
-
$ref: "#/components/schemas/SiteAds"
|
|
17316
|
-
urls:
|
|
17317
|
-
type: object
|
|
17318
|
-
description: URLs associated with the object
|
|
17319
|
-
properties:
|
|
17320
|
-
location:
|
|
17321
|
-
type: string
|
|
17322
|
-
description: URL of the site in the API
|
|
17323
|
-
format: uri
|
|
17324
|
-
app:
|
|
17325
|
-
type: string
|
|
17326
|
-
description: URL of the site in the application
|
|
17327
|
-
format: uri
|
|
17328
|
-
published:
|
|
17329
|
-
type: string
|
|
17330
|
-
description: URL of the published version of the site. Only defined when site is published.
|
|
17331
|
-
format: uri
|
|
17332
|
-
required:
|
|
17333
|
-
- app
|
|
17334
|
-
- location
|
|
17335
|
-
required:
|
|
17336
|
-
- object
|
|
17337
|
-
- id
|
|
17338
|
-
- type
|
|
17339
|
-
- title
|
|
17340
|
-
- visibility
|
|
17341
|
-
- published
|
|
17342
|
-
- createdAt
|
|
17343
|
-
- siteSpaces
|
|
17344
|
-
- defaultSpace
|
|
17345
|
-
- urls
|
|
17346
17706
|
BillingOperationPreviewResponse:
|
|
17347
17707
|
description: |
|
|
17348
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.
|
|
@@ -17393,136 +17753,13 @@ components:
|
|
|
17393
17753
|
enum:
|
|
17394
17754
|
- legacy-upgrade
|
|
17395
17755
|
plan:
|
|
17396
|
-
description: The plan the user must upgrade to.
|
|
17397
|
-
$ref: "#/components/schemas/BillingProduct"
|
|
17398
|
-
invoice:
|
|
17399
|
-
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
17400
|
-
required:
|
|
17401
|
-
- type
|
|
17402
|
-
- plan
|
|
17403
|
-
SiteSectionTitle:
|
|
17404
|
-
type: string
|
|
17405
|
-
description: Title of the site section
|
|
17406
|
-
minLength: 2
|
|
17407
|
-
maxLength: 128
|
|
17408
|
-
SiteSectionPath:
|
|
17409
|
-
type: string
|
|
17410
|
-
description: Path to the section on the site
|
|
17411
|
-
minLength: 1
|
|
17412
|
-
maxLength: 100
|
|
17413
|
-
SiteSpacePath:
|
|
17414
|
-
type: string
|
|
17415
|
-
description: Path to the space on the site
|
|
17416
|
-
minLength: 1
|
|
17417
|
-
maxLength: 100
|
|
17418
|
-
SiteSpace:
|
|
17419
|
-
type: object
|
|
17420
|
-
properties:
|
|
17421
|
-
object:
|
|
17422
|
-
type: string
|
|
17423
|
-
description: The object type, which is always "site-space"
|
|
17424
|
-
enum:
|
|
17425
|
-
- site-space
|
|
17426
|
-
id:
|
|
17427
|
-
type: string
|
|
17428
|
-
description: Unique identifier of the site-space
|
|
17429
|
-
path:
|
|
17430
|
-
$ref: "#/components/schemas/SiteSpacePath"
|
|
17431
|
-
section:
|
|
17432
|
-
type: string
|
|
17433
|
-
description: ID of the section the space belongs to in the site
|
|
17434
|
-
space:
|
|
17435
|
-
$ref: "#/components/schemas/Space"
|
|
17436
|
-
title:
|
|
17437
|
-
type: string
|
|
17438
|
-
default:
|
|
17439
|
-
type: boolean
|
|
17440
|
-
description: Whether this is the default space for the site
|
|
17441
|
-
hasAdvancedCustomizationFeature:
|
|
17442
|
-
type: boolean
|
|
17443
|
-
description: Whether the space has advanced customization feature enabled
|
|
17444
|
-
urls:
|
|
17445
|
-
type: object
|
|
17446
|
-
description: URLs associated with the object
|
|
17447
|
-
properties:
|
|
17448
|
-
published:
|
|
17449
|
-
type: string
|
|
17450
|
-
description: URL of the published version of the site-space. Only defined when site is published.
|
|
17451
|
-
format: uri
|
|
17452
|
-
required:
|
|
17453
|
-
- location
|
|
17454
|
-
required:
|
|
17455
|
-
- id
|
|
17456
|
-
- space
|
|
17457
|
-
- title
|
|
17458
|
-
- path
|
|
17459
|
-
- urls
|
|
17460
|
-
SiteSection:
|
|
17461
|
-
type: object
|
|
17462
|
-
properties:
|
|
17463
|
-
object:
|
|
17464
|
-
type: string
|
|
17465
|
-
description: The object type, which is always "site-section"
|
|
17466
|
-
enum:
|
|
17467
|
-
- site-section
|
|
17468
|
-
id:
|
|
17469
|
-
type: string
|
|
17470
|
-
description: Unique identifier of the site section
|
|
17471
|
-
title:
|
|
17472
|
-
$ref: "#/components/schemas/SiteSectionTitle"
|
|
17473
|
-
default:
|
|
17474
|
-
type: boolean
|
|
17475
|
-
description: Whether this is the default section for the site
|
|
17476
|
-
path:
|
|
17477
|
-
$ref: "#/components/schemas/SiteSectionPath"
|
|
17478
|
-
siteSpaces:
|
|
17479
|
-
type: array
|
|
17480
|
-
items:
|
|
17481
|
-
$ref: "#/components/schemas/SiteSpace"
|
|
17482
|
-
urls:
|
|
17483
|
-
type: object
|
|
17484
|
-
description: URLs associated with the object
|
|
17485
|
-
properties:
|
|
17486
|
-
published:
|
|
17487
|
-
type: string
|
|
17488
|
-
description: URL of the published version of the site section. Only defined when site is published.
|
|
17489
|
-
format: uri
|
|
17490
|
-
required:
|
|
17491
|
-
- location
|
|
17492
|
-
required:
|
|
17493
|
-
- id
|
|
17494
|
-
- title
|
|
17495
|
-
- path
|
|
17496
|
-
- siteSpaces
|
|
17497
|
-
- urls
|
|
17498
|
-
SiteStructure:
|
|
17499
|
-
oneOf:
|
|
17500
|
-
- type: object
|
|
17501
|
-
properties:
|
|
17502
|
-
type:
|
|
17503
|
-
type: string
|
|
17504
|
-
enum:
|
|
17505
|
-
- sections
|
|
17506
|
-
structure:
|
|
17507
|
-
type: array
|
|
17508
|
-
items:
|
|
17509
|
-
$ref: "#/components/schemas/SiteSection"
|
|
17510
|
-
required:
|
|
17511
|
-
- type
|
|
17512
|
-
- structure
|
|
17513
|
-
- type: object
|
|
17514
|
-
properties:
|
|
17515
|
-
type:
|
|
17516
|
-
type: string
|
|
17517
|
-
enum:
|
|
17518
|
-
- siteSpaces
|
|
17519
|
-
structure:
|
|
17520
|
-
type: array
|
|
17521
|
-
items:
|
|
17522
|
-
$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"
|
|
17523
17760
|
required:
|
|
17524
17761
|
- type
|
|
17525
|
-
-
|
|
17762
|
+
- plan
|
|
17526
17763
|
SitePublishingAuth:
|
|
17527
17764
|
allOf:
|
|
17528
17765
|
- oneOf:
|
|
@@ -17831,56 +18068,90 @@ components:
|
|
|
17831
18068
|
- user
|
|
17832
18069
|
- origin
|
|
17833
18070
|
SiteTrackPageView:
|
|
17834
|
-
|
|
17835
|
-
|
|
17836
|
-
pageId:
|
|
17837
|
-
type: string
|
|
17838
|
-
description: Unique identifier of the page.
|
|
17839
|
-
spaceId:
|
|
17840
|
-
type: string
|
|
17841
|
-
description: Unique identifier of the space.
|
|
17842
|
-
visitor:
|
|
17843
|
-
type: object
|
|
17844
|
-
description: Analytics info on the GitBook's content visitor.
|
|
18071
|
+
allOf:
|
|
18072
|
+
- type: object
|
|
17845
18073
|
properties:
|
|
17846
|
-
|
|
18074
|
+
pageId:
|
|
17847
18075
|
type: string
|
|
17848
|
-
description:
|
|
17849
|
-
|
|
18076
|
+
description: Unique identifier of the page.
|
|
18077
|
+
visitor:
|
|
17850
18078
|
type: object
|
|
17851
|
-
description:
|
|
17852
|
-
|
|
17853
|
-
|
|
17854
|
-
|
|
17855
|
-
|
|
17856
|
-
|
|
17857
|
-
|
|
17858
|
-
|
|
17859
|
-
|
|
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:
|
|
17860
18109
|
type: string
|
|
17861
|
-
description:
|
|
17862
|
-
|
|
17863
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
|
|
17864
|
-
language:
|
|
18110
|
+
description: The GitBook content's URL visited (including URL params).
|
|
18111
|
+
referrer:
|
|
17865
18112
|
type: string
|
|
17866
|
-
description:
|
|
17867
|
-
Language of the visitor.
|
|
17868
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language
|
|
18113
|
+
description: The URL of referrer that linked to the page.
|
|
17869
18114
|
required:
|
|
17870
|
-
-
|
|
17871
|
-
-
|
|
17872
|
-
-
|
|
17873
|
-
|
|
17874
|
-
|
|
17875
|
-
|
|
17876
|
-
|
|
17877
|
-
|
|
17878
|
-
|
|
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
|
|
17879
18144
|
required:
|
|
17880
|
-
-
|
|
17881
|
-
-
|
|
17882
|
-
-
|
|
17883
|
-
|
|
18145
|
+
- impressions
|
|
18146
|
+
- clicks
|
|
18147
|
+
- revenue
|
|
18148
|
+
properties:
|
|
18149
|
+
impressions:
|
|
18150
|
+
type: number
|
|
18151
|
+
clicks:
|
|
18152
|
+
type: number
|
|
18153
|
+
revenue:
|
|
18154
|
+
type: string
|
|
17884
18155
|
InsightsContentPage:
|
|
17885
18156
|
type: object
|
|
17886
18157
|
description: Page entry in the content insights.
|
|
@@ -17903,32 +18174,6 @@ components:
|
|
|
17903
18174
|
icon:
|
|
17904
18175
|
description: Icon of the page, if one has been set.
|
|
17905
18176
|
$ref: "#/components/schemas/Icon"
|
|
17906
|
-
SiteAdsStats:
|
|
17907
|
-
type: object
|
|
17908
|
-
required:
|
|
17909
|
-
- impressions
|
|
17910
|
-
- clicks
|
|
17911
|
-
- revenue
|
|
17912
|
-
- account
|
|
17913
|
-
properties:
|
|
17914
|
-
impressions:
|
|
17915
|
-
type: number
|
|
17916
|
-
clicks:
|
|
17917
|
-
type: number
|
|
17918
|
-
revenue:
|
|
17919
|
-
type: string
|
|
17920
|
-
account:
|
|
17921
|
-
type: object
|
|
17922
|
-
properties:
|
|
17923
|
-
email:
|
|
17924
|
-
type: string
|
|
17925
|
-
description: Email address on the Ads platform.
|
|
17926
|
-
url:
|
|
17927
|
-
type: string
|
|
17928
|
-
description: URL to configure payout.
|
|
17929
|
-
required:
|
|
17930
|
-
- email
|
|
17931
|
-
- url
|
|
17932
18177
|
CustomHostnameDnsStatus:
|
|
17933
18178
|
type: string
|
|
17934
18179
|
enum:
|
|
@@ -18619,6 +18864,21 @@ components:
|
|
|
18619
18864
|
- file_edited
|
|
18620
18865
|
- file_deleted
|
|
18621
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
|
|
18622
18882
|
OrganizationTransferResponse:
|
|
18623
18883
|
type: object
|
|
18624
18884
|
required:
|
|
@@ -18791,6 +19051,9 @@ components:
|
|
|
18791
19051
|
siteSpace:
|
|
18792
19052
|
type: string
|
|
18793
19053
|
description: ID of the site-space to be used when using this token for rendering published content.
|
|
19054
|
+
siteSection:
|
|
19055
|
+
type: string
|
|
19056
|
+
description: ID of the site-section to be used when using this token for rendering published content. Only defined for section sites.
|
|
18794
19057
|
space:
|
|
18795
19058
|
type: string
|
|
18796
19059
|
description: ID of the space to be used when using this token for rendering published content.
|
|
@@ -18817,78 +19080,79 @@ components:
|
|
|
18817
19080
|
required:
|
|
18818
19081
|
- channel
|
|
18819
19082
|
- space
|
|
18820
|
-
|
|
19083
|
+
SpaceContentChannel:
|
|
18821
19084
|
type: object
|
|
19085
|
+
description: Channel notified when the main content of a space is changed.
|
|
18822
19086
|
properties:
|
|
18823
19087
|
channel:
|
|
18824
19088
|
type: string
|
|
18825
19089
|
enum:
|
|
18826
|
-
- space-
|
|
19090
|
+
- space-content
|
|
18827
19091
|
space:
|
|
18828
19092
|
type: string
|
|
18829
19093
|
required:
|
|
18830
19094
|
- channel
|
|
18831
19095
|
- space
|
|
18832
|
-
|
|
19096
|
+
SpaceGitInfoChannel:
|
|
18833
19097
|
type: object
|
|
18834
19098
|
properties:
|
|
18835
19099
|
channel:
|
|
18836
19100
|
type: string
|
|
18837
19101
|
enum:
|
|
18838
|
-
- space-
|
|
19102
|
+
- space-git-info
|
|
18839
19103
|
space:
|
|
18840
19104
|
type: string
|
|
18841
19105
|
required:
|
|
18842
19106
|
- channel
|
|
18843
19107
|
- space
|
|
18844
|
-
|
|
19108
|
+
SpacePublishingAuthChannel:
|
|
18845
19109
|
type: object
|
|
18846
19110
|
properties:
|
|
18847
19111
|
channel:
|
|
18848
19112
|
type: string
|
|
18849
19113
|
enum:
|
|
18850
|
-
- space-publishing-
|
|
19114
|
+
- space-publishing-auth
|
|
18851
19115
|
space:
|
|
18852
19116
|
type: string
|
|
18853
19117
|
required:
|
|
18854
19118
|
- channel
|
|
18855
19119
|
- space
|
|
18856
|
-
|
|
19120
|
+
SpacePublishingCustomizationChannel:
|
|
18857
19121
|
type: object
|
|
18858
19122
|
properties:
|
|
18859
19123
|
channel:
|
|
18860
19124
|
type: string
|
|
18861
19125
|
enum:
|
|
18862
|
-
- space-
|
|
19126
|
+
- space-publishing-customization
|
|
18863
19127
|
space:
|
|
18864
19128
|
type: string
|
|
18865
19129
|
required:
|
|
18866
19130
|
- channel
|
|
18867
19131
|
- space
|
|
18868
|
-
|
|
19132
|
+
SpaceCustomFieldsChannel:
|
|
18869
19133
|
type: object
|
|
18870
19134
|
properties:
|
|
18871
19135
|
channel:
|
|
18872
19136
|
type: string
|
|
18873
19137
|
enum:
|
|
18874
|
-
- space-
|
|
19138
|
+
- space-customfields
|
|
18875
19139
|
space:
|
|
18876
19140
|
type: string
|
|
18877
19141
|
required:
|
|
18878
19142
|
- channel
|
|
18879
19143
|
- space
|
|
18880
|
-
|
|
19144
|
+
SpaceContentRefsChannel:
|
|
18881
19145
|
type: object
|
|
18882
19146
|
properties:
|
|
18883
19147
|
channel:
|
|
18884
19148
|
type: string
|
|
18885
19149
|
enum:
|
|
18886
|
-
-
|
|
18887
|
-
|
|
19150
|
+
- space-content-refs
|
|
19151
|
+
space:
|
|
18888
19152
|
type: string
|
|
18889
19153
|
required:
|
|
18890
19154
|
- channel
|
|
18891
|
-
-
|
|
19155
|
+
- space
|
|
18892
19156
|
SpaceIntegrationsChannel:
|
|
18893
19157
|
type: object
|
|
18894
19158
|
properties:
|
|
@@ -18991,13 +19255,13 @@ components:
|
|
|
18991
19255
|
- channel
|
|
18992
19256
|
- space
|
|
18993
19257
|
- changeRequest
|
|
18994
|
-
|
|
19258
|
+
ChangeRequestContentRefsChannel:
|
|
18995
19259
|
type: object
|
|
18996
19260
|
properties:
|
|
18997
19261
|
channel:
|
|
18998
19262
|
type: string
|
|
18999
19263
|
enum:
|
|
19000
|
-
- space-change-request-
|
|
19264
|
+
- space-change-request-content-refs
|
|
19001
19265
|
space:
|
|
19002
19266
|
type: string
|
|
19003
19267
|
changeRequest:
|
|
@@ -19239,7 +19503,7 @@ components:
|
|
|
19239
19503
|
required:
|
|
19240
19504
|
- channel
|
|
19241
19505
|
- organization
|
|
19242
|
-
|
|
19506
|
+
SpaceCommentsChannel:
|
|
19243
19507
|
type: object
|
|
19244
19508
|
properties:
|
|
19245
19509
|
channel:
|
|
@@ -19248,11 +19512,24 @@ components:
|
|
|
19248
19512
|
- space-comments
|
|
19249
19513
|
space:
|
|
19250
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
|
|
19251
19527
|
changeRequest:
|
|
19252
19528
|
type: string
|
|
19253
19529
|
required:
|
|
19254
19530
|
- channel
|
|
19255
19531
|
- space
|
|
19532
|
+
- changeRequest
|
|
19256
19533
|
CommentInfoChannel:
|
|
19257
19534
|
type: object
|
|
19258
19535
|
properties:
|
|
@@ -19262,8 +19539,6 @@ components:
|
|
|
19262
19539
|
- space-comment
|
|
19263
19540
|
space:
|
|
19264
19541
|
type: string
|
|
19265
|
-
changeRequest:
|
|
19266
|
-
type: string
|
|
19267
19542
|
comment:
|
|
19268
19543
|
type: string
|
|
19269
19544
|
required:
|
|
@@ -19279,8 +19554,6 @@ components:
|
|
|
19279
19554
|
- space-comment-reply
|
|
19280
19555
|
space:
|
|
19281
19556
|
type: string
|
|
19282
|
-
changeRequest:
|
|
19283
|
-
type: string
|
|
19284
19557
|
comment:
|
|
19285
19558
|
type: string
|
|
19286
19559
|
commentReply:
|
|
@@ -19299,8 +19572,6 @@ components:
|
|
|
19299
19572
|
- space-comment-replies
|
|
19300
19573
|
space:
|
|
19301
19574
|
type: string
|
|
19302
|
-
changeRequest:
|
|
19303
|
-
type: string
|
|
19304
19575
|
comment:
|
|
19305
19576
|
type: string
|
|
19306
19577
|
required:
|
|
@@ -19546,16 +19817,40 @@ components:
|
|
|
19546
19817
|
required:
|
|
19547
19818
|
- channel
|
|
19548
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
|
|
19549
19844
|
SubscriptionChannel:
|
|
19550
|
-
description: Channel to subscribe to for
|
|
19845
|
+
description: Channel to subscribe to for realtime updates.
|
|
19551
19846
|
oneOf:
|
|
19552
19847
|
- $ref: "#/components/schemas/SpaceInfoChannel"
|
|
19848
|
+
- $ref: "#/components/schemas/SpaceContentChannel"
|
|
19553
19849
|
- $ref: "#/components/schemas/SpaceGitInfoChannel"
|
|
19554
19850
|
- $ref: "#/components/schemas/SpacePublishingAuthChannel"
|
|
19555
19851
|
- $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
|
|
19556
19852
|
- $ref: "#/components/schemas/SpaceCustomFieldsChannel"
|
|
19557
|
-
- $ref: "#/components/schemas/
|
|
19558
|
-
- $ref: "#/components/schemas/BackofficeUserInfoChannel"
|
|
19853
|
+
- $ref: "#/components/schemas/SpaceContentRefsChannel"
|
|
19559
19854
|
- $ref: "#/components/schemas/SpaceIntegrationsChannel"
|
|
19560
19855
|
- $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
|
|
19561
19856
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
@@ -19564,7 +19859,7 @@ components:
|
|
|
19564
19859
|
- $ref: "#/components/schemas/ChangeRequestChannel"
|
|
19565
19860
|
- $ref: "#/components/schemas/ChangeRequestsChannel"
|
|
19566
19861
|
- $ref: "#/components/schemas/ChangeRequestReviewsChannel"
|
|
19567
|
-
- $ref: "#/components/schemas/
|
|
19862
|
+
- $ref: "#/components/schemas/ChangeRequestContentRefsChannel"
|
|
19568
19863
|
- $ref: "#/components/schemas/CollectionChannel"
|
|
19569
19864
|
- $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
|
|
19570
19865
|
- $ref: "#/components/schemas/OrganizationInfoChannel"
|
|
@@ -19583,7 +19878,8 @@ components:
|
|
|
19583
19878
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
19584
19879
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
19585
19880
|
- $ref: "#/components/schemas/OrganizationExperimentalFeaturesChannel"
|
|
19586
|
-
- $ref: "#/components/schemas/
|
|
19881
|
+
- $ref: "#/components/schemas/SpaceCommentsChannel"
|
|
19882
|
+
- $ref: "#/components/schemas/ChangeRequestCommentsChannel"
|
|
19587
19883
|
- $ref: "#/components/schemas/CommentInfoChannel"
|
|
19588
19884
|
- $ref: "#/components/schemas/CommentReplyInfoChannel"
|
|
19589
19885
|
- $ref: "#/components/schemas/CommentRepliesChannel"
|
|
@@ -19604,6 +19900,117 @@ components:
|
|
|
19604
19900
|
- $ref: "#/components/schemas/SiteShareLinkChannel"
|
|
19605
19901
|
- $ref: "#/components/schemas/SiteSectionChannel"
|
|
19606
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"
|
|
19607
20014
|
discriminator:
|
|
19608
20015
|
propertyName: channel
|
|
19609
20016
|
SiteAdsStatus:
|