@gitbook/api 0.74.0 → 0.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +607 -375
- package/dist/index.cjs +84 -40
- package/dist/index.js +82 -40
- package/package.json +1 -1
- package/spec/openapi.json +1741 -1018
- package/spec/openapi.yaml +984 -524
package/spec/openapi.json
CHANGED
|
@@ -319,7 +319,8 @@
|
|
|
319
319
|
"operationId": "getUserById",
|
|
320
320
|
"summary": "Get a user by its ID",
|
|
321
321
|
"tags": [
|
|
322
|
-
"users"
|
|
322
|
+
"users",
|
|
323
|
+
"critical"
|
|
323
324
|
],
|
|
324
325
|
"security": [
|
|
325
326
|
{
|
|
@@ -354,7 +355,8 @@
|
|
|
354
355
|
"operationId": "getSpaceById",
|
|
355
356
|
"summary": "Get the details about a space.",
|
|
356
357
|
"tags": [
|
|
357
|
-
"spaces"
|
|
358
|
+
"spaces",
|
|
359
|
+
"critical"
|
|
358
360
|
],
|
|
359
361
|
"security": [
|
|
360
362
|
{
|
|
@@ -2218,7 +2220,16 @@
|
|
|
2218
2220
|
"$ref": "#/components/schemas/ChangeRequestStatus",
|
|
2219
2221
|
"default": "open"
|
|
2220
2222
|
},
|
|
2221
|
-
"description": "If defined, only change requests matching this status will be returned"
|
|
2223
|
+
"description": "If defined, only change requests matching this status will be returned."
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
"name": "contributor",
|
|
2227
|
+
"in": "query",
|
|
2228
|
+
"required": false,
|
|
2229
|
+
"schema": {
|
|
2230
|
+
"type": "string"
|
|
2231
|
+
},
|
|
2232
|
+
"description": "If defined, only change requests with contributions from this user will be returned."
|
|
2222
2233
|
}
|
|
2223
2234
|
],
|
|
2224
2235
|
"responses": {
|
|
@@ -6664,6 +6675,15 @@
|
|
|
6664
6675
|
"schema": {
|
|
6665
6676
|
"type": "string"
|
|
6666
6677
|
}
|
|
6678
|
+
},
|
|
6679
|
+
{
|
|
6680
|
+
"name": "extended",
|
|
6681
|
+
"in": "query",
|
|
6682
|
+
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
6683
|
+
"schema": {
|
|
6684
|
+
"type": "boolean",
|
|
6685
|
+
"default": false
|
|
6686
|
+
}
|
|
6667
6687
|
}
|
|
6668
6688
|
],
|
|
6669
6689
|
"responses": {
|
|
@@ -7097,6 +7117,15 @@
|
|
|
7097
7117
|
},
|
|
7098
7118
|
{
|
|
7099
7119
|
"$ref": "#/components/parameters/listLimit"
|
|
7120
|
+
},
|
|
7121
|
+
{
|
|
7122
|
+
"name": "extended",
|
|
7123
|
+
"in": "query",
|
|
7124
|
+
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7125
|
+
"schema": {
|
|
7126
|
+
"type": "boolean",
|
|
7127
|
+
"default": false
|
|
7128
|
+
}
|
|
7100
7129
|
}
|
|
7101
7130
|
],
|
|
7102
7131
|
"responses": {
|
|
@@ -7142,6 +7171,15 @@
|
|
|
7142
7171
|
},
|
|
7143
7172
|
{
|
|
7144
7173
|
"$ref": "#/components/parameters/installationId"
|
|
7174
|
+
},
|
|
7175
|
+
{
|
|
7176
|
+
"name": "extended",
|
|
7177
|
+
"in": "query",
|
|
7178
|
+
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7179
|
+
"schema": {
|
|
7180
|
+
"type": "boolean",
|
|
7181
|
+
"default": false
|
|
7182
|
+
}
|
|
7145
7183
|
}
|
|
7146
7184
|
],
|
|
7147
7185
|
"requestBody": {
|
|
@@ -7207,6 +7245,15 @@
|
|
|
7207
7245
|
},
|
|
7208
7246
|
{
|
|
7209
7247
|
"$ref": "#/components/parameters/spaceId"
|
|
7248
|
+
},
|
|
7249
|
+
{
|
|
7250
|
+
"name": "extended",
|
|
7251
|
+
"in": "query",
|
|
7252
|
+
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7253
|
+
"schema": {
|
|
7254
|
+
"type": "boolean",
|
|
7255
|
+
"default": false
|
|
7256
|
+
}
|
|
7210
7257
|
}
|
|
7211
7258
|
],
|
|
7212
7259
|
"responses": {
|
|
@@ -7240,6 +7287,15 @@
|
|
|
7240
7287
|
},
|
|
7241
7288
|
{
|
|
7242
7289
|
"$ref": "#/components/parameters/spaceId"
|
|
7290
|
+
},
|
|
7291
|
+
{
|
|
7292
|
+
"name": "extended",
|
|
7293
|
+
"in": "query",
|
|
7294
|
+
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7295
|
+
"schema": {
|
|
7296
|
+
"type": "boolean",
|
|
7297
|
+
"default": false
|
|
7298
|
+
}
|
|
7243
7299
|
}
|
|
7244
7300
|
],
|
|
7245
7301
|
"responses": {
|
|
@@ -7311,6 +7367,15 @@
|
|
|
7311
7367
|
},
|
|
7312
7368
|
{
|
|
7313
7369
|
"$ref": "#/components/parameters/listLimit"
|
|
7370
|
+
},
|
|
7371
|
+
{
|
|
7372
|
+
"name": "extended",
|
|
7373
|
+
"in": "query",
|
|
7374
|
+
"description": "If true, returns the site object in each items. If false, returns the site ID in each items.",
|
|
7375
|
+
"schema": {
|
|
7376
|
+
"type": "boolean",
|
|
7377
|
+
"default": false
|
|
7378
|
+
}
|
|
7314
7379
|
}
|
|
7315
7380
|
],
|
|
7316
7381
|
"responses": {
|
|
@@ -7359,6 +7424,15 @@
|
|
|
7359
7424
|
},
|
|
7360
7425
|
{
|
|
7361
7426
|
"$ref": "#/components/parameters/installationId"
|
|
7427
|
+
},
|
|
7428
|
+
{
|
|
7429
|
+
"name": "extended",
|
|
7430
|
+
"in": "query",
|
|
7431
|
+
"description": "If true, returns the site object in each items. If false, returns the site ID in each items.",
|
|
7432
|
+
"schema": {
|
|
7433
|
+
"type": "boolean",
|
|
7434
|
+
"default": false
|
|
7435
|
+
}
|
|
7362
7436
|
}
|
|
7363
7437
|
],
|
|
7364
7438
|
"requestBody": {
|
|
@@ -7424,6 +7498,15 @@
|
|
|
7424
7498
|
},
|
|
7425
7499
|
{
|
|
7426
7500
|
"$ref": "#/components/parameters/siteId"
|
|
7501
|
+
},
|
|
7502
|
+
{
|
|
7503
|
+
"name": "extended",
|
|
7504
|
+
"in": "query",
|
|
7505
|
+
"description": "If true, returns the site object in each items. If false, returns the site ID in each items.",
|
|
7506
|
+
"schema": {
|
|
7507
|
+
"type": "boolean",
|
|
7508
|
+
"default": false
|
|
7509
|
+
}
|
|
7427
7510
|
}
|
|
7428
7511
|
],
|
|
7429
7512
|
"responses": {
|
|
@@ -7457,6 +7540,15 @@
|
|
|
7457
7540
|
},
|
|
7458
7541
|
{
|
|
7459
7542
|
"$ref": "#/components/parameters/siteId"
|
|
7543
|
+
},
|
|
7544
|
+
{
|
|
7545
|
+
"name": "extended",
|
|
7546
|
+
"in": "query",
|
|
7547
|
+
"description": "If true, returns the site object in each items. If false, returns the site ID in each items.",
|
|
7548
|
+
"schema": {
|
|
7549
|
+
"type": "boolean",
|
|
7550
|
+
"default": false
|
|
7551
|
+
}
|
|
7460
7552
|
}
|
|
7461
7553
|
],
|
|
7462
7554
|
"responses": {
|
|
@@ -7613,7 +7705,8 @@
|
|
|
7613
7705
|
"operationId": "getOrganizationById",
|
|
7614
7706
|
"summary": "Get an organization by its ID",
|
|
7615
7707
|
"tags": [
|
|
7616
|
-
"organizations"
|
|
7708
|
+
"organizations",
|
|
7709
|
+
"critical"
|
|
7617
7710
|
],
|
|
7618
7711
|
"security": [
|
|
7619
7712
|
{
|
|
@@ -7742,6 +7835,9 @@
|
|
|
7742
7835
|
},
|
|
7743
7836
|
"ai": {
|
|
7744
7837
|
"type": "boolean"
|
|
7838
|
+
},
|
|
7839
|
+
"inviteLinks": {
|
|
7840
|
+
"type": "boolean"
|
|
7745
7841
|
}
|
|
7746
7842
|
}
|
|
7747
7843
|
}
|
|
@@ -7769,6 +7865,41 @@
|
|
|
7769
7865
|
}
|
|
7770
7866
|
}
|
|
7771
7867
|
},
|
|
7868
|
+
"/orgs/{organizationId}/content": {
|
|
7869
|
+
"get": {
|
|
7870
|
+
"operationId": "getOrganizationAllContent",
|
|
7871
|
+
"summary": "List all content in an organization",
|
|
7872
|
+
"description": "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.\n",
|
|
7873
|
+
"tags": [
|
|
7874
|
+
"organizations"
|
|
7875
|
+
],
|
|
7876
|
+
"security": [
|
|
7877
|
+
{
|
|
7878
|
+
"user-internal": []
|
|
7879
|
+
}
|
|
7880
|
+
],
|
|
7881
|
+
"parameters": [
|
|
7882
|
+
{
|
|
7883
|
+
"$ref": "#/components/parameters/organizationId"
|
|
7884
|
+
}
|
|
7885
|
+
],
|
|
7886
|
+
"responses": {
|
|
7887
|
+
"200": {
|
|
7888
|
+
"description": "OK",
|
|
7889
|
+
"content": {
|
|
7890
|
+
"application/json": {
|
|
7891
|
+
"schema": {
|
|
7892
|
+
"$ref": "#/components/schemas/OrganizationAllContent"
|
|
7893
|
+
}
|
|
7894
|
+
}
|
|
7895
|
+
}
|
|
7896
|
+
},
|
|
7897
|
+
"default": {
|
|
7898
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
7899
|
+
}
|
|
7900
|
+
}
|
|
7901
|
+
}
|
|
7902
|
+
},
|
|
7772
7903
|
"/orgs/{organizationId}/members": {
|
|
7773
7904
|
"get": {
|
|
7774
7905
|
"operationId": "listMembersInOrganizationById",
|
|
@@ -9069,7 +9200,9 @@
|
|
|
9069
9200
|
}
|
|
9070
9201
|
}
|
|
9071
9202
|
}
|
|
9072
|
-
}
|
|
9203
|
+
}
|
|
9204
|
+
},
|
|
9205
|
+
"/orgs/{organizationId}/billing/portal": {
|
|
9073
9206
|
"get": {
|
|
9074
9207
|
"operationId": "getOrganizationBillingPortal",
|
|
9075
9208
|
"summary": "Get the billing portal for an organization",
|
|
@@ -11631,7 +11764,8 @@
|
|
|
11631
11764
|
"operationId": "listSites",
|
|
11632
11765
|
"summary": "List all the sites created in an organization",
|
|
11633
11766
|
"tags": [
|
|
11634
|
-
"sites"
|
|
11767
|
+
"sites",
|
|
11768
|
+
"critical"
|
|
11635
11769
|
],
|
|
11636
11770
|
"security": [
|
|
11637
11771
|
{
|
|
@@ -11979,6 +12113,50 @@
|
|
|
11979
12113
|
}
|
|
11980
12114
|
}
|
|
11981
12115
|
},
|
|
12116
|
+
"/orgs/{organizationId}/sites/{siteId}/published": {
|
|
12117
|
+
"get": {
|
|
12118
|
+
"operationId": "getPublishedContentSite",
|
|
12119
|
+
"summary": "Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.",
|
|
12120
|
+
"tags": [
|
|
12121
|
+
"sites"
|
|
12122
|
+
],
|
|
12123
|
+
"security": [
|
|
12124
|
+
{
|
|
12125
|
+
"user": []
|
|
12126
|
+
}
|
|
12127
|
+
],
|
|
12128
|
+
"parameters": [
|
|
12129
|
+
{
|
|
12130
|
+
"$ref": "#/components/parameters/organizationId"
|
|
12131
|
+
},
|
|
12132
|
+
{
|
|
12133
|
+
"$ref": "#/components/parameters/siteId"
|
|
12134
|
+
},
|
|
12135
|
+
{
|
|
12136
|
+
"$ref": "#/components/parameters/siteShareKey"
|
|
12137
|
+
}
|
|
12138
|
+
],
|
|
12139
|
+
"responses": {
|
|
12140
|
+
"200": {
|
|
12141
|
+
"description": "OK",
|
|
12142
|
+
"content": {
|
|
12143
|
+
"application/json": {
|
|
12144
|
+
"schema": {
|
|
12145
|
+
"$ref": "#/components/schemas/PublishedContentSite"
|
|
12146
|
+
}
|
|
12147
|
+
}
|
|
12148
|
+
}
|
|
12149
|
+
},
|
|
12150
|
+
"404": {
|
|
12151
|
+
"description": "No matching site found",
|
|
12152
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
12153
|
+
},
|
|
12154
|
+
"default": {
|
|
12155
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
12156
|
+
}
|
|
12157
|
+
}
|
|
12158
|
+
}
|
|
12159
|
+
},
|
|
11982
12160
|
"/orgs/{organizationId}/sites/{siteId}/publish": {
|
|
11983
12161
|
"post": {
|
|
11984
12162
|
"operationId": "publishSite",
|
|
@@ -12372,6 +12550,10 @@
|
|
|
12372
12550
|
"interval": {
|
|
12373
12551
|
"description": "Desired interval for new subscriptions. Defaults to the existing billing interval.",
|
|
12374
12552
|
"$ref": "#/components/schemas/BillingInterval"
|
|
12553
|
+
},
|
|
12554
|
+
"reason": {
|
|
12555
|
+
"type": "string",
|
|
12556
|
+
"description": "Reason that triggered the billing upgrade"
|
|
12375
12557
|
}
|
|
12376
12558
|
},
|
|
12377
12559
|
"required": [
|
|
@@ -12440,6 +12622,15 @@
|
|
|
12440
12622
|
"enum": [
|
|
12441
12623
|
"success"
|
|
12442
12624
|
]
|
|
12625
|
+
},
|
|
12626
|
+
"outcome": {
|
|
12627
|
+
"description": "* `upgraded`: Subscription was upgraded to include the site\n* `downgraded`: Subscription was downgraded by removing the site\n* `no-payment-changes`: No impact on subscription (e.g. trial, unpublished)\n",
|
|
12628
|
+
"type": "object",
|
|
12629
|
+
"enum": [
|
|
12630
|
+
"upgraded",
|
|
12631
|
+
"downgraded",
|
|
12632
|
+
"no-payment-changes"
|
|
12633
|
+
]
|
|
12443
12634
|
}
|
|
12444
12635
|
}
|
|
12445
12636
|
}
|
|
@@ -12991,7 +13182,8 @@
|
|
|
12991
13182
|
"operationId": "listSiteSpaces",
|
|
12992
13183
|
"summary": "List all the site spaces under a site in an organization",
|
|
12993
13184
|
"tags": [
|
|
12994
|
-
"sites"
|
|
13185
|
+
"sites",
|
|
13186
|
+
"critical"
|
|
12995
13187
|
],
|
|
12996
13188
|
"security": [
|
|
12997
13189
|
{
|
|
@@ -14420,6 +14612,113 @@
|
|
|
14420
14612
|
}
|
|
14421
14613
|
}
|
|
14422
14614
|
},
|
|
14615
|
+
"/orgs/{organizationId}/sites/{siteId}/insights/ads": {
|
|
14616
|
+
"get": {
|
|
14617
|
+
"operationId": "getAdsInsightsForSiteById",
|
|
14618
|
+
"summary": "Get analytics insights of ads on a site.",
|
|
14619
|
+
"tags": [
|
|
14620
|
+
"analytics",
|
|
14621
|
+
"sites"
|
|
14622
|
+
],
|
|
14623
|
+
"security": [
|
|
14624
|
+
{
|
|
14625
|
+
"user-internal": []
|
|
14626
|
+
}
|
|
14627
|
+
],
|
|
14628
|
+
"parameters": [
|
|
14629
|
+
{
|
|
14630
|
+
"$ref": "#/components/parameters/organizationId"
|
|
14631
|
+
},
|
|
14632
|
+
{
|
|
14633
|
+
"$ref": "#/components/parameters/siteId"
|
|
14634
|
+
},
|
|
14635
|
+
{
|
|
14636
|
+
"name": "interval",
|
|
14637
|
+
"in": "query",
|
|
14638
|
+
"schema": {
|
|
14639
|
+
"$ref": "#/components/schemas/InsightsInterval"
|
|
14640
|
+
}
|
|
14641
|
+
},
|
|
14642
|
+
{
|
|
14643
|
+
"name": "start",
|
|
14644
|
+
"description": "The earliest timestamp for any data returned",
|
|
14645
|
+
"in": "query",
|
|
14646
|
+
"schema": {
|
|
14647
|
+
"type": "string",
|
|
14648
|
+
"format": "date-time"
|
|
14649
|
+
}
|
|
14650
|
+
},
|
|
14651
|
+
{
|
|
14652
|
+
"name": "end",
|
|
14653
|
+
"description": "The latest timestamp for any data returned",
|
|
14654
|
+
"in": "query",
|
|
14655
|
+
"schema": {
|
|
14656
|
+
"type": "string",
|
|
14657
|
+
"format": "date-time"
|
|
14658
|
+
}
|
|
14659
|
+
}
|
|
14660
|
+
],
|
|
14661
|
+
"responses": {
|
|
14662
|
+
"200": {
|
|
14663
|
+
"description": "The site's ads insights stats for the provided period.",
|
|
14664
|
+
"content": {
|
|
14665
|
+
"application/json": {
|
|
14666
|
+
"schema": {
|
|
14667
|
+
"type": "object",
|
|
14668
|
+
"properties": {
|
|
14669
|
+
"values": {
|
|
14670
|
+
"type": "array",
|
|
14671
|
+
"description": "A time serie of the ads stats over the provided period",
|
|
14672
|
+
"items": {
|
|
14673
|
+
"type": "object",
|
|
14674
|
+
"properties": {
|
|
14675
|
+
"date": {
|
|
14676
|
+
"description": "The start date of this interval",
|
|
14677
|
+
"type": "string",
|
|
14678
|
+
"format": "date-time"
|
|
14679
|
+
},
|
|
14680
|
+
"stats": {
|
|
14681
|
+
"$ref": "#/components/schemas/SiteAdsStats"
|
|
14682
|
+
}
|
|
14683
|
+
},
|
|
14684
|
+
"required": [
|
|
14685
|
+
"date",
|
|
14686
|
+
"stats"
|
|
14687
|
+
]
|
|
14688
|
+
}
|
|
14689
|
+
},
|
|
14690
|
+
"account": {
|
|
14691
|
+
"type": "object",
|
|
14692
|
+
"properties": {
|
|
14693
|
+
"email": {
|
|
14694
|
+
"type": "string",
|
|
14695
|
+
"description": "Email address on the Ads platform."
|
|
14696
|
+
},
|
|
14697
|
+
"url": {
|
|
14698
|
+
"type": "string",
|
|
14699
|
+
"description": "URL to configure payout."
|
|
14700
|
+
}
|
|
14701
|
+
},
|
|
14702
|
+
"required": [
|
|
14703
|
+
"email",
|
|
14704
|
+
"url"
|
|
14705
|
+
]
|
|
14706
|
+
}
|
|
14707
|
+
},
|
|
14708
|
+
"required": [
|
|
14709
|
+
"values",
|
|
14710
|
+
"account"
|
|
14711
|
+
]
|
|
14712
|
+
}
|
|
14713
|
+
}
|
|
14714
|
+
}
|
|
14715
|
+
},
|
|
14716
|
+
"default": {
|
|
14717
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14718
|
+
}
|
|
14719
|
+
}
|
|
14720
|
+
}
|
|
14721
|
+
},
|
|
14423
14722
|
"/orgs/{organizationId}/sites/{siteId}/insights/search": {
|
|
14424
14723
|
"get": {
|
|
14425
14724
|
"operationId": "getSearchAnalyticsForSiteById",
|
|
@@ -14528,24 +14827,21 @@
|
|
|
14528
14827
|
}
|
|
14529
14828
|
}
|
|
14530
14829
|
},
|
|
14531
|
-
"/
|
|
14532
|
-
"
|
|
14533
|
-
"operationId": "
|
|
14534
|
-
"summary": "Get the
|
|
14830
|
+
"/custom-hostnames/{hostname}": {
|
|
14831
|
+
"get": {
|
|
14832
|
+
"operationId": "getCustomHostname",
|
|
14833
|
+
"summary": "Get the details about a custom hostname.",
|
|
14535
14834
|
"tags": [
|
|
14536
|
-
"
|
|
14835
|
+
"custom-hostnames"
|
|
14537
14836
|
],
|
|
14538
14837
|
"security": [
|
|
14539
14838
|
{
|
|
14540
|
-
"user": []
|
|
14839
|
+
"user-internal": []
|
|
14541
14840
|
}
|
|
14542
14841
|
],
|
|
14543
14842
|
"parameters": [
|
|
14544
14843
|
{
|
|
14545
|
-
"$ref": "#/components/parameters/
|
|
14546
|
-
},
|
|
14547
|
-
{
|
|
14548
|
-
"$ref": "#/components/parameters/siteId"
|
|
14844
|
+
"$ref": "#/components/parameters/hostname"
|
|
14549
14845
|
}
|
|
14550
14846
|
],
|
|
14551
14847
|
"responses": {
|
|
@@ -14554,7 +14850,7 @@
|
|
|
14554
14850
|
"content": {
|
|
14555
14851
|
"application/json": {
|
|
14556
14852
|
"schema": {
|
|
14557
|
-
"$ref": "#/components/schemas/
|
|
14853
|
+
"$ref": "#/components/schemas/CustomHostname"
|
|
14558
14854
|
}
|
|
14559
14855
|
}
|
|
14560
14856
|
}
|
|
@@ -14563,44 +14859,10 @@
|
|
|
14563
14859
|
"$ref": "#/components/responses/UnexpectedError"
|
|
14564
14860
|
}
|
|
14565
14861
|
}
|
|
14566
|
-
}
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
|
|
14570
|
-
"operationId": "getCustomHostname",
|
|
14571
|
-
"summary": "Get the details about a custom hostname.",
|
|
14572
|
-
"tags": [
|
|
14573
|
-
"custom-hostnames"
|
|
14574
|
-
],
|
|
14575
|
-
"security": [
|
|
14576
|
-
{
|
|
14577
|
-
"user-internal": []
|
|
14578
|
-
}
|
|
14579
|
-
],
|
|
14580
|
-
"parameters": [
|
|
14581
|
-
{
|
|
14582
|
-
"$ref": "#/components/parameters/hostname"
|
|
14583
|
-
}
|
|
14584
|
-
],
|
|
14585
|
-
"responses": {
|
|
14586
|
-
"200": {
|
|
14587
|
-
"description": "OK",
|
|
14588
|
-
"content": {
|
|
14589
|
-
"application/json": {
|
|
14590
|
-
"schema": {
|
|
14591
|
-
"$ref": "#/components/schemas/CustomHostname"
|
|
14592
|
-
}
|
|
14593
|
-
}
|
|
14594
|
-
}
|
|
14595
|
-
},
|
|
14596
|
-
"default": {
|
|
14597
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
14598
|
-
}
|
|
14599
|
-
}
|
|
14600
|
-
},
|
|
14601
|
-
"post": {
|
|
14602
|
-
"operationId": "setupCustomHostname",
|
|
14603
|
-
"summary": "Setup a custom hostname on a content or an organization. Any previously set custom hostname will continue pointing to the target but marked as available for use with another target.",
|
|
14862
|
+
},
|
|
14863
|
+
"post": {
|
|
14864
|
+
"operationId": "setupCustomHostname",
|
|
14865
|
+
"summary": "Setup a custom hostname on a content or an organization. Any previously set custom hostname will continue pointing to the target but marked as available for use with another target.",
|
|
14604
14866
|
"tags": [
|
|
14605
14867
|
"custom-hostnames"
|
|
14606
14868
|
],
|
|
@@ -14966,7 +15228,8 @@
|
|
|
14966
15228
|
"operationId": "generateHiveAccessToken",
|
|
14967
15229
|
"summary": "Returns a token to authenticate with Hive.",
|
|
14968
15230
|
"tags": [
|
|
14969
|
-
"hive"
|
|
15231
|
+
"hive",
|
|
15232
|
+
"critical"
|
|
14970
15233
|
],
|
|
14971
15234
|
"security": [
|
|
14972
15235
|
{
|
|
@@ -20759,6 +21022,26 @@
|
|
|
20759
21022
|
"type": "string",
|
|
20760
21023
|
"description": "ID of the active revision in the change request."
|
|
20761
21024
|
},
|
|
21025
|
+
"revisionInitial": {
|
|
21026
|
+
"type": "string",
|
|
21027
|
+
"description": "ID of the initial revision in the space from which the change request was created."
|
|
21028
|
+
},
|
|
21029
|
+
"revisionMergedAncestor": {
|
|
21030
|
+
"type": "string",
|
|
21031
|
+
"description": "ID of the latest revision when updating from main space content."
|
|
21032
|
+
},
|
|
21033
|
+
"revisionMerged": {
|
|
21034
|
+
"type": "string",
|
|
21035
|
+
"description": "When merged, ID of the revision resulting from the merge."
|
|
21036
|
+
},
|
|
21037
|
+
"comments": {
|
|
21038
|
+
"type": "number",
|
|
21039
|
+
"description": "Count of opened comments on the change request."
|
|
21040
|
+
},
|
|
21041
|
+
"outdated": {
|
|
21042
|
+
"type": "boolean",
|
|
21043
|
+
"description": "If true, the change request is not up-to-date with latest changes in the main content."
|
|
21044
|
+
},
|
|
20762
21045
|
"urls": {
|
|
20763
21046
|
"type": "object",
|
|
20764
21047
|
"description": "URLs associated with the object",
|
|
@@ -20790,6 +21073,9 @@
|
|
|
20790
21073
|
"createdAt",
|
|
20791
21074
|
"updatedAt",
|
|
20792
21075
|
"revision",
|
|
21076
|
+
"revisionInitial",
|
|
21077
|
+
"comments",
|
|
21078
|
+
"outdated",
|
|
20793
21079
|
"urls"
|
|
20794
21080
|
]
|
|
20795
21081
|
},
|
|
@@ -21042,6 +21328,28 @@
|
|
|
21042
21328
|
}
|
|
21043
21329
|
]
|
|
21044
21330
|
},
|
|
21331
|
+
"BillingProduct": {
|
|
21332
|
+
"type": "string",
|
|
21333
|
+
"description": "Name of the product",
|
|
21334
|
+
"enum": [
|
|
21335
|
+
"free_2024",
|
|
21336
|
+
"plus_2024",
|
|
21337
|
+
"pro_2024",
|
|
21338
|
+
"enterprise_2024",
|
|
21339
|
+
"free",
|
|
21340
|
+
"plus",
|
|
21341
|
+
"pro",
|
|
21342
|
+
"team",
|
|
21343
|
+
"business",
|
|
21344
|
+
"legacy",
|
|
21345
|
+
"startup",
|
|
21346
|
+
"enterprise",
|
|
21347
|
+
"community",
|
|
21348
|
+
"team_oct_2019_free",
|
|
21349
|
+
"team_dec_2021",
|
|
21350
|
+
"business_dec_2021"
|
|
21351
|
+
]
|
|
21352
|
+
},
|
|
21045
21353
|
"Organization": {
|
|
21046
21354
|
"type": "object",
|
|
21047
21355
|
"properties": {
|
|
@@ -21091,6 +21399,13 @@
|
|
|
21091
21399
|
"description": "If true, the organization is configured to use all our AI features.",
|
|
21092
21400
|
"type": "boolean"
|
|
21093
21401
|
},
|
|
21402
|
+
"inviteLinks": {
|
|
21403
|
+
"description": "If true, invite links are enabled for this organization.",
|
|
21404
|
+
"type": "boolean"
|
|
21405
|
+
},
|
|
21406
|
+
"plan": {
|
|
21407
|
+
"$ref": "#/components/schemas/BillingProduct"
|
|
21408
|
+
},
|
|
21094
21409
|
"urls": {
|
|
21095
21410
|
"type": "object",
|
|
21096
21411
|
"description": "URLs associated with the object",
|
|
@@ -21119,8 +21434,10 @@
|
|
|
21119
21434
|
"required": [
|
|
21120
21435
|
"object",
|
|
21121
21436
|
"id",
|
|
21437
|
+
"plan",
|
|
21122
21438
|
"title",
|
|
21123
21439
|
"createdAt",
|
|
21440
|
+
"inviteLinks",
|
|
21124
21441
|
"type",
|
|
21125
21442
|
"emailDomains",
|
|
21126
21443
|
"urls"
|
|
@@ -25497,9 +25814,9 @@
|
|
|
25497
25814
|
}
|
|
25498
25815
|
}
|
|
25499
25816
|
},
|
|
25500
|
-
"
|
|
25817
|
+
"IntegrationContentInstallationBase": {
|
|
25501
25818
|
"type": "object",
|
|
25502
|
-
"description": "
|
|
25819
|
+
"description": "Base properties of an installation of an integration on a site or space.",
|
|
25503
25820
|
"properties": {
|
|
25504
25821
|
"integration": {
|
|
25505
25822
|
"description": "Unique name identifier of the integration",
|
|
@@ -25509,15 +25826,11 @@
|
|
|
25509
25826
|
"description": "ID of the integration installation",
|
|
25510
25827
|
"type": "string"
|
|
25511
25828
|
},
|
|
25512
|
-
"space": {
|
|
25513
|
-
"description": "ID of the space the integration is installed on.",
|
|
25514
|
-
"type": "string"
|
|
25515
|
-
},
|
|
25516
25829
|
"status": {
|
|
25517
25830
|
"$ref": "#/components/schemas/IntegrationInstallationStatus"
|
|
25518
25831
|
},
|
|
25519
25832
|
"configuration": {
|
|
25520
|
-
"description": "Configuration of the integration for this
|
|
25833
|
+
"description": "Configuration of the integration for this site",
|
|
25521
25834
|
"type": "object"
|
|
25522
25835
|
},
|
|
25523
25836
|
"externalIds": {
|
|
@@ -25529,12 +25842,12 @@
|
|
|
25529
25842
|
"properties": {
|
|
25530
25843
|
"location": {
|
|
25531
25844
|
"type": "string",
|
|
25532
|
-
"description": "URL of the integration's
|
|
25845
|
+
"description": "URL of the integration's installation in the API",
|
|
25533
25846
|
"format": "uri"
|
|
25534
25847
|
},
|
|
25535
25848
|
"publicEndpoint": {
|
|
25536
25849
|
"type": "string",
|
|
25537
|
-
"description": "Public HTTP endpoint for the integration's
|
|
25850
|
+
"description": "Public HTTP endpoint for the integration's installation",
|
|
25538
25851
|
"format": "uri"
|
|
25539
25852
|
}
|
|
25540
25853
|
},
|
|
@@ -25547,13 +25860,38 @@
|
|
|
25547
25860
|
"required": [
|
|
25548
25861
|
"integration",
|
|
25549
25862
|
"installation",
|
|
25550
|
-
"space",
|
|
25551
25863
|
"status",
|
|
25552
25864
|
"configuration",
|
|
25553
25865
|
"externalIds",
|
|
25554
25866
|
"urls"
|
|
25555
25867
|
]
|
|
25556
25868
|
},
|
|
25869
|
+
"IntegrationSpaceInstallation": {
|
|
25870
|
+
"allOf": [
|
|
25871
|
+
{
|
|
25872
|
+
"$ref": "#/components/schemas/IntegrationContentInstallationBase"
|
|
25873
|
+
},
|
|
25874
|
+
{
|
|
25875
|
+
"type": "object",
|
|
25876
|
+
"properties": {
|
|
25877
|
+
"space": {
|
|
25878
|
+
"description": "The space the integration is installed on. Using the string value is deprecated in favor of space.id",
|
|
25879
|
+
"oneOf": [
|
|
25880
|
+
{
|
|
25881
|
+
"type": "string"
|
|
25882
|
+
},
|
|
25883
|
+
{
|
|
25884
|
+
"$ref": "#/components/schemas/Space"
|
|
25885
|
+
}
|
|
25886
|
+
]
|
|
25887
|
+
}
|
|
25888
|
+
},
|
|
25889
|
+
"required": [
|
|
25890
|
+
"space"
|
|
25891
|
+
]
|
|
25892
|
+
}
|
|
25893
|
+
]
|
|
25894
|
+
},
|
|
25557
25895
|
"ContentKitIcon": {
|
|
25558
25896
|
"type": "string",
|
|
25559
25897
|
"enum": [
|
|
@@ -26913,70 +27251,247 @@
|
|
|
26913
27251
|
}
|
|
26914
27252
|
}
|
|
26915
27253
|
},
|
|
26916
|
-
"
|
|
26917
|
-
"type": "
|
|
26918
|
-
"description": "
|
|
26919
|
-
"
|
|
26920
|
-
"
|
|
26921
|
-
|
|
26922
|
-
|
|
26923
|
-
|
|
26924
|
-
"
|
|
26925
|
-
|
|
26926
|
-
|
|
26927
|
-
|
|
26928
|
-
|
|
26929
|
-
|
|
26930
|
-
|
|
26931
|
-
|
|
26932
|
-
|
|
26933
|
-
|
|
27254
|
+
"SiteType": {
|
|
27255
|
+
"type": "string",
|
|
27256
|
+
"description": "The type of the site",
|
|
27257
|
+
"enum": [
|
|
27258
|
+
"basic",
|
|
27259
|
+
"premium",
|
|
27260
|
+
"ultimate",
|
|
27261
|
+
"sponsored",
|
|
27262
|
+
"legacy-basic",
|
|
27263
|
+
"legacy-premium"
|
|
27264
|
+
]
|
|
27265
|
+
},
|
|
27266
|
+
"SiteTitle": {
|
|
27267
|
+
"type": "string",
|
|
27268
|
+
"description": "Title of the site",
|
|
27269
|
+
"minLength": 2,
|
|
27270
|
+
"maxLength": 128
|
|
27271
|
+
},
|
|
27272
|
+
"SiteHostname": {
|
|
27273
|
+
"type": "string",
|
|
27274
|
+
"description": "Custom hostname for the site, for e.g. docs.mycompany.com",
|
|
27275
|
+
"pattern": "^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$"
|
|
27276
|
+
},
|
|
27277
|
+
"SiteBasename": {
|
|
27278
|
+
"type": "string",
|
|
27279
|
+
"description": "Basename for the site. For e.g. api",
|
|
27280
|
+
"minLength": 1,
|
|
27281
|
+
"maxLength": 100
|
|
27282
|
+
},
|
|
27283
|
+
"SiteVisibility": {
|
|
27284
|
+
"type": "string",
|
|
27285
|
+
"description": "The visibility setting of the site determines the audience of the site.\n* `public`: Anyone can access the site, and the site is indexed by search engines.\n* `unlisted`: Anyone can access the site, and the site is not indexed by search engines\n* `share-link`: Anyone with a secret token in the url can access the site.\n* `visitor-auth`: Anyone authenticated through a JWT token can access the site.\n",
|
|
27286
|
+
"enum": [
|
|
27287
|
+
"public",
|
|
27288
|
+
"unlisted",
|
|
27289
|
+
"share-link",
|
|
27290
|
+
"visitor-auth"
|
|
27291
|
+
]
|
|
27292
|
+
},
|
|
27293
|
+
"SiteAdsTopic": {
|
|
27294
|
+
"type": "string",
|
|
27295
|
+
"description": "Topic of the content",
|
|
27296
|
+
"enum": [
|
|
27297
|
+
"webdev",
|
|
27298
|
+
"crypto"
|
|
27299
|
+
]
|
|
27300
|
+
},
|
|
27301
|
+
"SiteAds": {
|
|
27302
|
+
"oneOf": [
|
|
27303
|
+
{
|
|
27304
|
+
"type": "object",
|
|
27305
|
+
"required": [
|
|
27306
|
+
"status",
|
|
27307
|
+
"submittable"
|
|
27308
|
+
],
|
|
27309
|
+
"properties": {
|
|
27310
|
+
"status": {
|
|
27311
|
+
"type": "string",
|
|
27312
|
+
"enum": [
|
|
27313
|
+
"pending"
|
|
27314
|
+
]
|
|
27315
|
+
},
|
|
27316
|
+
"submittable": {
|
|
27317
|
+
"type": "boolean",
|
|
27318
|
+
"description": "True if the user can submit the site for review."
|
|
27319
|
+
}
|
|
27320
|
+
}
|
|
26934
27321
|
},
|
|
26935
|
-
|
|
26936
|
-
"
|
|
26937
|
-
"
|
|
27322
|
+
{
|
|
27323
|
+
"type": "object",
|
|
27324
|
+
"required": [
|
|
27325
|
+
"status",
|
|
27326
|
+
"topic",
|
|
27327
|
+
"accountEmail"
|
|
27328
|
+
],
|
|
27329
|
+
"properties": {
|
|
27330
|
+
"status": {
|
|
27331
|
+
"type": "string",
|
|
27332
|
+
"enum": [
|
|
27333
|
+
"in-review"
|
|
27334
|
+
]
|
|
27335
|
+
},
|
|
27336
|
+
"topic": {
|
|
27337
|
+
"$ref": "#/components/schemas/SiteAdsTopic"
|
|
27338
|
+
}
|
|
27339
|
+
}
|
|
26938
27340
|
},
|
|
26939
|
-
|
|
26940
|
-
"
|
|
27341
|
+
{
|
|
27342
|
+
"type": "object",
|
|
27343
|
+
"required": [
|
|
27344
|
+
"status"
|
|
27345
|
+
],
|
|
27346
|
+
"properties": {
|
|
27347
|
+
"status": {
|
|
27348
|
+
"type": "string",
|
|
27349
|
+
"enum": [
|
|
27350
|
+
"rejected"
|
|
27351
|
+
]
|
|
27352
|
+
}
|
|
27353
|
+
}
|
|
26941
27354
|
},
|
|
26942
|
-
|
|
27355
|
+
{
|
|
26943
27356
|
"type": "object",
|
|
26944
|
-
"
|
|
27357
|
+
"required": [
|
|
27358
|
+
"status",
|
|
27359
|
+
"topic",
|
|
27360
|
+
"zoneId"
|
|
27361
|
+
],
|
|
26945
27362
|
"properties": {
|
|
26946
|
-
"
|
|
27363
|
+
"status": {
|
|
26947
27364
|
"type": "string",
|
|
26948
|
-
"
|
|
26949
|
-
|
|
27365
|
+
"enum": [
|
|
27366
|
+
"live",
|
|
27367
|
+
"disabled"
|
|
27368
|
+
]
|
|
26950
27369
|
},
|
|
26951
|
-
"
|
|
27370
|
+
"topic": {
|
|
27371
|
+
"$ref": "#/components/schemas/SiteAdsTopic"
|
|
27372
|
+
},
|
|
27373
|
+
"zoneId": {
|
|
26952
27374
|
"type": "string",
|
|
26953
|
-
"description": "
|
|
26954
|
-
"format": "uri"
|
|
27375
|
+
"description": "The ad network zone ID"
|
|
26955
27376
|
}
|
|
26956
|
-
}
|
|
26957
|
-
"required": [
|
|
26958
|
-
"location",
|
|
26959
|
-
"publicEndpoint"
|
|
26960
|
-
]
|
|
27377
|
+
}
|
|
26961
27378
|
}
|
|
26962
|
-
},
|
|
26963
|
-
"required": [
|
|
26964
|
-
"integration",
|
|
26965
|
-
"installation",
|
|
26966
|
-
"site",
|
|
26967
|
-
"status",
|
|
26968
|
-
"configuration",
|
|
26969
|
-
"externalIds",
|
|
26970
|
-
"urls"
|
|
26971
27379
|
]
|
|
26972
27380
|
},
|
|
26973
|
-
"
|
|
27381
|
+
"Site": {
|
|
26974
27382
|
"type": "object",
|
|
26975
27383
|
"properties": {
|
|
26976
|
-
"
|
|
26977
|
-
"
|
|
27384
|
+
"object": {
|
|
27385
|
+
"type": "string",
|
|
27386
|
+
"enum": [
|
|
27387
|
+
"site"
|
|
27388
|
+
]
|
|
26978
27389
|
},
|
|
26979
|
-
"
|
|
27390
|
+
"id": {
|
|
27391
|
+
"type": "string",
|
|
27392
|
+
"description": "Unique identifier of the site"
|
|
27393
|
+
},
|
|
27394
|
+
"type": {
|
|
27395
|
+
"$ref": "#/components/schemas/SiteType"
|
|
27396
|
+
},
|
|
27397
|
+
"title": {
|
|
27398
|
+
"$ref": "#/components/schemas/SiteTitle"
|
|
27399
|
+
},
|
|
27400
|
+
"hostname": {
|
|
27401
|
+
"$ref": "#/components/schemas/SiteHostname"
|
|
27402
|
+
},
|
|
27403
|
+
"basename": {
|
|
27404
|
+
"$ref": "#/components/schemas/SiteBasename"
|
|
27405
|
+
},
|
|
27406
|
+
"visibility": {
|
|
27407
|
+
"$ref": "#/components/schemas/SiteVisibility"
|
|
27408
|
+
},
|
|
27409
|
+
"published": {
|
|
27410
|
+
"type": "boolean",
|
|
27411
|
+
"description": "Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting."
|
|
27412
|
+
},
|
|
27413
|
+
"siteSpaces": {
|
|
27414
|
+
"type": "number"
|
|
27415
|
+
},
|
|
27416
|
+
"createdAt": {
|
|
27417
|
+
"type": "string",
|
|
27418
|
+
"format": "date-time"
|
|
27419
|
+
},
|
|
27420
|
+
"ads": {
|
|
27421
|
+
"$ref": "#/components/schemas/SiteAds"
|
|
27422
|
+
},
|
|
27423
|
+
"urls": {
|
|
27424
|
+
"type": "object",
|
|
27425
|
+
"description": "URLs associated with the object",
|
|
27426
|
+
"properties": {
|
|
27427
|
+
"location": {
|
|
27428
|
+
"type": "string",
|
|
27429
|
+
"description": "URL of the site in the API",
|
|
27430
|
+
"format": "uri"
|
|
27431
|
+
},
|
|
27432
|
+
"app": {
|
|
27433
|
+
"type": "string",
|
|
27434
|
+
"description": "URL of the site in the application",
|
|
27435
|
+
"format": "uri"
|
|
27436
|
+
},
|
|
27437
|
+
"published": {
|
|
27438
|
+
"type": "string",
|
|
27439
|
+
"description": "URL of the published version of the site. Only defined when site is published.",
|
|
27440
|
+
"format": "uri"
|
|
27441
|
+
}
|
|
27442
|
+
},
|
|
27443
|
+
"required": [
|
|
27444
|
+
"app",
|
|
27445
|
+
"location"
|
|
27446
|
+
]
|
|
27447
|
+
}
|
|
27448
|
+
},
|
|
27449
|
+
"required": [
|
|
27450
|
+
"object",
|
|
27451
|
+
"id",
|
|
27452
|
+
"type",
|
|
27453
|
+
"title",
|
|
27454
|
+
"visibility",
|
|
27455
|
+
"published",
|
|
27456
|
+
"createdAt",
|
|
27457
|
+
"siteSpaces",
|
|
27458
|
+
"defaultSpace",
|
|
27459
|
+
"urls"
|
|
27460
|
+
]
|
|
27461
|
+
},
|
|
27462
|
+
"IntegrationSiteInstallation": {
|
|
27463
|
+
"allOf": [
|
|
27464
|
+
{
|
|
27465
|
+
"$ref": "#/components/schemas/IntegrationContentInstallationBase"
|
|
27466
|
+
},
|
|
27467
|
+
{
|
|
27468
|
+
"type": "object",
|
|
27469
|
+
"properties": {
|
|
27470
|
+
"site": {
|
|
27471
|
+
"description": "The site the integration is installed on. Using the string value is deprecated in favor of site.id",
|
|
27472
|
+
"oneOf": [
|
|
27473
|
+
{
|
|
27474
|
+
"type": "string"
|
|
27475
|
+
},
|
|
27476
|
+
{
|
|
27477
|
+
"$ref": "#/components/schemas/Site"
|
|
27478
|
+
}
|
|
27479
|
+
]
|
|
27480
|
+
}
|
|
27481
|
+
},
|
|
27482
|
+
"required": [
|
|
27483
|
+
"site"
|
|
27484
|
+
]
|
|
27485
|
+
}
|
|
27486
|
+
]
|
|
27487
|
+
},
|
|
27488
|
+
"UpdateIntegrationSiteInstallation": {
|
|
27489
|
+
"type": "object",
|
|
27490
|
+
"properties": {
|
|
27491
|
+
"externalIds": {
|
|
27492
|
+
"$ref": "#/components/schemas/IntegrationInstallationExternalIds"
|
|
27493
|
+
},
|
|
27494
|
+
"configuration": {
|
|
26980
27495
|
"$ref": "#/components/schemas/IntegrationInstallationConfiguration"
|
|
26981
27496
|
}
|
|
26982
27497
|
}
|
|
@@ -27001,122 +27516,378 @@
|
|
|
27001
27516
|
"title"
|
|
27002
27517
|
]
|
|
27003
27518
|
},
|
|
27004
|
-
"
|
|
27519
|
+
"SiteSectionTitle": {
|
|
27520
|
+
"type": "string",
|
|
27521
|
+
"description": "Title of the site section",
|
|
27522
|
+
"minLength": 2,
|
|
27523
|
+
"maxLength": 128
|
|
27524
|
+
},
|
|
27525
|
+
"SiteSectionPath": {
|
|
27526
|
+
"type": "string",
|
|
27527
|
+
"description": "Path to the section on the site",
|
|
27528
|
+
"minLength": 1,
|
|
27529
|
+
"maxLength": 100
|
|
27530
|
+
},
|
|
27531
|
+
"SiteSpacePath": {
|
|
27532
|
+
"type": "string",
|
|
27533
|
+
"description": "Path to the space on the site",
|
|
27534
|
+
"minLength": 1,
|
|
27535
|
+
"maxLength": 100
|
|
27536
|
+
},
|
|
27537
|
+
"SiteSpace": {
|
|
27005
27538
|
"type": "object",
|
|
27006
27539
|
"properties": {
|
|
27007
27540
|
"object": {
|
|
27008
27541
|
"type": "string",
|
|
27009
|
-
"description": "
|
|
27542
|
+
"description": "The object type, which is always \"site-space\"",
|
|
27010
27543
|
"enum": [
|
|
27011
|
-
"
|
|
27544
|
+
"site-space"
|
|
27012
27545
|
]
|
|
27013
27546
|
},
|
|
27014
27547
|
"id": {
|
|
27015
27548
|
"type": "string",
|
|
27016
|
-
"description": "Unique identifier
|
|
27017
|
-
},
|
|
27018
|
-
"role": {
|
|
27019
|
-
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
27549
|
+
"description": "Unique identifier of the site-space"
|
|
27020
27550
|
},
|
|
27021
|
-
"
|
|
27022
|
-
"$ref": "#/components/schemas/
|
|
27551
|
+
"path": {
|
|
27552
|
+
"$ref": "#/components/schemas/SiteSpacePath"
|
|
27023
27553
|
},
|
|
27024
|
-
"
|
|
27025
|
-
"type": "
|
|
27026
|
-
"description": "
|
|
27554
|
+
"section": {
|
|
27555
|
+
"type": "string",
|
|
27556
|
+
"description": "ID of the section the space belongs to in the site"
|
|
27027
27557
|
},
|
|
27028
|
-
"
|
|
27029
|
-
"
|
|
27030
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
27558
|
+
"space": {
|
|
27559
|
+
"$ref": "#/components/schemas/Space"
|
|
27031
27560
|
},
|
|
27032
|
-
"
|
|
27033
|
-
"
|
|
27034
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
27561
|
+
"title": {
|
|
27562
|
+
"type": "string"
|
|
27035
27563
|
},
|
|
27036
|
-
"
|
|
27564
|
+
"default": {
|
|
27037
27565
|
"type": "boolean",
|
|
27038
|
-
"description": "Whether the
|
|
27566
|
+
"description": "Whether this is the default space for the site"
|
|
27039
27567
|
},
|
|
27040
|
-
"
|
|
27041
|
-
"type": "
|
|
27568
|
+
"hasAdvancedCustomizationFeature": {
|
|
27569
|
+
"type": "boolean",
|
|
27570
|
+
"description": "Whether the space has advanced customization feature enabled"
|
|
27042
27571
|
},
|
|
27043
|
-
"
|
|
27044
|
-
"type": "
|
|
27572
|
+
"urls": {
|
|
27573
|
+
"type": "object",
|
|
27574
|
+
"description": "URLs associated with the object",
|
|
27575
|
+
"properties": {
|
|
27576
|
+
"published": {
|
|
27577
|
+
"type": "string",
|
|
27578
|
+
"description": "URL of the published version of the site-space. Only defined when site is published.",
|
|
27579
|
+
"format": "uri"
|
|
27580
|
+
}
|
|
27581
|
+
},
|
|
27582
|
+
"required": [
|
|
27583
|
+
"location"
|
|
27584
|
+
]
|
|
27045
27585
|
}
|
|
27046
27586
|
},
|
|
27047
27587
|
"required": [
|
|
27048
27588
|
"object",
|
|
27049
27589
|
"id",
|
|
27050
|
-
"
|
|
27051
|
-
"
|
|
27052
|
-
"
|
|
27053
|
-
"
|
|
27054
|
-
"sso",
|
|
27055
|
-
"spaces",
|
|
27056
|
-
"teams"
|
|
27057
|
-
]
|
|
27058
|
-
},
|
|
27059
|
-
"MemberContentPermission": {
|
|
27060
|
-
"type": "object",
|
|
27061
|
-
"description": "Permission of a member in a content.",
|
|
27062
|
-
"properties": {
|
|
27063
|
-
"permission": {
|
|
27064
|
-
"$ref": "#/components/schemas/MemberRole"
|
|
27065
|
-
},
|
|
27066
|
-
"space": {
|
|
27067
|
-
"$ref": "#/components/schemas/Space"
|
|
27068
|
-
}
|
|
27069
|
-
},
|
|
27070
|
-
"required": [
|
|
27071
|
-
"permission",
|
|
27072
|
-
"space"
|
|
27590
|
+
"space",
|
|
27591
|
+
"title",
|
|
27592
|
+
"path",
|
|
27593
|
+
"urls"
|
|
27073
27594
|
]
|
|
27074
27595
|
},
|
|
27075
|
-
"
|
|
27076
|
-
"type": "string",
|
|
27077
|
-
"description": "Title of the team",
|
|
27078
|
-
"minLength": 1,
|
|
27079
|
-
"maxLength": 64
|
|
27080
|
-
},
|
|
27081
|
-
"OrganizationTeam": {
|
|
27596
|
+
"SiteSection": {
|
|
27082
27597
|
"type": "object",
|
|
27083
27598
|
"properties": {
|
|
27084
27599
|
"object": {
|
|
27085
27600
|
"type": "string",
|
|
27086
|
-
"description": "
|
|
27601
|
+
"description": "The object type, which is always \"site-section\"",
|
|
27087
27602
|
"enum": [
|
|
27088
|
-
"
|
|
27603
|
+
"site-section"
|
|
27089
27604
|
]
|
|
27090
27605
|
},
|
|
27091
27606
|
"id": {
|
|
27092
27607
|
"type": "string",
|
|
27093
|
-
"description": "Unique identifier
|
|
27608
|
+
"description": "Unique identifier of the site section"
|
|
27094
27609
|
},
|
|
27095
27610
|
"title": {
|
|
27096
|
-
"$ref": "#/components/schemas/
|
|
27611
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
27097
27612
|
},
|
|
27098
|
-
"
|
|
27099
|
-
"type": "
|
|
27100
|
-
"description": "
|
|
27613
|
+
"default": {
|
|
27614
|
+
"type": "boolean",
|
|
27615
|
+
"description": "Whether this is the default section for the site"
|
|
27101
27616
|
},
|
|
27102
|
-
"
|
|
27103
|
-
"
|
|
27104
|
-
"description": "Count of spaces this team has access to."
|
|
27617
|
+
"path": {
|
|
27618
|
+
"$ref": "#/components/schemas/SiteSectionPath"
|
|
27105
27619
|
},
|
|
27106
|
-
"
|
|
27107
|
-
"
|
|
27108
|
-
"
|
|
27620
|
+
"siteSpaces": {
|
|
27621
|
+
"type": "array",
|
|
27622
|
+
"items": {
|
|
27623
|
+
"$ref": "#/components/schemas/SiteSpace"
|
|
27624
|
+
}
|
|
27625
|
+
},
|
|
27626
|
+
"urls": {
|
|
27627
|
+
"type": "object",
|
|
27628
|
+
"description": "URLs associated with the object",
|
|
27629
|
+
"properties": {
|
|
27630
|
+
"published": {
|
|
27631
|
+
"type": "string",
|
|
27632
|
+
"description": "URL of the published version of the site section. Only defined when site is published.",
|
|
27633
|
+
"format": "uri"
|
|
27634
|
+
}
|
|
27635
|
+
},
|
|
27636
|
+
"required": [
|
|
27637
|
+
"location"
|
|
27638
|
+
]
|
|
27109
27639
|
}
|
|
27110
27640
|
},
|
|
27111
27641
|
"required": [
|
|
27112
27642
|
"object",
|
|
27113
27643
|
"id",
|
|
27114
27644
|
"title",
|
|
27115
|
-
"
|
|
27116
|
-
"
|
|
27117
|
-
"
|
|
27118
|
-
]
|
|
27119
|
-
},
|
|
27645
|
+
"path",
|
|
27646
|
+
"siteSpaces",
|
|
27647
|
+
"urls"
|
|
27648
|
+
]
|
|
27649
|
+
},
|
|
27650
|
+
"SiteStructure": {
|
|
27651
|
+
"oneOf": [
|
|
27652
|
+
{
|
|
27653
|
+
"type": "object",
|
|
27654
|
+
"properties": {
|
|
27655
|
+
"type": {
|
|
27656
|
+
"type": "string",
|
|
27657
|
+
"enum": [
|
|
27658
|
+
"sections"
|
|
27659
|
+
]
|
|
27660
|
+
},
|
|
27661
|
+
"structure": {
|
|
27662
|
+
"type": "array",
|
|
27663
|
+
"items": {
|
|
27664
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
27665
|
+
}
|
|
27666
|
+
}
|
|
27667
|
+
},
|
|
27668
|
+
"required": [
|
|
27669
|
+
"type",
|
|
27670
|
+
"structure"
|
|
27671
|
+
]
|
|
27672
|
+
},
|
|
27673
|
+
{
|
|
27674
|
+
"type": "object",
|
|
27675
|
+
"properties": {
|
|
27676
|
+
"type": {
|
|
27677
|
+
"type": "string",
|
|
27678
|
+
"enum": [
|
|
27679
|
+
"siteSpaces"
|
|
27680
|
+
]
|
|
27681
|
+
},
|
|
27682
|
+
"structure": {
|
|
27683
|
+
"type": "array",
|
|
27684
|
+
"items": {
|
|
27685
|
+
"$ref": "#/components/schemas/SiteSpace"
|
|
27686
|
+
}
|
|
27687
|
+
}
|
|
27688
|
+
},
|
|
27689
|
+
"required": [
|
|
27690
|
+
"type",
|
|
27691
|
+
"structure"
|
|
27692
|
+
]
|
|
27693
|
+
}
|
|
27694
|
+
]
|
|
27695
|
+
},
|
|
27696
|
+
"OrganizationAllSite": {
|
|
27697
|
+
"type": "object",
|
|
27698
|
+
"properties": {
|
|
27699
|
+
"site": {
|
|
27700
|
+
"$ref": "#/components/schemas/Site"
|
|
27701
|
+
},
|
|
27702
|
+
"structure": {
|
|
27703
|
+
"$ref": "#/components/schemas/SiteStructure"
|
|
27704
|
+
}
|
|
27705
|
+
},
|
|
27706
|
+
"required": [
|
|
27707
|
+
"site",
|
|
27708
|
+
"structure"
|
|
27709
|
+
]
|
|
27710
|
+
},
|
|
27711
|
+
"OrganizationAllCollection": {
|
|
27712
|
+
"type": "object",
|
|
27713
|
+
"properties": {
|
|
27714
|
+
"collection": {
|
|
27715
|
+
"$ref": "#/components/schemas/Collection"
|
|
27716
|
+
},
|
|
27717
|
+
"content": {
|
|
27718
|
+
"type": "array",
|
|
27719
|
+
"items": {
|
|
27720
|
+
"oneOf": [
|
|
27721
|
+
{
|
|
27722
|
+
"$ref": "#/components/schemas/OrganizationAllCollection"
|
|
27723
|
+
},
|
|
27724
|
+
{
|
|
27725
|
+
"$ref": "#/components/schemas/OrganizationAllSpace"
|
|
27726
|
+
}
|
|
27727
|
+
]
|
|
27728
|
+
}
|
|
27729
|
+
}
|
|
27730
|
+
},
|
|
27731
|
+
"required": [
|
|
27732
|
+
"collection",
|
|
27733
|
+
"content"
|
|
27734
|
+
]
|
|
27735
|
+
},
|
|
27736
|
+
"OrganizationAllSpace": {
|
|
27737
|
+
"type": "object",
|
|
27738
|
+
"properties": {
|
|
27739
|
+
"space": {
|
|
27740
|
+
"$ref": "#/components/schemas/Space"
|
|
27741
|
+
}
|
|
27742
|
+
},
|
|
27743
|
+
"required": [
|
|
27744
|
+
"space"
|
|
27745
|
+
]
|
|
27746
|
+
},
|
|
27747
|
+
"OrganizationAllContent": {
|
|
27748
|
+
"type": "object",
|
|
27749
|
+
"properties": {
|
|
27750
|
+
"sites": {
|
|
27751
|
+
"type": "array",
|
|
27752
|
+
"items": {
|
|
27753
|
+
"$ref": "#/components/schemas/OrganizationAllSite"
|
|
27754
|
+
}
|
|
27755
|
+
},
|
|
27756
|
+
"spaces": {
|
|
27757
|
+
"type": "array",
|
|
27758
|
+
"items": {
|
|
27759
|
+
"oneOf": [
|
|
27760
|
+
{
|
|
27761
|
+
"$ref": "#/components/schemas/OrganizationAllCollection"
|
|
27762
|
+
},
|
|
27763
|
+
{
|
|
27764
|
+
"$ref": "#/components/schemas/OrganizationAllSpace"
|
|
27765
|
+
}
|
|
27766
|
+
]
|
|
27767
|
+
}
|
|
27768
|
+
}
|
|
27769
|
+
},
|
|
27770
|
+
"required": [
|
|
27771
|
+
"sites",
|
|
27772
|
+
"spaces"
|
|
27773
|
+
]
|
|
27774
|
+
},
|
|
27775
|
+
"OrganizationMember": {
|
|
27776
|
+
"type": "object",
|
|
27777
|
+
"properties": {
|
|
27778
|
+
"object": {
|
|
27779
|
+
"type": "string",
|
|
27780
|
+
"description": "Type of Object, always equals to \"member\"",
|
|
27781
|
+
"enum": [
|
|
27782
|
+
"member"
|
|
27783
|
+
]
|
|
27784
|
+
},
|
|
27785
|
+
"id": {
|
|
27786
|
+
"type": "string",
|
|
27787
|
+
"description": "Unique identifier for the user."
|
|
27788
|
+
},
|
|
27789
|
+
"role": {
|
|
27790
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
27791
|
+
},
|
|
27792
|
+
"user": {
|
|
27793
|
+
"$ref": "#/components/schemas/User"
|
|
27794
|
+
},
|
|
27795
|
+
"disabled": {
|
|
27796
|
+
"type": "boolean",
|
|
27797
|
+
"description": "Whatever the membership of this user is disabled and prevent them from accessing content."
|
|
27798
|
+
},
|
|
27799
|
+
"joinedAt": {
|
|
27800
|
+
"description": "Date at which the user joined the organization.",
|
|
27801
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
27802
|
+
},
|
|
27803
|
+
"lastSeenAt": {
|
|
27804
|
+
"description": "Date at which the user was last seen active in the organization.",
|
|
27805
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
27806
|
+
},
|
|
27807
|
+
"sso": {
|
|
27808
|
+
"type": "boolean",
|
|
27809
|
+
"description": "Whether the user can login with SSO."
|
|
27810
|
+
},
|
|
27811
|
+
"spaces": {
|
|
27812
|
+
"type": "number"
|
|
27813
|
+
},
|
|
27814
|
+
"teams": {
|
|
27815
|
+
"type": "number"
|
|
27816
|
+
}
|
|
27817
|
+
},
|
|
27818
|
+
"required": [
|
|
27819
|
+
"object",
|
|
27820
|
+
"id",
|
|
27821
|
+
"role",
|
|
27822
|
+
"user",
|
|
27823
|
+
"disabled",
|
|
27824
|
+
"joinedAt",
|
|
27825
|
+
"sso",
|
|
27826
|
+
"spaces",
|
|
27827
|
+
"teams"
|
|
27828
|
+
]
|
|
27829
|
+
},
|
|
27830
|
+
"MemberContentPermission": {
|
|
27831
|
+
"type": "object",
|
|
27832
|
+
"description": "Permission of a member in a content.",
|
|
27833
|
+
"properties": {
|
|
27834
|
+
"permission": {
|
|
27835
|
+
"$ref": "#/components/schemas/MemberRole"
|
|
27836
|
+
},
|
|
27837
|
+
"space": {
|
|
27838
|
+
"$ref": "#/components/schemas/Space"
|
|
27839
|
+
}
|
|
27840
|
+
},
|
|
27841
|
+
"required": [
|
|
27842
|
+
"permission",
|
|
27843
|
+
"space"
|
|
27844
|
+
]
|
|
27845
|
+
},
|
|
27846
|
+
"OrganizationTeamTitle": {
|
|
27847
|
+
"type": "string",
|
|
27848
|
+
"description": "Title of the team",
|
|
27849
|
+
"minLength": 1,
|
|
27850
|
+
"maxLength": 64
|
|
27851
|
+
},
|
|
27852
|
+
"OrganizationTeam": {
|
|
27853
|
+
"type": "object",
|
|
27854
|
+
"properties": {
|
|
27855
|
+
"object": {
|
|
27856
|
+
"type": "string",
|
|
27857
|
+
"description": "Type of Object, always equals to \"team\"",
|
|
27858
|
+
"enum": [
|
|
27859
|
+
"team"
|
|
27860
|
+
]
|
|
27861
|
+
},
|
|
27862
|
+
"id": {
|
|
27863
|
+
"type": "string",
|
|
27864
|
+
"description": "Unique identifier for the team."
|
|
27865
|
+
},
|
|
27866
|
+
"title": {
|
|
27867
|
+
"$ref": "#/components/schemas/OrganizationTeamTitle"
|
|
27868
|
+
},
|
|
27869
|
+
"members": {
|
|
27870
|
+
"type": "integer",
|
|
27871
|
+
"description": "Count of members in this team."
|
|
27872
|
+
},
|
|
27873
|
+
"spaces": {
|
|
27874
|
+
"type": "number",
|
|
27875
|
+
"description": "Count of spaces this team has access to."
|
|
27876
|
+
},
|
|
27877
|
+
"createdAt": {
|
|
27878
|
+
"description": "Date at which the team was created.",
|
|
27879
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
27880
|
+
}
|
|
27881
|
+
},
|
|
27882
|
+
"required": [
|
|
27883
|
+
"object",
|
|
27884
|
+
"id",
|
|
27885
|
+
"title",
|
|
27886
|
+
"members",
|
|
27887
|
+
"spaces",
|
|
27888
|
+
"createdAt"
|
|
27889
|
+
]
|
|
27890
|
+
},
|
|
27120
27891
|
"TeamMemberRole": {
|
|
27121
27892
|
"type": "string",
|
|
27122
27893
|
"description": "\"The role of a team member.\n\"owner\": Can manage team members.\n\"member\": Is a member of the team.\n",
|
|
@@ -27384,39 +28155,9 @@
|
|
|
27384
28155
|
}
|
|
27385
28156
|
]
|
|
27386
28157
|
},
|
|
27387
|
-
"
|
|
27388
|
-
"type": "object",
|
|
27389
|
-
"properties": {
|
|
27390
|
-
"url": {
|
|
27391
|
-
"type": "string",
|
|
27392
|
-
"description": "URL to the billing portal for an organization"
|
|
27393
|
-
}
|
|
27394
|
-
},
|
|
27395
|
-
"required": [
|
|
27396
|
-
"url"
|
|
27397
|
-
]
|
|
27398
|
-
},
|
|
27399
|
-
"BillingProduct": {
|
|
28158
|
+
"BillingInterval": {
|
|
27400
28159
|
"type": "string",
|
|
27401
|
-
"description": "
|
|
27402
|
-
"enum": [
|
|
27403
|
-
"free_2024",
|
|
27404
|
-
"plus_2024",
|
|
27405
|
-
"pro_2024",
|
|
27406
|
-
"enterprise_2024",
|
|
27407
|
-
"free",
|
|
27408
|
-
"plus",
|
|
27409
|
-
"pro",
|
|
27410
|
-
"team",
|
|
27411
|
-
"business",
|
|
27412
|
-
"legacy",
|
|
27413
|
-
"startup",
|
|
27414
|
-
"enterprise"
|
|
27415
|
-
]
|
|
27416
|
-
},
|
|
27417
|
-
"BillingInterval": {
|
|
27418
|
-
"type": "string",
|
|
27419
|
-
"description": "Interval for a billing subscription",
|
|
28160
|
+
"description": "Interval for a billing subscription",
|
|
27420
28161
|
"enum": [
|
|
27421
28162
|
"monthly",
|
|
27422
28163
|
"yearly"
|
|
@@ -27629,6 +28370,18 @@
|
|
|
27629
28370
|
}
|
|
27630
28371
|
]
|
|
27631
28372
|
},
|
|
28373
|
+
"BillingPortal": {
|
|
28374
|
+
"type": "object",
|
|
28375
|
+
"properties": {
|
|
28376
|
+
"url": {
|
|
28377
|
+
"type": "string",
|
|
28378
|
+
"description": "URL to the billing portal for an organization"
|
|
28379
|
+
}
|
|
28380
|
+
},
|
|
28381
|
+
"required": [
|
|
28382
|
+
"url"
|
|
28383
|
+
]
|
|
28384
|
+
},
|
|
27632
28385
|
"CreateSpace": {
|
|
27633
28386
|
"type": "object",
|
|
27634
28387
|
"properties": {
|
|
@@ -28175,426 +28928,24 @@
|
|
|
28175
28928
|
},
|
|
28176
28929
|
"required": [
|
|
28177
28930
|
"type",
|
|
28178
|
-
"command",
|
|
28179
|
-
"stdout"
|
|
28180
|
-
]
|
|
28181
|
-
}
|
|
28182
|
-
]
|
|
28183
|
-
},
|
|
28184
|
-
"CaptureSpeechEvent": {
|
|
28185
|
-
"allOf": [
|
|
28186
|
-
{
|
|
28187
|
-
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28188
|
-
},
|
|
28189
|
-
{
|
|
28190
|
-
"type": "object",
|
|
28191
|
-
"properties": {
|
|
28192
|
-
"type": {
|
|
28193
|
-
"type": "string",
|
|
28194
|
-
"enum": [
|
|
28195
|
-
"speech"
|
|
28196
|
-
]
|
|
28197
|
-
}
|
|
28198
|
-
},
|
|
28199
|
-
"required": [
|
|
28200
|
-
"type"
|
|
28201
|
-
]
|
|
28202
|
-
},
|
|
28203
|
-
{
|
|
28204
|
-
"oneOf": [
|
|
28205
|
-
{
|
|
28206
|
-
"type": "object",
|
|
28207
|
-
"properties": {
|
|
28208
|
-
"audio": {
|
|
28209
|
-
"description": "WAV audio file, encoded as base64",
|
|
28210
|
-
"type": "string"
|
|
28211
|
-
}
|
|
28212
|
-
},
|
|
28213
|
-
"required": [
|
|
28214
|
-
"audio"
|
|
28215
|
-
]
|
|
28216
|
-
},
|
|
28217
|
-
{
|
|
28218
|
-
"type": "object",
|
|
28219
|
-
"properties": {
|
|
28220
|
-
"transcript": {
|
|
28221
|
-
"description": "Transcript of the speech",
|
|
28222
|
-
"type": "string"
|
|
28223
|
-
}
|
|
28224
|
-
},
|
|
28225
|
-
"required": [
|
|
28226
|
-
"transcript"
|
|
28227
|
-
]
|
|
28228
|
-
}
|
|
28229
|
-
]
|
|
28230
|
-
}
|
|
28231
|
-
]
|
|
28232
|
-
},
|
|
28233
|
-
"CaptureThreadMessageEvent": {
|
|
28234
|
-
"allOf": [
|
|
28235
|
-
{
|
|
28236
|
-
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28237
|
-
},
|
|
28238
|
-
{
|
|
28239
|
-
"type": "object",
|
|
28240
|
-
"properties": {
|
|
28241
|
-
"type": {
|
|
28242
|
-
"type": "string",
|
|
28243
|
-
"enum": [
|
|
28244
|
-
"thread.message"
|
|
28245
|
-
]
|
|
28246
|
-
},
|
|
28247
|
-
"isFirst": {
|
|
28248
|
-
"type": "boolean"
|
|
28249
|
-
},
|
|
28250
|
-
"text": {
|
|
28251
|
-
"type": "string"
|
|
28252
|
-
}
|
|
28253
|
-
},
|
|
28254
|
-
"required": [
|
|
28255
|
-
"type",
|
|
28256
|
-
"text"
|
|
28257
|
-
]
|
|
28258
|
-
}
|
|
28259
|
-
]
|
|
28260
|
-
},
|
|
28261
|
-
"CaptureFileAddedEvent": {
|
|
28262
|
-
"allOf": [
|
|
28263
|
-
{
|
|
28264
|
-
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28265
|
-
},
|
|
28266
|
-
{
|
|
28267
|
-
"type": "object",
|
|
28268
|
-
"properties": {
|
|
28269
|
-
"type": {
|
|
28270
|
-
"type": "string",
|
|
28271
|
-
"enum": [
|
|
28272
|
-
"file.added"
|
|
28273
|
-
]
|
|
28274
|
-
},
|
|
28275
|
-
"filename": {
|
|
28276
|
-
"type": "string"
|
|
28277
|
-
},
|
|
28278
|
-
"fileSnapshot": {
|
|
28279
|
-
"type": "string"
|
|
28280
|
-
}
|
|
28281
|
-
},
|
|
28282
|
-
"required": [
|
|
28283
|
-
"type",
|
|
28284
|
-
"filename",
|
|
28285
|
-
"fileSnapshot"
|
|
28286
|
-
]
|
|
28287
|
-
}
|
|
28288
|
-
]
|
|
28289
|
-
},
|
|
28290
|
-
"CaptureFileChangedEvent": {
|
|
28291
|
-
"allOf": [
|
|
28292
|
-
{
|
|
28293
|
-
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28294
|
-
},
|
|
28295
|
-
{
|
|
28296
|
-
"type": "object",
|
|
28297
|
-
"properties": {
|
|
28298
|
-
"type": {
|
|
28299
|
-
"type": "string",
|
|
28300
|
-
"enum": [
|
|
28301
|
-
"file.changed"
|
|
28302
|
-
]
|
|
28303
|
-
},
|
|
28304
|
-
"filename": {
|
|
28305
|
-
"type": "string"
|
|
28306
|
-
},
|
|
28307
|
-
"fileDiff": {
|
|
28308
|
-
"type": "string"
|
|
28309
|
-
}
|
|
28310
|
-
},
|
|
28311
|
-
"required": [
|
|
28312
|
-
"type",
|
|
28313
|
-
"filename",
|
|
28314
|
-
"fileDiff"
|
|
28315
|
-
]
|
|
28316
|
-
}
|
|
28317
|
-
]
|
|
28318
|
-
},
|
|
28319
|
-
"CaptureFileRemovedEvent": {
|
|
28320
|
-
"allOf": [
|
|
28321
|
-
{
|
|
28322
|
-
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28323
|
-
},
|
|
28324
|
-
{
|
|
28325
|
-
"type": "object",
|
|
28326
|
-
"properties": {
|
|
28327
|
-
"type": {
|
|
28328
|
-
"type": "string",
|
|
28329
|
-
"enum": [
|
|
28330
|
-
"file.removed"
|
|
28331
|
-
]
|
|
28332
|
-
},
|
|
28333
|
-
"filename": {
|
|
28334
|
-
"type": "string"
|
|
28335
|
-
},
|
|
28336
|
-
"fileSnapshot": {
|
|
28337
|
-
"type": "string"
|
|
28338
|
-
}
|
|
28339
|
-
},
|
|
28340
|
-
"required": [
|
|
28341
|
-
"type",
|
|
28342
|
-
"filename",
|
|
28343
|
-
"fileSnapshot"
|
|
28344
|
-
]
|
|
28345
|
-
}
|
|
28346
|
-
]
|
|
28347
|
-
},
|
|
28348
|
-
"CaptureEvent": {
|
|
28349
|
-
"oneOf": [
|
|
28350
|
-
{
|
|
28351
|
-
"$ref": "#/components/schemas/CaptureTerminalCommandEvent"
|
|
28352
|
-
},
|
|
28353
|
-
{
|
|
28354
|
-
"$ref": "#/components/schemas/CaptureSpeechEvent"
|
|
28355
|
-
},
|
|
28356
|
-
{
|
|
28357
|
-
"$ref": "#/components/schemas/CaptureThreadMessageEvent"
|
|
28358
|
-
},
|
|
28359
|
-
{
|
|
28360
|
-
"$ref": "#/components/schemas/CaptureFileAddedEvent"
|
|
28361
|
-
},
|
|
28362
|
-
{
|
|
28363
|
-
"$ref": "#/components/schemas/CaptureFileChangedEvent"
|
|
28364
|
-
},
|
|
28365
|
-
{
|
|
28366
|
-
"$ref": "#/components/schemas/CaptureFileRemovedEvent"
|
|
28367
|
-
}
|
|
28368
|
-
]
|
|
28369
|
-
},
|
|
28370
|
-
"UpdateSnippetSchema": {
|
|
28371
|
-
"type": "object",
|
|
28372
|
-
"properties": {
|
|
28373
|
-
"title": {
|
|
28374
|
-
"type": "string",
|
|
28375
|
-
"description": "A new title for the snippet."
|
|
28376
|
-
}
|
|
28377
|
-
}
|
|
28378
|
-
},
|
|
28379
|
-
"SiteType": {
|
|
28380
|
-
"type": "string",
|
|
28381
|
-
"description": "The type of the site",
|
|
28382
|
-
"enum": [
|
|
28383
|
-
"basic",
|
|
28384
|
-
"premium",
|
|
28385
|
-
"ultimate",
|
|
28386
|
-
"sponsored",
|
|
28387
|
-
"legacy-basic",
|
|
28388
|
-
"legacy-premium"
|
|
28389
|
-
]
|
|
28390
|
-
},
|
|
28391
|
-
"SiteTitle": {
|
|
28392
|
-
"type": "string",
|
|
28393
|
-
"description": "Title of the site",
|
|
28394
|
-
"minLength": 2,
|
|
28395
|
-
"maxLength": 128
|
|
28396
|
-
},
|
|
28397
|
-
"SiteHostname": {
|
|
28398
|
-
"type": "string",
|
|
28399
|
-
"description": "Custom hostname for the site, for e.g. docs.mycompany.com",
|
|
28400
|
-
"pattern": "^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$"
|
|
28401
|
-
},
|
|
28402
|
-
"SiteBasename": {
|
|
28403
|
-
"type": "string",
|
|
28404
|
-
"description": "Basename for the site. For e.g. api",
|
|
28405
|
-
"minLength": 1,
|
|
28406
|
-
"maxLength": 100
|
|
28407
|
-
},
|
|
28408
|
-
"SiteVisibility": {
|
|
28409
|
-
"type": "string",
|
|
28410
|
-
"description": "The visibility setting of the site determines the audience of the site.\n* `public`: Anyone can access the site, and the site is indexed by search engines.\n* `unlisted`: Anyone can access the site, and the site is not indexed by search engines\n* `share-link`: Anyone with a secret token in the url can access the site.\n* `visitor-auth`: Anyone authenticated through a JWT token can access the site.\n",
|
|
28411
|
-
"enum": [
|
|
28412
|
-
"public",
|
|
28413
|
-
"unlisted",
|
|
28414
|
-
"share-link",
|
|
28415
|
-
"visitor-auth"
|
|
28416
|
-
]
|
|
28417
|
-
},
|
|
28418
|
-
"SiteAdsTopic": {
|
|
28419
|
-
"type": "string",
|
|
28420
|
-
"description": "Topic of the content",
|
|
28421
|
-
"enum": [
|
|
28422
|
-
"webdev",
|
|
28423
|
-
"crypto"
|
|
28424
|
-
]
|
|
28425
|
-
},
|
|
28426
|
-
"SiteAds": {
|
|
28427
|
-
"oneOf": [
|
|
28428
|
-
{
|
|
28429
|
-
"type": "object",
|
|
28430
|
-
"required": [
|
|
28431
|
-
"status",
|
|
28432
|
-
"submittable"
|
|
28433
|
-
],
|
|
28434
|
-
"properties": {
|
|
28435
|
-
"status": {
|
|
28436
|
-
"type": "string",
|
|
28437
|
-
"enum": [
|
|
28438
|
-
"pending"
|
|
28439
|
-
]
|
|
28440
|
-
},
|
|
28441
|
-
"submittable": {
|
|
28442
|
-
"type": "boolean",
|
|
28443
|
-
"description": "True if the user can submit the site for review."
|
|
28444
|
-
}
|
|
28445
|
-
}
|
|
28446
|
-
},
|
|
28447
|
-
{
|
|
28448
|
-
"type": "object",
|
|
28449
|
-
"required": [
|
|
28450
|
-
"status",
|
|
28451
|
-
"topic",
|
|
28452
|
-
"accountEmail"
|
|
28453
|
-
],
|
|
28454
|
-
"properties": {
|
|
28455
|
-
"status": {
|
|
28456
|
-
"type": "string",
|
|
28457
|
-
"enum": [
|
|
28458
|
-
"in-review"
|
|
28459
|
-
]
|
|
28460
|
-
},
|
|
28461
|
-
"topic": {
|
|
28462
|
-
"$ref": "#/components/schemas/SiteAdsTopic"
|
|
28463
|
-
}
|
|
28464
|
-
}
|
|
28465
|
-
},
|
|
28466
|
-
{
|
|
28467
|
-
"type": "object",
|
|
28468
|
-
"required": [
|
|
28469
|
-
"status"
|
|
28470
|
-
],
|
|
28471
|
-
"properties": {
|
|
28472
|
-
"status": {
|
|
28473
|
-
"type": "string",
|
|
28474
|
-
"enum": [
|
|
28475
|
-
"rejected"
|
|
28476
|
-
]
|
|
28477
|
-
}
|
|
28478
|
-
}
|
|
28479
|
-
},
|
|
28480
|
-
{
|
|
28481
|
-
"type": "object",
|
|
28482
|
-
"required": [
|
|
28483
|
-
"status",
|
|
28484
|
-
"topic",
|
|
28485
|
-
"zoneId"
|
|
28486
|
-
],
|
|
28487
|
-
"properties": {
|
|
28488
|
-
"status": {
|
|
28489
|
-
"type": "string",
|
|
28490
|
-
"enum": [
|
|
28491
|
-
"live",
|
|
28492
|
-
"disabled"
|
|
28493
|
-
]
|
|
28494
|
-
},
|
|
28495
|
-
"topic": {
|
|
28496
|
-
"$ref": "#/components/schemas/SiteAdsTopic"
|
|
28497
|
-
},
|
|
28498
|
-
"zoneId": {
|
|
28499
|
-
"type": "string",
|
|
28500
|
-
"description": "The ad network zone ID"
|
|
28501
|
-
}
|
|
28502
|
-
}
|
|
28503
|
-
}
|
|
28504
|
-
]
|
|
28505
|
-
},
|
|
28506
|
-
"Site": {
|
|
28507
|
-
"type": "object",
|
|
28508
|
-
"properties": {
|
|
28509
|
-
"object": {
|
|
28510
|
-
"type": "string",
|
|
28511
|
-
"enum": [
|
|
28512
|
-
"site"
|
|
28513
|
-
]
|
|
28514
|
-
},
|
|
28515
|
-
"id": {
|
|
28516
|
-
"type": "string",
|
|
28517
|
-
"description": "Unique identifier of the site"
|
|
28518
|
-
},
|
|
28519
|
-
"type": {
|
|
28520
|
-
"$ref": "#/components/schemas/SiteType"
|
|
28521
|
-
},
|
|
28522
|
-
"title": {
|
|
28523
|
-
"$ref": "#/components/schemas/SiteTitle"
|
|
28524
|
-
},
|
|
28525
|
-
"hostname": {
|
|
28526
|
-
"$ref": "#/components/schemas/SiteHostname"
|
|
28527
|
-
},
|
|
28528
|
-
"basename": {
|
|
28529
|
-
"$ref": "#/components/schemas/SiteBasename"
|
|
28530
|
-
},
|
|
28531
|
-
"visibility": {
|
|
28532
|
-
"$ref": "#/components/schemas/SiteVisibility"
|
|
28533
|
-
},
|
|
28534
|
-
"published": {
|
|
28535
|
-
"type": "boolean",
|
|
28536
|
-
"description": "Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting."
|
|
28537
|
-
},
|
|
28538
|
-
"siteSpaces": {
|
|
28539
|
-
"type": "number"
|
|
28540
|
-
},
|
|
28541
|
-
"createdAt": {
|
|
28542
|
-
"type": "string",
|
|
28543
|
-
"format": "date-time"
|
|
28544
|
-
},
|
|
28545
|
-
"ads": {
|
|
28546
|
-
"$ref": "#/components/schemas/SiteAds"
|
|
28547
|
-
},
|
|
28548
|
-
"urls": {
|
|
28549
|
-
"type": "object",
|
|
28550
|
-
"description": "URLs associated with the object",
|
|
28551
|
-
"properties": {
|
|
28552
|
-
"location": {
|
|
28553
|
-
"type": "string",
|
|
28554
|
-
"description": "URL of the site in the API",
|
|
28555
|
-
"format": "uri"
|
|
28556
|
-
},
|
|
28557
|
-
"app": {
|
|
28558
|
-
"type": "string",
|
|
28559
|
-
"description": "URL of the site in the application",
|
|
28560
|
-
"format": "uri"
|
|
28561
|
-
},
|
|
28562
|
-
"published": {
|
|
28563
|
-
"type": "string",
|
|
28564
|
-
"description": "URL of the published version of the site. Only defined when site is published.",
|
|
28565
|
-
"format": "uri"
|
|
28566
|
-
}
|
|
28567
|
-
},
|
|
28568
|
-
"required": [
|
|
28569
|
-
"app",
|
|
28570
|
-
"location"
|
|
28571
|
-
]
|
|
28572
|
-
}
|
|
28573
|
-
},
|
|
28574
|
-
"required": [
|
|
28575
|
-
"object",
|
|
28576
|
-
"id",
|
|
28577
|
-
"type",
|
|
28578
|
-
"title",
|
|
28579
|
-
"visibility",
|
|
28580
|
-
"published",
|
|
28581
|
-
"createdAt",
|
|
28582
|
-
"siteSpaces",
|
|
28583
|
-
"defaultSpace",
|
|
28584
|
-
"urls"
|
|
28931
|
+
"command",
|
|
28932
|
+
"stdout"
|
|
28933
|
+
]
|
|
28934
|
+
}
|
|
28585
28935
|
]
|
|
28586
28936
|
},
|
|
28587
|
-
"
|
|
28588
|
-
"
|
|
28589
|
-
|
|
28937
|
+
"CaptureSpeechEvent": {
|
|
28938
|
+
"allOf": [
|
|
28939
|
+
{
|
|
28940
|
+
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28941
|
+
},
|
|
28590
28942
|
{
|
|
28591
28943
|
"type": "object",
|
|
28592
28944
|
"properties": {
|
|
28593
28945
|
"type": {
|
|
28594
|
-
"description": "User can go ahead with the operation without any additional steps. Their subscription will be updated to reflect the new changes.",
|
|
28595
28946
|
"type": "string",
|
|
28596
28947
|
"enum": [
|
|
28597
|
-
"
|
|
28948
|
+
"speech"
|
|
28598
28949
|
]
|
|
28599
28950
|
}
|
|
28600
28951
|
},
|
|
@@ -28603,317 +28954,269 @@
|
|
|
28603
28954
|
]
|
|
28604
28955
|
},
|
|
28605
28956
|
{
|
|
28606
|
-
"
|
|
28607
|
-
|
|
28608
|
-
|
|
28609
|
-
"
|
|
28610
|
-
|
|
28611
|
-
|
|
28612
|
-
|
|
28957
|
+
"oneOf": [
|
|
28958
|
+
{
|
|
28959
|
+
"type": "object",
|
|
28960
|
+
"properties": {
|
|
28961
|
+
"audio": {
|
|
28962
|
+
"description": "WAV audio file, encoded as base64",
|
|
28963
|
+
"type": "string"
|
|
28964
|
+
}
|
|
28965
|
+
},
|
|
28966
|
+
"required": [
|
|
28967
|
+
"audio"
|
|
28968
|
+
]
|
|
28969
|
+
},
|
|
28970
|
+
{
|
|
28971
|
+
"type": "object",
|
|
28972
|
+
"properties": {
|
|
28973
|
+
"transcript": {
|
|
28974
|
+
"description": "Transcript of the speech",
|
|
28975
|
+
"type": "string"
|
|
28976
|
+
}
|
|
28977
|
+
},
|
|
28978
|
+
"required": [
|
|
28979
|
+
"transcript"
|
|
28613
28980
|
]
|
|
28614
28981
|
}
|
|
28615
|
-
},
|
|
28616
|
-
"required": [
|
|
28617
|
-
"type"
|
|
28618
28982
|
]
|
|
28983
|
+
}
|
|
28984
|
+
]
|
|
28985
|
+
},
|
|
28986
|
+
"CaptureThreadMessageEvent": {
|
|
28987
|
+
"allOf": [
|
|
28988
|
+
{
|
|
28989
|
+
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28619
28990
|
},
|
|
28620
28991
|
{
|
|
28621
28992
|
"type": "object",
|
|
28622
28993
|
"properties": {
|
|
28623
28994
|
"type": {
|
|
28624
|
-
"description": "User must checkout to complete the operation.",
|
|
28625
28995
|
"type": "string",
|
|
28626
28996
|
"enum": [
|
|
28627
|
-
"
|
|
28997
|
+
"thread.message"
|
|
28628
28998
|
]
|
|
28629
28999
|
},
|
|
28630
|
-
"
|
|
28631
|
-
"
|
|
29000
|
+
"isFirst": {
|
|
29001
|
+
"type": "boolean"
|
|
29002
|
+
},
|
|
29003
|
+
"text": {
|
|
29004
|
+
"type": "string"
|
|
28632
29005
|
}
|
|
28633
29006
|
},
|
|
28634
29007
|
"required": [
|
|
28635
|
-
"type"
|
|
29008
|
+
"type",
|
|
29009
|
+
"text"
|
|
28636
29010
|
]
|
|
29011
|
+
}
|
|
29012
|
+
]
|
|
29013
|
+
},
|
|
29014
|
+
"CaptureFileAddedEvent": {
|
|
29015
|
+
"allOf": [
|
|
29016
|
+
{
|
|
29017
|
+
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28637
29018
|
},
|
|
28638
29019
|
{
|
|
28639
29020
|
"type": "object",
|
|
28640
29021
|
"properties": {
|
|
28641
29022
|
"type": {
|
|
28642
|
-
"description": "User cannot proceed with the operation due to lack of permissions.",
|
|
28643
29023
|
"type": "string",
|
|
28644
29024
|
"enum": [
|
|
28645
|
-
"
|
|
29025
|
+
"file.added"
|
|
28646
29026
|
]
|
|
29027
|
+
},
|
|
29028
|
+
"filename": {
|
|
29029
|
+
"type": "string"
|
|
29030
|
+
},
|
|
29031
|
+
"fileSnapshot": {
|
|
29032
|
+
"type": "string"
|
|
28647
29033
|
}
|
|
28648
29034
|
},
|
|
28649
29035
|
"required": [
|
|
28650
|
-
"type"
|
|
29036
|
+
"type",
|
|
29037
|
+
"filename",
|
|
29038
|
+
"fileSnapshot"
|
|
28651
29039
|
]
|
|
29040
|
+
}
|
|
29041
|
+
]
|
|
29042
|
+
},
|
|
29043
|
+
"CaptureFileChangedEvent": {
|
|
29044
|
+
"allOf": [
|
|
29045
|
+
{
|
|
29046
|
+
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28652
29047
|
},
|
|
28653
29048
|
{
|
|
28654
29049
|
"type": "object",
|
|
28655
29050
|
"properties": {
|
|
28656
29051
|
"type": {
|
|
28657
|
-
"description": "User needs to go through the legacy upgrade flow.",
|
|
28658
29052
|
"type": "string",
|
|
28659
29053
|
"enum": [
|
|
28660
|
-
"
|
|
29054
|
+
"file.changed"
|
|
28661
29055
|
]
|
|
28662
29056
|
},
|
|
28663
|
-
"
|
|
28664
|
-
"
|
|
28665
|
-
"$ref": "#/components/schemas/BillingProduct"
|
|
29057
|
+
"filename": {
|
|
29058
|
+
"type": "string"
|
|
28666
29059
|
},
|
|
28667
|
-
"
|
|
28668
|
-
"
|
|
29060
|
+
"fileDiff": {
|
|
29061
|
+
"type": "string"
|
|
28669
29062
|
}
|
|
28670
29063
|
},
|
|
28671
29064
|
"required": [
|
|
28672
29065
|
"type",
|
|
28673
|
-
"
|
|
29066
|
+
"filename",
|
|
29067
|
+
"fileDiff"
|
|
28674
29068
|
]
|
|
28675
29069
|
}
|
|
28676
29070
|
]
|
|
28677
29071
|
},
|
|
28678
|
-
"
|
|
28679
|
-
"
|
|
28680
|
-
|
|
28681
|
-
|
|
28682
|
-
"maxLength": 128
|
|
28683
|
-
},
|
|
28684
|
-
"SiteSectionPath": {
|
|
28685
|
-
"type": "string",
|
|
28686
|
-
"description": "Path to the section on the site",
|
|
28687
|
-
"minLength": 1,
|
|
28688
|
-
"maxLength": 100
|
|
28689
|
-
},
|
|
28690
|
-
"SiteSpacePath": {
|
|
28691
|
-
"type": "string",
|
|
28692
|
-
"description": "Path to the space on the site",
|
|
28693
|
-
"minLength": 1,
|
|
28694
|
-
"maxLength": 100
|
|
28695
|
-
},
|
|
28696
|
-
"SiteSpace": {
|
|
28697
|
-
"type": "object",
|
|
28698
|
-
"properties": {
|
|
28699
|
-
"object": {
|
|
28700
|
-
"type": "string",
|
|
28701
|
-
"description": "The object type, which is always \"site-space\"",
|
|
28702
|
-
"enum": [
|
|
28703
|
-
"site-space"
|
|
28704
|
-
]
|
|
28705
|
-
},
|
|
28706
|
-
"id": {
|
|
28707
|
-
"type": "string",
|
|
28708
|
-
"description": "Unique identifier of the site-space"
|
|
28709
|
-
},
|
|
28710
|
-
"path": {
|
|
28711
|
-
"$ref": "#/components/schemas/SiteSpacePath"
|
|
28712
|
-
},
|
|
28713
|
-
"section": {
|
|
28714
|
-
"type": "string",
|
|
28715
|
-
"description": "ID of the section the space belongs to in the site"
|
|
28716
|
-
},
|
|
28717
|
-
"space": {
|
|
28718
|
-
"$ref": "#/components/schemas/Space"
|
|
28719
|
-
},
|
|
28720
|
-
"title": {
|
|
28721
|
-
"type": "string"
|
|
28722
|
-
},
|
|
28723
|
-
"default": {
|
|
28724
|
-
"type": "boolean",
|
|
28725
|
-
"description": "Whether this is the default space for the site"
|
|
28726
|
-
},
|
|
28727
|
-
"hasAdvancedCustomizationFeature": {
|
|
28728
|
-
"type": "boolean",
|
|
28729
|
-
"description": "Whether the space has advanced customization feature enabled"
|
|
29072
|
+
"CaptureFileRemovedEvent": {
|
|
29073
|
+
"allOf": [
|
|
29074
|
+
{
|
|
29075
|
+
"$ref": "#/components/schemas/BaseCaptureEvent"
|
|
28730
29076
|
},
|
|
28731
|
-
|
|
29077
|
+
{
|
|
28732
29078
|
"type": "object",
|
|
28733
|
-
"description": "URLs associated with the object",
|
|
28734
29079
|
"properties": {
|
|
28735
|
-
"
|
|
29080
|
+
"type": {
|
|
28736
29081
|
"type": "string",
|
|
28737
|
-
"
|
|
28738
|
-
|
|
29082
|
+
"enum": [
|
|
29083
|
+
"file.removed"
|
|
29084
|
+
]
|
|
29085
|
+
},
|
|
29086
|
+
"filename": {
|
|
29087
|
+
"type": "string"
|
|
29088
|
+
},
|
|
29089
|
+
"fileSnapshot": {
|
|
29090
|
+
"type": "string"
|
|
28739
29091
|
}
|
|
28740
29092
|
},
|
|
28741
29093
|
"required": [
|
|
28742
|
-
"
|
|
29094
|
+
"type",
|
|
29095
|
+
"filename",
|
|
29096
|
+
"fileSnapshot"
|
|
28743
29097
|
]
|
|
28744
29098
|
}
|
|
28745
|
-
},
|
|
28746
|
-
"required": [
|
|
28747
|
-
"id",
|
|
28748
|
-
"space",
|
|
28749
|
-
"title",
|
|
28750
|
-
"path",
|
|
28751
|
-
"urls"
|
|
28752
29099
|
]
|
|
28753
29100
|
},
|
|
28754
|
-
"
|
|
28755
|
-
"
|
|
28756
|
-
|
|
28757
|
-
|
|
28758
|
-
"type": "string",
|
|
28759
|
-
"description": "The object type, which is always \"site-section\"",
|
|
28760
|
-
"enum": [
|
|
28761
|
-
"site-section"
|
|
28762
|
-
]
|
|
28763
|
-
},
|
|
28764
|
-
"id": {
|
|
28765
|
-
"type": "string",
|
|
28766
|
-
"description": "Unique identifier of the site section"
|
|
29101
|
+
"CaptureEvent": {
|
|
29102
|
+
"oneOf": [
|
|
29103
|
+
{
|
|
29104
|
+
"$ref": "#/components/schemas/CaptureTerminalCommandEvent"
|
|
28767
29105
|
},
|
|
28768
|
-
|
|
28769
|
-
"$ref": "#/components/schemas/
|
|
29106
|
+
{
|
|
29107
|
+
"$ref": "#/components/schemas/CaptureSpeechEvent"
|
|
28770
29108
|
},
|
|
28771
|
-
|
|
28772
|
-
"
|
|
28773
|
-
"description": "Whether this is the default section for the site"
|
|
29109
|
+
{
|
|
29110
|
+
"$ref": "#/components/schemas/CaptureThreadMessageEvent"
|
|
28774
29111
|
},
|
|
28775
|
-
|
|
28776
|
-
"$ref": "#/components/schemas/
|
|
29112
|
+
{
|
|
29113
|
+
"$ref": "#/components/schemas/CaptureFileAddedEvent"
|
|
28777
29114
|
},
|
|
28778
|
-
|
|
28779
|
-
"
|
|
28780
|
-
"items": {
|
|
28781
|
-
"$ref": "#/components/schemas/SiteSpace"
|
|
28782
|
-
}
|
|
29115
|
+
{
|
|
29116
|
+
"$ref": "#/components/schemas/CaptureFileChangedEvent"
|
|
28783
29117
|
},
|
|
28784
|
-
|
|
28785
|
-
"
|
|
28786
|
-
"description": "URLs associated with the object",
|
|
28787
|
-
"properties": {
|
|
28788
|
-
"published": {
|
|
28789
|
-
"type": "string",
|
|
28790
|
-
"description": "URL of the published version of the site section. Only defined when site is published.",
|
|
28791
|
-
"format": "uri"
|
|
28792
|
-
}
|
|
28793
|
-
},
|
|
28794
|
-
"required": [
|
|
28795
|
-
"location"
|
|
28796
|
-
]
|
|
29118
|
+
{
|
|
29119
|
+
"$ref": "#/components/schemas/CaptureFileRemovedEvent"
|
|
28797
29120
|
}
|
|
28798
|
-
},
|
|
28799
|
-
"required": [
|
|
28800
|
-
"id",
|
|
28801
|
-
"title",
|
|
28802
|
-
"path",
|
|
28803
|
-
"siteSpaces",
|
|
28804
|
-
"urls"
|
|
28805
29121
|
]
|
|
28806
29122
|
},
|
|
28807
|
-
"
|
|
29123
|
+
"UpdateSnippetSchema": {
|
|
29124
|
+
"type": "object",
|
|
29125
|
+
"properties": {
|
|
29126
|
+
"title": {
|
|
29127
|
+
"type": "string",
|
|
29128
|
+
"description": "A new title for the snippet."
|
|
29129
|
+
}
|
|
29130
|
+
}
|
|
29131
|
+
},
|
|
29132
|
+
"BillingOperationPreviewResponse": {
|
|
29133
|
+
"description": "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.\n",
|
|
28808
29134
|
"oneOf": [
|
|
28809
29135
|
{
|
|
28810
29136
|
"type": "object",
|
|
28811
29137
|
"properties": {
|
|
28812
29138
|
"type": {
|
|
29139
|
+
"description": "User can go ahead with the operation without any additional steps. Their subscription will be updated to reflect the new changes.",
|
|
28813
29140
|
"type": "string",
|
|
28814
29141
|
"enum": [
|
|
28815
|
-
"
|
|
29142
|
+
"go-ahead"
|
|
28816
29143
|
]
|
|
28817
|
-
},
|
|
28818
|
-
"structure": {
|
|
28819
|
-
"type": "array",
|
|
28820
|
-
"items": {
|
|
28821
|
-
"$ref": "#/components/schemas/SiteSection"
|
|
28822
|
-
}
|
|
28823
29144
|
}
|
|
28824
29145
|
},
|
|
28825
29146
|
"required": [
|
|
28826
|
-
"type"
|
|
28827
|
-
"structure"
|
|
29147
|
+
"type"
|
|
28828
29148
|
]
|
|
28829
29149
|
},
|
|
28830
29150
|
{
|
|
28831
29151
|
"type": "object",
|
|
28832
29152
|
"properties": {
|
|
28833
29153
|
"type": {
|
|
29154
|
+
"description": "By going ahead with this operation, the user will be starting a trial in GitBook.",
|
|
28834
29155
|
"type": "string",
|
|
28835
29156
|
"enum": [
|
|
28836
|
-
"
|
|
29157
|
+
"trial-available"
|
|
28837
29158
|
]
|
|
28838
|
-
},
|
|
28839
|
-
"structure": {
|
|
28840
|
-
"type": "array",
|
|
28841
|
-
"items": {
|
|
28842
|
-
"$ref": "#/components/schemas/SiteSpace"
|
|
28843
|
-
}
|
|
28844
29159
|
}
|
|
28845
29160
|
},
|
|
28846
29161
|
"required": [
|
|
28847
|
-
"type"
|
|
28848
|
-
"structure"
|
|
28849
|
-
]
|
|
28850
|
-
}
|
|
28851
|
-
]
|
|
28852
|
-
},
|
|
28853
|
-
"SitePublishingAuth": {
|
|
28854
|
-
"allOf": [
|
|
28855
|
-
{
|
|
28856
|
-
"oneOf": [
|
|
28857
|
-
{
|
|
28858
|
-
"$ref": "#/components/schemas/VisitorAuthCustomBackend"
|
|
28859
|
-
},
|
|
28860
|
-
{
|
|
28861
|
-
"$ref": "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
28862
|
-
}
|
|
29162
|
+
"type"
|
|
28863
29163
|
]
|
|
28864
29164
|
},
|
|
28865
29165
|
{
|
|
28866
29166
|
"type": "object",
|
|
28867
29167
|
"properties": {
|
|
28868
|
-
"
|
|
29168
|
+
"type": {
|
|
29169
|
+
"description": "User must checkout to complete the operation.",
|
|
28869
29170
|
"type": "string",
|
|
28870
|
-
"description": "Type of Object, always equals to \"publishing-auth\"",
|
|
28871
29171
|
"enum": [
|
|
28872
|
-
"
|
|
29172
|
+
"checkout"
|
|
28873
29173
|
]
|
|
28874
29174
|
},
|
|
28875
|
-
"
|
|
28876
|
-
"
|
|
28877
|
-
"description": "Private key used to sign JWT tokens."
|
|
28878
|
-
},
|
|
28879
|
-
"fallbackURL": {
|
|
28880
|
-
"type": "string",
|
|
28881
|
-
"format": "uri",
|
|
28882
|
-
"description": "URL to redirect to when the visitor auth secret is invalid."
|
|
28883
|
-
},
|
|
28884
|
-
"integration": {
|
|
28885
|
-
"type": "string",
|
|
28886
|
-
"description": "Name of the Visitor Authentication integration installed on the site (if any).\nIt is also the one being used as VA backend when the published auth settings are configured to use \"integration\" as backend.\n"
|
|
29175
|
+
"invoice": {
|
|
29176
|
+
"$ref": "#/components/schemas/BillingInvoicePreview"
|
|
28887
29177
|
}
|
|
28888
29178
|
},
|
|
28889
29179
|
"required": [
|
|
28890
|
-
"
|
|
28891
|
-
"privateKey"
|
|
29180
|
+
"type"
|
|
28892
29181
|
]
|
|
28893
|
-
}
|
|
28894
|
-
]
|
|
28895
|
-
},
|
|
28896
|
-
"SitePublishingAuthUpdate": {
|
|
28897
|
-
"allOf": [
|
|
29182
|
+
},
|
|
28898
29183
|
{
|
|
28899
|
-
"
|
|
28900
|
-
|
|
28901
|
-
|
|
28902
|
-
|
|
28903
|
-
|
|
28904
|
-
"
|
|
29184
|
+
"type": "object",
|
|
29185
|
+
"properties": {
|
|
29186
|
+
"type": {
|
|
29187
|
+
"description": "User cannot proceed with the operation due to lack of permissions.",
|
|
29188
|
+
"type": "string",
|
|
29189
|
+
"enum": [
|
|
29190
|
+
"no-permissions"
|
|
29191
|
+
]
|
|
28905
29192
|
}
|
|
29193
|
+
},
|
|
29194
|
+
"required": [
|
|
29195
|
+
"type"
|
|
28906
29196
|
]
|
|
28907
29197
|
},
|
|
28908
29198
|
{
|
|
28909
29199
|
"type": "object",
|
|
28910
29200
|
"properties": {
|
|
28911
|
-
"
|
|
29201
|
+
"type": {
|
|
29202
|
+
"description": "User needs to go through the legacy upgrade flow.",
|
|
28912
29203
|
"type": "string",
|
|
28913
|
-
"
|
|
28914
|
-
|
|
29204
|
+
"enum": [
|
|
29205
|
+
"legacy-upgrade"
|
|
29206
|
+
]
|
|
29207
|
+
},
|
|
29208
|
+
"plan": {
|
|
29209
|
+
"description": "The plan the user must upgrade to.",
|
|
29210
|
+
"$ref": "#/components/schemas/BillingProduct"
|
|
29211
|
+
},
|
|
29212
|
+
"invoice": {
|
|
29213
|
+
"$ref": "#/components/schemas/BillingInvoicePreview"
|
|
28915
29214
|
}
|
|
28916
|
-
}
|
|
29215
|
+
},
|
|
29216
|
+
"required": [
|
|
29217
|
+
"type",
|
|
29218
|
+
"plan"
|
|
29219
|
+
]
|
|
28917
29220
|
}
|
|
28918
29221
|
]
|
|
28919
29222
|
},
|
|
@@ -29146,65 +29449,180 @@
|
|
|
29146
29449
|
"type": "boolean",
|
|
29147
29450
|
"description": "Whether the GitBook trademark (\"Powered by GitBook\") should be visible"
|
|
29148
29451
|
}
|
|
29149
|
-
},
|
|
29150
|
-
"required": [
|
|
29151
|
-
"enabled"
|
|
29452
|
+
},
|
|
29453
|
+
"required": [
|
|
29454
|
+
"enabled"
|
|
29455
|
+
]
|
|
29456
|
+
},
|
|
29457
|
+
"privacyPolicy": {
|
|
29458
|
+
"type": "object",
|
|
29459
|
+
"properties": {
|
|
29460
|
+
"url": {
|
|
29461
|
+
"$ref": "#/components/schemas/URL"
|
|
29462
|
+
}
|
|
29463
|
+
}
|
|
29464
|
+
},
|
|
29465
|
+
"socialPreview": {
|
|
29466
|
+
"type": "object",
|
|
29467
|
+
"properties": {
|
|
29468
|
+
"url": {
|
|
29469
|
+
"$ref": "#/components/schemas/URL"
|
|
29470
|
+
}
|
|
29471
|
+
}
|
|
29472
|
+
}
|
|
29473
|
+
},
|
|
29474
|
+
"required": [
|
|
29475
|
+
"styling",
|
|
29476
|
+
"internationalization",
|
|
29477
|
+
"favicon",
|
|
29478
|
+
"header",
|
|
29479
|
+
"footer",
|
|
29480
|
+
"themes",
|
|
29481
|
+
"pdf",
|
|
29482
|
+
"feedback",
|
|
29483
|
+
"aiSearch",
|
|
29484
|
+
"advancedCustomization",
|
|
29485
|
+
"trademark",
|
|
29486
|
+
"pagination",
|
|
29487
|
+
"git",
|
|
29488
|
+
"privacyPolicy",
|
|
29489
|
+
"socialPreview"
|
|
29490
|
+
]
|
|
29491
|
+
},
|
|
29492
|
+
"SiteIntegrationScript": {
|
|
29493
|
+
"type": "object",
|
|
29494
|
+
"properties": {
|
|
29495
|
+
"script": {
|
|
29496
|
+
"description": "Script URL to load.",
|
|
29497
|
+
"$ref": "#/components/schemas/URL"
|
|
29498
|
+
},
|
|
29499
|
+
"contentSecurityPolicy": {
|
|
29500
|
+
"description": "Content Security Policy to secure the loading of this script.",
|
|
29501
|
+
"type": "string"
|
|
29502
|
+
},
|
|
29503
|
+
"cookies": {
|
|
29504
|
+
"type": "boolean",
|
|
29505
|
+
"description": "If true, the script will potentially load use cookies and visitors should be aware."
|
|
29506
|
+
}
|
|
29507
|
+
},
|
|
29508
|
+
"required": [
|
|
29509
|
+
"script",
|
|
29510
|
+
"cookies"
|
|
29511
|
+
]
|
|
29512
|
+
},
|
|
29513
|
+
"PublishedContentSite": {
|
|
29514
|
+
"type": "object",
|
|
29515
|
+
"properties": {
|
|
29516
|
+
"object": {
|
|
29517
|
+
"type": "string",
|
|
29518
|
+
"enum": [
|
|
29519
|
+
"published-content-site"
|
|
29520
|
+
]
|
|
29521
|
+
},
|
|
29522
|
+
"site": {
|
|
29523
|
+
"$ref": "#/components/schemas/Site"
|
|
29524
|
+
},
|
|
29525
|
+
"structure": {
|
|
29526
|
+
"$ref": "#/components/schemas/SiteStructure"
|
|
29527
|
+
},
|
|
29528
|
+
"customizations": {
|
|
29529
|
+
"type": "object",
|
|
29530
|
+
"properties": {
|
|
29531
|
+
"site": {
|
|
29532
|
+
"$ref": "#/components/schemas/SiteCustomizationSettings"
|
|
29533
|
+
},
|
|
29534
|
+
"siteSpaces": {
|
|
29535
|
+
"type": "object",
|
|
29536
|
+
"additionalProperties": {
|
|
29537
|
+
"$ref": "#/components/schemas/SiteCustomizationSettings"
|
|
29538
|
+
}
|
|
29539
|
+
}
|
|
29540
|
+
},
|
|
29541
|
+
"required": [
|
|
29542
|
+
"site",
|
|
29543
|
+
"siteSpaces"
|
|
29544
|
+
]
|
|
29545
|
+
},
|
|
29546
|
+
"scripts": {
|
|
29547
|
+
"type": "array",
|
|
29548
|
+
"items": {
|
|
29549
|
+
"$ref": "#/components/schemas/SiteIntegrationScript"
|
|
29550
|
+
}
|
|
29551
|
+
}
|
|
29552
|
+
},
|
|
29553
|
+
"required": [
|
|
29554
|
+
"object",
|
|
29555
|
+
"site",
|
|
29556
|
+
"structure",
|
|
29557
|
+
"customizations",
|
|
29558
|
+
"scripts"
|
|
29559
|
+
]
|
|
29560
|
+
},
|
|
29561
|
+
"SitePublishingAuth": {
|
|
29562
|
+
"allOf": [
|
|
29563
|
+
{
|
|
29564
|
+
"oneOf": [
|
|
29565
|
+
{
|
|
29566
|
+
"$ref": "#/components/schemas/VisitorAuthCustomBackend"
|
|
29567
|
+
},
|
|
29568
|
+
{
|
|
29569
|
+
"$ref": "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
29570
|
+
}
|
|
29571
|
+
]
|
|
29572
|
+
},
|
|
29573
|
+
{
|
|
29574
|
+
"type": "object",
|
|
29575
|
+
"properties": {
|
|
29576
|
+
"object": {
|
|
29577
|
+
"type": "string",
|
|
29578
|
+
"description": "Type of Object, always equals to \"publishing-auth\"",
|
|
29579
|
+
"enum": [
|
|
29580
|
+
"publishing-auth"
|
|
29581
|
+
]
|
|
29582
|
+
},
|
|
29583
|
+
"privateKey": {
|
|
29584
|
+
"type": "string",
|
|
29585
|
+
"description": "Private key used to sign JWT tokens."
|
|
29586
|
+
},
|
|
29587
|
+
"fallbackURL": {
|
|
29588
|
+
"type": "string",
|
|
29589
|
+
"format": "uri",
|
|
29590
|
+
"description": "URL to redirect to when the visitor auth secret is invalid."
|
|
29591
|
+
},
|
|
29592
|
+
"integration": {
|
|
29593
|
+
"type": "string",
|
|
29594
|
+
"description": "Name of the Visitor Authentication integration installed on the site (if any).\nIt is also the one being used as VA backend when the published auth settings are configured to use \"integration\" as backend.\n"
|
|
29595
|
+
}
|
|
29596
|
+
},
|
|
29597
|
+
"required": [
|
|
29598
|
+
"object",
|
|
29599
|
+
"privateKey"
|
|
29600
|
+
]
|
|
29601
|
+
}
|
|
29602
|
+
]
|
|
29603
|
+
},
|
|
29604
|
+
"SitePublishingAuthUpdate": {
|
|
29605
|
+
"allOf": [
|
|
29606
|
+
{
|
|
29607
|
+
"oneOf": [
|
|
29608
|
+
{
|
|
29609
|
+
"$ref": "#/components/schemas/VisitorAuthCustomBackend"
|
|
29610
|
+
},
|
|
29611
|
+
{
|
|
29612
|
+
"$ref": "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
29613
|
+
}
|
|
29152
29614
|
]
|
|
29153
29615
|
},
|
|
29154
|
-
|
|
29155
|
-
"type": "object",
|
|
29156
|
-
"properties": {
|
|
29157
|
-
"url": {
|
|
29158
|
-
"$ref": "#/components/schemas/URL"
|
|
29159
|
-
}
|
|
29160
|
-
}
|
|
29161
|
-
},
|
|
29162
|
-
"socialPreview": {
|
|
29616
|
+
{
|
|
29163
29617
|
"type": "object",
|
|
29164
29618
|
"properties": {
|
|
29165
|
-
"
|
|
29166
|
-
"
|
|
29619
|
+
"fallbackURL": {
|
|
29620
|
+
"type": "string",
|
|
29621
|
+
"format": "uri",
|
|
29622
|
+
"description": "A fallback URL that will be used if authentication fails."
|
|
29167
29623
|
}
|
|
29168
29624
|
}
|
|
29169
29625
|
}
|
|
29170
|
-
},
|
|
29171
|
-
"required": [
|
|
29172
|
-
"styling",
|
|
29173
|
-
"internationalization",
|
|
29174
|
-
"favicon",
|
|
29175
|
-
"header",
|
|
29176
|
-
"footer",
|
|
29177
|
-
"themes",
|
|
29178
|
-
"pdf",
|
|
29179
|
-
"feedback",
|
|
29180
|
-
"aiSearch",
|
|
29181
|
-
"advancedCustomization",
|
|
29182
|
-
"trademark",
|
|
29183
|
-
"pagination",
|
|
29184
|
-
"git",
|
|
29185
|
-
"privacyPolicy",
|
|
29186
|
-
"socialPreview"
|
|
29187
|
-
]
|
|
29188
|
-
},
|
|
29189
|
-
"SiteIntegrationScript": {
|
|
29190
|
-
"type": "object",
|
|
29191
|
-
"properties": {
|
|
29192
|
-
"script": {
|
|
29193
|
-
"description": "Script URL to load.",
|
|
29194
|
-
"$ref": "#/components/schemas/URL"
|
|
29195
|
-
},
|
|
29196
|
-
"contentSecurityPolicy": {
|
|
29197
|
-
"description": "Content Security Policy to secure the loading of this script.",
|
|
29198
|
-
"type": "string"
|
|
29199
|
-
},
|
|
29200
|
-
"cookies": {
|
|
29201
|
-
"type": "boolean",
|
|
29202
|
-
"description": "If true, the script will potentially load use cookies and visitors should be aware."
|
|
29203
|
-
}
|
|
29204
|
-
},
|
|
29205
|
-
"required": [
|
|
29206
|
-
"script",
|
|
29207
|
-
"cookies"
|
|
29208
29626
|
]
|
|
29209
29627
|
},
|
|
29210
29628
|
"SiteSectionPointer": {
|
|
@@ -29317,70 +29735,123 @@
|
|
|
29317
29735
|
]
|
|
29318
29736
|
},
|
|
29319
29737
|
"SiteTrackPageView": {
|
|
29320
|
-
"
|
|
29321
|
-
|
|
29322
|
-
"pageId": {
|
|
29323
|
-
"type": "string",
|
|
29324
|
-
"description": "Unique identifier of the page."
|
|
29325
|
-
},
|
|
29326
|
-
"spaceId": {
|
|
29327
|
-
"type": "string",
|
|
29328
|
-
"description": "Unique identifier of the space."
|
|
29329
|
-
},
|
|
29330
|
-
"siteSpaceId": {
|
|
29331
|
-
"description": "The site-space that was viewed",
|
|
29332
|
-
"type": "string"
|
|
29333
|
-
},
|
|
29334
|
-
"visitor": {
|
|
29738
|
+
"allOf": [
|
|
29739
|
+
{
|
|
29335
29740
|
"type": "object",
|
|
29336
|
-
"description": "Analytics info on the GitBook's content visitor.",
|
|
29337
29741
|
"properties": {
|
|
29338
|
-
"
|
|
29742
|
+
"pageId": {
|
|
29339
29743
|
"type": "string",
|
|
29340
|
-
"description": "
|
|
29744
|
+
"description": "Unique identifier of the page."
|
|
29341
29745
|
},
|
|
29342
|
-
"
|
|
29746
|
+
"visitor": {
|
|
29343
29747
|
"type": "object",
|
|
29344
|
-
"description": "
|
|
29345
|
-
"
|
|
29346
|
-
"
|
|
29347
|
-
|
|
29348
|
-
|
|
29349
|
-
|
|
29350
|
-
|
|
29351
|
-
|
|
29748
|
+
"description": "Analytics info on the GitBook's content visitor.",
|
|
29749
|
+
"properties": {
|
|
29750
|
+
"anonymousId": {
|
|
29751
|
+
"type": "string",
|
|
29752
|
+
"description": "GitBook's unique identifier of the visitor."
|
|
29753
|
+
},
|
|
29754
|
+
"cookies": {
|
|
29755
|
+
"type": "object",
|
|
29756
|
+
"description": "The visitors cookies.",
|
|
29757
|
+
"additionalProperties": {
|
|
29758
|
+
"type": "string"
|
|
29759
|
+
}
|
|
29760
|
+
},
|
|
29761
|
+
"ip": {
|
|
29762
|
+
"type": "string",
|
|
29763
|
+
"description": "IP address of the visitor.\nIf undefined, it'll default to the IP executing the request.\n"
|
|
29764
|
+
},
|
|
29765
|
+
"userAgent": {
|
|
29766
|
+
"type": "string",
|
|
29767
|
+
"description": "User-agent of the visitor.\nhttps://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent\n"
|
|
29768
|
+
},
|
|
29769
|
+
"language": {
|
|
29770
|
+
"type": "string",
|
|
29771
|
+
"description": "Language of the visitor.\nhttps://developer.mozilla.org/en-US/docs/Web/API/Navigator/language\n"
|
|
29772
|
+
}
|
|
29773
|
+
},
|
|
29774
|
+
"required": [
|
|
29775
|
+
"anonymousId",
|
|
29776
|
+
"cookies",
|
|
29777
|
+
"userAgent"
|
|
29778
|
+
]
|
|
29352
29779
|
},
|
|
29353
|
-
"
|
|
29780
|
+
"url": {
|
|
29354
29781
|
"type": "string",
|
|
29355
|
-
"description": "
|
|
29782
|
+
"description": "The GitBook content's URL visited (including URL params)."
|
|
29356
29783
|
},
|
|
29357
|
-
"
|
|
29784
|
+
"referrer": {
|
|
29358
29785
|
"type": "string",
|
|
29359
|
-
"description": "
|
|
29786
|
+
"description": "The URL of referrer that linked to the page."
|
|
29360
29787
|
}
|
|
29361
29788
|
},
|
|
29362
29789
|
"required": [
|
|
29363
|
-
"
|
|
29364
|
-
"
|
|
29365
|
-
"
|
|
29790
|
+
"visitor",
|
|
29791
|
+
"url",
|
|
29792
|
+
"referrer"
|
|
29366
29793
|
]
|
|
29367
29794
|
},
|
|
29368
|
-
|
|
29369
|
-
"
|
|
29370
|
-
|
|
29371
|
-
|
|
29372
|
-
|
|
29373
|
-
|
|
29374
|
-
|
|
29795
|
+
{
|
|
29796
|
+
"oneOf": [
|
|
29797
|
+
{
|
|
29798
|
+
"type": "object",
|
|
29799
|
+
"properties": {
|
|
29800
|
+
"spaceId": {
|
|
29801
|
+
"type": "string",
|
|
29802
|
+
"description": "Unique identifier of the space."
|
|
29803
|
+
}
|
|
29804
|
+
},
|
|
29805
|
+
"required": [
|
|
29806
|
+
"spaceId"
|
|
29807
|
+
]
|
|
29808
|
+
},
|
|
29809
|
+
{
|
|
29810
|
+
"type": "object",
|
|
29811
|
+
"properties": {
|
|
29812
|
+
"siteSpaceId": {
|
|
29813
|
+
"description": "The site-space that was viewed",
|
|
29814
|
+
"type": "string"
|
|
29815
|
+
}
|
|
29816
|
+
},
|
|
29817
|
+
"required": [
|
|
29818
|
+
"siteSpaceId"
|
|
29819
|
+
]
|
|
29820
|
+
}
|
|
29821
|
+
]
|
|
29375
29822
|
}
|
|
29376
|
-
},
|
|
29377
|
-
"required": [
|
|
29378
|
-
"visitor",
|
|
29379
|
-
"url",
|
|
29380
|
-
"referrer",
|
|
29381
|
-
"spaceId"
|
|
29382
29823
|
]
|
|
29383
29824
|
},
|
|
29825
|
+
"InsightsInterval": {
|
|
29826
|
+
"type": "string",
|
|
29827
|
+
"description": "The interval for grouping the results",
|
|
29828
|
+
"enum": [
|
|
29829
|
+
"day",
|
|
29830
|
+
"week",
|
|
29831
|
+
"month",
|
|
29832
|
+
"year"
|
|
29833
|
+
],
|
|
29834
|
+
"default": "week"
|
|
29835
|
+
},
|
|
29836
|
+
"SiteAdsStats": {
|
|
29837
|
+
"type": "object",
|
|
29838
|
+
"required": [
|
|
29839
|
+
"impressions",
|
|
29840
|
+
"clicks",
|
|
29841
|
+
"revenue"
|
|
29842
|
+
],
|
|
29843
|
+
"properties": {
|
|
29844
|
+
"impressions": {
|
|
29845
|
+
"type": "number"
|
|
29846
|
+
},
|
|
29847
|
+
"clicks": {
|
|
29848
|
+
"type": "number"
|
|
29849
|
+
},
|
|
29850
|
+
"revenue": {
|
|
29851
|
+
"type": "string"
|
|
29852
|
+
}
|
|
29853
|
+
}
|
|
29854
|
+
},
|
|
29384
29855
|
"InsightsContentPage": {
|
|
29385
29856
|
"type": "object",
|
|
29386
29857
|
"description": "Page entry in the content insights.",
|
|
@@ -29411,43 +29882,6 @@
|
|
|
29411
29882
|
}
|
|
29412
29883
|
}
|
|
29413
29884
|
},
|
|
29414
|
-
"SiteAdsStats": {
|
|
29415
|
-
"type": "object",
|
|
29416
|
-
"required": [
|
|
29417
|
-
"impressions",
|
|
29418
|
-
"clicks",
|
|
29419
|
-
"revenue",
|
|
29420
|
-
"account"
|
|
29421
|
-
],
|
|
29422
|
-
"properties": {
|
|
29423
|
-
"impressions": {
|
|
29424
|
-
"type": "number"
|
|
29425
|
-
},
|
|
29426
|
-
"clicks": {
|
|
29427
|
-
"type": "number"
|
|
29428
|
-
},
|
|
29429
|
-
"revenue": {
|
|
29430
|
-
"type": "string"
|
|
29431
|
-
},
|
|
29432
|
-
"account": {
|
|
29433
|
-
"type": "object",
|
|
29434
|
-
"properties": {
|
|
29435
|
-
"email": {
|
|
29436
|
-
"type": "string",
|
|
29437
|
-
"description": "Email address on the Ads platform."
|
|
29438
|
-
},
|
|
29439
|
-
"url": {
|
|
29440
|
-
"type": "string",
|
|
29441
|
-
"description": "URL to configure payout."
|
|
29442
|
-
}
|
|
29443
|
-
},
|
|
29444
|
-
"required": [
|
|
29445
|
-
"email",
|
|
29446
|
-
"url"
|
|
29447
|
-
]
|
|
29448
|
-
}
|
|
29449
|
-
}
|
|
29450
|
-
},
|
|
29451
29885
|
"CustomHostnameDnsStatus": {
|
|
29452
29886
|
"type": "string",
|
|
29453
29887
|
"enum": [
|
|
@@ -30531,21 +30965,69 @@
|
|
|
30531
30965
|
"custom_fields_edited"
|
|
30532
30966
|
]
|
|
30533
30967
|
},
|
|
30534
|
-
"
|
|
30535
|
-
"type": "
|
|
30536
|
-
"
|
|
30537
|
-
|
|
30538
|
-
|
|
30539
|
-
|
|
30540
|
-
"
|
|
30541
|
-
|
|
30542
|
-
|
|
30968
|
+
"GitSyncOperationStage": {
|
|
30969
|
+
"type": "string",
|
|
30970
|
+
"description": "Core stages of a Git Sync process. This is not exhaustive, but should cover\nthe important ones.\n- repo_fetch: Includes fetching the latest repository contents from remote provider.\n- config_check: Includes checking if the YAML config is valid, etc.\n- content_process: Includes processing of pages & files to be imported/exported.\n- finalize: Includes finalizing the sync process like creating the commit on git, or\ncreating a new revision.\n",
|
|
30971
|
+
"enum": [
|
|
30972
|
+
"repo_fetch",
|
|
30973
|
+
"config_check",
|
|
30974
|
+
"content_process",
|
|
30975
|
+
"finalize"
|
|
30976
|
+
]
|
|
30977
|
+
},
|
|
30978
|
+
"OrganizationTransferResponse": {
|
|
30979
|
+
"type": "object",
|
|
30980
|
+
"required": [
|
|
30981
|
+
"collection"
|
|
30982
|
+
],
|
|
30983
|
+
"properties": {
|
|
30984
|
+
"collection": {
|
|
30985
|
+
"type": "string",
|
|
30986
|
+
"description": "The unique id of the collection created in the target organization containing the content of the source organization."
|
|
30987
|
+
},
|
|
30988
|
+
"newSourceHostname": {
|
|
30989
|
+
"type": "string",
|
|
30990
|
+
"description": "The new hostname if the source organization needed to change hostname."
|
|
30991
|
+
}
|
|
30992
|
+
}
|
|
30993
|
+
},
|
|
30994
|
+
"IntegrationEnvironmentSpaceInstallation": {
|
|
30995
|
+
"allOf": [
|
|
30996
|
+
{
|
|
30997
|
+
"$ref": "#/components/schemas/IntegrationContentInstallationBase"
|
|
30998
|
+
},
|
|
30999
|
+
{
|
|
31000
|
+
"type": "object",
|
|
31001
|
+
"properties": {
|
|
31002
|
+
"space": {
|
|
31003
|
+
"description": "The space the integration is installed on.",
|
|
31004
|
+
"type": "string"
|
|
31005
|
+
}
|
|
31006
|
+
},
|
|
31007
|
+
"required": [
|
|
31008
|
+
"space"
|
|
31009
|
+
]
|
|
31010
|
+
}
|
|
31011
|
+
]
|
|
31012
|
+
},
|
|
31013
|
+
"IntegrationEnvironmentSiteInstallation": {
|
|
31014
|
+
"allOf": [
|
|
31015
|
+
{
|
|
31016
|
+
"$ref": "#/components/schemas/IntegrationContentInstallationBase"
|
|
30543
31017
|
},
|
|
30544
|
-
|
|
30545
|
-
"type": "
|
|
30546
|
-
"
|
|
31018
|
+
{
|
|
31019
|
+
"type": "object",
|
|
31020
|
+
"properties": {
|
|
31021
|
+
"site": {
|
|
31022
|
+
"description": "The site the integration is installed on.",
|
|
31023
|
+
"type": "string"
|
|
31024
|
+
}
|
|
31025
|
+
},
|
|
31026
|
+
"required": [
|
|
31027
|
+
"site"
|
|
31028
|
+
]
|
|
30547
31029
|
}
|
|
30548
|
-
|
|
31030
|
+
]
|
|
30549
31031
|
},
|
|
30550
31032
|
"IntegrationEnvironment": {
|
|
30551
31033
|
"type": "object",
|
|
@@ -30563,10 +31045,10 @@
|
|
|
30563
31045
|
"$ref": "#/components/schemas/IntegrationInstallation"
|
|
30564
31046
|
},
|
|
30565
31047
|
"spaceInstallation": {
|
|
30566
|
-
"$ref": "#/components/schemas/
|
|
31048
|
+
"$ref": "#/components/schemas/IntegrationEnvironmentSpaceInstallation"
|
|
30567
31049
|
},
|
|
30568
31050
|
"siteInstallation": {
|
|
30569
|
-
"$ref": "#/components/schemas/
|
|
31051
|
+
"$ref": "#/components/schemas/IntegrationEnvironmentSiteInstallation"
|
|
30570
31052
|
},
|
|
30571
31053
|
"secrets": {
|
|
30572
31054
|
"$ref": "#/components/schemas/IntegrationSecrets"
|
|
@@ -30837,13 +31319,14 @@
|
|
|
30837
31319
|
"space"
|
|
30838
31320
|
]
|
|
30839
31321
|
},
|
|
30840
|
-
"
|
|
31322
|
+
"SpaceContentChannel": {
|
|
30841
31323
|
"type": "object",
|
|
31324
|
+
"description": "Channel notified when the main content of a space is changed.",
|
|
30842
31325
|
"properties": {
|
|
30843
31326
|
"channel": {
|
|
30844
31327
|
"type": "string",
|
|
30845
31328
|
"enum": [
|
|
30846
|
-
"space-
|
|
31329
|
+
"space-content"
|
|
30847
31330
|
]
|
|
30848
31331
|
},
|
|
30849
31332
|
"space": {
|
|
@@ -30855,13 +31338,13 @@
|
|
|
30855
31338
|
"space"
|
|
30856
31339
|
]
|
|
30857
31340
|
},
|
|
30858
|
-
"
|
|
31341
|
+
"SpaceGitInfoChannel": {
|
|
30859
31342
|
"type": "object",
|
|
30860
31343
|
"properties": {
|
|
30861
31344
|
"channel": {
|
|
30862
31345
|
"type": "string",
|
|
30863
31346
|
"enum": [
|
|
30864
|
-
"space-
|
|
31347
|
+
"space-git-info"
|
|
30865
31348
|
]
|
|
30866
31349
|
},
|
|
30867
31350
|
"space": {
|
|
@@ -30873,13 +31356,13 @@
|
|
|
30873
31356
|
"space"
|
|
30874
31357
|
]
|
|
30875
31358
|
},
|
|
30876
|
-
"
|
|
31359
|
+
"SpacePublishingAuthChannel": {
|
|
30877
31360
|
"type": "object",
|
|
30878
31361
|
"properties": {
|
|
30879
31362
|
"channel": {
|
|
30880
31363
|
"type": "string",
|
|
30881
31364
|
"enum": [
|
|
30882
|
-
"space-publishing-
|
|
31365
|
+
"space-publishing-auth"
|
|
30883
31366
|
]
|
|
30884
31367
|
},
|
|
30885
31368
|
"space": {
|
|
@@ -30891,13 +31374,13 @@
|
|
|
30891
31374
|
"space"
|
|
30892
31375
|
]
|
|
30893
31376
|
},
|
|
30894
|
-
"
|
|
31377
|
+
"SpacePublishingCustomizationChannel": {
|
|
30895
31378
|
"type": "object",
|
|
30896
31379
|
"properties": {
|
|
30897
31380
|
"channel": {
|
|
30898
31381
|
"type": "string",
|
|
30899
31382
|
"enum": [
|
|
30900
|
-
"space-
|
|
31383
|
+
"space-publishing-customization"
|
|
30901
31384
|
]
|
|
30902
31385
|
},
|
|
30903
31386
|
"space": {
|
|
@@ -30909,13 +31392,13 @@
|
|
|
30909
31392
|
"space"
|
|
30910
31393
|
]
|
|
30911
31394
|
},
|
|
30912
|
-
"
|
|
31395
|
+
"SpaceCustomFieldsChannel": {
|
|
30913
31396
|
"type": "object",
|
|
30914
31397
|
"properties": {
|
|
30915
31398
|
"channel": {
|
|
30916
31399
|
"type": "string",
|
|
30917
31400
|
"enum": [
|
|
30918
|
-
"space-
|
|
31401
|
+
"space-customfields"
|
|
30919
31402
|
]
|
|
30920
31403
|
},
|
|
30921
31404
|
"space": {
|
|
@@ -30927,22 +31410,22 @@
|
|
|
30927
31410
|
"space"
|
|
30928
31411
|
]
|
|
30929
31412
|
},
|
|
30930
|
-
"
|
|
31413
|
+
"SpaceContentRefsChannel": {
|
|
30931
31414
|
"type": "object",
|
|
30932
31415
|
"properties": {
|
|
30933
31416
|
"channel": {
|
|
30934
31417
|
"type": "string",
|
|
30935
31418
|
"enum": [
|
|
30936
|
-
"
|
|
31419
|
+
"space-content-refs"
|
|
30937
31420
|
]
|
|
30938
31421
|
},
|
|
30939
|
-
"
|
|
31422
|
+
"space": {
|
|
30940
31423
|
"type": "string"
|
|
30941
31424
|
}
|
|
30942
31425
|
},
|
|
30943
31426
|
"required": [
|
|
30944
31427
|
"channel",
|
|
30945
|
-
"
|
|
31428
|
+
"space"
|
|
30946
31429
|
]
|
|
30947
31430
|
},
|
|
30948
31431
|
"SpaceIntegrationsChannel": {
|
|
@@ -31097,13 +31580,13 @@
|
|
|
31097
31580
|
"changeRequest"
|
|
31098
31581
|
]
|
|
31099
31582
|
},
|
|
31100
|
-
"
|
|
31583
|
+
"ChangeRequestContentRefsChannel": {
|
|
31101
31584
|
"type": "object",
|
|
31102
31585
|
"properties": {
|
|
31103
31586
|
"channel": {
|
|
31104
31587
|
"type": "string",
|
|
31105
31588
|
"enum": [
|
|
31106
|
-
"space-change-request-
|
|
31589
|
+
"space-change-request-content-refs"
|
|
31107
31590
|
]
|
|
31108
31591
|
},
|
|
31109
31592
|
"space": {
|
|
@@ -31465,7 +31948,7 @@
|
|
|
31465
31948
|
"organization"
|
|
31466
31949
|
]
|
|
31467
31950
|
},
|
|
31468
|
-
"
|
|
31951
|
+
"SpaceCommentsChannel": {
|
|
31469
31952
|
"type": "object",
|
|
31470
31953
|
"properties": {
|
|
31471
31954
|
"channel": {
|
|
@@ -31474,6 +31957,24 @@
|
|
|
31474
31957
|
"space-comments"
|
|
31475
31958
|
]
|
|
31476
31959
|
},
|
|
31960
|
+
"space": {
|
|
31961
|
+
"type": "string"
|
|
31962
|
+
}
|
|
31963
|
+
},
|
|
31964
|
+
"required": [
|
|
31965
|
+
"channel",
|
|
31966
|
+
"space"
|
|
31967
|
+
]
|
|
31968
|
+
},
|
|
31969
|
+
"ChangeRequestCommentsChannel": {
|
|
31970
|
+
"type": "object",
|
|
31971
|
+
"properties": {
|
|
31972
|
+
"channel": {
|
|
31973
|
+
"type": "string",
|
|
31974
|
+
"enum": [
|
|
31975
|
+
"space-change-request-comments"
|
|
31976
|
+
]
|
|
31977
|
+
},
|
|
31477
31978
|
"space": {
|
|
31478
31979
|
"type": "string"
|
|
31479
31980
|
},
|
|
@@ -31483,7 +31984,8 @@
|
|
|
31483
31984
|
},
|
|
31484
31985
|
"required": [
|
|
31485
31986
|
"channel",
|
|
31486
|
-
"space"
|
|
31987
|
+
"space",
|
|
31988
|
+
"changeRequest"
|
|
31487
31989
|
]
|
|
31488
31990
|
},
|
|
31489
31991
|
"CommentInfoChannel": {
|
|
@@ -31498,9 +32000,6 @@
|
|
|
31498
32000
|
"space": {
|
|
31499
32001
|
"type": "string"
|
|
31500
32002
|
},
|
|
31501
|
-
"changeRequest": {
|
|
31502
|
-
"type": "string"
|
|
31503
|
-
},
|
|
31504
32003
|
"comment": {
|
|
31505
32004
|
"type": "string"
|
|
31506
32005
|
}
|
|
@@ -31523,9 +32022,6 @@
|
|
|
31523
32022
|
"space": {
|
|
31524
32023
|
"type": "string"
|
|
31525
32024
|
},
|
|
31526
|
-
"changeRequest": {
|
|
31527
|
-
"type": "string"
|
|
31528
|
-
},
|
|
31529
32025
|
"comment": {
|
|
31530
32026
|
"type": "string"
|
|
31531
32027
|
},
|
|
@@ -31552,9 +32048,6 @@
|
|
|
31552
32048
|
"space": {
|
|
31553
32049
|
"type": "string"
|
|
31554
32050
|
},
|
|
31555
|
-
"changeRequest": {
|
|
31556
|
-
"type": "string"
|
|
31557
|
-
},
|
|
31558
32051
|
"comment": {
|
|
31559
32052
|
"type": "string"
|
|
31560
32053
|
}
|
|
@@ -31701,6 +32194,24 @@
|
|
|
31701
32194
|
"installation"
|
|
31702
32195
|
]
|
|
31703
32196
|
},
|
|
32197
|
+
"PublishedContentSiteChannel": {
|
|
32198
|
+
"type": "object",
|
|
32199
|
+
"properties": {
|
|
32200
|
+
"channel": {
|
|
32201
|
+
"type": "string",
|
|
32202
|
+
"enum": [
|
|
32203
|
+
"published-content-site"
|
|
32204
|
+
]
|
|
32205
|
+
},
|
|
32206
|
+
"site": {
|
|
32207
|
+
"type": "string"
|
|
32208
|
+
}
|
|
32209
|
+
},
|
|
32210
|
+
"required": [
|
|
32211
|
+
"channel",
|
|
32212
|
+
"site"
|
|
32213
|
+
]
|
|
32214
|
+
},
|
|
31704
32215
|
"SiteChannel": {
|
|
31705
32216
|
"type": "object",
|
|
31706
32217
|
"properties": {
|
|
@@ -31917,12 +32428,51 @@
|
|
|
31917
32428
|
"customHostname"
|
|
31918
32429
|
]
|
|
31919
32430
|
},
|
|
32431
|
+
"GitSyncSettingsChannel": {
|
|
32432
|
+
"type": "object",
|
|
32433
|
+
"properties": {
|
|
32434
|
+
"channel": {
|
|
32435
|
+
"type": "string",
|
|
32436
|
+
"enum": [
|
|
32437
|
+
"space-gitsync-settings"
|
|
32438
|
+
]
|
|
32439
|
+
},
|
|
32440
|
+
"space": {
|
|
32441
|
+
"type": "string"
|
|
32442
|
+
}
|
|
32443
|
+
},
|
|
32444
|
+
"required": [
|
|
32445
|
+
"channel",
|
|
32446
|
+
"space"
|
|
32447
|
+
]
|
|
32448
|
+
},
|
|
32449
|
+
"GitSyncOperationChannel": {
|
|
32450
|
+
"type": "object",
|
|
32451
|
+
"properties": {
|
|
32452
|
+
"channel": {
|
|
32453
|
+
"type": "string",
|
|
32454
|
+
"enum": [
|
|
32455
|
+
"space-gitsync-operation"
|
|
32456
|
+
]
|
|
32457
|
+
},
|
|
32458
|
+
"space": {
|
|
32459
|
+
"type": "string"
|
|
32460
|
+
}
|
|
32461
|
+
},
|
|
32462
|
+
"required": [
|
|
32463
|
+
"channel",
|
|
32464
|
+
"space"
|
|
32465
|
+
]
|
|
32466
|
+
},
|
|
31920
32467
|
"SubscriptionChannel": {
|
|
31921
|
-
"description": "Channel to subscribe to for
|
|
32468
|
+
"description": "Channel to subscribe to for realtime updates.",
|
|
31922
32469
|
"oneOf": [
|
|
31923
32470
|
{
|
|
31924
32471
|
"$ref": "#/components/schemas/SpaceInfoChannel"
|
|
31925
32472
|
},
|
|
32473
|
+
{
|
|
32474
|
+
"$ref": "#/components/schemas/SpaceContentChannel"
|
|
32475
|
+
},
|
|
31926
32476
|
{
|
|
31927
32477
|
"$ref": "#/components/schemas/SpaceGitInfoChannel"
|
|
31928
32478
|
},
|
|
@@ -31936,10 +32486,7 @@
|
|
|
31936
32486
|
"$ref": "#/components/schemas/SpaceCustomFieldsChannel"
|
|
31937
32487
|
},
|
|
31938
32488
|
{
|
|
31939
|
-
"$ref": "#/components/schemas/
|
|
31940
|
-
},
|
|
31941
|
-
{
|
|
31942
|
-
"$ref": "#/components/schemas/BackofficeUserInfoChannel"
|
|
32489
|
+
"$ref": "#/components/schemas/SpaceContentRefsChannel"
|
|
31943
32490
|
},
|
|
31944
32491
|
{
|
|
31945
32492
|
"$ref": "#/components/schemas/SpaceIntegrationsChannel"
|
|
@@ -31966,7 +32513,7 @@
|
|
|
31966
32513
|
"$ref": "#/components/schemas/ChangeRequestReviewsChannel"
|
|
31967
32514
|
},
|
|
31968
32515
|
{
|
|
31969
|
-
"$ref": "#/components/schemas/
|
|
32516
|
+
"$ref": "#/components/schemas/ChangeRequestContentRefsChannel"
|
|
31970
32517
|
},
|
|
31971
32518
|
{
|
|
31972
32519
|
"$ref": "#/components/schemas/CollectionChannel"
|
|
@@ -32023,7 +32570,10 @@
|
|
|
32023
32570
|
"$ref": "#/components/schemas/OrganizationExperimentalFeaturesChannel"
|
|
32024
32571
|
},
|
|
32025
32572
|
{
|
|
32026
|
-
"$ref": "#/components/schemas/
|
|
32573
|
+
"$ref": "#/components/schemas/SpaceCommentsChannel"
|
|
32574
|
+
},
|
|
32575
|
+
{
|
|
32576
|
+
"$ref": "#/components/schemas/ChangeRequestCommentsChannel"
|
|
32027
32577
|
},
|
|
32028
32578
|
{
|
|
32029
32579
|
"$ref": "#/components/schemas/CommentInfoChannel"
|
|
@@ -32052,6 +32602,9 @@
|
|
|
32052
32602
|
{
|
|
32053
32603
|
"$ref": "#/components/schemas/IntegrationSiteInstallationsChannel"
|
|
32054
32604
|
},
|
|
32605
|
+
{
|
|
32606
|
+
"$ref": "#/components/schemas/PublishedContentSiteChannel"
|
|
32607
|
+
},
|
|
32055
32608
|
{
|
|
32056
32609
|
"$ref": "#/components/schemas/SiteChannel"
|
|
32057
32610
|
},
|
|
@@ -32084,6 +32637,176 @@
|
|
|
32084
32637
|
},
|
|
32085
32638
|
{
|
|
32086
32639
|
"$ref": "#/components/schemas/CustomHostnameChannel"
|
|
32640
|
+
},
|
|
32641
|
+
{
|
|
32642
|
+
"$ref": "#/components/schemas/GitSyncSettingsChannel"
|
|
32643
|
+
},
|
|
32644
|
+
{
|
|
32645
|
+
"$ref": "#/components/schemas/GitSyncOperationChannel"
|
|
32646
|
+
}
|
|
32647
|
+
],
|
|
32648
|
+
"discriminator": {
|
|
32649
|
+
"propertyName": "channel"
|
|
32650
|
+
}
|
|
32651
|
+
},
|
|
32652
|
+
"GitSyncOperationChannelData": {
|
|
32653
|
+
"type": "object",
|
|
32654
|
+
"properties": {
|
|
32655
|
+
"channel": {
|
|
32656
|
+
"type": "string",
|
|
32657
|
+
"enum": [
|
|
32658
|
+
"space-gitsync-operation"
|
|
32659
|
+
]
|
|
32660
|
+
},
|
|
32661
|
+
"data": {
|
|
32662
|
+
"type": "object",
|
|
32663
|
+
"nullable": true,
|
|
32664
|
+
"description": "Data passed on the channel messages for GitSync running in a space.",
|
|
32665
|
+
"properties": {
|
|
32666
|
+
"direction": {
|
|
32667
|
+
"type": "string",
|
|
32668
|
+
"enum": [
|
|
32669
|
+
"export",
|
|
32670
|
+
"import"
|
|
32671
|
+
]
|
|
32672
|
+
},
|
|
32673
|
+
"stage": {
|
|
32674
|
+
"$ref": "#/components/schemas/GitSyncOperationStage"
|
|
32675
|
+
},
|
|
32676
|
+
"dispatchedTasks": {
|
|
32677
|
+
"type": "number"
|
|
32678
|
+
},
|
|
32679
|
+
"completedTasks": {
|
|
32680
|
+
"type": "number"
|
|
32681
|
+
},
|
|
32682
|
+
"startedAt": {
|
|
32683
|
+
"type": "number"
|
|
32684
|
+
},
|
|
32685
|
+
"updatedAt": {
|
|
32686
|
+
"type": "number"
|
|
32687
|
+
}
|
|
32688
|
+
},
|
|
32689
|
+
"required": [
|
|
32690
|
+
"direction",
|
|
32691
|
+
"stage",
|
|
32692
|
+
"dispatchedTasks",
|
|
32693
|
+
"completedTasks",
|
|
32694
|
+
"startedAt",
|
|
32695
|
+
"updatedAt"
|
|
32696
|
+
]
|
|
32697
|
+
}
|
|
32698
|
+
},
|
|
32699
|
+
"required": [
|
|
32700
|
+
"channel",
|
|
32701
|
+
"data"
|
|
32702
|
+
]
|
|
32703
|
+
},
|
|
32704
|
+
"SpaceContentRefsChannelData": {
|
|
32705
|
+
"type": "object",
|
|
32706
|
+
"properties": {
|
|
32707
|
+
"channel": {
|
|
32708
|
+
"type": "string",
|
|
32709
|
+
"enum": [
|
|
32710
|
+
"space-content-refs"
|
|
32711
|
+
]
|
|
32712
|
+
},
|
|
32713
|
+
"data": {
|
|
32714
|
+
"type": "object",
|
|
32715
|
+
"description": "Data passed on the channel messages for content refs indexation.",
|
|
32716
|
+
"properties": {
|
|
32717
|
+
"revision": {
|
|
32718
|
+
"type": "string",
|
|
32719
|
+
"description": "ID of the latest indexed revision"
|
|
32720
|
+
},
|
|
32721
|
+
"updatedAt": {
|
|
32722
|
+
"type": "number"
|
|
32723
|
+
}
|
|
32724
|
+
},
|
|
32725
|
+
"required": [
|
|
32726
|
+
"revision",
|
|
32727
|
+
"updatedAt"
|
|
32728
|
+
]
|
|
32729
|
+
}
|
|
32730
|
+
},
|
|
32731
|
+
"required": [
|
|
32732
|
+
"channel",
|
|
32733
|
+
"data"
|
|
32734
|
+
]
|
|
32735
|
+
},
|
|
32736
|
+
"ChangeRequestContentRefsChannelData": {
|
|
32737
|
+
"type": "object",
|
|
32738
|
+
"properties": {
|
|
32739
|
+
"channel": {
|
|
32740
|
+
"type": "string",
|
|
32741
|
+
"enum": [
|
|
32742
|
+
"space-change-request-content-refs"
|
|
32743
|
+
]
|
|
32744
|
+
},
|
|
32745
|
+
"data": {
|
|
32746
|
+
"type": "object",
|
|
32747
|
+
"description": "Data passed on the channel messages for content refs indexation.",
|
|
32748
|
+
"properties": {
|
|
32749
|
+
"revision": {
|
|
32750
|
+
"type": "string",
|
|
32751
|
+
"description": "ID of the latest indexed revision"
|
|
32752
|
+
},
|
|
32753
|
+
"updatedAt": {
|
|
32754
|
+
"type": "number"
|
|
32755
|
+
}
|
|
32756
|
+
},
|
|
32757
|
+
"required": [
|
|
32758
|
+
"revision",
|
|
32759
|
+
"updatedAt"
|
|
32760
|
+
]
|
|
32761
|
+
}
|
|
32762
|
+
},
|
|
32763
|
+
"required": [
|
|
32764
|
+
"channel",
|
|
32765
|
+
"data"
|
|
32766
|
+
]
|
|
32767
|
+
},
|
|
32768
|
+
"APIChannelMutationData": {
|
|
32769
|
+
"type": "object",
|
|
32770
|
+
"properties": {
|
|
32771
|
+
"channel": {
|
|
32772
|
+
"type": "string",
|
|
32773
|
+
"enum": [
|
|
32774
|
+
"*"
|
|
32775
|
+
]
|
|
32776
|
+
},
|
|
32777
|
+
"data": {
|
|
32778
|
+
"type": "object",
|
|
32779
|
+
"description": "Data passed on the channels associated to API endpoints.",
|
|
32780
|
+
"properties": {
|
|
32781
|
+
"executionId": {
|
|
32782
|
+
"type": "string",
|
|
32783
|
+
"description": "ID of the API execution that triggered the mutation."
|
|
32784
|
+
}
|
|
32785
|
+
},
|
|
32786
|
+
"required": [
|
|
32787
|
+
"executionId"
|
|
32788
|
+
]
|
|
32789
|
+
}
|
|
32790
|
+
},
|
|
32791
|
+
"required": [
|
|
32792
|
+
"channel",
|
|
32793
|
+
"data"
|
|
32794
|
+
]
|
|
32795
|
+
},
|
|
32796
|
+
"SubscriptionChannelData": {
|
|
32797
|
+
"description": "Data passed through a realtime channel",
|
|
32798
|
+
"oneOf": [
|
|
32799
|
+
{
|
|
32800
|
+
"$ref": "#/components/schemas/GitSyncOperationChannelData"
|
|
32801
|
+
},
|
|
32802
|
+
{
|
|
32803
|
+
"$ref": "#/components/schemas/SpaceContentRefsChannelData"
|
|
32804
|
+
},
|
|
32805
|
+
{
|
|
32806
|
+
"$ref": "#/components/schemas/ChangeRequestContentRefsChannelData"
|
|
32807
|
+
},
|
|
32808
|
+
{
|
|
32809
|
+
"$ref": "#/components/schemas/APIChannelMutationData"
|
|
32087
32810
|
}
|
|
32088
32811
|
],
|
|
32089
32812
|
"discriminator": {
|