@gitbook/api 0.36.0 → 0.38.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 +1078 -130
- package/dist/index.cjs +255 -1
- package/dist/index.js +255 -1
- package/package.json +1 -1
- package/spec/openapi.json +7749 -5181
- package/spec/openapi.yaml +1852 -334
package/spec/openapi.yaml
CHANGED
|
@@ -43,6 +43,8 @@ components:
|
|
|
43
43
|
description: The number of results per page
|
|
44
44
|
schema:
|
|
45
45
|
type: number
|
|
46
|
+
minimum: 0
|
|
47
|
+
maximum: 1000
|
|
46
48
|
listPage:
|
|
47
49
|
name: page
|
|
48
50
|
in: query
|
|
@@ -97,7 +99,7 @@ components:
|
|
|
97
99
|
revisionMetadata:
|
|
98
100
|
name: metadata
|
|
99
101
|
in: query
|
|
100
|
-
description: If `false
|
|
102
|
+
description: If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
101
103
|
schema:
|
|
102
104
|
type: boolean
|
|
103
105
|
default: true
|
|
@@ -285,13 +287,6 @@ components:
|
|
|
285
287
|
description: The custom hostname, for example "docs.gitbook.com"
|
|
286
288
|
schema:
|
|
287
289
|
type: string
|
|
288
|
-
backofficeHostname:
|
|
289
|
-
name: hostname
|
|
290
|
-
in: path
|
|
291
|
-
required: true
|
|
292
|
-
description: The custom hostname
|
|
293
|
-
schema:
|
|
294
|
-
type: string
|
|
295
290
|
ifUnmodifiedSince:
|
|
296
291
|
in: header
|
|
297
292
|
name: If-Unmodified-Since
|
|
@@ -2961,6 +2956,7 @@ components:
|
|
|
2961
2956
|
- data
|
|
2962
2957
|
- isVoid
|
|
2963
2958
|
ContentRef:
|
|
2959
|
+
description: A relative reference to content in GitBook.
|
|
2964
2960
|
oneOf:
|
|
2965
2961
|
- $ref: "#/components/schemas/ContentRefFile"
|
|
2966
2962
|
- $ref: "#/components/schemas/ContentRefURL"
|
|
@@ -3094,6 +3090,143 @@ components:
|
|
|
3094
3090
|
- kind
|
|
3095
3091
|
- syncedBlock
|
|
3096
3092
|
- organization
|
|
3093
|
+
ContentLocation:
|
|
3094
|
+
description: An absolute reference to content in GitBook.
|
|
3095
|
+
oneOf:
|
|
3096
|
+
- $ref: "#/components/schemas/ContentLocationFile"
|
|
3097
|
+
- $ref: "#/components/schemas/ContentLocationURL"
|
|
3098
|
+
- $ref: "#/components/schemas/ContentLocationPage"
|
|
3099
|
+
- $ref: "#/components/schemas/ContentLocationUser"
|
|
3100
|
+
- $ref: "#/components/schemas/ContentLocationCollection"
|
|
3101
|
+
- $ref: "#/components/schemas/ContentLocationSpace"
|
|
3102
|
+
- $ref: "#/components/schemas/ContentLocationSnippet"
|
|
3103
|
+
- $ref: "#/components/schemas/ContentLocationSyncedBlock"
|
|
3104
|
+
ContentLocationURL:
|
|
3105
|
+
type: object
|
|
3106
|
+
properties:
|
|
3107
|
+
kind:
|
|
3108
|
+
type: string
|
|
3109
|
+
enum:
|
|
3110
|
+
- url
|
|
3111
|
+
url:
|
|
3112
|
+
type: string
|
|
3113
|
+
required:
|
|
3114
|
+
- kind
|
|
3115
|
+
- url
|
|
3116
|
+
ContentLocationFile:
|
|
3117
|
+
type: object
|
|
3118
|
+
properties:
|
|
3119
|
+
kind:
|
|
3120
|
+
type: string
|
|
3121
|
+
enum:
|
|
3122
|
+
- file
|
|
3123
|
+
organization:
|
|
3124
|
+
$ref: "#/components/schemas/Organization"
|
|
3125
|
+
space:
|
|
3126
|
+
$ref: "#/components/schemas/Space"
|
|
3127
|
+
changeRequest:
|
|
3128
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
3129
|
+
file:
|
|
3130
|
+
$ref: "#/components/schemas/RevisionFile"
|
|
3131
|
+
required:
|
|
3132
|
+
- kind
|
|
3133
|
+
- organization
|
|
3134
|
+
- space
|
|
3135
|
+
- file
|
|
3136
|
+
ContentLocationPage:
|
|
3137
|
+
type: object
|
|
3138
|
+
properties:
|
|
3139
|
+
kind:
|
|
3140
|
+
type: string
|
|
3141
|
+
enum:
|
|
3142
|
+
- page
|
|
3143
|
+
organization:
|
|
3144
|
+
$ref: "#/components/schemas/Organization"
|
|
3145
|
+
page:
|
|
3146
|
+
$ref: "#/components/schemas/RevisionPage"
|
|
3147
|
+
space:
|
|
3148
|
+
$ref: "#/components/schemas/Space"
|
|
3149
|
+
changeRequest:
|
|
3150
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
3151
|
+
anchor:
|
|
3152
|
+
type: string
|
|
3153
|
+
required:
|
|
3154
|
+
- kind
|
|
3155
|
+
- organization
|
|
3156
|
+
- space
|
|
3157
|
+
- page
|
|
3158
|
+
ContentLocationUser:
|
|
3159
|
+
type: object
|
|
3160
|
+
properties:
|
|
3161
|
+
kind:
|
|
3162
|
+
type: string
|
|
3163
|
+
enum:
|
|
3164
|
+
- user
|
|
3165
|
+
user:
|
|
3166
|
+
$ref: "#/components/schemas/User"
|
|
3167
|
+
required:
|
|
3168
|
+
- kind
|
|
3169
|
+
- user
|
|
3170
|
+
ContentLocationCollection:
|
|
3171
|
+
type: object
|
|
3172
|
+
properties:
|
|
3173
|
+
kind:
|
|
3174
|
+
type: string
|
|
3175
|
+
enum:
|
|
3176
|
+
- collection
|
|
3177
|
+
organization:
|
|
3178
|
+
$ref: "#/components/schemas/Organization"
|
|
3179
|
+
collection:
|
|
3180
|
+
$ref: "#/components/schemas/Collection"
|
|
3181
|
+
required:
|
|
3182
|
+
- kind
|
|
3183
|
+
- organization
|
|
3184
|
+
- collection
|
|
3185
|
+
ContentLocationSpace:
|
|
3186
|
+
type: object
|
|
3187
|
+
properties:
|
|
3188
|
+
kind:
|
|
3189
|
+
type: string
|
|
3190
|
+
enum:
|
|
3191
|
+
- space
|
|
3192
|
+
organization:
|
|
3193
|
+
$ref: "#/components/schemas/Organization"
|
|
3194
|
+
space:
|
|
3195
|
+
$ref: "#/components/schemas/Space"
|
|
3196
|
+
required:
|
|
3197
|
+
- kind
|
|
3198
|
+
- organization
|
|
3199
|
+
- space
|
|
3200
|
+
ContentLocationSnippet:
|
|
3201
|
+
type: object
|
|
3202
|
+
properties:
|
|
3203
|
+
kind:
|
|
3204
|
+
type: string
|
|
3205
|
+
enum:
|
|
3206
|
+
- snippet
|
|
3207
|
+
organization:
|
|
3208
|
+
$ref: "#/components/schemas/Organization"
|
|
3209
|
+
snippet:
|
|
3210
|
+
$ref: "#/components/schemas/Snippet"
|
|
3211
|
+
required:
|
|
3212
|
+
- kind
|
|
3213
|
+
- organization
|
|
3214
|
+
- snippet
|
|
3215
|
+
ContentLocationSyncedBlock:
|
|
3216
|
+
type: object
|
|
3217
|
+
properties:
|
|
3218
|
+
kind:
|
|
3219
|
+
type: string
|
|
3220
|
+
enum:
|
|
3221
|
+
- synced-block
|
|
3222
|
+
organization:
|
|
3223
|
+
$ref: "#/components/schemas/Organization"
|
|
3224
|
+
syncedBlock:
|
|
3225
|
+
$ref: "#/components/schemas/SyncedBlock"
|
|
3226
|
+
required:
|
|
3227
|
+
- kind
|
|
3228
|
+
- organization
|
|
3229
|
+
- syncedBlock
|
|
3097
3230
|
Space:
|
|
3098
3231
|
type: object
|
|
3099
3232
|
properties:
|
|
@@ -3190,30 +3323,38 @@ components:
|
|
|
3190
3323
|
maxLength: 50
|
|
3191
3324
|
SpaceVisitorAuth:
|
|
3192
3325
|
oneOf:
|
|
3193
|
-
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
- backend
|
|
3203
|
-
- type: object
|
|
3204
|
-
title: Integration
|
|
3205
|
-
properties:
|
|
3206
|
-
backend:
|
|
3207
|
-
type: string
|
|
3208
|
-
description: Integration as backend for Visitor Authentication
|
|
3209
|
-
enum:
|
|
3326
|
+
- $ref: "#/components/schemas/SpaceVisitorAuthCustomBackend"
|
|
3327
|
+
- allOf:
|
|
3328
|
+
- $ref: "#/components/schemas/SpaceVisitorAuthIntegrationBackend"
|
|
3329
|
+
- type: object
|
|
3330
|
+
properties:
|
|
3331
|
+
integration:
|
|
3332
|
+
type: string
|
|
3333
|
+
description: Name of integration being used as the backend for Visitor Authentication
|
|
3334
|
+
required:
|
|
3210
3335
|
- integration
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3336
|
+
SpaceVisitorAuthCustomBackend:
|
|
3337
|
+
type: object
|
|
3338
|
+
title: Custom backend for Visitor Authentication
|
|
3339
|
+
properties:
|
|
3340
|
+
backend:
|
|
3341
|
+
type: string
|
|
3342
|
+
description: Custom backend for Visitor Authentication
|
|
3343
|
+
enum:
|
|
3344
|
+
- custom
|
|
3345
|
+
required:
|
|
3346
|
+
- backend
|
|
3347
|
+
SpaceVisitorAuthIntegrationBackend:
|
|
3348
|
+
type: object
|
|
3349
|
+
title: Integration backend for Visitor Authentication
|
|
3350
|
+
properties:
|
|
3351
|
+
backend:
|
|
3352
|
+
type: string
|
|
3353
|
+
description: Integration as backend for Visitor Authentication
|
|
3354
|
+
enum:
|
|
3216
3355
|
- integration
|
|
3356
|
+
required:
|
|
3357
|
+
- backend
|
|
3217
3358
|
RevisionBase:
|
|
3218
3359
|
type: object
|
|
3219
3360
|
properties:
|
|
@@ -4256,6 +4397,155 @@ components:
|
|
|
4256
4397
|
required:
|
|
4257
4398
|
- type
|
|
4258
4399
|
- organization
|
|
4400
|
+
OrganizationUsage:
|
|
4401
|
+
type: object
|
|
4402
|
+
description: All usage metrics of an organization
|
|
4403
|
+
properties:
|
|
4404
|
+
spaces:
|
|
4405
|
+
$ref: "#/components/schemas/OrganizationUsageSpaces"
|
|
4406
|
+
collections:
|
|
4407
|
+
$ref: "#/components/schemas/OrganizationUsageCollections"
|
|
4408
|
+
sites:
|
|
4409
|
+
$ref: "#/components/schemas/OrganizationUsageSites"
|
|
4410
|
+
seats:
|
|
4411
|
+
$ref: "#/components/schemas/OrganizationUsageSeats"
|
|
4412
|
+
teams:
|
|
4413
|
+
$ref: "#/components/schemas/OrganizationUsageTeams"
|
|
4414
|
+
members:
|
|
4415
|
+
$ref: "#/components/schemas/OrganizationUsageMembers"
|
|
4416
|
+
teamMembers:
|
|
4417
|
+
$ref: "#/components/schemas/OrganizationUsageTeamMembers"
|
|
4418
|
+
required:
|
|
4419
|
+
- spaces
|
|
4420
|
+
- collections
|
|
4421
|
+
- sites
|
|
4422
|
+
- seats
|
|
4423
|
+
- teams
|
|
4424
|
+
- members
|
|
4425
|
+
- teamMembers
|
|
4426
|
+
OrganizationUsageSpaces:
|
|
4427
|
+
type: object
|
|
4428
|
+
description: Spaces usage metrics of an organization
|
|
4429
|
+
properties:
|
|
4430
|
+
total:
|
|
4431
|
+
description: Count of all spaces
|
|
4432
|
+
type: number
|
|
4433
|
+
required:
|
|
4434
|
+
- total
|
|
4435
|
+
OrganizationUsageCollections:
|
|
4436
|
+
type: object
|
|
4437
|
+
description: Collections usage metrics of an organization
|
|
4438
|
+
properties:
|
|
4439
|
+
total:
|
|
4440
|
+
description: Count of all collections
|
|
4441
|
+
type: number
|
|
4442
|
+
required:
|
|
4443
|
+
- total
|
|
4444
|
+
OrganizationUsageSites:
|
|
4445
|
+
type: object
|
|
4446
|
+
description: Sites usage metrics of an organization
|
|
4447
|
+
properties:
|
|
4448
|
+
total:
|
|
4449
|
+
description: Count of all sites
|
|
4450
|
+
type: number
|
|
4451
|
+
public:
|
|
4452
|
+
description: Count of all public sites
|
|
4453
|
+
type: number
|
|
4454
|
+
unlisted:
|
|
4455
|
+
description: Count of all unlisted sites
|
|
4456
|
+
type: number
|
|
4457
|
+
shareLink:
|
|
4458
|
+
description: Count of all link-shared sites
|
|
4459
|
+
type: number
|
|
4460
|
+
visitorAuth:
|
|
4461
|
+
description: Count of all visitor-authenticated sites
|
|
4462
|
+
type: number
|
|
4463
|
+
unpublished:
|
|
4464
|
+
description: Count of all unpublished sites
|
|
4465
|
+
type: number
|
|
4466
|
+
required:
|
|
4467
|
+
- total
|
|
4468
|
+
- public
|
|
4469
|
+
- unlisted
|
|
4470
|
+
- shareLink
|
|
4471
|
+
- visitorAuth
|
|
4472
|
+
- unpublished
|
|
4473
|
+
OrganizationUsageMembers:
|
|
4474
|
+
type: object
|
|
4475
|
+
description: Members usage metrics of an organization
|
|
4476
|
+
properties:
|
|
4477
|
+
total:
|
|
4478
|
+
description: Count of all members
|
|
4479
|
+
type: number
|
|
4480
|
+
admin:
|
|
4481
|
+
description: Count of all admins
|
|
4482
|
+
type: number
|
|
4483
|
+
create:
|
|
4484
|
+
description: Count of all creators
|
|
4485
|
+
type: number
|
|
4486
|
+
edit:
|
|
4487
|
+
description: Count of all editors
|
|
4488
|
+
type: number
|
|
4489
|
+
review:
|
|
4490
|
+
description: Count of all reviewers
|
|
4491
|
+
type: number
|
|
4492
|
+
comment:
|
|
4493
|
+
description: Count of all commenters
|
|
4494
|
+
type: number
|
|
4495
|
+
read:
|
|
4496
|
+
description: Count of all readers
|
|
4497
|
+
type: number
|
|
4498
|
+
guest:
|
|
4499
|
+
description: Count of all guests
|
|
4500
|
+
type: number
|
|
4501
|
+
required:
|
|
4502
|
+
- total
|
|
4503
|
+
- admin
|
|
4504
|
+
- create
|
|
4505
|
+
- edit
|
|
4506
|
+
- review
|
|
4507
|
+
- comment
|
|
4508
|
+
- read
|
|
4509
|
+
- guest
|
|
4510
|
+
OrganizationUsageTeams:
|
|
4511
|
+
type: object
|
|
4512
|
+
description: Team members usage metrics of an organization
|
|
4513
|
+
properties:
|
|
4514
|
+
total:
|
|
4515
|
+
description: Count of all teams
|
|
4516
|
+
type: number
|
|
4517
|
+
required:
|
|
4518
|
+
- total
|
|
4519
|
+
OrganizationUsageTeamMembers:
|
|
4520
|
+
type: object
|
|
4521
|
+
description: Team members usage metrics of an organization
|
|
4522
|
+
properties:
|
|
4523
|
+
total:
|
|
4524
|
+
description: Count of all organization members in a team
|
|
4525
|
+
type: number
|
|
4526
|
+
owner:
|
|
4527
|
+
description: Count of all team owners
|
|
4528
|
+
type: number
|
|
4529
|
+
member:
|
|
4530
|
+
description: Count of all team members
|
|
4531
|
+
type: number
|
|
4532
|
+
required:
|
|
4533
|
+
- total
|
|
4534
|
+
- owner
|
|
4535
|
+
- member
|
|
4536
|
+
OrganizationUsageSeats:
|
|
4537
|
+
type: object
|
|
4538
|
+
description: Seats usage metrics of an organization
|
|
4539
|
+
properties:
|
|
4540
|
+
total:
|
|
4541
|
+
description: The total amount of seats in the organization.
|
|
4542
|
+
type: number
|
|
4543
|
+
available:
|
|
4544
|
+
description: How many seats are still available.
|
|
4545
|
+
type: number
|
|
4546
|
+
required:
|
|
4547
|
+
- total
|
|
4548
|
+
- available
|
|
4259
4549
|
Capture:
|
|
4260
4550
|
type: object
|
|
4261
4551
|
properties:
|
|
@@ -4573,8 +4863,6 @@ components:
|
|
|
4573
4863
|
type: string
|
|
4574
4864
|
description: Title describing the synced block.
|
|
4575
4865
|
maxLength: 100
|
|
4576
|
-
document:
|
|
4577
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
4578
4866
|
urls:
|
|
4579
4867
|
type: object
|
|
4580
4868
|
description: URLs associated with the object
|
|
@@ -4584,6 +4872,12 @@ components:
|
|
|
4584
4872
|
$ref: "#/components/schemas/URL"
|
|
4585
4873
|
required:
|
|
4586
4874
|
- location
|
|
4875
|
+
document:
|
|
4876
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
4877
|
+
files:
|
|
4878
|
+
type: array
|
|
4879
|
+
items:
|
|
4880
|
+
$ref: "#/components/schemas/RevisionFile"
|
|
4587
4881
|
required:
|
|
4588
4882
|
- id
|
|
4589
4883
|
- organization
|
|
@@ -4745,16 +5039,11 @@ components:
|
|
|
4745
5039
|
total:
|
|
4746
5040
|
description: Count of broken links
|
|
4747
5041
|
type: number
|
|
4748
|
-
space:
|
|
4749
|
-
description: Count of broken links in space. When in the context of a change request it refers to the broken links already existing at the time of the change request creation.
|
|
4750
|
-
type: number
|
|
4751
5042
|
changeRequest:
|
|
4752
5043
|
description: Count of broken links that were broken in current change request, if applicable.
|
|
4753
5044
|
type: number
|
|
4754
5045
|
required:
|
|
4755
5046
|
- total
|
|
4756
|
-
- space
|
|
4757
|
-
- changeRequest
|
|
4758
5047
|
required:
|
|
4759
5048
|
- total
|
|
4760
5049
|
- broken
|
|
@@ -6745,6 +7034,10 @@ components:
|
|
|
6745
7034
|
type: string
|
|
6746
7035
|
description: Name of the product
|
|
6747
7036
|
enum:
|
|
7037
|
+
- free_2024
|
|
7038
|
+
- plus_2024
|
|
7039
|
+
- pro_2024
|
|
7040
|
+
- enterprise_2024
|
|
6748
7041
|
- free
|
|
6749
7042
|
- plus
|
|
6750
7043
|
- pro
|
|
@@ -8061,6 +8354,17 @@ components:
|
|
|
8061
8354
|
- $ref: "#/components/schemas/SpacePublishingCustomizationChannel"
|
|
8062
8355
|
- $ref: "#/components/schemas/SpaceEntitiesChannel"
|
|
8063
8356
|
- $ref: "#/components/schemas/SpaceCustomFieldsChannel"
|
|
8357
|
+
- type: object
|
|
8358
|
+
properties:
|
|
8359
|
+
channel:
|
|
8360
|
+
type: string
|
|
8361
|
+
enum:
|
|
8362
|
+
- space-broken-links
|
|
8363
|
+
space:
|
|
8364
|
+
type: string
|
|
8365
|
+
required:
|
|
8366
|
+
- channel
|
|
8367
|
+
- space
|
|
8064
8368
|
- $ref: "#/components/schemas/BackofficeUserInfoChannel"
|
|
8065
8369
|
- $ref: "#/components/schemas/SpaceIntegrationsChannel"
|
|
8066
8370
|
- $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
|
|
@@ -8112,6 +8416,9 @@ components:
|
|
|
8112
8416
|
- $ref: "#/components/schemas/OrganizationIntegrationsChannel"
|
|
8113
8417
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
8114
8418
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
8419
|
+
- $ref: "#/components/schemas/OrganizationSeatsChannel"
|
|
8420
|
+
- $ref: "#/components/schemas/OrganizationUsageSeatsChannel"
|
|
8421
|
+
- $ref: "#/components/schemas/OrganizationSeatChannel"
|
|
8115
8422
|
- type: object
|
|
8116
8423
|
properties:
|
|
8117
8424
|
channel:
|
|
@@ -8195,19 +8502,13 @@ components:
|
|
|
8195
8502
|
- $ref: "#/components/schemas/IntegrationSiteInstallationChannel"
|
|
8196
8503
|
- $ref: "#/components/schemas/IntegrationSiteInstallationsChannel"
|
|
8197
8504
|
- $ref: "#/components/schemas/SiteChannel"
|
|
8505
|
+
- $ref: "#/components/schemas/SiteCustomizationChannel"
|
|
8198
8506
|
- $ref: "#/components/schemas/SiteSpaceChannel"
|
|
8507
|
+
- $ref: "#/components/schemas/SiteSpaceCustomizationChannel"
|
|
8199
8508
|
- $ref: "#/components/schemas/SiteSpacesChannel"
|
|
8200
|
-
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
type: string
|
|
8204
|
-
enum:
|
|
8205
|
-
- site-publishing-auth
|
|
8206
|
-
site:
|
|
8207
|
-
type: string
|
|
8208
|
-
required:
|
|
8209
|
-
- channel
|
|
8210
|
-
- site
|
|
8509
|
+
- $ref: "#/components/schemas/SitePublishingAuthChannel"
|
|
8510
|
+
- $ref: "#/components/schemas/SiteShareLinksChannel"
|
|
8511
|
+
- $ref: "#/components/schemas/SiteShareLinkChannel"
|
|
8211
8512
|
- $ref: "#/components/schemas/CustomHostnameChannel"
|
|
8212
8513
|
discriminator:
|
|
8213
8514
|
propertyName: channel
|
|
@@ -8638,6 +8939,48 @@ components:
|
|
|
8638
8939
|
required:
|
|
8639
8940
|
- channel
|
|
8640
8941
|
- organization
|
|
8942
|
+
OrganizationSeatChannel:
|
|
8943
|
+
type: object
|
|
8944
|
+
description: Subscription channel for changes in a member seat in an organization.
|
|
8945
|
+
properties:
|
|
8946
|
+
channel:
|
|
8947
|
+
type: string
|
|
8948
|
+
enum:
|
|
8949
|
+
- organization-seat
|
|
8950
|
+
organization:
|
|
8951
|
+
type: string
|
|
8952
|
+
member:
|
|
8953
|
+
type: string
|
|
8954
|
+
required:
|
|
8955
|
+
- channel
|
|
8956
|
+
- organization
|
|
8957
|
+
- member
|
|
8958
|
+
OrganizationSeatsChannel:
|
|
8959
|
+
type: object
|
|
8960
|
+
description: Subscription channel for changes in seats in an organization.
|
|
8961
|
+
properties:
|
|
8962
|
+
channel:
|
|
8963
|
+
type: string
|
|
8964
|
+
enum:
|
|
8965
|
+
- organization-seats
|
|
8966
|
+
organization:
|
|
8967
|
+
type: string
|
|
8968
|
+
required:
|
|
8969
|
+
- channel
|
|
8970
|
+
- organization
|
|
8971
|
+
OrganizationUsageSeatsChannel:
|
|
8972
|
+
type: object
|
|
8973
|
+
description: Subscription channel for changes in seats usage in an organization.
|
|
8974
|
+
properties:
|
|
8975
|
+
channel:
|
|
8976
|
+
type: string
|
|
8977
|
+
enum:
|
|
8978
|
+
- organization-usage-seats
|
|
8979
|
+
organization:
|
|
8980
|
+
type: string
|
|
8981
|
+
required:
|
|
8982
|
+
- channel
|
|
8983
|
+
- organization
|
|
8641
8984
|
IntegrationChannel:
|
|
8642
8985
|
type: object
|
|
8643
8986
|
properties:
|
|
@@ -8743,6 +9086,30 @@ components:
|
|
|
8743
9086
|
required:
|
|
8744
9087
|
- channel
|
|
8745
9088
|
- site
|
|
9089
|
+
SiteCustomizationChannel:
|
|
9090
|
+
type: object
|
|
9091
|
+
properties:
|
|
9092
|
+
channel:
|
|
9093
|
+
type: string
|
|
9094
|
+
enum:
|
|
9095
|
+
- site-customization
|
|
9096
|
+
site:
|
|
9097
|
+
type: string
|
|
9098
|
+
required:
|
|
9099
|
+
- channel
|
|
9100
|
+
- site
|
|
9101
|
+
SitePublishingAuthChannel:
|
|
9102
|
+
type: object
|
|
9103
|
+
properties:
|
|
9104
|
+
channel:
|
|
9105
|
+
type: string
|
|
9106
|
+
enum:
|
|
9107
|
+
- site-publishing-auth
|
|
9108
|
+
site:
|
|
9109
|
+
type: string
|
|
9110
|
+
required:
|
|
9111
|
+
- channel
|
|
9112
|
+
- site
|
|
8746
9113
|
SiteSpaceChannel:
|
|
8747
9114
|
type: object
|
|
8748
9115
|
properties:
|
|
@@ -8758,6 +9125,21 @@ components:
|
|
|
8758
9125
|
- channel
|
|
8759
9126
|
- site
|
|
8760
9127
|
- siteSpace
|
|
9128
|
+
SiteSpaceCustomizationChannel:
|
|
9129
|
+
type: object
|
|
9130
|
+
properties:
|
|
9131
|
+
channel:
|
|
9132
|
+
type: string
|
|
9133
|
+
enum:
|
|
9134
|
+
- site-space-customization
|
|
9135
|
+
site:
|
|
9136
|
+
type: string
|
|
9137
|
+
siteSpace:
|
|
9138
|
+
type: string
|
|
9139
|
+
required:
|
|
9140
|
+
- channel
|
|
9141
|
+
- site
|
|
9142
|
+
- siteSpace
|
|
8761
9143
|
SiteSpacesChannel:
|
|
8762
9144
|
type: object
|
|
8763
9145
|
description: Subscription channel for changes in site spaces in an organization.
|
|
@@ -8771,6 +9153,34 @@ components:
|
|
|
8771
9153
|
required:
|
|
8772
9154
|
- channel
|
|
8773
9155
|
- site
|
|
9156
|
+
SiteShareLinkChannel:
|
|
9157
|
+
type: object
|
|
9158
|
+
properties:
|
|
9159
|
+
channel:
|
|
9160
|
+
type: string
|
|
9161
|
+
enum:
|
|
9162
|
+
- site-share-link
|
|
9163
|
+
site:
|
|
9164
|
+
type: string
|
|
9165
|
+
siteShareLink:
|
|
9166
|
+
type: string
|
|
9167
|
+
required:
|
|
9168
|
+
- channel
|
|
9169
|
+
- site
|
|
9170
|
+
- siteShareLink
|
|
9171
|
+
SiteShareLinksChannel:
|
|
9172
|
+
type: object
|
|
9173
|
+
description: Subscription channel for changes in share links in a site
|
|
9174
|
+
properties:
|
|
9175
|
+
channel:
|
|
9176
|
+
type: string
|
|
9177
|
+
enum:
|
|
9178
|
+
- site-share-links
|
|
9179
|
+
site:
|
|
9180
|
+
type: string
|
|
9181
|
+
required:
|
|
9182
|
+
- channel
|
|
9183
|
+
- site
|
|
8774
9184
|
CustomHostnameChannel:
|
|
8775
9185
|
type: object
|
|
8776
9186
|
properties:
|
|
@@ -9242,6 +9652,19 @@ components:
|
|
|
9242
9652
|
description: Name of the share link
|
|
9243
9653
|
minLength: 0
|
|
9244
9654
|
maxLength: 50
|
|
9655
|
+
SitePointer:
|
|
9656
|
+
type: object
|
|
9657
|
+
properties:
|
|
9658
|
+
type:
|
|
9659
|
+
type: string
|
|
9660
|
+
enum:
|
|
9661
|
+
- site
|
|
9662
|
+
site:
|
|
9663
|
+
type: string
|
|
9664
|
+
description: Unique identifier for the site
|
|
9665
|
+
required:
|
|
9666
|
+
- type
|
|
9667
|
+
- site
|
|
9245
9668
|
Site:
|
|
9246
9669
|
type: object
|
|
9247
9670
|
properties:
|
|
@@ -9290,7 +9713,6 @@ components:
|
|
|
9290
9713
|
- object
|
|
9291
9714
|
- id
|
|
9292
9715
|
- title
|
|
9293
|
-
- basename
|
|
9294
9716
|
- visibility
|
|
9295
9717
|
- createdAt
|
|
9296
9718
|
- siteSpaces
|
|
@@ -9461,132 +9883,368 @@ components:
|
|
|
9461
9883
|
- git
|
|
9462
9884
|
- privacyPolicy
|
|
9463
9885
|
- socialPreview
|
|
9464
|
-
|
|
9465
|
-
type: string
|
|
9466
|
-
description: |
|
|
9467
|
-
* `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
9468
|
-
* `unlisted`: Anyone can access the site, and the site is not indexed by search engines
|
|
9469
|
-
* `share-link`: Anyone with a secret token in the url can access the site.
|
|
9470
|
-
* `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
9471
|
-
* `unpublished`: The site is not accessible to anyone.
|
|
9472
|
-
enum:
|
|
9473
|
-
- public
|
|
9474
|
-
- unlisted
|
|
9475
|
-
- share-link
|
|
9476
|
-
- visitor-auth
|
|
9477
|
-
- unpublished
|
|
9478
|
-
SitePublishingAuth:
|
|
9479
|
-
allOf:
|
|
9480
|
-
- type: object
|
|
9481
|
-
properties:
|
|
9482
|
-
object:
|
|
9483
|
-
type: string
|
|
9484
|
-
description: Type of Object, always equals to "publishing-auth"
|
|
9485
|
-
enum:
|
|
9486
|
-
- publishing-auth
|
|
9487
|
-
privateKey:
|
|
9488
|
-
type: string
|
|
9489
|
-
description: Private key used to sign JWT tokens.
|
|
9490
|
-
fallbackURL:
|
|
9491
|
-
type: string
|
|
9492
|
-
format: uri
|
|
9493
|
-
description: URL to redirect to when the visitor auth secret is invalid.
|
|
9494
|
-
required:
|
|
9495
|
-
- object
|
|
9496
|
-
- privateKey
|
|
9497
|
-
- $ref: "#/components/schemas/SpaceVisitorAuth"
|
|
9498
|
-
SiteBasename:
|
|
9499
|
-
type: string
|
|
9500
|
-
description: Basename for the site. For e.g. api
|
|
9501
|
-
minLength: 1
|
|
9502
|
-
maxLength: 100
|
|
9503
|
-
SiteHostname:
|
|
9504
|
-
type: string
|
|
9505
|
-
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
9506
|
-
pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
9507
|
-
SiteSpace:
|
|
9508
|
-
type: object
|
|
9509
|
-
properties:
|
|
9510
|
-
object:
|
|
9511
|
-
type: string
|
|
9512
|
-
description: The object type, which is always "site-space"
|
|
9513
|
-
enum:
|
|
9514
|
-
- site-space
|
|
9515
|
-
id:
|
|
9516
|
-
type: string
|
|
9517
|
-
description: Unique identifier of the site-space
|
|
9518
|
-
path:
|
|
9519
|
-
$ref: "#/components/schemas/SiteSpacePath"
|
|
9520
|
-
space:
|
|
9521
|
-
$ref: "#/components/schemas/Space"
|
|
9522
|
-
default:
|
|
9523
|
-
type: boolean
|
|
9524
|
-
description: Whether this is the default space for the site
|
|
9525
|
-
required:
|
|
9526
|
-
- id
|
|
9527
|
-
- space
|
|
9528
|
-
- path
|
|
9529
|
-
SiteSpacePath:
|
|
9530
|
-
type: string
|
|
9531
|
-
description: Path to the space on the site
|
|
9532
|
-
minLength: 1
|
|
9533
|
-
maxLength: 100
|
|
9534
|
-
SiteSubscriptionStatus:
|
|
9535
|
-
type: string
|
|
9536
|
-
enum:
|
|
9537
|
-
- active
|
|
9538
|
-
- inactive
|
|
9539
|
-
SiteSubscriptionType:
|
|
9540
|
-
type: string
|
|
9541
|
-
enum:
|
|
9542
|
-
- basic
|
|
9543
|
-
- premium
|
|
9544
|
-
SiteSubscription:
|
|
9545
|
-
type: object
|
|
9546
|
-
properties:
|
|
9547
|
-
type:
|
|
9548
|
-
$ref: "#/components/schemas/SiteSubscriptionType"
|
|
9549
|
-
status:
|
|
9550
|
-
$ref: "#/components/schemas/SiteSubscriptionStatus"
|
|
9551
|
-
required:
|
|
9552
|
-
- type
|
|
9553
|
-
- status
|
|
9554
|
-
CustomHostname:
|
|
9886
|
+
SiteSpaceCustomizationOverrides:
|
|
9555
9887
|
type: object
|
|
9556
9888
|
properties:
|
|
9557
|
-
|
|
9558
|
-
type: string
|
|
9559
|
-
enum:
|
|
9560
|
-
- custom-hostname
|
|
9561
|
-
hostname:
|
|
9562
|
-
$ref: "#/components/schemas/SiteHostname"
|
|
9563
|
-
target:
|
|
9564
|
-
oneOf:
|
|
9565
|
-
- $ref: "#/components/schemas/OrganizationPointer"
|
|
9566
|
-
- $ref: "#/components/schemas/SpacePointer"
|
|
9567
|
-
- $ref: "#/components/schemas/CollectionPointer"
|
|
9568
|
-
isActive:
|
|
9569
|
-
type: boolean
|
|
9570
|
-
status:
|
|
9571
|
-
$ref: "#/components/schemas/CustomHostnameStatus"
|
|
9572
|
-
urls:
|
|
9889
|
+
styling:
|
|
9573
9890
|
type: object
|
|
9574
|
-
description: URLs associated with the object
|
|
9575
9891
|
properties:
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9892
|
+
primaryColor:
|
|
9893
|
+
description: The primary color used for links and UI text. Set to null to reset the override.
|
|
9894
|
+
oneOf:
|
|
9895
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
9896
|
+
- type: string
|
|
9897
|
+
nullable: true
|
|
9898
|
+
enum:
|
|
9899
|
+
- null
|
|
9900
|
+
corners:
|
|
9901
|
+
description: The style of the corners to use. Set to null to reset the override.
|
|
9902
|
+
oneOf:
|
|
9903
|
+
- $ref: "#/components/schemas/CustomizationCorners"
|
|
9904
|
+
- type: string
|
|
9905
|
+
nullable: true
|
|
9906
|
+
enum:
|
|
9907
|
+
- null
|
|
9908
|
+
font:
|
|
9909
|
+
description: The font family to use for the content. Set to null to reset the override.
|
|
9910
|
+
oneOf:
|
|
9911
|
+
- $ref: "#/components/schemas/CustomizationFont"
|
|
9912
|
+
- type: string
|
|
9913
|
+
nullable: true
|
|
9914
|
+
enum:
|
|
9915
|
+
- null
|
|
9916
|
+
background:
|
|
9917
|
+
description: The style of background to use. Set to null to reset the override.
|
|
9918
|
+
oneOf:
|
|
9919
|
+
- $ref: "#/components/schemas/CustomizationBackground"
|
|
9920
|
+
- type: string
|
|
9921
|
+
nullable: true
|
|
9922
|
+
enum:
|
|
9923
|
+
- null
|
|
9924
|
+
internationalization:
|
|
9925
|
+
type: object
|
|
9926
|
+
properties:
|
|
9927
|
+
locale:
|
|
9928
|
+
description: The locale to use for the non-custom elements of the UI. Set to null to reset the override.
|
|
9929
|
+
oneOf:
|
|
9930
|
+
- $ref: "#/components/schemas/CustomizationLocale"
|
|
9931
|
+
- type: string
|
|
9932
|
+
nullable: true
|
|
9933
|
+
enum:
|
|
9934
|
+
- null
|
|
9580
9935
|
required:
|
|
9581
|
-
-
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9936
|
+
- locale
|
|
9937
|
+
favicon:
|
|
9938
|
+
description: The favicon to use. Set to null to reset the override.
|
|
9939
|
+
oneOf:
|
|
9940
|
+
- type: object
|
|
9941
|
+
properties:
|
|
9942
|
+
icon:
|
|
9943
|
+
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
9944
|
+
required:
|
|
9945
|
+
- icon
|
|
9946
|
+
- type: object
|
|
9947
|
+
properties:
|
|
9948
|
+
emoji:
|
|
9949
|
+
$ref: "#/components/schemas/Emoji"
|
|
9950
|
+
required:
|
|
9951
|
+
- emoji
|
|
9952
|
+
- type: object
|
|
9953
|
+
nullable: true
|
|
9954
|
+
properties: {}
|
|
9955
|
+
additionalProperties: false
|
|
9956
|
+
header:
|
|
9957
|
+
type: object
|
|
9958
|
+
properties:
|
|
9959
|
+
preset:
|
|
9960
|
+
description: The theme preset to use. Set to null to reset the override.
|
|
9961
|
+
oneOf:
|
|
9962
|
+
- $ref: "#/components/schemas/CustomizationHeaderPreset"
|
|
9963
|
+
- type: string
|
|
9964
|
+
nullable: true
|
|
9965
|
+
enum:
|
|
9966
|
+
- null
|
|
9967
|
+
logo:
|
|
9968
|
+
description: The header logo to use. Set to null to reset the override.
|
|
9969
|
+
oneOf:
|
|
9970
|
+
- $ref: "#/components/schemas/CustomizationThemedURL"
|
|
9971
|
+
- type: string
|
|
9972
|
+
nullable: true
|
|
9973
|
+
enum:
|
|
9974
|
+
- null
|
|
9975
|
+
backgroundColor:
|
|
9976
|
+
description: The background color used in the header. Set to null to reset the override.
|
|
9977
|
+
oneOf:
|
|
9978
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
9979
|
+
- type: string
|
|
9980
|
+
nullable: true
|
|
9981
|
+
enum:
|
|
9982
|
+
- null
|
|
9983
|
+
linkColor:
|
|
9984
|
+
description: The color used by the links in the header. Set to null to reset the override.
|
|
9985
|
+
oneOf:
|
|
9986
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
9987
|
+
- type: string
|
|
9988
|
+
nullable: true
|
|
9989
|
+
enum:
|
|
9990
|
+
- null
|
|
9991
|
+
links:
|
|
9992
|
+
type: array
|
|
9993
|
+
description: The links that are displayed in the header. Set to null to reset the override.
|
|
9994
|
+
nullable: true
|
|
9995
|
+
items:
|
|
9996
|
+
$ref: "#/components/schemas/CustomizationHeaderLink"
|
|
9997
|
+
footer:
|
|
9998
|
+
type: object
|
|
9999
|
+
properties:
|
|
10000
|
+
logo:
|
|
10001
|
+
description: The logo displayed in the footer. Set to null to reset the override.
|
|
10002
|
+
oneOf:
|
|
10003
|
+
- $ref: "#/components/schemas/CustomizationThemedURL"
|
|
10004
|
+
- type: string
|
|
10005
|
+
nullable: true
|
|
10006
|
+
enum:
|
|
10007
|
+
- null
|
|
10008
|
+
groups:
|
|
10009
|
+
type: array
|
|
10010
|
+
description: The links groups that are displayed in the footer. Set to null to reset the override.
|
|
10011
|
+
nullable: true
|
|
10012
|
+
items:
|
|
10013
|
+
$ref: "#/components/schemas/CustomizationFooterGroup"
|
|
10014
|
+
copyright:
|
|
10015
|
+
type: string
|
|
10016
|
+
description: The copyright text that is displayed in the footer. Set to null to reset the override.
|
|
10017
|
+
nullable: true
|
|
10018
|
+
maxLength: 300
|
|
10019
|
+
themes:
|
|
10020
|
+
type: object
|
|
10021
|
+
properties:
|
|
10022
|
+
default:
|
|
10023
|
+
description: The theme mode default value. Set to null to reset the override.
|
|
10024
|
+
oneOf:
|
|
10025
|
+
- $ref: "#/components/schemas/CustomizationThemeMode"
|
|
10026
|
+
- type: string
|
|
10027
|
+
nullable: true
|
|
10028
|
+
enum:
|
|
10029
|
+
- null
|
|
10030
|
+
toggeable:
|
|
10031
|
+
description: Should the reader be able to switch between dark and light mode. Set to null to reset the override.
|
|
10032
|
+
type: boolean
|
|
10033
|
+
nullable: true
|
|
10034
|
+
pdf:
|
|
10035
|
+
type: object
|
|
10036
|
+
properties:
|
|
10037
|
+
enabled:
|
|
10038
|
+
type: boolean
|
|
10039
|
+
description: If true, PDF export is enabled for the published site. Set to null to reset the override.
|
|
10040
|
+
nullable: true
|
|
10041
|
+
required:
|
|
10042
|
+
- enabled
|
|
10043
|
+
feedback:
|
|
10044
|
+
type: object
|
|
10045
|
+
properties:
|
|
10046
|
+
enabled:
|
|
10047
|
+
type: boolean
|
|
10048
|
+
description: If true, feedback gathering is enabled. Set to null to reset the override.
|
|
10049
|
+
nullable: true
|
|
10050
|
+
required:
|
|
10051
|
+
- enabled
|
|
10052
|
+
aiSearch:
|
|
10053
|
+
type: object
|
|
10054
|
+
properties:
|
|
10055
|
+
enabled:
|
|
10056
|
+
type: boolean
|
|
10057
|
+
description: If true, AI search is enabled. Set to null to reset the override.
|
|
10058
|
+
nullable: true
|
|
10059
|
+
required:
|
|
10060
|
+
- enabled
|
|
10061
|
+
git:
|
|
10062
|
+
type: object
|
|
10063
|
+
properties:
|
|
10064
|
+
showEditLink:
|
|
10065
|
+
type: boolean
|
|
10066
|
+
description: Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Set to null to reset the override.
|
|
10067
|
+
nullable: true
|
|
10068
|
+
required:
|
|
10069
|
+
- showEditLink
|
|
10070
|
+
pagination:
|
|
10071
|
+
type: object
|
|
10072
|
+
properties:
|
|
10073
|
+
enabled:
|
|
10074
|
+
type: boolean
|
|
10075
|
+
description: Whether the pagination navigation should be displayed on pages. Set to null to reset the override.
|
|
10076
|
+
nullable: true
|
|
10077
|
+
required:
|
|
10078
|
+
- enabled
|
|
10079
|
+
trademark:
|
|
10080
|
+
type: object
|
|
10081
|
+
properties:
|
|
10082
|
+
enabled:
|
|
10083
|
+
type: boolean
|
|
10084
|
+
description: Whether the GitBook trademark ("Powered by GitBook") should be visible. Set to null to reset the override.
|
|
10085
|
+
nullable: true
|
|
10086
|
+
required:
|
|
10087
|
+
- enabled
|
|
10088
|
+
privacyPolicy:
|
|
10089
|
+
type: object
|
|
10090
|
+
properties:
|
|
10091
|
+
url:
|
|
10092
|
+
description: The custom link to the privacy policy. Set to null to reset the override.
|
|
10093
|
+
oneOf:
|
|
10094
|
+
- $ref: "#/components/schemas/URL"
|
|
10095
|
+
- type: string
|
|
10096
|
+
nullable: true
|
|
10097
|
+
enum:
|
|
10098
|
+
- null
|
|
10099
|
+
socialPreview:
|
|
10100
|
+
type: object
|
|
10101
|
+
properties:
|
|
10102
|
+
url:
|
|
10103
|
+
description: The URL for the social preview image. Set to null to reset the override.
|
|
10104
|
+
oneOf:
|
|
10105
|
+
- $ref: "#/components/schemas/URL"
|
|
10106
|
+
- type: string
|
|
10107
|
+
nullable: true
|
|
10108
|
+
enum:
|
|
10109
|
+
- null
|
|
10110
|
+
SiteVisibility:
|
|
10111
|
+
type: string
|
|
10112
|
+
description: |
|
|
10113
|
+
* `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
10114
|
+
* `unlisted`: Anyone can access the site, and the site is not indexed by search engines
|
|
10115
|
+
* `share-link`: Anyone with a secret token in the url can access the site.
|
|
10116
|
+
* `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
10117
|
+
* `unpublished`: The site is not accessible to anyone.
|
|
10118
|
+
enum:
|
|
10119
|
+
- public
|
|
10120
|
+
- unlisted
|
|
10121
|
+
- share-link
|
|
10122
|
+
- visitor-auth
|
|
10123
|
+
- unpublished
|
|
10124
|
+
SitePublishingAuth:
|
|
10125
|
+
allOf:
|
|
10126
|
+
- type: object
|
|
10127
|
+
properties:
|
|
10128
|
+
object:
|
|
10129
|
+
type: string
|
|
10130
|
+
description: Type of Object, always equals to "publishing-auth"
|
|
10131
|
+
enum:
|
|
10132
|
+
- publishing-auth
|
|
10133
|
+
privateKey:
|
|
10134
|
+
type: string
|
|
10135
|
+
description: Private key used to sign JWT tokens.
|
|
10136
|
+
fallbackURL:
|
|
10137
|
+
type: string
|
|
10138
|
+
format: uri
|
|
10139
|
+
description: URL to redirect to when the visitor auth secret is invalid.
|
|
10140
|
+
required:
|
|
10141
|
+
- object
|
|
10142
|
+
- privateKey
|
|
10143
|
+
- $ref: "#/components/schemas/SpaceVisitorAuth"
|
|
10144
|
+
SitePublishingAuthUpdate:
|
|
10145
|
+
allOf:
|
|
10146
|
+
- oneOf:
|
|
10147
|
+
- $ref: "#/components/schemas/SpaceVisitorAuthCustomBackend"
|
|
10148
|
+
- $ref: "#/components/schemas/SpaceVisitorAuthIntegrationBackend"
|
|
10149
|
+
- type: object
|
|
10150
|
+
properties:
|
|
10151
|
+
fallbackURL:
|
|
10152
|
+
type: string
|
|
10153
|
+
format: uri
|
|
10154
|
+
description: A fallback URL that will be used if authentication fails.
|
|
10155
|
+
SiteBasename:
|
|
10156
|
+
type: string
|
|
10157
|
+
description: Basename for the site. For e.g. api
|
|
10158
|
+
minLength: 1
|
|
10159
|
+
maxLength: 100
|
|
10160
|
+
SiteHostname:
|
|
10161
|
+
type: string
|
|
10162
|
+
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
10163
|
+
pattern: ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
10164
|
+
SiteSpace:
|
|
10165
|
+
type: object
|
|
10166
|
+
properties:
|
|
10167
|
+
object:
|
|
10168
|
+
type: string
|
|
10169
|
+
description: The object type, which is always "site-space"
|
|
10170
|
+
enum:
|
|
10171
|
+
- site-space
|
|
10172
|
+
id:
|
|
10173
|
+
type: string
|
|
10174
|
+
description: Unique identifier of the site-space
|
|
10175
|
+
path:
|
|
10176
|
+
$ref: "#/components/schemas/SiteSpacePath"
|
|
10177
|
+
space:
|
|
10178
|
+
$ref: "#/components/schemas/Space"
|
|
10179
|
+
default:
|
|
10180
|
+
type: boolean
|
|
10181
|
+
description: Whether this is the default space for the site
|
|
10182
|
+
required:
|
|
10183
|
+
- id
|
|
10184
|
+
- space
|
|
10185
|
+
- path
|
|
10186
|
+
SiteSpacePath:
|
|
10187
|
+
type: string
|
|
10188
|
+
description: Path to the space on the site
|
|
10189
|
+
minLength: 1
|
|
10190
|
+
maxLength: 100
|
|
10191
|
+
SiteSubscriptionStatus:
|
|
10192
|
+
type: string
|
|
10193
|
+
enum:
|
|
10194
|
+
- active
|
|
10195
|
+
- inactive
|
|
10196
|
+
SiteSubscriptionType:
|
|
10197
|
+
type: string
|
|
10198
|
+
enum:
|
|
10199
|
+
- basic
|
|
10200
|
+
- premium
|
|
10201
|
+
SiteSubscription:
|
|
10202
|
+
type: object
|
|
10203
|
+
properties:
|
|
10204
|
+
type:
|
|
10205
|
+
$ref: "#/components/schemas/SiteSubscriptionType"
|
|
10206
|
+
status:
|
|
10207
|
+
$ref: "#/components/schemas/SiteSubscriptionStatus"
|
|
10208
|
+
required:
|
|
10209
|
+
- type
|
|
10210
|
+
- status
|
|
10211
|
+
CustomHostname:
|
|
10212
|
+
type: object
|
|
10213
|
+
properties:
|
|
10214
|
+
object:
|
|
10215
|
+
type: string
|
|
10216
|
+
enum:
|
|
10217
|
+
- custom-hostname
|
|
10218
|
+
hostname:
|
|
10219
|
+
$ref: "#/components/schemas/SiteHostname"
|
|
10220
|
+
target:
|
|
10221
|
+
oneOf:
|
|
10222
|
+
- $ref: "#/components/schemas/OrganizationPointer"
|
|
10223
|
+
- $ref: "#/components/schemas/SpacePointer"
|
|
10224
|
+
- $ref: "#/components/schemas/CollectionPointer"
|
|
10225
|
+
- $ref: "#/components/schemas/SitePointer"
|
|
10226
|
+
isActive:
|
|
10227
|
+
type: boolean
|
|
10228
|
+
status:
|
|
10229
|
+
$ref: "#/components/schemas/CustomHostnameStatus"
|
|
10230
|
+
urls:
|
|
10231
|
+
type: object
|
|
10232
|
+
description: URLs associated with the object
|
|
10233
|
+
properties:
|
|
10234
|
+
location:
|
|
10235
|
+
type: string
|
|
10236
|
+
description: URL of the custom hostname in the API
|
|
10237
|
+
format: uri
|
|
10238
|
+
required:
|
|
10239
|
+
- location
|
|
10240
|
+
required:
|
|
10241
|
+
- object
|
|
10242
|
+
- hostname
|
|
10243
|
+
- target
|
|
10244
|
+
- isActive
|
|
10245
|
+
- urls
|
|
10246
|
+
CustomHostnameStatus:
|
|
10247
|
+
type: string
|
|
9590
10248
|
oneOf:
|
|
9591
10249
|
- $ref: "#/components/schemas/CustomHostnameDnsStatus"
|
|
9592
10250
|
- $ref: "#/components/schemas/CustomHostnameSslStatus"
|
|
@@ -9637,19 +10295,6 @@ components:
|
|
|
9637
10295
|
- member
|
|
9638
10296
|
- createdAt
|
|
9639
10297
|
- updatedAt
|
|
9640
|
-
SeatsUsage:
|
|
9641
|
-
type: object
|
|
9642
|
-
description: A summary of the seats usage and availability in the organization.
|
|
9643
|
-
properties:
|
|
9644
|
-
total:
|
|
9645
|
-
description: The total amount of seats in the organization.
|
|
9646
|
-
type: number
|
|
9647
|
-
available:
|
|
9648
|
-
description: How many seats are still available.
|
|
9649
|
-
type: number
|
|
9650
|
-
required:
|
|
9651
|
-
- total
|
|
9652
|
-
- available
|
|
9653
10298
|
responses:
|
|
9654
10299
|
BadRequestError:
|
|
9655
10300
|
description: Bad Request
|
|
@@ -11561,6 +12206,42 @@ paths:
|
|
|
11561
12206
|
- contentId
|
|
11562
12207
|
- branchId
|
|
11563
12208
|
- relation
|
|
12209
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/pdf":
|
|
12210
|
+
get:
|
|
12211
|
+
operationId: getChangeRequestPDF
|
|
12212
|
+
summary: Generate a URL to export the content of a change request as a PDF.
|
|
12213
|
+
tags:
|
|
12214
|
+
- spaces
|
|
12215
|
+
security:
|
|
12216
|
+
- user: []
|
|
12217
|
+
parameters:
|
|
12218
|
+
- $ref: "#/components/parameters/spaceId"
|
|
12219
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
12220
|
+
- in: query
|
|
12221
|
+
name: only
|
|
12222
|
+
description: Generate a PDF only for the provided page.
|
|
12223
|
+
schema:
|
|
12224
|
+
type: boolean
|
|
12225
|
+
- in: query
|
|
12226
|
+
name: page
|
|
12227
|
+
description: ID of a specific page to generate a PDF for.
|
|
12228
|
+
schema:
|
|
12229
|
+
type: string
|
|
12230
|
+
responses:
|
|
12231
|
+
"200":
|
|
12232
|
+
description: URL of the PDF
|
|
12233
|
+
content:
|
|
12234
|
+
application/json:
|
|
12235
|
+
schema:
|
|
12236
|
+
type: object
|
|
12237
|
+
properties:
|
|
12238
|
+
url:
|
|
12239
|
+
description: Temporary URL to print the content. The URL will work for 1h.
|
|
12240
|
+
$ref: "#/components/schemas/URL"
|
|
12241
|
+
required:
|
|
12242
|
+
- url
|
|
12243
|
+
default:
|
|
12244
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
11564
12245
|
"/spaces/{spaceId}/revisions/{revisionId}":
|
|
11565
12246
|
get:
|
|
11566
12247
|
operationId: getRevisionById
|
|
@@ -12416,6 +13097,48 @@ paths:
|
|
|
12416
13097
|
description: Space share link has been deleted
|
|
12417
13098
|
default:
|
|
12418
13099
|
$ref: "#/components/responses/UnexpectedError"
|
|
13100
|
+
"/spaces/{spaceId}/links":
|
|
13101
|
+
get:
|
|
13102
|
+
operationId: listSpaceLinks
|
|
13103
|
+
summary: Get all links in the context of a space including their status and location where they appear.
|
|
13104
|
+
tags:
|
|
13105
|
+
- spaces
|
|
13106
|
+
- links
|
|
13107
|
+
security:
|
|
13108
|
+
- user: []
|
|
13109
|
+
parameters:
|
|
13110
|
+
- $ref: "#/components/parameters/spaceId"
|
|
13111
|
+
- $ref: "#/components/parameters/listPage"
|
|
13112
|
+
- $ref: "#/components/parameters/listLimit"
|
|
13113
|
+
- name: status
|
|
13114
|
+
in: query
|
|
13115
|
+
required: false
|
|
13116
|
+
schema:
|
|
13117
|
+
$ref: "#/components/schemas/ContentReferenceStatus"
|
|
13118
|
+
responses:
|
|
13119
|
+
"200":
|
|
13120
|
+
description: OK
|
|
13121
|
+
content:
|
|
13122
|
+
application/json:
|
|
13123
|
+
schema:
|
|
13124
|
+
allOf:
|
|
13125
|
+
- $ref: "#/components/schemas/List"
|
|
13126
|
+
- type: object
|
|
13127
|
+
properties:
|
|
13128
|
+
stats:
|
|
13129
|
+
$ref: "#/components/schemas/ContentReferencesStats"
|
|
13130
|
+
items:
|
|
13131
|
+
type: array
|
|
13132
|
+
items:
|
|
13133
|
+
$ref: "#/components/schemas/ContentReferenceUsage"
|
|
13134
|
+
required:
|
|
13135
|
+
- items
|
|
13136
|
+
- stats
|
|
13137
|
+
"404":
|
|
13138
|
+
description: The space could not be found.
|
|
13139
|
+
$ref: "#/components/responses/NotFoundError"
|
|
13140
|
+
default:
|
|
13141
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
12419
13142
|
"/collections/{collectionId}":
|
|
12420
13143
|
get:
|
|
12421
13144
|
operationId: getCollectionById
|
|
@@ -13206,32 +13929,180 @@ paths:
|
|
|
13206
13929
|
- $ref: "#/components/parameters/installationId"
|
|
13207
13930
|
responses:
|
|
13208
13931
|
"200":
|
|
13209
|
-
description: Integration installation
|
|
13932
|
+
description: Integration installation
|
|
13933
|
+
content:
|
|
13934
|
+
application/json:
|
|
13935
|
+
schema:
|
|
13936
|
+
$ref: "#/components/schemas/IntegrationInstallation"
|
|
13937
|
+
"404":
|
|
13938
|
+
$ref: "#/components/responses/NotFoundError"
|
|
13939
|
+
default:
|
|
13940
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
13941
|
+
patch:
|
|
13942
|
+
operationId: updateIntegrationInstallation
|
|
13943
|
+
summary: Update external IDs and configurations of an integration's installation
|
|
13944
|
+
tags:
|
|
13945
|
+
- integrations
|
|
13946
|
+
security:
|
|
13947
|
+
- user: []
|
|
13948
|
+
parameters:
|
|
13949
|
+
- $ref: "#/components/parameters/integrationName"
|
|
13950
|
+
- $ref: "#/components/parameters/installationId"
|
|
13951
|
+
responses:
|
|
13952
|
+
"200":
|
|
13953
|
+
description: The installation has been updated.
|
|
13954
|
+
content:
|
|
13955
|
+
application/json:
|
|
13956
|
+
schema:
|
|
13957
|
+
$ref: "#/components/schemas/IntegrationInstallation"
|
|
13958
|
+
default:
|
|
13959
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
13960
|
+
requestBody:
|
|
13961
|
+
required: true
|
|
13962
|
+
content:
|
|
13963
|
+
application/json:
|
|
13964
|
+
schema:
|
|
13965
|
+
$ref: "#/components/schemas/RequestUpdateIntegrationInstallation"
|
|
13966
|
+
delete:
|
|
13967
|
+
operationId: uninstallIntegration
|
|
13968
|
+
summary: Uninstall the integration from a target organization
|
|
13969
|
+
tags:
|
|
13970
|
+
- integrations
|
|
13971
|
+
security:
|
|
13972
|
+
- user: []
|
|
13973
|
+
parameters:
|
|
13974
|
+
- $ref: "#/components/parameters/integrationName"
|
|
13975
|
+
- $ref: "#/components/parameters/installationId"
|
|
13976
|
+
responses:
|
|
13977
|
+
"204":
|
|
13978
|
+
description: Integration uninstalled successfully
|
|
13979
|
+
"404":
|
|
13980
|
+
$ref: "#/components/responses/NotFoundError"
|
|
13981
|
+
default:
|
|
13982
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
13983
|
+
"/integrations/{integrationName}/installations/{installationId}/tokens":
|
|
13984
|
+
post:
|
|
13985
|
+
operationId: createIntegrationInstallationToken
|
|
13986
|
+
summary: Create an integration installation API token
|
|
13987
|
+
description: |
|
|
13988
|
+
Creates a temporary API token of an integration's installation that has access to the installation and it's scopes. You must be authenticated as the integration to obtain this token.
|
|
13989
|
+
tags:
|
|
13990
|
+
- integrations
|
|
13991
|
+
security:
|
|
13992
|
+
- integration: []
|
|
13993
|
+
parameters:
|
|
13994
|
+
- $ref: "#/components/parameters/integrationName"
|
|
13995
|
+
- $ref: "#/components/parameters/installationId"
|
|
13996
|
+
responses:
|
|
13997
|
+
"200":
|
|
13998
|
+
description: The API token for the installation
|
|
13999
|
+
content:
|
|
14000
|
+
application/json:
|
|
14001
|
+
schema:
|
|
14002
|
+
$ref: "#/components/schemas/APITemporaryToken"
|
|
14003
|
+
"404":
|
|
14004
|
+
description: Installation could not be found
|
|
14005
|
+
$ref: "#/components/responses/NotFoundError"
|
|
14006
|
+
default:
|
|
14007
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
14008
|
+
"/integrations/{integrationName}/installations/{installationId}/spaces":
|
|
14009
|
+
get:
|
|
14010
|
+
operationId: listIntegrationInstallationSpaces
|
|
14011
|
+
summary: List installations on spaces for an integration in an organization
|
|
14012
|
+
tags:
|
|
14013
|
+
- integrations
|
|
14014
|
+
parameters:
|
|
14015
|
+
- $ref: "#/components/parameters/integrationName"
|
|
14016
|
+
- $ref: "#/components/parameters/installationId"
|
|
14017
|
+
- $ref: "#/components/parameters/listPage"
|
|
14018
|
+
- $ref: "#/components/parameters/listLimit"
|
|
14019
|
+
responses:
|
|
14020
|
+
"200":
|
|
14021
|
+
description: OK
|
|
14022
|
+
content:
|
|
14023
|
+
application/json:
|
|
14024
|
+
schema:
|
|
14025
|
+
allOf:
|
|
14026
|
+
- $ref: "#/components/schemas/List"
|
|
14027
|
+
- type: object
|
|
14028
|
+
required:
|
|
14029
|
+
- items
|
|
14030
|
+
properties:
|
|
14031
|
+
items:
|
|
14032
|
+
type: array
|
|
14033
|
+
items:
|
|
14034
|
+
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
14035
|
+
default:
|
|
14036
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
14037
|
+
post:
|
|
14038
|
+
operationId: installIntegrationOnSpace
|
|
14039
|
+
summary: Install integration on a space using an existing installation
|
|
14040
|
+
parameters:
|
|
14041
|
+
- $ref: "#/components/parameters/integrationName"
|
|
14042
|
+
- $ref: "#/components/parameters/installationId"
|
|
14043
|
+
requestBody:
|
|
14044
|
+
required: true
|
|
14045
|
+
content:
|
|
14046
|
+
application/json:
|
|
14047
|
+
schema:
|
|
14048
|
+
type: object
|
|
14049
|
+
required:
|
|
14050
|
+
- space
|
|
14051
|
+
properties:
|
|
14052
|
+
space:
|
|
14053
|
+
type: string
|
|
14054
|
+
description: ID of the space to install the integration on
|
|
14055
|
+
responses:
|
|
14056
|
+
"201":
|
|
14057
|
+
headers:
|
|
14058
|
+
Location:
|
|
14059
|
+
description: URL for the installed integration
|
|
14060
|
+
schema:
|
|
14061
|
+
type: string
|
|
14062
|
+
description: Integration installed successfully on space
|
|
14063
|
+
content:
|
|
14064
|
+
application/json:
|
|
14065
|
+
schema:
|
|
14066
|
+
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
14067
|
+
"404":
|
|
14068
|
+
$ref: "#/components/responses/NotFoundError"
|
|
14069
|
+
default:
|
|
14070
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
14071
|
+
"/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}":
|
|
14072
|
+
get:
|
|
14073
|
+
operationId: getIntegrationSpaceInstallation
|
|
14074
|
+
summary: Get a specific integration's space installation
|
|
14075
|
+
tags:
|
|
14076
|
+
- integrations
|
|
14077
|
+
parameters:
|
|
14078
|
+
- $ref: "#/components/parameters/integrationName"
|
|
14079
|
+
- $ref: "#/components/parameters/installationId"
|
|
14080
|
+
- $ref: "#/components/parameters/spaceId"
|
|
14081
|
+
responses:
|
|
14082
|
+
"200":
|
|
14083
|
+
description: Integration space installation
|
|
13210
14084
|
content:
|
|
13211
14085
|
application/json:
|
|
13212
14086
|
schema:
|
|
13213
|
-
$ref: "#/components/schemas/
|
|
14087
|
+
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
13214
14088
|
"404":
|
|
13215
14089
|
$ref: "#/components/responses/NotFoundError"
|
|
13216
14090
|
default:
|
|
13217
14091
|
$ref: "#/components/responses/UnexpectedError"
|
|
13218
14092
|
patch:
|
|
13219
|
-
operationId:
|
|
13220
|
-
summary: Update external IDs and configurations of an integration's installation
|
|
13221
|
-
tags:
|
|
13222
|
-
- integrations
|
|
13223
|
-
security:
|
|
13224
|
-
- user: []
|
|
14093
|
+
operationId: updateIntegrationSpaceInstallation
|
|
14094
|
+
summary: Update external IDs and configurations of an integration's installation for a space
|
|
13225
14095
|
parameters:
|
|
13226
14096
|
- $ref: "#/components/parameters/integrationName"
|
|
13227
14097
|
- $ref: "#/components/parameters/installationId"
|
|
14098
|
+
- $ref: "#/components/parameters/spaceId"
|
|
13228
14099
|
responses:
|
|
13229
14100
|
"200":
|
|
13230
|
-
description: The installation has been updated.
|
|
14101
|
+
description: The space installation has been updated.
|
|
13231
14102
|
content:
|
|
13232
14103
|
application/json:
|
|
13233
14104
|
schema:
|
|
13234
|
-
$ref: "#/components/schemas/
|
|
14105
|
+
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
13235
14106
|
default:
|
|
13236
14107
|
$ref: "#/components/responses/UnexpectedError"
|
|
13237
14108
|
requestBody:
|
|
@@ -13239,53 +14110,23 @@ paths:
|
|
|
13239
14110
|
content:
|
|
13240
14111
|
application/json:
|
|
13241
14112
|
schema:
|
|
13242
|
-
$ref: "#/components/schemas/
|
|
14113
|
+
$ref: "#/components/schemas/RequestUpdateIntegrationSpaceInstallation"
|
|
13243
14114
|
delete:
|
|
13244
|
-
operationId:
|
|
13245
|
-
summary: Uninstall the integration from a
|
|
13246
|
-
tags:
|
|
13247
|
-
- integrations
|
|
13248
|
-
security:
|
|
13249
|
-
- user: []
|
|
14115
|
+
operationId: uninstallIntegrationFromSpace
|
|
14116
|
+
summary: Uninstall the integration from a space
|
|
13250
14117
|
parameters:
|
|
13251
14118
|
- $ref: "#/components/parameters/integrationName"
|
|
13252
14119
|
- $ref: "#/components/parameters/installationId"
|
|
14120
|
+
- $ref: "#/components/parameters/spaceId"
|
|
13253
14121
|
responses:
|
|
13254
14122
|
"204":
|
|
13255
|
-
description:
|
|
13256
|
-
"404":
|
|
13257
|
-
$ref: "#/components/responses/NotFoundError"
|
|
13258
|
-
default:
|
|
13259
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
13260
|
-
"/integrations/{integrationName}/installations/{installationId}/tokens":
|
|
13261
|
-
post:
|
|
13262
|
-
operationId: createIntegrationInstallationToken
|
|
13263
|
-
summary: Create an integration installation API token
|
|
13264
|
-
description: |
|
|
13265
|
-
Creates a temporary API token of an integration's installation that has access to the installation and it's scopes. You must be authenticated as the integration to obtain this token.
|
|
13266
|
-
tags:
|
|
13267
|
-
- integrations
|
|
13268
|
-
security:
|
|
13269
|
-
- integration: []
|
|
13270
|
-
parameters:
|
|
13271
|
-
- $ref: "#/components/parameters/integrationName"
|
|
13272
|
-
- $ref: "#/components/parameters/installationId"
|
|
13273
|
-
responses:
|
|
13274
|
-
"200":
|
|
13275
|
-
description: The API token for the installation
|
|
13276
|
-
content:
|
|
13277
|
-
application/json:
|
|
13278
|
-
schema:
|
|
13279
|
-
$ref: "#/components/schemas/APITemporaryToken"
|
|
13280
|
-
"404":
|
|
13281
|
-
description: Installation could not be found
|
|
13282
|
-
$ref: "#/components/responses/NotFoundError"
|
|
14123
|
+
description: The space installation has been deleted.
|
|
13283
14124
|
default:
|
|
13284
14125
|
$ref: "#/components/responses/UnexpectedError"
|
|
13285
|
-
"/integrations/{integrationName}/installations/{installationId}/
|
|
14126
|
+
"/integrations/{integrationName}/installations/{installationId}/sites":
|
|
13286
14127
|
get:
|
|
13287
|
-
operationId:
|
|
13288
|
-
summary: List installations on
|
|
14128
|
+
operationId: listIntegrationInstallationSites
|
|
14129
|
+
summary: List installations on sites for an integration in an organization
|
|
13289
14130
|
tags:
|
|
13290
14131
|
- integrations
|
|
13291
14132
|
parameters:
|
|
@@ -13308,12 +14149,14 @@ paths:
|
|
|
13308
14149
|
items:
|
|
13309
14150
|
type: array
|
|
13310
14151
|
items:
|
|
13311
|
-
$ref: "#/components/schemas/
|
|
14152
|
+
$ref: "#/components/schemas/IntegrationSiteInstallation"
|
|
13312
14153
|
default:
|
|
13313
14154
|
$ref: "#/components/responses/UnexpectedError"
|
|
13314
14155
|
post:
|
|
13315
|
-
operationId:
|
|
13316
|
-
summary: Install integration on a
|
|
14156
|
+
operationId: installIntegrationOnSite
|
|
14157
|
+
summary: Install integration on a site using an existing installation
|
|
14158
|
+
tags:
|
|
14159
|
+
- integrations
|
|
13317
14160
|
parameters:
|
|
13318
14161
|
- $ref: "#/components/parameters/integrationName"
|
|
13319
14162
|
- $ref: "#/components/parameters/installationId"
|
|
@@ -13324,62 +14167,62 @@ paths:
|
|
|
13324
14167
|
schema:
|
|
13325
14168
|
type: object
|
|
13326
14169
|
required:
|
|
13327
|
-
-
|
|
14170
|
+
- siteId
|
|
13328
14171
|
properties:
|
|
13329
|
-
|
|
14172
|
+
siteId:
|
|
13330
14173
|
type: string
|
|
13331
|
-
description: ID of the
|
|
14174
|
+
description: ID of the site to install the integration on
|
|
13332
14175
|
responses:
|
|
13333
14176
|
"201":
|
|
13334
14177
|
headers:
|
|
13335
14178
|
Location:
|
|
13336
|
-
description: URL for the installed integration
|
|
14179
|
+
description: URL for the installed integration on the site
|
|
13337
14180
|
schema:
|
|
13338
14181
|
type: string
|
|
13339
|
-
description: Integration installed successfully on
|
|
14182
|
+
description: Integration installed successfully on site
|
|
13340
14183
|
content:
|
|
13341
14184
|
application/json:
|
|
13342
14185
|
schema:
|
|
13343
|
-
$ref: "#/components/schemas/
|
|
14186
|
+
$ref: "#/components/schemas/IntegrationSiteInstallation"
|
|
13344
14187
|
"404":
|
|
13345
14188
|
$ref: "#/components/responses/NotFoundError"
|
|
13346
14189
|
default:
|
|
13347
14190
|
$ref: "#/components/responses/UnexpectedError"
|
|
13348
|
-
"/integrations/{integrationName}/installations/{installationId}/
|
|
14191
|
+
"/integrations/{integrationName}/installations/{installationId}/sites/{siteId}":
|
|
13349
14192
|
get:
|
|
13350
|
-
operationId:
|
|
13351
|
-
summary: Get a specific integration's
|
|
14193
|
+
operationId: getIntegrationSiteInstallation
|
|
14194
|
+
summary: Get a specific integration's site installation
|
|
13352
14195
|
tags:
|
|
13353
14196
|
- integrations
|
|
13354
14197
|
parameters:
|
|
13355
14198
|
- $ref: "#/components/parameters/integrationName"
|
|
13356
14199
|
- $ref: "#/components/parameters/installationId"
|
|
13357
|
-
- $ref: "#/components/parameters/
|
|
14200
|
+
- $ref: "#/components/parameters/siteId"
|
|
13358
14201
|
responses:
|
|
13359
14202
|
"200":
|
|
13360
|
-
description: Integration
|
|
14203
|
+
description: Integration site installation
|
|
13361
14204
|
content:
|
|
13362
14205
|
application/json:
|
|
13363
14206
|
schema:
|
|
13364
|
-
$ref: "#/components/schemas/
|
|
14207
|
+
$ref: "#/components/schemas/IntegrationSiteInstallation"
|
|
13365
14208
|
"404":
|
|
13366
14209
|
$ref: "#/components/responses/NotFoundError"
|
|
13367
14210
|
default:
|
|
13368
14211
|
$ref: "#/components/responses/UnexpectedError"
|
|
13369
14212
|
patch:
|
|
13370
|
-
operationId:
|
|
13371
|
-
summary: Update external IDs and configurations of an integration's installation for a
|
|
14213
|
+
operationId: updateIntegrationSiteInstallation
|
|
14214
|
+
summary: Update external IDs and configurations of an integration's installation for a site
|
|
13372
14215
|
parameters:
|
|
13373
14216
|
- $ref: "#/components/parameters/integrationName"
|
|
13374
14217
|
- $ref: "#/components/parameters/installationId"
|
|
13375
|
-
- $ref: "#/components/parameters/
|
|
14218
|
+
- $ref: "#/components/parameters/siteId"
|
|
13376
14219
|
responses:
|
|
13377
14220
|
"200":
|
|
13378
|
-
description: The
|
|
14221
|
+
description: The site installation has been updated.
|
|
13379
14222
|
content:
|
|
13380
14223
|
application/json:
|
|
13381
14224
|
schema:
|
|
13382
|
-
$ref: "#/components/schemas/
|
|
14225
|
+
$ref: "#/components/schemas/IntegrationSiteInstallation"
|
|
13383
14226
|
default:
|
|
13384
14227
|
$ref: "#/components/responses/UnexpectedError"
|
|
13385
14228
|
requestBody:
|
|
@@ -13387,17 +14230,17 @@ paths:
|
|
|
13387
14230
|
content:
|
|
13388
14231
|
application/json:
|
|
13389
14232
|
schema:
|
|
13390
|
-
$ref: "#/components/schemas/
|
|
14233
|
+
$ref: "#/components/schemas/RequestUpdateIntegrationSiteInstallation"
|
|
13391
14234
|
delete:
|
|
13392
|
-
operationId:
|
|
13393
|
-
summary: Uninstall the integration from a
|
|
14235
|
+
operationId: uninstallIntegrationFromSite
|
|
14236
|
+
summary: Uninstall the integration from a site
|
|
13394
14237
|
parameters:
|
|
13395
14238
|
- $ref: "#/components/parameters/integrationName"
|
|
13396
14239
|
- $ref: "#/components/parameters/installationId"
|
|
13397
|
-
- $ref: "#/components/parameters/
|
|
14240
|
+
- $ref: "#/components/parameters/siteId"
|
|
13398
14241
|
responses:
|
|
13399
14242
|
"204":
|
|
13400
|
-
description: The
|
|
14243
|
+
description: The site installation has been deleted.
|
|
13401
14244
|
default:
|
|
13402
14245
|
$ref: "#/components/responses/UnexpectedError"
|
|
13403
14246
|
/orgs:
|
|
@@ -14733,49 +15576,238 @@ paths:
|
|
|
14733
15576
|
$ref: "#/components/responses/UnexpectedError"
|
|
14734
15577
|
"/orgs/{organizationId}/installations":
|
|
14735
15578
|
get:
|
|
14736
|
-
operationId: listOrganizationInstallations
|
|
14737
|
-
summary: List installations of integrations in an organization.
|
|
15579
|
+
operationId: listOrganizationInstallations
|
|
15580
|
+
summary: List installations of integrations in an organization.
|
|
15581
|
+
tags:
|
|
15582
|
+
- spaces
|
|
15583
|
+
parameters:
|
|
15584
|
+
- $ref: "#/components/parameters/organizationId"
|
|
15585
|
+
- $ref: "#/components/parameters/listPage"
|
|
15586
|
+
- $ref: "#/components/parameters/listLimit"
|
|
15587
|
+
- $ref: "#/components/schemas/IntegrationSearchQuery"
|
|
15588
|
+
responses:
|
|
15589
|
+
"200":
|
|
15590
|
+
description: List of integrations with the associated installations.
|
|
15591
|
+
content:
|
|
15592
|
+
application/json:
|
|
15593
|
+
schema:
|
|
15594
|
+
allOf:
|
|
15595
|
+
- $ref: "#/components/schemas/List"
|
|
15596
|
+
- type: object
|
|
15597
|
+
required:
|
|
15598
|
+
- items
|
|
15599
|
+
properties:
|
|
15600
|
+
items:
|
|
15601
|
+
type: array
|
|
15602
|
+
items:
|
|
15603
|
+
type: object
|
|
15604
|
+
properties:
|
|
15605
|
+
installation:
|
|
15606
|
+
$ref: "#/components/schemas/IntegrationInstallation"
|
|
15607
|
+
integration:
|
|
15608
|
+
$ref: "#/components/schemas/Integration"
|
|
15609
|
+
required:
|
|
15610
|
+
- integration
|
|
15611
|
+
- installation
|
|
15612
|
+
default:
|
|
15613
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15614
|
+
"/orgs/{organizationId}/experiments":
|
|
15615
|
+
get:
|
|
15616
|
+
operationId: listOrgExperimentalFeatures
|
|
15617
|
+
summary: List experiemental features for the given organization.
|
|
15618
|
+
tags:
|
|
15619
|
+
- organizations
|
|
15620
|
+
security:
|
|
15621
|
+
- user: []
|
|
15622
|
+
parameters:
|
|
15623
|
+
- $ref: "#/components/parameters/organizationId"
|
|
15624
|
+
responses:
|
|
15625
|
+
"200":
|
|
15626
|
+
description: OK
|
|
15627
|
+
content:
|
|
15628
|
+
application/json:
|
|
15629
|
+
schema:
|
|
15630
|
+
type: array
|
|
15631
|
+
items:
|
|
15632
|
+
$ref: "#/components/schemas/OrganizationExperimentalFeature"
|
|
15633
|
+
default:
|
|
15634
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15635
|
+
post:
|
|
15636
|
+
operationId: updateOrgExperimentalFeatures
|
|
15637
|
+
summary: Toggle on or off experimental features.
|
|
15638
|
+
tags:
|
|
15639
|
+
- organizations
|
|
15640
|
+
security:
|
|
15641
|
+
- user: []
|
|
15642
|
+
parameters:
|
|
15643
|
+
- $ref: "#/components/parameters/organizationId"
|
|
15644
|
+
requestBody:
|
|
15645
|
+
required: true
|
|
15646
|
+
content:
|
|
15647
|
+
application/json:
|
|
15648
|
+
schema:
|
|
15649
|
+
type: object
|
|
15650
|
+
additionalProperties:
|
|
15651
|
+
type: boolean
|
|
15652
|
+
responses:
|
|
15653
|
+
"204":
|
|
15654
|
+
description: OK
|
|
15655
|
+
default:
|
|
15656
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15657
|
+
"/orgs/{organizationId}/usage":
|
|
15658
|
+
get:
|
|
15659
|
+
operationId: getUsageForOrganizationById
|
|
15660
|
+
summary: Get all usage metrics for an organization
|
|
15661
|
+
tags:
|
|
15662
|
+
- organizations
|
|
15663
|
+
- usage
|
|
15664
|
+
security:
|
|
15665
|
+
- user-internal: []
|
|
15666
|
+
parameters:
|
|
15667
|
+
- $ref: "#/components/parameters/organizationId"
|
|
15668
|
+
responses:
|
|
15669
|
+
"200":
|
|
15670
|
+
description: OK
|
|
15671
|
+
content:
|
|
15672
|
+
application/json:
|
|
15673
|
+
schema:
|
|
15674
|
+
$ref: "#/components/schemas/OrganizationUsage"
|
|
15675
|
+
default:
|
|
15676
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15677
|
+
"/orgs/{organizationId}/usage/collections":
|
|
15678
|
+
get:
|
|
15679
|
+
operationId: getCollectionsUsageForOrganizationById
|
|
15680
|
+
summary: Get collections usage metrics for an organization
|
|
15681
|
+
tags:
|
|
15682
|
+
- organizations
|
|
15683
|
+
- usage
|
|
15684
|
+
security:
|
|
15685
|
+
- user-internal: []
|
|
15686
|
+
parameters:
|
|
15687
|
+
- $ref: "#/components/parameters/organizationId"
|
|
15688
|
+
responses:
|
|
15689
|
+
"200":
|
|
15690
|
+
description: OK
|
|
15691
|
+
content:
|
|
15692
|
+
application/json:
|
|
15693
|
+
schema:
|
|
15694
|
+
type: object
|
|
15695
|
+
properties:
|
|
15696
|
+
collections:
|
|
15697
|
+
$ref: "#/components/schemas/OrganizationUsageCollections"
|
|
15698
|
+
required:
|
|
15699
|
+
- collections
|
|
15700
|
+
default:
|
|
15701
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15702
|
+
"/orgs/{organizationId}/usage/spaces":
|
|
15703
|
+
get:
|
|
15704
|
+
operationId: getSpacesUsageForOrganizationById
|
|
15705
|
+
summary: Get spaces usage metrics for an organization
|
|
15706
|
+
tags:
|
|
15707
|
+
- organizations
|
|
15708
|
+
- usage
|
|
15709
|
+
security:
|
|
15710
|
+
- user-internal: []
|
|
15711
|
+
parameters:
|
|
15712
|
+
- $ref: "#/components/parameters/organizationId"
|
|
15713
|
+
responses:
|
|
15714
|
+
"200":
|
|
15715
|
+
description: OK
|
|
15716
|
+
content:
|
|
15717
|
+
application/json:
|
|
15718
|
+
schema:
|
|
15719
|
+
type: object
|
|
15720
|
+
properties:
|
|
15721
|
+
spaces:
|
|
15722
|
+
$ref: "#/components/schemas/OrganizationUsageSpaces"
|
|
15723
|
+
required:
|
|
15724
|
+
- spaces
|
|
15725
|
+
default:
|
|
15726
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15727
|
+
"/orgs/{organizationId}/usage/sites":
|
|
15728
|
+
get:
|
|
15729
|
+
operationId: getSitesUsageForOrganizationById
|
|
15730
|
+
summary: Get sites usage metrics for an organization
|
|
15731
|
+
tags:
|
|
15732
|
+
- organizations
|
|
15733
|
+
- usage
|
|
15734
|
+
security:
|
|
15735
|
+
- user-internal: []
|
|
15736
|
+
parameters:
|
|
15737
|
+
- $ref: "#/components/parameters/organizationId"
|
|
15738
|
+
responses:
|
|
15739
|
+
"200":
|
|
15740
|
+
description: OK
|
|
15741
|
+
content:
|
|
15742
|
+
application/json:
|
|
15743
|
+
schema:
|
|
15744
|
+
type: object
|
|
15745
|
+
properties:
|
|
15746
|
+
sites:
|
|
15747
|
+
$ref: "#/components/schemas/OrganizationUsageSites"
|
|
15748
|
+
required:
|
|
15749
|
+
- sites
|
|
15750
|
+
default:
|
|
15751
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15752
|
+
"/orgs/{organizationId}/usage/teams":
|
|
15753
|
+
get:
|
|
15754
|
+
operationId: getTeamsUsageForOrganizationById
|
|
15755
|
+
summary: Get teams usage metrics for an organization
|
|
15756
|
+
tags:
|
|
15757
|
+
- organizations
|
|
15758
|
+
- usage
|
|
15759
|
+
security:
|
|
15760
|
+
- user-internal: []
|
|
15761
|
+
parameters:
|
|
15762
|
+
- $ref: "#/components/parameters/organizationId"
|
|
15763
|
+
responses:
|
|
15764
|
+
"200":
|
|
15765
|
+
description: OK
|
|
15766
|
+
content:
|
|
15767
|
+
application/json:
|
|
15768
|
+
schema:
|
|
15769
|
+
type: object
|
|
15770
|
+
properties:
|
|
15771
|
+
teams:
|
|
15772
|
+
$ref: "#/components/schemas/OrganizationUsageTeams"
|
|
15773
|
+
required:
|
|
15774
|
+
- teams
|
|
15775
|
+
default:
|
|
15776
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15777
|
+
"/orgs/{organizationId}/usage/members":
|
|
15778
|
+
get:
|
|
15779
|
+
operationId: getMembersUsageForOrganizationById
|
|
15780
|
+
summary: Get members usage metrics for an organization
|
|
14738
15781
|
tags:
|
|
14739
|
-
-
|
|
15782
|
+
- organizations
|
|
15783
|
+
- usage
|
|
15784
|
+
security:
|
|
15785
|
+
- user-internal: []
|
|
14740
15786
|
parameters:
|
|
14741
15787
|
- $ref: "#/components/parameters/organizationId"
|
|
14742
|
-
- $ref: "#/components/parameters/listPage"
|
|
14743
|
-
- $ref: "#/components/parameters/listLimit"
|
|
14744
|
-
- $ref: "#/components/schemas/IntegrationSearchQuery"
|
|
14745
15788
|
responses:
|
|
14746
15789
|
"200":
|
|
14747
|
-
description:
|
|
15790
|
+
description: OK
|
|
14748
15791
|
content:
|
|
14749
15792
|
application/json:
|
|
14750
15793
|
schema:
|
|
14751
|
-
|
|
14752
|
-
|
|
14753
|
-
|
|
14754
|
-
|
|
14755
|
-
|
|
14756
|
-
|
|
14757
|
-
items:
|
|
14758
|
-
type: array
|
|
14759
|
-
items:
|
|
14760
|
-
type: object
|
|
14761
|
-
properties:
|
|
14762
|
-
installation:
|
|
14763
|
-
$ref: "#/components/schemas/IntegrationInstallation"
|
|
14764
|
-
integration:
|
|
14765
|
-
$ref: "#/components/schemas/Integration"
|
|
14766
|
-
required:
|
|
14767
|
-
- integration
|
|
14768
|
-
- installation
|
|
15794
|
+
type: object
|
|
15795
|
+
properties:
|
|
15796
|
+
members:
|
|
15797
|
+
$ref: "#/components/schemas/OrganizationUsageMembers"
|
|
15798
|
+
required:
|
|
15799
|
+
- members
|
|
14769
15800
|
default:
|
|
14770
15801
|
$ref: "#/components/responses/UnexpectedError"
|
|
14771
|
-
"/orgs/{organizationId}/
|
|
15802
|
+
"/orgs/{organizationId}/usage/team-members":
|
|
14772
15803
|
get:
|
|
14773
|
-
operationId:
|
|
14774
|
-
summary:
|
|
15804
|
+
operationId: getTeamMembersUsageForOrganizationById
|
|
15805
|
+
summary: Get team members usage metrics for an organization
|
|
14775
15806
|
tags:
|
|
14776
15807
|
- organizations
|
|
15808
|
+
- usage
|
|
14777
15809
|
security:
|
|
14778
|
-
- user: []
|
|
15810
|
+
- user-internal: []
|
|
14779
15811
|
parameters:
|
|
14780
15812
|
- $ref: "#/components/parameters/organizationId"
|
|
14781
15813
|
responses:
|
|
@@ -14784,31 +15816,37 @@ paths:
|
|
|
14784
15816
|
content:
|
|
14785
15817
|
application/json:
|
|
14786
15818
|
schema:
|
|
14787
|
-
type:
|
|
14788
|
-
|
|
14789
|
-
|
|
15819
|
+
type: object
|
|
15820
|
+
properties:
|
|
15821
|
+
teamMembers:
|
|
15822
|
+
$ref: "#/components/schemas/OrganizationUsageTeamMembers"
|
|
15823
|
+
required:
|
|
15824
|
+
- teamMembers
|
|
14790
15825
|
default:
|
|
14791
15826
|
$ref: "#/components/responses/UnexpectedError"
|
|
14792
|
-
|
|
14793
|
-
|
|
14794
|
-
|
|
15827
|
+
"/orgs/{organizationId}/usage/seats":
|
|
15828
|
+
get:
|
|
15829
|
+
operationId: getSeatsUsageForOrganizationById
|
|
15830
|
+
summary: Get seats usage metrics for an organization
|
|
14795
15831
|
tags:
|
|
14796
15832
|
- organizations
|
|
15833
|
+
- usage
|
|
14797
15834
|
security:
|
|
14798
|
-
- user: []
|
|
15835
|
+
- user-internal: []
|
|
14799
15836
|
parameters:
|
|
14800
15837
|
- $ref: "#/components/parameters/organizationId"
|
|
14801
|
-
requestBody:
|
|
14802
|
-
required: true
|
|
14803
|
-
content:
|
|
14804
|
-
application/json:
|
|
14805
|
-
schema:
|
|
14806
|
-
type: object
|
|
14807
|
-
additionalProperties:
|
|
14808
|
-
type: boolean
|
|
14809
15838
|
responses:
|
|
14810
|
-
"
|
|
15839
|
+
"200":
|
|
14811
15840
|
description: OK
|
|
15841
|
+
content:
|
|
15842
|
+
application/json:
|
|
15843
|
+
schema:
|
|
15844
|
+
type: object
|
|
15845
|
+
properties:
|
|
15846
|
+
seats:
|
|
15847
|
+
$ref: "#/components/schemas/OrganizationUsageSeats"
|
|
15848
|
+
required:
|
|
15849
|
+
- seats
|
|
14812
15850
|
default:
|
|
14813
15851
|
$ref: "#/components/responses/UnexpectedError"
|
|
14814
15852
|
"/orgs/{organizationId}/schemas":
|
|
@@ -15481,6 +16519,37 @@ paths:
|
|
|
15481
16519
|
description: OK
|
|
15482
16520
|
default:
|
|
15483
16521
|
$ref: "#/components/responses/UnexpectedError"
|
|
16522
|
+
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/backlinks":
|
|
16523
|
+
get:
|
|
16524
|
+
operationId: getSyncedBlockBacklinks
|
|
16525
|
+
summary: Get a list of pages that reference this synced block.
|
|
16526
|
+
tags:
|
|
16527
|
+
- organizations
|
|
16528
|
+
security:
|
|
16529
|
+
- user: []
|
|
16530
|
+
parameters:
|
|
16531
|
+
- $ref: "#/components/parameters/organizationId"
|
|
16532
|
+
- $ref: "#/components/parameters/syncedBlockId"
|
|
16533
|
+
- $ref: "#/components/parameters/listPage"
|
|
16534
|
+
- $ref: "#/components/parameters/listLimit"
|
|
16535
|
+
responses:
|
|
16536
|
+
"200":
|
|
16537
|
+
description: OK
|
|
16538
|
+
content:
|
|
16539
|
+
application/json:
|
|
16540
|
+
schema:
|
|
16541
|
+
allOf:
|
|
16542
|
+
- $ref: "#/components/schemas/List"
|
|
16543
|
+
- type: object
|
|
16544
|
+
required:
|
|
16545
|
+
- items
|
|
16546
|
+
properties:
|
|
16547
|
+
items:
|
|
16548
|
+
type: array
|
|
16549
|
+
items:
|
|
16550
|
+
$ref: "#/components/schemas/ContentLocation"
|
|
16551
|
+
default:
|
|
16552
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15484
16553
|
"/orgs/{organizationId}/ask":
|
|
15485
16554
|
post:
|
|
15486
16555
|
operationId: askInOrganization
|
|
@@ -15778,10 +16847,198 @@ paths:
|
|
|
15778
16847
|
$ref: "#/components/schemas/Site"
|
|
15779
16848
|
default:
|
|
15780
16849
|
$ref: "#/components/responses/UnexpectedError"
|
|
15781
|
-
"/orgs/{organizationId}/sites/{siteId}":
|
|
16850
|
+
"/orgs/{organizationId}/sites/{siteId}":
|
|
16851
|
+
get:
|
|
16852
|
+
operationId: getSiteById
|
|
16853
|
+
summary: Get an organization site by its ID
|
|
16854
|
+
tags:
|
|
16855
|
+
- sites
|
|
16856
|
+
security:
|
|
16857
|
+
- user: []
|
|
16858
|
+
parameters:
|
|
16859
|
+
- $ref: "#/components/parameters/organizationId"
|
|
16860
|
+
- $ref: "#/components/parameters/siteId"
|
|
16861
|
+
responses:
|
|
16862
|
+
"200":
|
|
16863
|
+
description: OK
|
|
16864
|
+
content:
|
|
16865
|
+
application/json:
|
|
16866
|
+
schema:
|
|
16867
|
+
$ref: "#/components/schemas/Site"
|
|
16868
|
+
"404":
|
|
16869
|
+
description: No matching site found
|
|
16870
|
+
$ref: "#/components/responses/NotFoundError"
|
|
16871
|
+
default:
|
|
16872
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
16873
|
+
patch:
|
|
16874
|
+
operationId: updateSiteById
|
|
16875
|
+
summary: Update a site in an organization
|
|
16876
|
+
tags:
|
|
16877
|
+
- sites
|
|
16878
|
+
security:
|
|
16879
|
+
- user: []
|
|
16880
|
+
parameters:
|
|
16881
|
+
- $ref: "#/components/parameters/organizationId"
|
|
16882
|
+
- $ref: "#/components/parameters/siteId"
|
|
16883
|
+
requestBody:
|
|
16884
|
+
required: true
|
|
16885
|
+
content:
|
|
16886
|
+
application/json:
|
|
16887
|
+
schema:
|
|
16888
|
+
type: object
|
|
16889
|
+
properties:
|
|
16890
|
+
title:
|
|
16891
|
+
$ref: "#/components/schemas/SiteTitle"
|
|
16892
|
+
visibility:
|
|
16893
|
+
$ref: "#/components/schemas/SiteVisibility"
|
|
16894
|
+
basename:
|
|
16895
|
+
$ref: "#/components/schemas/SiteBasename"
|
|
16896
|
+
defaultSiteSpace:
|
|
16897
|
+
type: string
|
|
16898
|
+
description: ID of the site-space to be used as the default
|
|
16899
|
+
responses:
|
|
16900
|
+
"200":
|
|
16901
|
+
description: OK
|
|
16902
|
+
content:
|
|
16903
|
+
application/json:
|
|
16904
|
+
schema:
|
|
16905
|
+
$ref: "#/components/schemas/Site"
|
|
16906
|
+
default:
|
|
16907
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
16908
|
+
delete:
|
|
16909
|
+
operationId: deleteSiteById
|
|
16910
|
+
summary: Delete a site in an organization
|
|
16911
|
+
tags:
|
|
16912
|
+
- sites
|
|
16913
|
+
security:
|
|
16914
|
+
- user: []
|
|
16915
|
+
parameters:
|
|
16916
|
+
- $ref: "#/components/parameters/organizationId"
|
|
16917
|
+
- $ref: "#/components/parameters/siteId"
|
|
16918
|
+
responses:
|
|
16919
|
+
"205":
|
|
16920
|
+
description: Site has been deleted
|
|
16921
|
+
default:
|
|
16922
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
16923
|
+
"/orgs/{organizationId}/sites/{siteId}/share-links":
|
|
16924
|
+
get:
|
|
16925
|
+
operationId: listSiteShareLinks
|
|
16926
|
+
summary: List all the share links created in a site
|
|
16927
|
+
tags:
|
|
16928
|
+
- sites
|
|
16929
|
+
security:
|
|
16930
|
+
- user: []
|
|
16931
|
+
parameters:
|
|
16932
|
+
- $ref: "#/components/parameters/organizationId"
|
|
16933
|
+
- $ref: "#/components/parameters/siteId"
|
|
16934
|
+
- $ref: "#/components/parameters/listPage"
|
|
16935
|
+
- $ref: "#/components/parameters/listLimit"
|
|
16936
|
+
responses:
|
|
16937
|
+
"200":
|
|
16938
|
+
description: OK
|
|
16939
|
+
content:
|
|
16940
|
+
application/json:
|
|
16941
|
+
schema:
|
|
16942
|
+
allOf:
|
|
16943
|
+
- $ref: "#/components/schemas/List"
|
|
16944
|
+
- type: object
|
|
16945
|
+
required:
|
|
16946
|
+
- items
|
|
16947
|
+
properties:
|
|
16948
|
+
items:
|
|
16949
|
+
type: array
|
|
16950
|
+
items:
|
|
16951
|
+
$ref: "#/components/schemas/ShareLink"
|
|
16952
|
+
default:
|
|
16953
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
16954
|
+
post:
|
|
16955
|
+
operationId: createSiteShareLink
|
|
16956
|
+
summary: Create a share link in a site
|
|
16957
|
+
tags:
|
|
16958
|
+
- sites
|
|
16959
|
+
security:
|
|
16960
|
+
- user: []
|
|
16961
|
+
parameters:
|
|
16962
|
+
- $ref: "#/components/parameters/organizationId"
|
|
16963
|
+
- $ref: "#/components/parameters/siteId"
|
|
16964
|
+
requestBody:
|
|
16965
|
+
required: true
|
|
16966
|
+
content:
|
|
16967
|
+
application/json:
|
|
16968
|
+
schema:
|
|
16969
|
+
type: object
|
|
16970
|
+
properties:
|
|
16971
|
+
name:
|
|
16972
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
16973
|
+
required:
|
|
16974
|
+
- name
|
|
16975
|
+
responses:
|
|
16976
|
+
"201":
|
|
16977
|
+
description: The share link has been created
|
|
16978
|
+
headers:
|
|
16979
|
+
Location:
|
|
16980
|
+
description: API URL for the newly created share link
|
|
16981
|
+
schema:
|
|
16982
|
+
type: string
|
|
16983
|
+
content:
|
|
16984
|
+
application/json:
|
|
16985
|
+
schema:
|
|
16986
|
+
$ref: "#/components/schemas/ShareLink"
|
|
16987
|
+
default:
|
|
16988
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
16989
|
+
"/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}":
|
|
16990
|
+
patch:
|
|
16991
|
+
operationId: updateSiteShareLinkById
|
|
16992
|
+
summary: Update the details of a site share link
|
|
16993
|
+
tags:
|
|
16994
|
+
- sites
|
|
16995
|
+
security:
|
|
16996
|
+
- user: []
|
|
16997
|
+
parameters:
|
|
16998
|
+
- $ref: "#/components/parameters/organizationId"
|
|
16999
|
+
- $ref: "#/components/parameters/siteId"
|
|
17000
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
17001
|
+
requestBody:
|
|
17002
|
+
required: true
|
|
17003
|
+
content:
|
|
17004
|
+
application/json:
|
|
17005
|
+
schema:
|
|
17006
|
+
type: object
|
|
17007
|
+
minProperties: 1
|
|
17008
|
+
properties:
|
|
17009
|
+
active:
|
|
17010
|
+
type: boolean
|
|
17011
|
+
name:
|
|
17012
|
+
$ref: "#/components/schemas/ShareLinkName"
|
|
17013
|
+
responses:
|
|
17014
|
+
"200":
|
|
17015
|
+
description: The site share link has been updated
|
|
17016
|
+
content:
|
|
17017
|
+
application/json:
|
|
17018
|
+
schema:
|
|
17019
|
+
$ref: "#/components/schemas/ShareLink"
|
|
17020
|
+
default:
|
|
17021
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17022
|
+
delete:
|
|
17023
|
+
operationId: deleteSiteShareLinkById
|
|
17024
|
+
summary: Deletes a site share link
|
|
17025
|
+
tags:
|
|
17026
|
+
- sites
|
|
17027
|
+
security:
|
|
17028
|
+
- user: []
|
|
17029
|
+
parameters:
|
|
17030
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17031
|
+
- $ref: "#/components/parameters/siteId"
|
|
17032
|
+
- $ref: "#/components/parameters/shareLinkId"
|
|
17033
|
+
responses:
|
|
17034
|
+
"205":
|
|
17035
|
+
description: Site share link has been deleted
|
|
17036
|
+
default:
|
|
17037
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17038
|
+
"/orgs/{organizationId}/sites/{siteId}/publishing/auth":
|
|
15782
17039
|
get:
|
|
15783
|
-
operationId:
|
|
15784
|
-
summary: Get
|
|
17040
|
+
operationId: getSitePublishingAuthSettings
|
|
17041
|
+
summary: Get the publishing authentication settings for a site.
|
|
15785
17042
|
tags:
|
|
15786
17043
|
- sites
|
|
15787
17044
|
security:
|
|
@@ -15795,15 +17052,14 @@ paths:
|
|
|
15795
17052
|
content:
|
|
15796
17053
|
application/json:
|
|
15797
17054
|
schema:
|
|
15798
|
-
$ref: "#/components/schemas/
|
|
15799
|
-
"
|
|
15800
|
-
|
|
15801
|
-
$ref: "#/components/responses/NotFoundError"
|
|
17055
|
+
$ref: "#/components/schemas/SitePublishingAuth"
|
|
17056
|
+
"400":
|
|
17057
|
+
$ref: "#/components/responses/BadRequestError"
|
|
15802
17058
|
default:
|
|
15803
17059
|
$ref: "#/components/responses/UnexpectedError"
|
|
15804
17060
|
patch:
|
|
15805
|
-
operationId:
|
|
15806
|
-
summary: Update
|
|
17061
|
+
operationId: updateSitePublishingAuthSettings
|
|
17062
|
+
summary: Update the publishing authentication settings for a site.
|
|
15807
17063
|
tags:
|
|
15808
17064
|
- sites
|
|
15809
17065
|
security:
|
|
@@ -15816,31 +17072,22 @@ paths:
|
|
|
15816
17072
|
content:
|
|
15817
17073
|
application/json:
|
|
15818
17074
|
schema:
|
|
15819
|
-
|
|
15820
|
-
properties:
|
|
15821
|
-
title:
|
|
15822
|
-
$ref: "#/components/schemas/SiteTitle"
|
|
15823
|
-
visibility:
|
|
15824
|
-
$ref: "#/components/schemas/SiteVisibility"
|
|
15825
|
-
hostname:
|
|
15826
|
-
$ref: "#/components/schemas/SiteHostname"
|
|
15827
|
-
basename:
|
|
15828
|
-
$ref: "#/components/schemas/SiteBasename"
|
|
15829
|
-
defaultSiteSpace:
|
|
15830
|
-
type: string
|
|
15831
|
-
description: ID of the site-space to be used as the default
|
|
17075
|
+
$ref: "#/components/schemas/SitePublishingAuthUpdate"
|
|
15832
17076
|
responses:
|
|
15833
17077
|
"200":
|
|
15834
17078
|
description: OK
|
|
15835
17079
|
content:
|
|
15836
17080
|
application/json:
|
|
15837
17081
|
schema:
|
|
15838
|
-
$ref: "#/components/schemas/
|
|
17082
|
+
$ref: "#/components/schemas/SitePublishingAuth"
|
|
17083
|
+
"400":
|
|
17084
|
+
$ref: "#/components/responses/BadRequestError"
|
|
15839
17085
|
default:
|
|
15840
17086
|
$ref: "#/components/responses/UnexpectedError"
|
|
15841
|
-
|
|
15842
|
-
|
|
15843
|
-
|
|
17087
|
+
"/orgs/{organizationId}/sites/{siteId}/customization":
|
|
17088
|
+
get:
|
|
17089
|
+
operationId: getSiteCustomizationById
|
|
17090
|
+
summary: Get the customization configuration for a site.
|
|
15844
17091
|
tags:
|
|
15845
17092
|
- sites
|
|
15846
17093
|
security:
|
|
@@ -15849,14 +17096,19 @@ paths:
|
|
|
15849
17096
|
- $ref: "#/components/parameters/organizationId"
|
|
15850
17097
|
- $ref: "#/components/parameters/siteId"
|
|
15851
17098
|
responses:
|
|
15852
|
-
"
|
|
15853
|
-
description:
|
|
17099
|
+
"200":
|
|
17100
|
+
description: OK
|
|
17101
|
+
content:
|
|
17102
|
+
application/json:
|
|
17103
|
+
schema:
|
|
17104
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
17105
|
+
"400":
|
|
17106
|
+
$ref: "#/components/responses/BadRequestError"
|
|
15854
17107
|
default:
|
|
15855
17108
|
$ref: "#/components/responses/UnexpectedError"
|
|
15856
|
-
|
|
15857
|
-
|
|
15858
|
-
|
|
15859
|
-
summary: Get the publishing authentication settings for a site.
|
|
17109
|
+
put:
|
|
17110
|
+
operationId: updateSiteCustomizationById
|
|
17111
|
+
summary: Update the customization configuration for a site.
|
|
15860
17112
|
tags:
|
|
15861
17113
|
- sites
|
|
15862
17114
|
security:
|
|
@@ -15864,13 +17116,19 @@ paths:
|
|
|
15864
17116
|
parameters:
|
|
15865
17117
|
- $ref: "#/components/parameters/organizationId"
|
|
15866
17118
|
- $ref: "#/components/parameters/siteId"
|
|
17119
|
+
requestBody:
|
|
17120
|
+
required: true
|
|
17121
|
+
content:
|
|
17122
|
+
application/json:
|
|
17123
|
+
schema:
|
|
17124
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
15867
17125
|
responses:
|
|
15868
17126
|
"200":
|
|
15869
17127
|
description: OK
|
|
15870
17128
|
content:
|
|
15871
17129
|
application/json:
|
|
15872
17130
|
schema:
|
|
15873
|
-
$ref: "#/components/schemas/
|
|
17131
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
15874
17132
|
"400":
|
|
15875
17133
|
$ref: "#/components/responses/BadRequestError"
|
|
15876
17134
|
default:
|
|
@@ -15988,6 +17246,261 @@ paths:
|
|
|
15988
17246
|
description: Site space has been deleted
|
|
15989
17247
|
default:
|
|
15990
17248
|
$ref: "#/components/responses/UnexpectedError"
|
|
17249
|
+
"/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/customization":
|
|
17250
|
+
get:
|
|
17251
|
+
operationId: getSiteSpaceCustomizationById
|
|
17252
|
+
summary: Get the customization configuration for a site space.
|
|
17253
|
+
tags:
|
|
17254
|
+
- sites
|
|
17255
|
+
security:
|
|
17256
|
+
- user: []
|
|
17257
|
+
parameters:
|
|
17258
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17259
|
+
- $ref: "#/components/parameters/siteId"
|
|
17260
|
+
- $ref: "#/components/parameters/siteSpaceId"
|
|
17261
|
+
responses:
|
|
17262
|
+
"200":
|
|
17263
|
+
description: OK
|
|
17264
|
+
content:
|
|
17265
|
+
application/json:
|
|
17266
|
+
schema:
|
|
17267
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
17268
|
+
"400":
|
|
17269
|
+
$ref: "#/components/responses/BadRequestError"
|
|
17270
|
+
default:
|
|
17271
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17272
|
+
patch:
|
|
17273
|
+
operationId: overrideSiteSpaceCustomizationById
|
|
17274
|
+
summary: Override the customization configuration for a site space.
|
|
17275
|
+
tags:
|
|
17276
|
+
- sites
|
|
17277
|
+
security:
|
|
17278
|
+
- user: []
|
|
17279
|
+
parameters:
|
|
17280
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17281
|
+
- $ref: "#/components/parameters/siteId"
|
|
17282
|
+
- $ref: "#/components/parameters/siteSpaceId"
|
|
17283
|
+
requestBody:
|
|
17284
|
+
required: true
|
|
17285
|
+
content:
|
|
17286
|
+
application/json:
|
|
17287
|
+
schema:
|
|
17288
|
+
description: The settings that overrides the site customization settings.
|
|
17289
|
+
$ref: "#/components/schemas/SiteSpaceCustomizationOverrides"
|
|
17290
|
+
responses:
|
|
17291
|
+
"200":
|
|
17292
|
+
description: OK
|
|
17293
|
+
content:
|
|
17294
|
+
application/json:
|
|
17295
|
+
schema:
|
|
17296
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
17297
|
+
"400":
|
|
17298
|
+
$ref: "#/components/responses/BadRequestError"
|
|
17299
|
+
default:
|
|
17300
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17301
|
+
"/orgs/{organizationId}/seats":
|
|
17302
|
+
get:
|
|
17303
|
+
operationId: listSeatsInOrganizationById
|
|
17304
|
+
summary: List all seats in an organization
|
|
17305
|
+
tags:
|
|
17306
|
+
- seats
|
|
17307
|
+
security:
|
|
17308
|
+
- user-internal: []
|
|
17309
|
+
parameters:
|
|
17310
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17311
|
+
responses:
|
|
17312
|
+
"200":
|
|
17313
|
+
description: OK
|
|
17314
|
+
content:
|
|
17315
|
+
application/json:
|
|
17316
|
+
schema:
|
|
17317
|
+
allOf:
|
|
17318
|
+
- $ref: "#/components/schemas/List"
|
|
17319
|
+
- type: object
|
|
17320
|
+
required:
|
|
17321
|
+
- items
|
|
17322
|
+
properties:
|
|
17323
|
+
items:
|
|
17324
|
+
type: array
|
|
17325
|
+
items:
|
|
17326
|
+
$ref: "#/components/schemas/Seat"
|
|
17327
|
+
default:
|
|
17328
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17329
|
+
post:
|
|
17330
|
+
operationId: addSeatsToOrganizationById
|
|
17331
|
+
summary: Add more seats to an organization
|
|
17332
|
+
tags:
|
|
17333
|
+
- seats
|
|
17334
|
+
security:
|
|
17335
|
+
- user-internal: []
|
|
17336
|
+
parameters:
|
|
17337
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17338
|
+
requestBody:
|
|
17339
|
+
required: true
|
|
17340
|
+
content:
|
|
17341
|
+
application/json:
|
|
17342
|
+
schema:
|
|
17343
|
+
type: object
|
|
17344
|
+
properties:
|
|
17345
|
+
amount:
|
|
17346
|
+
description: How many seats to add
|
|
17347
|
+
type: number
|
|
17348
|
+
required:
|
|
17349
|
+
- amount
|
|
17350
|
+
responses:
|
|
17351
|
+
"201":
|
|
17352
|
+
description: Seats added
|
|
17353
|
+
default:
|
|
17354
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17355
|
+
delete:
|
|
17356
|
+
operationId: removeSeatsFromOrganizationById
|
|
17357
|
+
summary: Remove unassigned seats from an organization
|
|
17358
|
+
tags:
|
|
17359
|
+
- seats
|
|
17360
|
+
security:
|
|
17361
|
+
- user-internal: []
|
|
17362
|
+
parameters:
|
|
17363
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17364
|
+
requestBody:
|
|
17365
|
+
content:
|
|
17366
|
+
application/json:
|
|
17367
|
+
schema:
|
|
17368
|
+
type: object
|
|
17369
|
+
properties:
|
|
17370
|
+
amount:
|
|
17371
|
+
description: How many seats to remove. Omit to remove all unassigned seats.
|
|
17372
|
+
type: number
|
|
17373
|
+
responses:
|
|
17374
|
+
"205":
|
|
17375
|
+
description: Seats removed
|
|
17376
|
+
default:
|
|
17377
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17378
|
+
"/orgs/{organizationId}/seats/members":
|
|
17379
|
+
put:
|
|
17380
|
+
operationId: assignSeatsToMembersInOrganizationById
|
|
17381
|
+
summary: Assign seats for one or more members within an organization
|
|
17382
|
+
tags:
|
|
17383
|
+
- seats
|
|
17384
|
+
security:
|
|
17385
|
+
- user-internal: []
|
|
17386
|
+
parameters:
|
|
17387
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17388
|
+
requestBody:
|
|
17389
|
+
required: true
|
|
17390
|
+
content:
|
|
17391
|
+
application/json:
|
|
17392
|
+
schema:
|
|
17393
|
+
type: array
|
|
17394
|
+
description: A list of members
|
|
17395
|
+
minItems: 1
|
|
17396
|
+
items:
|
|
17397
|
+
type: object
|
|
17398
|
+
properties:
|
|
17399
|
+
member:
|
|
17400
|
+
description: The unique ID of the organization member
|
|
17401
|
+
type: string
|
|
17402
|
+
required:
|
|
17403
|
+
- member
|
|
17404
|
+
responses:
|
|
17405
|
+
"200":
|
|
17406
|
+
description: Seats assigned
|
|
17407
|
+
"409":
|
|
17408
|
+
description: Not enough seats available
|
|
17409
|
+
$ref: "#/components/responses/ConflictError"
|
|
17410
|
+
default:
|
|
17411
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17412
|
+
delete:
|
|
17413
|
+
operationId: revokeSeatsFromMembersInOrganizationById
|
|
17414
|
+
summary: Revoke seats for one or more members within an organization
|
|
17415
|
+
tags:
|
|
17416
|
+
- seats
|
|
17417
|
+
security:
|
|
17418
|
+
- user-internal: []
|
|
17419
|
+
parameters:
|
|
17420
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17421
|
+
requestBody:
|
|
17422
|
+
required: true
|
|
17423
|
+
content:
|
|
17424
|
+
application/json:
|
|
17425
|
+
schema:
|
|
17426
|
+
type: array
|
|
17427
|
+
description: A list of members
|
|
17428
|
+
minItems: 1
|
|
17429
|
+
items:
|
|
17430
|
+
type: object
|
|
17431
|
+
properties:
|
|
17432
|
+
member:
|
|
17433
|
+
description: The unique ID of the organization member
|
|
17434
|
+
type: string
|
|
17435
|
+
required:
|
|
17436
|
+
- member
|
|
17437
|
+
responses:
|
|
17438
|
+
"205":
|
|
17439
|
+
description: Seats revoked
|
|
17440
|
+
"409":
|
|
17441
|
+
description: Not enough seats available
|
|
17442
|
+
$ref: "#/components/responses/ConflictError"
|
|
17443
|
+
default:
|
|
17444
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17445
|
+
"/orgs/{organizationId}/seats/members/{userId}":
|
|
17446
|
+
get:
|
|
17447
|
+
operationId: getSeatForMemberInOrganizationById
|
|
17448
|
+
summary: Get the seat of a member of the organization
|
|
17449
|
+
tags:
|
|
17450
|
+
- seats
|
|
17451
|
+
security:
|
|
17452
|
+
- user-internal: []
|
|
17453
|
+
parameters:
|
|
17454
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17455
|
+
- $ref: "#/components/parameters/userId"
|
|
17456
|
+
responses:
|
|
17457
|
+
"200":
|
|
17458
|
+
description: OK
|
|
17459
|
+
content:
|
|
17460
|
+
application/json:
|
|
17461
|
+
schema:
|
|
17462
|
+
$ref: "#/components/schemas/Seat"
|
|
17463
|
+
"409":
|
|
17464
|
+
description: Member has no seat assigned
|
|
17465
|
+
$ref: "#/components/responses/ConflictError"
|
|
17466
|
+
default:
|
|
17467
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17468
|
+
put:
|
|
17469
|
+
operationId: assignSeatToMemberInOrganizationById
|
|
17470
|
+
summary: Assign an available seat to a member of the organization
|
|
17471
|
+
tags:
|
|
17472
|
+
- seats
|
|
17473
|
+
security:
|
|
17474
|
+
- user-internal: []
|
|
17475
|
+
parameters:
|
|
17476
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17477
|
+
- $ref: "#/components/parameters/userId"
|
|
17478
|
+
responses:
|
|
17479
|
+
"200":
|
|
17480
|
+
description: Seat assigned
|
|
17481
|
+
"409":
|
|
17482
|
+
description: Not enough seats available
|
|
17483
|
+
$ref: "#/components/responses/ConflictError"
|
|
17484
|
+
default:
|
|
17485
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
17486
|
+
delete:
|
|
17487
|
+
operationId: revokeSeatFromMemberInOrganizationById
|
|
17488
|
+
summary: Revoke a seat from a member of the organization
|
|
17489
|
+
tags:
|
|
17490
|
+
- seats
|
|
17491
|
+
security:
|
|
17492
|
+
- user-internal: []
|
|
17493
|
+
parameters:
|
|
17494
|
+
- $ref: "#/components/parameters/organizationId"
|
|
17495
|
+
- $ref: "#/components/parameters/userId"
|
|
17496
|
+
responses:
|
|
17497
|
+
"205":
|
|
17498
|
+
description: Seat revoked
|
|
17499
|
+
"409":
|
|
17500
|
+
description: Member has no seat assigned
|
|
17501
|
+
$ref: "#/components/responses/ConflictError"
|
|
17502
|
+
default:
|
|
17503
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
15991
17504
|
"/custom-hostnames/{hostname}":
|
|
15992
17505
|
get:
|
|
15993
17506
|
operationId: getCustomHostname
|
|
@@ -16027,6 +17540,7 @@ paths:
|
|
|
16027
17540
|
- $ref: "#/components/schemas/OrganizationPointer"
|
|
16028
17541
|
- $ref: "#/components/schemas/SpacePointer"
|
|
16029
17542
|
- $ref: "#/components/schemas/CollectionPointer"
|
|
17543
|
+
- $ref: "#/components/schemas/SitePointer"
|
|
16030
17544
|
required:
|
|
16031
17545
|
- target
|
|
16032
17546
|
responses:
|
|
@@ -16041,6 +17555,9 @@ paths:
|
|
|
16041
17555
|
application/json:
|
|
16042
17556
|
schema:
|
|
16043
17557
|
$ref: "#/components/schemas/CustomHostname"
|
|
17558
|
+
"400":
|
|
17559
|
+
description: Selected custom hostname target does not exist
|
|
17560
|
+
$ref: "#/components/responses/ConflictError"
|
|
16044
17561
|
"409":
|
|
16045
17562
|
description: Custom hostname is already in use on the target
|
|
16046
17563
|
$ref: "#/components/responses/ConflictError"
|
|
@@ -16101,6 +17618,7 @@ paths:
|
|
|
16101
17618
|
- $ref: "#/components/schemas/OrganizationPointer"
|
|
16102
17619
|
- $ref: "#/components/schemas/SpacePointer"
|
|
16103
17620
|
- $ref: "#/components/schemas/CollectionPointer"
|
|
17621
|
+
- $ref: "#/components/schemas/SitePointer"
|
|
16104
17622
|
required:
|
|
16105
17623
|
- target
|
|
16106
17624
|
responses:
|