@gitbook/api 0.75.0 → 0.77.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 +213 -89
- package/dist/index.cjs +49 -1
- package/dist/index.js +49 -1
- package/package.json +1 -1
- package/spec/openapi.json +714 -170
- package/spec/openapi.yaml +422 -110
package/spec/openapi.yaml
CHANGED
|
@@ -50,6 +50,7 @@ paths:
|
|
|
50
50
|
required: true
|
|
51
51
|
schema:
|
|
52
52
|
type: string
|
|
53
|
+
maxLength: 512
|
|
53
54
|
- $ref: "#/components/parameters/listPage"
|
|
54
55
|
- $ref: "#/components/parameters/listLimit"
|
|
55
56
|
responses:
|
|
@@ -463,6 +464,7 @@ paths:
|
|
|
463
464
|
required: true
|
|
464
465
|
schema:
|
|
465
466
|
type: string
|
|
467
|
+
maxLength: 512
|
|
466
468
|
- $ref: "#/components/parameters/spaceId"
|
|
467
469
|
- $ref: "#/components/parameters/listPage"
|
|
468
470
|
- $ref: "#/components/parameters/listLimit"
|
|
@@ -3112,8 +3114,6 @@ paths:
|
|
|
3112
3114
|
schema:
|
|
3113
3115
|
type: object
|
|
3114
3116
|
properties:
|
|
3115
|
-
visibility:
|
|
3116
|
-
$ref: "#/components/schemas/ContentVisibility"
|
|
3117
3117
|
title:
|
|
3118
3118
|
$ref: "#/components/schemas/CollectionTitle"
|
|
3119
3119
|
description:
|
|
@@ -4350,6 +4350,7 @@ paths:
|
|
|
4350
4350
|
Lists all spaces, collections, sites accessible by current user in the current organization. This endpoint is internal for now as the data structure is optimized for the sidebar.
|
|
4351
4351
|
tags:
|
|
4352
4352
|
- organizations
|
|
4353
|
+
- critical
|
|
4353
4354
|
security:
|
|
4354
4355
|
- user-internal: []
|
|
4355
4356
|
parameters:
|
|
@@ -5193,6 +5194,7 @@ paths:
|
|
|
5193
5194
|
required: true
|
|
5194
5195
|
schema:
|
|
5195
5196
|
type: string
|
|
5197
|
+
maxLength: 512
|
|
5196
5198
|
- $ref: "#/components/parameters/organizationId"
|
|
5197
5199
|
- $ref: "#/components/parameters/listPage"
|
|
5198
5200
|
- $ref: "#/components/parameters/listLimit"
|
|
@@ -6748,6 +6750,30 @@ paths:
|
|
|
6748
6750
|
description: Site has been deleted
|
|
6749
6751
|
default:
|
|
6750
6752
|
$ref: "#/components/responses/UnexpectedError"
|
|
6753
|
+
"/orgs/{organizationId}/sites/{siteId}/published":
|
|
6754
|
+
get:
|
|
6755
|
+
operationId: getPublishedContentSite
|
|
6756
|
+
summary: Get the complete profile of a site in an organization to provide the published experience. It includes site, customization, structure, integration scripts etc.
|
|
6757
|
+
tags:
|
|
6758
|
+
- sites
|
|
6759
|
+
security:
|
|
6760
|
+
- user: []
|
|
6761
|
+
parameters:
|
|
6762
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6763
|
+
- $ref: "#/components/parameters/siteId"
|
|
6764
|
+
- $ref: "#/components/parameters/siteShareKey"
|
|
6765
|
+
responses:
|
|
6766
|
+
"200":
|
|
6767
|
+
description: OK
|
|
6768
|
+
content:
|
|
6769
|
+
application/json:
|
|
6770
|
+
schema:
|
|
6771
|
+
$ref: "#/components/schemas/PublishedContentSite"
|
|
6772
|
+
"404":
|
|
6773
|
+
description: No matching site found
|
|
6774
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6775
|
+
default:
|
|
6776
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6751
6777
|
"/orgs/{organizationId}/sites/{siteId}/publish":
|
|
6752
6778
|
post:
|
|
6753
6779
|
operationId: publishSite
|
|
@@ -7018,7 +7044,7 @@ paths:
|
|
|
7018
7044
|
* `upgraded`: Subscription was upgraded to include the site
|
|
7019
7045
|
* `downgraded`: Subscription was downgraded by removing the site
|
|
7020
7046
|
* `no-payment-changes`: No impact on subscription (e.g. trial, unpublished)
|
|
7021
|
-
type:
|
|
7047
|
+
type: string
|
|
7022
7048
|
enum:
|
|
7023
7049
|
- upgraded
|
|
7024
7050
|
- downgraded
|
|
@@ -7515,6 +7541,7 @@ paths:
|
|
|
7515
7541
|
type: string
|
|
7516
7542
|
query:
|
|
7517
7543
|
type: string
|
|
7544
|
+
maxLength: 512
|
|
7518
7545
|
required:
|
|
7519
7546
|
- siteSpaceIds
|
|
7520
7547
|
- query
|
|
@@ -7529,6 +7556,7 @@ paths:
|
|
|
7529
7556
|
type: string
|
|
7530
7557
|
query:
|
|
7531
7558
|
type: string
|
|
7559
|
+
maxLength: 512
|
|
7532
7560
|
required:
|
|
7533
7561
|
- mode
|
|
7534
7562
|
- siteSpaceId
|
|
@@ -7542,6 +7570,7 @@ paths:
|
|
|
7542
7570
|
- all
|
|
7543
7571
|
query:
|
|
7544
7572
|
type: string
|
|
7573
|
+
maxLength: 512
|
|
7545
7574
|
required:
|
|
7546
7575
|
- mode
|
|
7547
7576
|
- query
|
|
@@ -8258,6 +8287,156 @@ paths:
|
|
|
8258
8287
|
description: OK
|
|
8259
8288
|
default:
|
|
8260
8289
|
$ref: "#/components/responses/UnexpectedError"
|
|
8290
|
+
"/orgs/{organizationId}/sites/{siteId}/redirects":
|
|
8291
|
+
post:
|
|
8292
|
+
operationId: createSiteRedirect
|
|
8293
|
+
summary: Configure a redirect explicitly for a site.
|
|
8294
|
+
tags:
|
|
8295
|
+
- sites
|
|
8296
|
+
security:
|
|
8297
|
+
- user: []
|
|
8298
|
+
parameters:
|
|
8299
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8300
|
+
- $ref: "#/components/parameters/siteId"
|
|
8301
|
+
requestBody:
|
|
8302
|
+
required: true
|
|
8303
|
+
content:
|
|
8304
|
+
application/json:
|
|
8305
|
+
schema:
|
|
8306
|
+
type: object
|
|
8307
|
+
properties:
|
|
8308
|
+
source:
|
|
8309
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
8310
|
+
destination:
|
|
8311
|
+
$ref: "#/components/schemas/SiteRedirectDestination"
|
|
8312
|
+
required:
|
|
8313
|
+
- source
|
|
8314
|
+
- destination
|
|
8315
|
+
responses:
|
|
8316
|
+
"201":
|
|
8317
|
+
description: The redirect was created successfully.
|
|
8318
|
+
content:
|
|
8319
|
+
application/json:
|
|
8320
|
+
schema:
|
|
8321
|
+
$ref: "#/components/schemas/SiteRedirect"
|
|
8322
|
+
default:
|
|
8323
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8324
|
+
get:
|
|
8325
|
+
operationId: listSiteRedirects
|
|
8326
|
+
summary: List the redirects configured for a site.
|
|
8327
|
+
tags:
|
|
8328
|
+
- sites
|
|
8329
|
+
security:
|
|
8330
|
+
- user: []
|
|
8331
|
+
parameters:
|
|
8332
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8333
|
+
- $ref: "#/components/parameters/siteId"
|
|
8334
|
+
- $ref: "#/components/parameters/listPage"
|
|
8335
|
+
- $ref: "#/components/parameters/listLimit"
|
|
8336
|
+
responses:
|
|
8337
|
+
"200":
|
|
8338
|
+
description: The list of redirects for the site.
|
|
8339
|
+
content:
|
|
8340
|
+
application/json:
|
|
8341
|
+
schema:
|
|
8342
|
+
allOf:
|
|
8343
|
+
- $ref: "#/components/schemas/List"
|
|
8344
|
+
- type: object
|
|
8345
|
+
required:
|
|
8346
|
+
- items
|
|
8347
|
+
properties:
|
|
8348
|
+
items:
|
|
8349
|
+
type: array
|
|
8350
|
+
items:
|
|
8351
|
+
$ref: "#/components/schemas/SiteRedirect"
|
|
8352
|
+
default:
|
|
8353
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8354
|
+
"/orgs/{organizationId}/sites/{siteId}/redirects/{siteRedirectId}":
|
|
8355
|
+
patch:
|
|
8356
|
+
operationId: updateSiteRedirectById
|
|
8357
|
+
summary: Update a redirect for a site
|
|
8358
|
+
tags:
|
|
8359
|
+
- sites
|
|
8360
|
+
security:
|
|
8361
|
+
- user: []
|
|
8362
|
+
parameters:
|
|
8363
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8364
|
+
- $ref: "#/components/parameters/siteId"
|
|
8365
|
+
- $ref: "#/components/parameters/siteRedirectId"
|
|
8366
|
+
requestBody:
|
|
8367
|
+
required: true
|
|
8368
|
+
content:
|
|
8369
|
+
application/json:
|
|
8370
|
+
schema:
|
|
8371
|
+
type: object
|
|
8372
|
+
properties:
|
|
8373
|
+
source:
|
|
8374
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
8375
|
+
destination:
|
|
8376
|
+
$ref: "#/components/schemas/SiteRedirectDestination"
|
|
8377
|
+
responses:
|
|
8378
|
+
"200":
|
|
8379
|
+
description: OK
|
|
8380
|
+
content:
|
|
8381
|
+
application/json:
|
|
8382
|
+
schema:
|
|
8383
|
+
$ref: "#/components/schemas/SiteRedirect"
|
|
8384
|
+
default:
|
|
8385
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8386
|
+
delete:
|
|
8387
|
+
operationId: deleteSiteRedirectById
|
|
8388
|
+
summary: Delete a redirect for a site
|
|
8389
|
+
tags:
|
|
8390
|
+
- sites
|
|
8391
|
+
security:
|
|
8392
|
+
- user: []
|
|
8393
|
+
parameters:
|
|
8394
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8395
|
+
- $ref: "#/components/parameters/siteId"
|
|
8396
|
+
- $ref: "#/components/parameters/siteRedirectId"
|
|
8397
|
+
responses:
|
|
8398
|
+
"205":
|
|
8399
|
+
description: Site redirect deleted
|
|
8400
|
+
default:
|
|
8401
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8402
|
+
"/orgs/{organizationId}/sites/{siteId}/redirect":
|
|
8403
|
+
get:
|
|
8404
|
+
operationId: getSiteRedirectBySource
|
|
8405
|
+
summary: Resolve a redirect in a site by its source path.
|
|
8406
|
+
tags:
|
|
8407
|
+
- sites
|
|
8408
|
+
security:
|
|
8409
|
+
- user: []
|
|
8410
|
+
parameters:
|
|
8411
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8412
|
+
- $ref: "#/components/parameters/siteId"
|
|
8413
|
+
- $ref: "#/components/parameters/siteShareKey"
|
|
8414
|
+
- name: source
|
|
8415
|
+
in: query
|
|
8416
|
+
required: true
|
|
8417
|
+
description: The source path of the redirect.
|
|
8418
|
+
schema:
|
|
8419
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
8420
|
+
responses:
|
|
8421
|
+
"200":
|
|
8422
|
+
description: The redirect was resolved successfully.
|
|
8423
|
+
content:
|
|
8424
|
+
application/json:
|
|
8425
|
+
schema:
|
|
8426
|
+
type: object
|
|
8427
|
+
properties:
|
|
8428
|
+
redirect:
|
|
8429
|
+
$ref: "#/components/schemas/SiteRedirect"
|
|
8430
|
+
target:
|
|
8431
|
+
type: string
|
|
8432
|
+
description: URL of the destination of the redirect.
|
|
8433
|
+
required:
|
|
8434
|
+
- redirect
|
|
8435
|
+
- target
|
|
8436
|
+
"404":
|
|
8437
|
+
$ref: "#/components/responses/NotFoundError"
|
|
8438
|
+
default:
|
|
8439
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8261
8440
|
"/custom-hostnames/{hostname}":
|
|
8262
8441
|
get:
|
|
8263
8442
|
operationId: getCustomHostname
|
|
@@ -8931,6 +9110,13 @@ components:
|
|
|
8931
9110
|
description: The unique id of the site-space relationship
|
|
8932
9111
|
schema:
|
|
8933
9112
|
type: string
|
|
9113
|
+
siteRedirectId:
|
|
9114
|
+
name: siteRedirectId
|
|
9115
|
+
in: path
|
|
9116
|
+
required: true
|
|
9117
|
+
description: The unique id of the site redirect
|
|
9118
|
+
schema:
|
|
9119
|
+
type: string
|
|
8934
9120
|
hostname:
|
|
8935
9121
|
name: hostname
|
|
8936
9122
|
in: path
|
|
@@ -12745,25 +12931,12 @@ components:
|
|
|
12745
12931
|
$ref: "#/components/schemas/CollectionTitle"
|
|
12746
12932
|
description:
|
|
12747
12933
|
$ref: "#/components/schemas/CollectionDescription"
|
|
12748
|
-
path:
|
|
12749
|
-
type: string
|
|
12750
|
-
description: Path in the published URL
|
|
12751
|
-
visibility:
|
|
12752
|
-
$ref: "#/components/schemas/ContentVisibility"
|
|
12753
|
-
publishingType:
|
|
12754
|
-
type: string
|
|
12755
|
-
enum:
|
|
12756
|
-
- variants
|
|
12757
12934
|
organization:
|
|
12758
12935
|
type: string
|
|
12759
12936
|
description: ID of the organization owning this collection
|
|
12760
12937
|
parent:
|
|
12761
12938
|
type: string
|
|
12762
12939
|
description: ID of the parent collection, if any
|
|
12763
|
-
collection:
|
|
12764
|
-
type: string
|
|
12765
|
-
deprecated: true
|
|
12766
|
-
description: ID of the parent collection, if any
|
|
12767
12940
|
defaultLevel:
|
|
12768
12941
|
$ref: "#/components/schemas/DefaultLevel"
|
|
12769
12942
|
urls:
|
|
@@ -12781,14 +12954,27 @@ components:
|
|
|
12781
12954
|
required:
|
|
12782
12955
|
- app
|
|
12783
12956
|
- location
|
|
12957
|
+
permissions:
|
|
12958
|
+
type: object
|
|
12959
|
+
description: The set of permissions for the collection
|
|
12960
|
+
properties:
|
|
12961
|
+
admin:
|
|
12962
|
+
type: boolean
|
|
12963
|
+
description: Can the user edit the title/description.
|
|
12964
|
+
create:
|
|
12965
|
+
type: boolean
|
|
12966
|
+
description: Can the user create spaces/collections in this collection.
|
|
12967
|
+
required:
|
|
12968
|
+
- admin
|
|
12969
|
+
- create
|
|
12784
12970
|
required:
|
|
12785
12971
|
- object
|
|
12786
12972
|
- id
|
|
12787
12973
|
- title
|
|
12788
12974
|
- organization
|
|
12789
|
-
- visibility
|
|
12790
12975
|
- urls
|
|
12791
12976
|
- defaultLevel
|
|
12977
|
+
- permissions
|
|
12792
12978
|
ContentLocationCollection:
|
|
12793
12979
|
type: object
|
|
12794
12980
|
properties:
|
|
@@ -15500,9 +15686,9 @@ components:
|
|
|
15500
15686
|
type: array
|
|
15501
15687
|
items:
|
|
15502
15688
|
$ref: "#/components/schemas/IntegrationEventLog"
|
|
15503
|
-
|
|
15689
|
+
IntegrationContentInstallationBase:
|
|
15504
15690
|
type: object
|
|
15505
|
-
description:
|
|
15691
|
+
description: Base properties of an installation of an integration on a site or space.
|
|
15506
15692
|
properties:
|
|
15507
15693
|
integration:
|
|
15508
15694
|
description: Unique name identifier of the integration
|
|
@@ -15510,15 +15696,10 @@ components:
|
|
|
15510
15696
|
installation:
|
|
15511
15697
|
description: ID of the integration installation
|
|
15512
15698
|
type: string
|
|
15513
|
-
space:
|
|
15514
|
-
description: The space the integration is installed on. Using the string value is deprecated in favor of space.id
|
|
15515
|
-
oneOf:
|
|
15516
|
-
- type: string
|
|
15517
|
-
- $ref: "#/components/schemas/Space"
|
|
15518
15699
|
status:
|
|
15519
15700
|
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
15520
15701
|
configuration:
|
|
15521
|
-
description: Configuration of the integration for this
|
|
15702
|
+
description: Configuration of the integration for this site
|
|
15522
15703
|
type: object
|
|
15523
15704
|
externalIds:
|
|
15524
15705
|
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
@@ -15528,11 +15709,11 @@ components:
|
|
|
15528
15709
|
properties:
|
|
15529
15710
|
location:
|
|
15530
15711
|
type: string
|
|
15531
|
-
description: URL of the integration's
|
|
15712
|
+
description: URL of the integration's installation in the API
|
|
15532
15713
|
format: uri
|
|
15533
15714
|
publicEndpoint:
|
|
15534
15715
|
type: string
|
|
15535
|
-
description: Public HTTP endpoint for the integration's
|
|
15716
|
+
description: Public HTTP endpoint for the integration's installation
|
|
15536
15717
|
format: uri
|
|
15537
15718
|
required:
|
|
15538
15719
|
- location
|
|
@@ -15540,11 +15721,22 @@ components:
|
|
|
15540
15721
|
required:
|
|
15541
15722
|
- integration
|
|
15542
15723
|
- installation
|
|
15543
|
-
- space
|
|
15544
15724
|
- status
|
|
15545
15725
|
- configuration
|
|
15546
15726
|
- externalIds
|
|
15547
15727
|
- urls
|
|
15728
|
+
IntegrationSpaceInstallation:
|
|
15729
|
+
allOf:
|
|
15730
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
15731
|
+
- type: object
|
|
15732
|
+
properties:
|
|
15733
|
+
space:
|
|
15734
|
+
description: The space the integration is installed on. Using the string value is deprecated in favor of space.id
|
|
15735
|
+
oneOf:
|
|
15736
|
+
- type: string
|
|
15737
|
+
- $ref: "#/components/schemas/Space"
|
|
15738
|
+
required:
|
|
15739
|
+
- space
|
|
15548
15740
|
ContentKitIcon:
|
|
15549
15741
|
type: string
|
|
15550
15742
|
enum:
|
|
@@ -16553,50 +16745,17 @@ components:
|
|
|
16553
16745
|
- defaultSpace
|
|
16554
16746
|
- urls
|
|
16555
16747
|
IntegrationSiteInstallation:
|
|
16556
|
-
|
|
16557
|
-
|
|
16558
|
-
|
|
16559
|
-
integration:
|
|
16560
|
-
description: Unique name identifier of the integration
|
|
16561
|
-
type: string
|
|
16562
|
-
installation:
|
|
16563
|
-
description: ID of the integration installation
|
|
16564
|
-
type: string
|
|
16565
|
-
site:
|
|
16566
|
-
description: The site the integration is installed on. Using the string value is deprecated in favor of site.id
|
|
16567
|
-
oneOf:
|
|
16568
|
-
- type: string
|
|
16569
|
-
- $ref: "#/components/schemas/Site"
|
|
16570
|
-
status:
|
|
16571
|
-
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
16572
|
-
configuration:
|
|
16573
|
-
description: Configuration of the integration for this site
|
|
16574
|
-
type: object
|
|
16575
|
-
externalIds:
|
|
16576
|
-
$ref: "#/components/schemas/IntegrationInstallationExternalIds"
|
|
16577
|
-
urls:
|
|
16578
|
-
type: object
|
|
16579
|
-
description: URLs associated with the object
|
|
16748
|
+
allOf:
|
|
16749
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
16750
|
+
- type: object
|
|
16580
16751
|
properties:
|
|
16581
|
-
|
|
16582
|
-
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
type: string
|
|
16587
|
-
description: Public HTTP endpoint for the integration's site installation
|
|
16588
|
-
format: uri
|
|
16752
|
+
site:
|
|
16753
|
+
description: The site the integration is installed on. Using the string value is deprecated in favor of site.id
|
|
16754
|
+
oneOf:
|
|
16755
|
+
- type: string
|
|
16756
|
+
- $ref: "#/components/schemas/Site"
|
|
16589
16757
|
required:
|
|
16590
|
-
-
|
|
16591
|
-
- publicEndpoint
|
|
16592
|
-
required:
|
|
16593
|
-
- integration
|
|
16594
|
-
- installation
|
|
16595
|
-
- site
|
|
16596
|
-
- status
|
|
16597
|
-
- configuration
|
|
16598
|
-
- externalIds
|
|
16599
|
-
- urls
|
|
16758
|
+
- site
|
|
16600
16759
|
UpdateIntegrationSiteInstallation:
|
|
16601
16760
|
type: object
|
|
16602
16761
|
properties:
|
|
@@ -17760,44 +17919,6 @@ components:
|
|
|
17760
17919
|
required:
|
|
17761
17920
|
- type
|
|
17762
17921
|
- plan
|
|
17763
|
-
SitePublishingAuth:
|
|
17764
|
-
allOf:
|
|
17765
|
-
- oneOf:
|
|
17766
|
-
- $ref: "#/components/schemas/VisitorAuthCustomBackend"
|
|
17767
|
-
- $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
17768
|
-
- type: object
|
|
17769
|
-
properties:
|
|
17770
|
-
object:
|
|
17771
|
-
type: string
|
|
17772
|
-
description: Type of Object, always equals to "publishing-auth"
|
|
17773
|
-
enum:
|
|
17774
|
-
- publishing-auth
|
|
17775
|
-
privateKey:
|
|
17776
|
-
type: string
|
|
17777
|
-
description: Private key used to sign JWT tokens.
|
|
17778
|
-
fallbackURL:
|
|
17779
|
-
type: string
|
|
17780
|
-
format: uri
|
|
17781
|
-
description: URL to redirect to when the visitor auth secret is invalid.
|
|
17782
|
-
integration:
|
|
17783
|
-
type: string
|
|
17784
|
-
description: |
|
|
17785
|
-
Name of the Visitor Authentication integration installed on the site (if any).
|
|
17786
|
-
It is also the one being used as VA backend when the published auth settings are configured to use "integration" as backend.
|
|
17787
|
-
required:
|
|
17788
|
-
- object
|
|
17789
|
-
- privateKey
|
|
17790
|
-
SitePublishingAuthUpdate:
|
|
17791
|
-
allOf:
|
|
17792
|
-
- oneOf:
|
|
17793
|
-
- $ref: "#/components/schemas/VisitorAuthCustomBackend"
|
|
17794
|
-
- $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
17795
|
-
- type: object
|
|
17796
|
-
properties:
|
|
17797
|
-
fallbackURL:
|
|
17798
|
-
type: string
|
|
17799
|
-
format: uri
|
|
17800
|
-
description: A fallback URL that will be used if authentication fails.
|
|
17801
17922
|
CustomizationIconsStyle:
|
|
17802
17923
|
type: string
|
|
17803
17924
|
enum:
|
|
@@ -17995,6 +18116,77 @@ components:
|
|
|
17995
18116
|
required:
|
|
17996
18117
|
- script
|
|
17997
18118
|
- cookies
|
|
18119
|
+
PublishedContentSite:
|
|
18120
|
+
type: object
|
|
18121
|
+
properties:
|
|
18122
|
+
object:
|
|
18123
|
+
type: string
|
|
18124
|
+
enum:
|
|
18125
|
+
- published-content-site
|
|
18126
|
+
site:
|
|
18127
|
+
$ref: "#/components/schemas/Site"
|
|
18128
|
+
structure:
|
|
18129
|
+
$ref: "#/components/schemas/SiteStructure"
|
|
18130
|
+
customizations:
|
|
18131
|
+
type: object
|
|
18132
|
+
properties:
|
|
18133
|
+
site:
|
|
18134
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
18135
|
+
siteSpaces:
|
|
18136
|
+
type: object
|
|
18137
|
+
additionalProperties:
|
|
18138
|
+
$ref: "#/components/schemas/SiteCustomizationSettings"
|
|
18139
|
+
required:
|
|
18140
|
+
- site
|
|
18141
|
+
- siteSpaces
|
|
18142
|
+
scripts:
|
|
18143
|
+
type: array
|
|
18144
|
+
items:
|
|
18145
|
+
$ref: "#/components/schemas/SiteIntegrationScript"
|
|
18146
|
+
required:
|
|
18147
|
+
- object
|
|
18148
|
+
- site
|
|
18149
|
+
- structure
|
|
18150
|
+
- customizations
|
|
18151
|
+
- scripts
|
|
18152
|
+
SitePublishingAuth:
|
|
18153
|
+
allOf:
|
|
18154
|
+
- oneOf:
|
|
18155
|
+
- $ref: "#/components/schemas/VisitorAuthCustomBackend"
|
|
18156
|
+
- $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
18157
|
+
- type: object
|
|
18158
|
+
properties:
|
|
18159
|
+
object:
|
|
18160
|
+
type: string
|
|
18161
|
+
description: Type of Object, always equals to "publishing-auth"
|
|
18162
|
+
enum:
|
|
18163
|
+
- publishing-auth
|
|
18164
|
+
privateKey:
|
|
18165
|
+
type: string
|
|
18166
|
+
description: Private key used to sign JWT tokens.
|
|
18167
|
+
fallbackURL:
|
|
18168
|
+
type: string
|
|
18169
|
+
format: uri
|
|
18170
|
+
description: URL to redirect to when the visitor auth secret is invalid.
|
|
18171
|
+
integration:
|
|
18172
|
+
type: string
|
|
18173
|
+
description: |
|
|
18174
|
+
Name of the Visitor Authentication integration installed on the site (if any).
|
|
18175
|
+
It is also the one being used as VA backend when the published auth settings are configured to use "integration" as backend.
|
|
18176
|
+
required:
|
|
18177
|
+
- object
|
|
18178
|
+
- privateKey
|
|
18179
|
+
SitePublishingAuthUpdate:
|
|
18180
|
+
allOf:
|
|
18181
|
+
- oneOf:
|
|
18182
|
+
- $ref: "#/components/schemas/VisitorAuthCustomBackend"
|
|
18183
|
+
- $ref: "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
18184
|
+
- type: object
|
|
18185
|
+
properties:
|
|
18186
|
+
fallbackURL:
|
|
18187
|
+
type: string
|
|
18188
|
+
format: uri
|
|
18189
|
+
description: A fallback URL that will be used if authentication fails.
|
|
17998
18190
|
SiteSectionPointer:
|
|
17999
18191
|
type: object
|
|
18000
18192
|
properties:
|
|
@@ -18174,6 +18366,78 @@ components:
|
|
|
18174
18366
|
icon:
|
|
18175
18367
|
description: Icon of the page, if one has been set.
|
|
18176
18368
|
$ref: "#/components/schemas/Icon"
|
|
18369
|
+
SiteRedirectSourcePath:
|
|
18370
|
+
type: string
|
|
18371
|
+
description: The source path to redirect from.
|
|
18372
|
+
maxLength: 512
|
|
18373
|
+
pattern: ^/[a-zA-Z0-9-_.\/]+[a-zA-Z0-9-_.]$
|
|
18374
|
+
SiteRedirectDestinationSiteSection:
|
|
18375
|
+
type: object
|
|
18376
|
+
properties:
|
|
18377
|
+
kind:
|
|
18378
|
+
type: string
|
|
18379
|
+
enum:
|
|
18380
|
+
- site-section
|
|
18381
|
+
siteSectionId:
|
|
18382
|
+
type: string
|
|
18383
|
+
description: Unique identifier for the site section to redirect to
|
|
18384
|
+
required:
|
|
18385
|
+
- kind
|
|
18386
|
+
- siteSectionId
|
|
18387
|
+
SiteRedirectDestinationSiteSpace:
|
|
18388
|
+
type: object
|
|
18389
|
+
properties:
|
|
18390
|
+
kind:
|
|
18391
|
+
type: string
|
|
18392
|
+
enum:
|
|
18393
|
+
- site-space
|
|
18394
|
+
siteSpaceId:
|
|
18395
|
+
type: string
|
|
18396
|
+
description: Unique identifier for the site space to redirect to
|
|
18397
|
+
required:
|
|
18398
|
+
- kind
|
|
18399
|
+
- siteSpaceId
|
|
18400
|
+
SiteRedirectDestinationPage:
|
|
18401
|
+
type: object
|
|
18402
|
+
properties:
|
|
18403
|
+
kind:
|
|
18404
|
+
type: string
|
|
18405
|
+
enum:
|
|
18406
|
+
- site-page
|
|
18407
|
+
siteSpaceId:
|
|
18408
|
+
type: string
|
|
18409
|
+
description: Unique identifier for the site space of the page
|
|
18410
|
+
pageId:
|
|
18411
|
+
type: string
|
|
18412
|
+
description: Unique identifier for the page within the site space to redirect to
|
|
18413
|
+
required:
|
|
18414
|
+
- kind
|
|
18415
|
+
- siteSpaceId
|
|
18416
|
+
- pageId
|
|
18417
|
+
SiteRedirectDestination:
|
|
18418
|
+
oneOf:
|
|
18419
|
+
- $ref: "#/components/schemas/SiteRedirectDestinationSiteSection"
|
|
18420
|
+
- $ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
18421
|
+
- $ref: "#/components/schemas/SiteRedirectDestinationPage"
|
|
18422
|
+
SiteRedirect:
|
|
18423
|
+
type: object
|
|
18424
|
+
properties:
|
|
18425
|
+
object:
|
|
18426
|
+
type: string
|
|
18427
|
+
enum:
|
|
18428
|
+
- site-redirect
|
|
18429
|
+
id:
|
|
18430
|
+
type: string
|
|
18431
|
+
description: The unique identifier for the redirect.
|
|
18432
|
+
source:
|
|
18433
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
18434
|
+
destination:
|
|
18435
|
+
$ref: "#/components/schemas/SiteRedirectDestination"
|
|
18436
|
+
required:
|
|
18437
|
+
- object
|
|
18438
|
+
- id
|
|
18439
|
+
- source
|
|
18440
|
+
- destination
|
|
18177
18441
|
CustomHostnameDnsStatus:
|
|
18178
18442
|
type: string
|
|
18179
18443
|
enum:
|
|
@@ -18890,6 +19154,26 @@ components:
|
|
|
18890
19154
|
newSourceHostname:
|
|
18891
19155
|
type: string
|
|
18892
19156
|
description: The new hostname if the source organization needed to change hostname.
|
|
19157
|
+
IntegrationEnvironmentSpaceInstallation:
|
|
19158
|
+
allOf:
|
|
19159
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
19160
|
+
- type: object
|
|
19161
|
+
properties:
|
|
19162
|
+
space:
|
|
19163
|
+
description: The space the integration is installed on.
|
|
19164
|
+
type: string
|
|
19165
|
+
required:
|
|
19166
|
+
- space
|
|
19167
|
+
IntegrationEnvironmentSiteInstallation:
|
|
19168
|
+
allOf:
|
|
19169
|
+
- $ref: "#/components/schemas/IntegrationContentInstallationBase"
|
|
19170
|
+
- type: object
|
|
19171
|
+
properties:
|
|
19172
|
+
site:
|
|
19173
|
+
description: The site the integration is installed on.
|
|
19174
|
+
type: string
|
|
19175
|
+
required:
|
|
19176
|
+
- site
|
|
18893
19177
|
IntegrationEnvironment:
|
|
18894
19178
|
type: object
|
|
18895
19179
|
description: Runtime environment provided during the execution of integration's code.
|
|
@@ -18903,9 +19187,9 @@ components:
|
|
|
18903
19187
|
installation:
|
|
18904
19188
|
$ref: "#/components/schemas/IntegrationInstallation"
|
|
18905
19189
|
spaceInstallation:
|
|
18906
|
-
$ref: "#/components/schemas/
|
|
19190
|
+
$ref: "#/components/schemas/IntegrationEnvironmentSpaceInstallation"
|
|
18907
19191
|
siteInstallation:
|
|
18908
|
-
$ref: "#/components/schemas/
|
|
19192
|
+
$ref: "#/components/schemas/IntegrationEnvironmentSiteInstallation"
|
|
18909
19193
|
secrets:
|
|
18910
19194
|
$ref: "#/components/schemas/IntegrationSecrets"
|
|
18911
19195
|
signingSecret:
|
|
@@ -19671,6 +19955,30 @@ components:
|
|
|
19671
19955
|
- channel
|
|
19672
19956
|
- integration
|
|
19673
19957
|
- installation
|
|
19958
|
+
PublishedContentSiteChannel:
|
|
19959
|
+
type: object
|
|
19960
|
+
properties:
|
|
19961
|
+
channel:
|
|
19962
|
+
type: string
|
|
19963
|
+
enum:
|
|
19964
|
+
- published-content-site
|
|
19965
|
+
site:
|
|
19966
|
+
type: string
|
|
19967
|
+
required:
|
|
19968
|
+
- channel
|
|
19969
|
+
- site
|
|
19970
|
+
SiteRedirectsChannel:
|
|
19971
|
+
type: object
|
|
19972
|
+
properties:
|
|
19973
|
+
channel:
|
|
19974
|
+
type: string
|
|
19975
|
+
enum:
|
|
19976
|
+
- site-redirects
|
|
19977
|
+
site:
|
|
19978
|
+
type: string
|
|
19979
|
+
required:
|
|
19980
|
+
- channel
|
|
19981
|
+
- site
|
|
19674
19982
|
SiteChannel:
|
|
19675
19983
|
type: object
|
|
19676
19984
|
properties:
|
|
@@ -19889,6 +20197,8 @@ components:
|
|
|
19889
20197
|
- $ref: "#/components/schemas/IntegrationSpaceInstallationsChannel"
|
|
19890
20198
|
- $ref: "#/components/schemas/IntegrationSiteInstallationChannel"
|
|
19891
20199
|
- $ref: "#/components/schemas/IntegrationSiteInstallationsChannel"
|
|
20200
|
+
- $ref: "#/components/schemas/PublishedContentSiteChannel"
|
|
20201
|
+
- $ref: "#/components/schemas/SiteRedirectsChannel"
|
|
19892
20202
|
- $ref: "#/components/schemas/SiteChannel"
|
|
19893
20203
|
- $ref: "#/components/schemas/SiteCustomizationChannel"
|
|
19894
20204
|
- $ref: "#/components/schemas/SiteIntegrationsChannel"
|
|
@@ -20091,6 +20401,8 @@ components:
|
|
|
20091
20401
|
$ref: "#/components/schemas/VisitorAuthIntegrationBackend"
|
|
20092
20402
|
UserPermissions:
|
|
20093
20403
|
$ref: "#/components/schemas/_index"
|
|
20404
|
+
SiteRedirectDestinationSpace:
|
|
20405
|
+
$ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
20094
20406
|
responses:
|
|
20095
20407
|
UnexpectedError:
|
|
20096
20408
|
description: Unexpected Error
|