@gitbook/api 0.211.0 → 0.213.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 +585 -63
- package/dist/constants.d.ts +7 -4
- package/dist/index.cjs +145 -23
- package/dist/index.js +139 -21
- package/package.json +1 -1
- package/spec/openapi.json +1283 -162
- package/spec/openapi.yaml +792 -127
package/spec/openapi.json
CHANGED
|
@@ -10349,6 +10349,329 @@
|
|
|
10349
10349
|
}
|
|
10350
10350
|
}
|
|
10351
10351
|
},
|
|
10352
|
+
"/orgs/{organizationId}/idp-connections": {
|
|
10353
|
+
"get": {
|
|
10354
|
+
"operationId": "listOrganizationIdPConnections",
|
|
10355
|
+
"summary": "List identity provider connections",
|
|
10356
|
+
"tags": [
|
|
10357
|
+
"sso"
|
|
10358
|
+
],
|
|
10359
|
+
"security": [
|
|
10360
|
+
{
|
|
10361
|
+
"user-internal": []
|
|
10362
|
+
}
|
|
10363
|
+
],
|
|
10364
|
+
"parameters": [
|
|
10365
|
+
{
|
|
10366
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10367
|
+
}
|
|
10368
|
+
],
|
|
10369
|
+
"responses": {
|
|
10370
|
+
"200": {
|
|
10371
|
+
"description": "OK",
|
|
10372
|
+
"content": {
|
|
10373
|
+
"application/json": {
|
|
10374
|
+
"schema": {
|
|
10375
|
+
"allOf": [
|
|
10376
|
+
{
|
|
10377
|
+
"$ref": "#/components/schemas/List"
|
|
10378
|
+
},
|
|
10379
|
+
{
|
|
10380
|
+
"type": "object",
|
|
10381
|
+
"required": [
|
|
10382
|
+
"items"
|
|
10383
|
+
],
|
|
10384
|
+
"properties": {
|
|
10385
|
+
"items": {
|
|
10386
|
+
"type": "array",
|
|
10387
|
+
"items": {
|
|
10388
|
+
"$ref": "#/components/schemas/OrganizationIdPConnection"
|
|
10389
|
+
}
|
|
10390
|
+
}
|
|
10391
|
+
}
|
|
10392
|
+
}
|
|
10393
|
+
]
|
|
10394
|
+
}
|
|
10395
|
+
}
|
|
10396
|
+
}
|
|
10397
|
+
},
|
|
10398
|
+
"404": {
|
|
10399
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10400
|
+
}
|
|
10401
|
+
}
|
|
10402
|
+
},
|
|
10403
|
+
"post": {
|
|
10404
|
+
"operationId": "createOrganizationIdPConnection",
|
|
10405
|
+
"summary": "Create an identity provider connection",
|
|
10406
|
+
"description": "Creates a connection with its SAML service provider URLs and a SCIM token. The token is only returned in this response.\n",
|
|
10407
|
+
"tags": [
|
|
10408
|
+
"sso"
|
|
10409
|
+
],
|
|
10410
|
+
"security": [
|
|
10411
|
+
{
|
|
10412
|
+
"user-internal": []
|
|
10413
|
+
}
|
|
10414
|
+
],
|
|
10415
|
+
"parameters": [
|
|
10416
|
+
{
|
|
10417
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10418
|
+
}
|
|
10419
|
+
],
|
|
10420
|
+
"requestBody": {
|
|
10421
|
+
"required": true,
|
|
10422
|
+
"content": {
|
|
10423
|
+
"application/json": {
|
|
10424
|
+
"schema": {
|
|
10425
|
+
"type": "object",
|
|
10426
|
+
"properties": {
|
|
10427
|
+
"label": {
|
|
10428
|
+
"$ref": "#/components/schemas/IdPConnectionLabel"
|
|
10429
|
+
},
|
|
10430
|
+
"provider": {
|
|
10431
|
+
"$ref": "#/components/schemas/IdPConnectionProvider"
|
|
10432
|
+
},
|
|
10433
|
+
"defaultRole": {
|
|
10434
|
+
"$ref": "#/components/schemas/SAMLProviderDefaultRole"
|
|
10435
|
+
},
|
|
10436
|
+
"defaultTeam": {
|
|
10437
|
+
"type": "string"
|
|
10438
|
+
},
|
|
10439
|
+
"defaultTeamFromDomain": {
|
|
10440
|
+
"type": "boolean"
|
|
10441
|
+
},
|
|
10442
|
+
"ssoURL": {
|
|
10443
|
+
"$ref": "#/components/schemas/URL"
|
|
10444
|
+
},
|
|
10445
|
+
"entityID": {
|
|
10446
|
+
"$ref": "#/components/schemas/SAMLProviderEntityID"
|
|
10447
|
+
},
|
|
10448
|
+
"certificate": {
|
|
10449
|
+
"$ref": "#/components/schemas/SAMLProviderCertificate"
|
|
10450
|
+
},
|
|
10451
|
+
"domains": {
|
|
10452
|
+
"$ref": "#/components/schemas/SAMLProviderDomains"
|
|
10453
|
+
}
|
|
10454
|
+
},
|
|
10455
|
+
"required": [
|
|
10456
|
+
"label",
|
|
10457
|
+
"provider"
|
|
10458
|
+
]
|
|
10459
|
+
}
|
|
10460
|
+
}
|
|
10461
|
+
}
|
|
10462
|
+
},
|
|
10463
|
+
"responses": {
|
|
10464
|
+
"201": {
|
|
10465
|
+
"description": "Connection created",
|
|
10466
|
+
"content": {
|
|
10467
|
+
"application/json": {
|
|
10468
|
+
"schema": {
|
|
10469
|
+
"$ref": "#/components/schemas/OrganizationIdPConnectionWithToken"
|
|
10470
|
+
}
|
|
10471
|
+
}
|
|
10472
|
+
}
|
|
10473
|
+
},
|
|
10474
|
+
"400": {
|
|
10475
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10476
|
+
},
|
|
10477
|
+
"404": {
|
|
10478
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10479
|
+
}
|
|
10480
|
+
}
|
|
10481
|
+
}
|
|
10482
|
+
},
|
|
10483
|
+
"/orgs/{organizationId}/idp-connections/{idpConnectionId}": {
|
|
10484
|
+
"get": {
|
|
10485
|
+
"operationId": "getOrganizationIdPConnection",
|
|
10486
|
+
"summary": "Get an identity provider connection by its ID",
|
|
10487
|
+
"tags": [
|
|
10488
|
+
"sso"
|
|
10489
|
+
],
|
|
10490
|
+
"security": [
|
|
10491
|
+
{
|
|
10492
|
+
"user-internal": []
|
|
10493
|
+
}
|
|
10494
|
+
],
|
|
10495
|
+
"parameters": [
|
|
10496
|
+
{
|
|
10497
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10498
|
+
},
|
|
10499
|
+
{
|
|
10500
|
+
"$ref": "#/components/parameters/idpConnectionId"
|
|
10501
|
+
}
|
|
10502
|
+
],
|
|
10503
|
+
"responses": {
|
|
10504
|
+
"200": {
|
|
10505
|
+
"description": "OK",
|
|
10506
|
+
"content": {
|
|
10507
|
+
"application/json": {
|
|
10508
|
+
"schema": {
|
|
10509
|
+
"$ref": "#/components/schemas/OrganizationIdPConnection"
|
|
10510
|
+
}
|
|
10511
|
+
}
|
|
10512
|
+
}
|
|
10513
|
+
},
|
|
10514
|
+
"404": {
|
|
10515
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10516
|
+
}
|
|
10517
|
+
}
|
|
10518
|
+
},
|
|
10519
|
+
"patch": {
|
|
10520
|
+
"operationId": "updateOrganizationIdPConnection",
|
|
10521
|
+
"summary": "Update an identity provider connection",
|
|
10522
|
+
"tags": [
|
|
10523
|
+
"sso"
|
|
10524
|
+
],
|
|
10525
|
+
"security": [
|
|
10526
|
+
{
|
|
10527
|
+
"user-internal": []
|
|
10528
|
+
}
|
|
10529
|
+
],
|
|
10530
|
+
"parameters": [
|
|
10531
|
+
{
|
|
10532
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10533
|
+
},
|
|
10534
|
+
{
|
|
10535
|
+
"$ref": "#/components/parameters/idpConnectionId"
|
|
10536
|
+
}
|
|
10537
|
+
],
|
|
10538
|
+
"requestBody": {
|
|
10539
|
+
"required": true,
|
|
10540
|
+
"content": {
|
|
10541
|
+
"application/json": {
|
|
10542
|
+
"schema": {
|
|
10543
|
+
"type": "object",
|
|
10544
|
+
"properties": {
|
|
10545
|
+
"label": {
|
|
10546
|
+
"$ref": "#/components/schemas/IdPConnectionLabel"
|
|
10547
|
+
},
|
|
10548
|
+
"provider": {
|
|
10549
|
+
"$ref": "#/components/schemas/IdPConnectionProvider"
|
|
10550
|
+
},
|
|
10551
|
+
"defaultRole": {
|
|
10552
|
+
"$ref": "#/components/schemas/SAMLProviderDefaultRole"
|
|
10553
|
+
},
|
|
10554
|
+
"defaultTeam": {
|
|
10555
|
+
"description": "Team to add members to, or null to add them to none.",
|
|
10556
|
+
"oneOf": [
|
|
10557
|
+
{
|
|
10558
|
+
"type": "string"
|
|
10559
|
+
},
|
|
10560
|
+
{
|
|
10561
|
+
"type": "null"
|
|
10562
|
+
}
|
|
10563
|
+
]
|
|
10564
|
+
},
|
|
10565
|
+
"defaultTeamFromDomain": {
|
|
10566
|
+
"type": "boolean"
|
|
10567
|
+
},
|
|
10568
|
+
"ssoURL": {
|
|
10569
|
+
"$ref": "#/components/schemas/URL"
|
|
10570
|
+
},
|
|
10571
|
+
"entityID": {
|
|
10572
|
+
"$ref": "#/components/schemas/SAMLProviderEntityID"
|
|
10573
|
+
},
|
|
10574
|
+
"certificate": {
|
|
10575
|
+
"$ref": "#/components/schemas/SAMLProviderCertificate"
|
|
10576
|
+
},
|
|
10577
|
+
"domains": {
|
|
10578
|
+
"$ref": "#/components/schemas/SAMLProviderDomains"
|
|
10579
|
+
}
|
|
10580
|
+
}
|
|
10581
|
+
}
|
|
10582
|
+
}
|
|
10583
|
+
}
|
|
10584
|
+
},
|
|
10585
|
+
"responses": {
|
|
10586
|
+
"200": {
|
|
10587
|
+
"description": "Connection updated",
|
|
10588
|
+
"content": {
|
|
10589
|
+
"application/json": {
|
|
10590
|
+
"schema": {
|
|
10591
|
+
"$ref": "#/components/schemas/OrganizationIdPConnection"
|
|
10592
|
+
}
|
|
10593
|
+
}
|
|
10594
|
+
}
|
|
10595
|
+
},
|
|
10596
|
+
"400": {
|
|
10597
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
10598
|
+
},
|
|
10599
|
+
"404": {
|
|
10600
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10601
|
+
}
|
|
10602
|
+
}
|
|
10603
|
+
},
|
|
10604
|
+
"delete": {
|
|
10605
|
+
"operationId": "deleteOrganizationIdPConnection",
|
|
10606
|
+
"summary": "Delete an identity provider connection",
|
|
10607
|
+
"description": "Deletes a connection. Members can no longer sign in through it and its SCIM token stops working immediately. Deleting the last connection with SAML turns off Enforce SSO login.\n",
|
|
10608
|
+
"tags": [
|
|
10609
|
+
"sso"
|
|
10610
|
+
],
|
|
10611
|
+
"security": [
|
|
10612
|
+
{
|
|
10613
|
+
"user-internal": []
|
|
10614
|
+
}
|
|
10615
|
+
],
|
|
10616
|
+
"parameters": [
|
|
10617
|
+
{
|
|
10618
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10619
|
+
},
|
|
10620
|
+
{
|
|
10621
|
+
"$ref": "#/components/parameters/idpConnectionId"
|
|
10622
|
+
}
|
|
10623
|
+
],
|
|
10624
|
+
"responses": {
|
|
10625
|
+
"204": {
|
|
10626
|
+
"description": "Connection not found"
|
|
10627
|
+
},
|
|
10628
|
+
"205": {
|
|
10629
|
+
"description": "Connection deleted"
|
|
10630
|
+
},
|
|
10631
|
+
"404": {
|
|
10632
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10633
|
+
}
|
|
10634
|
+
}
|
|
10635
|
+
}
|
|
10636
|
+
},
|
|
10637
|
+
"/orgs/{organizationId}/idp-connections/{idpConnectionId}/token": {
|
|
10638
|
+
"post": {
|
|
10639
|
+
"operationId": "rotateOrganizationIdPConnectionToken",
|
|
10640
|
+
"summary": "Replace the SCIM token of an identity provider connection",
|
|
10641
|
+
"description": "Creates a new SCIM token for a connection. The previous token stops working immediately, and the new token is only returned in this response.\n",
|
|
10642
|
+
"tags": [
|
|
10643
|
+
"sso"
|
|
10644
|
+
],
|
|
10645
|
+
"security": [
|
|
10646
|
+
{
|
|
10647
|
+
"user-internal": []
|
|
10648
|
+
}
|
|
10649
|
+
],
|
|
10650
|
+
"parameters": [
|
|
10651
|
+
{
|
|
10652
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10653
|
+
},
|
|
10654
|
+
{
|
|
10655
|
+
"$ref": "#/components/parameters/idpConnectionId"
|
|
10656
|
+
}
|
|
10657
|
+
],
|
|
10658
|
+
"responses": {
|
|
10659
|
+
"200": {
|
|
10660
|
+
"description": "Token replaced",
|
|
10661
|
+
"content": {
|
|
10662
|
+
"application/json": {
|
|
10663
|
+
"schema": {
|
|
10664
|
+
"$ref": "#/components/schemas/OrganizationIdPConnectionWithToken"
|
|
10665
|
+
}
|
|
10666
|
+
}
|
|
10667
|
+
}
|
|
10668
|
+
},
|
|
10669
|
+
"404": {
|
|
10670
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10671
|
+
}
|
|
10672
|
+
}
|
|
10673
|
+
}
|
|
10674
|
+
},
|
|
10352
10675
|
"/orgs/{organizationId}/invites": {
|
|
10353
10676
|
"post": {
|
|
10354
10677
|
"operationId": "inviteUsersToOrganization",
|
|
@@ -12237,7 +12560,7 @@
|
|
|
12237
12560
|
"$ref": "#/components/schemas/SCIMConnectionLabel"
|
|
12238
12561
|
},
|
|
12239
12562
|
"provider": {
|
|
12240
|
-
"$ref": "#/components/schemas/
|
|
12563
|
+
"$ref": "#/components/schemas/IdPConnectionProvider"
|
|
12241
12564
|
}
|
|
12242
12565
|
},
|
|
12243
12566
|
"required": [
|
|
@@ -15704,6 +16027,83 @@
|
|
|
15704
16027
|
}
|
|
15705
16028
|
}
|
|
15706
16029
|
},
|
|
16030
|
+
"/orgs/{organizationId}/sites/{siteId}/change-requests/{changeRequestId}/merge": {
|
|
16031
|
+
"post": {
|
|
16032
|
+
"operationId": "mergeSiteChangeRequest",
|
|
16033
|
+
"summary": "Merge a site change request into the site's live content",
|
|
16034
|
+
"description": "Merges every space edited in the change request into its published content, as one publication: either all of them are published or none of them are. If any space reports conflicts, nothing is published and those spaces are listed so they can be resolved and the change request merged again.",
|
|
16035
|
+
"x-internal": true,
|
|
16036
|
+
"tags": [
|
|
16037
|
+
"site-change-requests"
|
|
16038
|
+
],
|
|
16039
|
+
"security": [
|
|
16040
|
+
{
|
|
16041
|
+
"user": []
|
|
16042
|
+
},
|
|
16043
|
+
{
|
|
16044
|
+
"oauth": [
|
|
16045
|
+
"change-request:merge"
|
|
16046
|
+
]
|
|
16047
|
+
}
|
|
16048
|
+
],
|
|
16049
|
+
"parameters": [
|
|
16050
|
+
{
|
|
16051
|
+
"$ref": "#/components/parameters/organizationId"
|
|
16052
|
+
},
|
|
16053
|
+
{
|
|
16054
|
+
"$ref": "#/components/parameters/siteId"
|
|
16055
|
+
},
|
|
16056
|
+
{
|
|
16057
|
+
"$ref": "#/components/parameters/siteChangeRequestId"
|
|
16058
|
+
}
|
|
16059
|
+
],
|
|
16060
|
+
"responses": {
|
|
16061
|
+
"200": {
|
|
16062
|
+
"description": "The change request has been merged, or reported conflicts to resolve.",
|
|
16063
|
+
"content": {
|
|
16064
|
+
"application/json": {
|
|
16065
|
+
"schema": {
|
|
16066
|
+
"type": "object",
|
|
16067
|
+
"properties": {
|
|
16068
|
+
"result": {
|
|
16069
|
+
"type": "string",
|
|
16070
|
+
"enum": [
|
|
16071
|
+
"merge",
|
|
16072
|
+
"conflicts"
|
|
16073
|
+
],
|
|
16074
|
+
"description": "\"merge\" when every space was published, \"conflicts\" when nothing was published. Each space that conflicts now serves a revision holding them, the same as a space change request, so read the change request's spaces to find which."
|
|
16075
|
+
},
|
|
16076
|
+
"revision": {
|
|
16077
|
+
"type": "string",
|
|
16078
|
+
"description": "ID of the site revision recording the merge. Absent when the result is \"conflicts\", since nothing was published."
|
|
16079
|
+
}
|
|
16080
|
+
},
|
|
16081
|
+
"required": [
|
|
16082
|
+
"result"
|
|
16083
|
+
]
|
|
16084
|
+
}
|
|
16085
|
+
}
|
|
16086
|
+
}
|
|
16087
|
+
},
|
|
16088
|
+
"403": {
|
|
16089
|
+
"description": "The user cannot merge the change request, or a space it forked is not on the merge queue yet.",
|
|
16090
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
16091
|
+
},
|
|
16092
|
+
"404": {
|
|
16093
|
+
"description": "The change request could not be found.",
|
|
16094
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
16095
|
+
},
|
|
16096
|
+
"409": {
|
|
16097
|
+
"description": "The change request has already been merged or is archived, or Git Sync is importing into a space it edited, or its last import there failed, or one of its spaces kept moving while the merge ran. Nothing was published in the last case, and the merge can be tried again.",
|
|
16098
|
+
"$ref": "#/components/responses/ConflictError"
|
|
16099
|
+
},
|
|
16100
|
+
"412": {
|
|
16101
|
+
"description": "The change request has no space to merge, or a space it forked has moved to another organization since.",
|
|
16102
|
+
"$ref": "#/components/responses/PreconditionFailedError"
|
|
16103
|
+
}
|
|
16104
|
+
}
|
|
16105
|
+
}
|
|
16106
|
+
},
|
|
15707
16107
|
"/orgs/{organizationId}/sites/{siteId}/share-links": {
|
|
15708
16108
|
"get": {
|
|
15709
16109
|
"operationId": "listSiteShareLinks",
|
|
@@ -21851,6 +22251,418 @@
|
|
|
21851
22251
|
}
|
|
21852
22252
|
}
|
|
21853
22253
|
},
|
|
22254
|
+
"/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/content/{spaceId}": {
|
|
22255
|
+
"get": {
|
|
22256
|
+
"operationId": "getRevisionInSiteRevision",
|
|
22257
|
+
"summary": "Get the content revision of a space at a site revision",
|
|
22258
|
+
"description": "Retrieves the revision a space of the site was at when the site revision was recorded, including the full page tree structure and associated files. A space the site revision does not record returns 404.",
|
|
22259
|
+
"tags": [
|
|
22260
|
+
"sites"
|
|
22261
|
+
],
|
|
22262
|
+
"security": [
|
|
22263
|
+
{
|
|
22264
|
+
"user": []
|
|
22265
|
+
},
|
|
22266
|
+
{
|
|
22267
|
+
"oauth": [
|
|
22268
|
+
"site:read",
|
|
22269
|
+
"space:read"
|
|
22270
|
+
]
|
|
22271
|
+
}
|
|
22272
|
+
],
|
|
22273
|
+
"parameters": [
|
|
22274
|
+
{
|
|
22275
|
+
"$ref": "#/components/parameters/organizationId"
|
|
22276
|
+
},
|
|
22277
|
+
{
|
|
22278
|
+
"$ref": "#/components/parameters/siteId"
|
|
22279
|
+
},
|
|
22280
|
+
{
|
|
22281
|
+
"$ref": "#/components/parameters/siteRevisionId"
|
|
22282
|
+
},
|
|
22283
|
+
{
|
|
22284
|
+
"$ref": "#/components/parameters/spaceId"
|
|
22285
|
+
},
|
|
22286
|
+
{
|
|
22287
|
+
"$ref": "#/components/parameters/revisionMetadata"
|
|
22288
|
+
},
|
|
22289
|
+
{
|
|
22290
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
22291
|
+
}
|
|
22292
|
+
],
|
|
22293
|
+
"responses": {
|
|
22294
|
+
"200": {
|
|
22295
|
+
"description": "OK",
|
|
22296
|
+
"content": {
|
|
22297
|
+
"application/json": {
|
|
22298
|
+
"schema": {
|
|
22299
|
+
"$ref": "#/components/schemas/Revision"
|
|
22300
|
+
}
|
|
22301
|
+
}
|
|
22302
|
+
}
|
|
22303
|
+
}
|
|
22304
|
+
}
|
|
22305
|
+
}
|
|
22306
|
+
},
|
|
22307
|
+
"/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/content/{spaceId}/page/{pageId}": {
|
|
22308
|
+
"get": {
|
|
22309
|
+
"operationId": "getPageInSiteRevision",
|
|
22310
|
+
"summary": "Get a page of a space at a site revision",
|
|
22311
|
+
"description": "Returns a page in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
|
|
22312
|
+
"tags": [
|
|
22313
|
+
"sites"
|
|
22314
|
+
],
|
|
22315
|
+
"security": [
|
|
22316
|
+
{
|
|
22317
|
+
"user": []
|
|
22318
|
+
},
|
|
22319
|
+
{
|
|
22320
|
+
"oauth": [
|
|
22321
|
+
"site:read",
|
|
22322
|
+
"space:read"
|
|
22323
|
+
]
|
|
22324
|
+
}
|
|
22325
|
+
],
|
|
22326
|
+
"parameters": [
|
|
22327
|
+
{
|
|
22328
|
+
"$ref": "#/components/parameters/organizationId"
|
|
22329
|
+
},
|
|
22330
|
+
{
|
|
22331
|
+
"$ref": "#/components/parameters/siteId"
|
|
22332
|
+
},
|
|
22333
|
+
{
|
|
22334
|
+
"$ref": "#/components/parameters/siteRevisionId"
|
|
22335
|
+
},
|
|
22336
|
+
{
|
|
22337
|
+
"$ref": "#/components/parameters/spaceId"
|
|
22338
|
+
},
|
|
22339
|
+
{
|
|
22340
|
+
"$ref": "#/components/parameters/pageId"
|
|
22341
|
+
},
|
|
22342
|
+
{
|
|
22343
|
+
"$ref": "#/components/parameters/documentFormat"
|
|
22344
|
+
},
|
|
22345
|
+
{
|
|
22346
|
+
"$ref": "#/components/parameters/documentMarkdownRefsFormat"
|
|
22347
|
+
},
|
|
22348
|
+
{
|
|
22349
|
+
"$ref": "#/components/parameters/documentEvaluated"
|
|
22350
|
+
},
|
|
22351
|
+
{
|
|
22352
|
+
"$ref": "#/components/parameters/documentDereferenced"
|
|
22353
|
+
},
|
|
22354
|
+
{
|
|
22355
|
+
"$ref": "#/components/parameters/revisionMetadata"
|
|
22356
|
+
},
|
|
22357
|
+
{
|
|
22358
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
22359
|
+
}
|
|
22360
|
+
],
|
|
22361
|
+
"responses": {
|
|
22362
|
+
"200": {
|
|
22363
|
+
"description": "OK",
|
|
22364
|
+
"content": {
|
|
22365
|
+
"application/json": {
|
|
22366
|
+
"schema": {
|
|
22367
|
+
"$ref": "#/components/schemas/RevisionPage"
|
|
22368
|
+
}
|
|
22369
|
+
}
|
|
22370
|
+
}
|
|
22371
|
+
}
|
|
22372
|
+
}
|
|
22373
|
+
}
|
|
22374
|
+
},
|
|
22375
|
+
"/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/content/{spaceId}/page/{pageId}/meta-links": {
|
|
22376
|
+
"get": {
|
|
22377
|
+
"operationId": "listPageMetaLinksInSiteRevision",
|
|
22378
|
+
"summary": "List the meta links of a page at a site revision",
|
|
22379
|
+
"description": "Returns the meta links of a page in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
|
|
22380
|
+
"tags": [
|
|
22381
|
+
"sites"
|
|
22382
|
+
],
|
|
22383
|
+
"security": [
|
|
22384
|
+
{
|
|
22385
|
+
"user": []
|
|
22386
|
+
},
|
|
22387
|
+
{
|
|
22388
|
+
"oauth": [
|
|
22389
|
+
"site:read",
|
|
22390
|
+
"space:read"
|
|
22391
|
+
]
|
|
22392
|
+
}
|
|
22393
|
+
],
|
|
22394
|
+
"parameters": [
|
|
22395
|
+
{
|
|
22396
|
+
"$ref": "#/components/parameters/organizationId"
|
|
22397
|
+
},
|
|
22398
|
+
{
|
|
22399
|
+
"$ref": "#/components/parameters/siteId"
|
|
22400
|
+
},
|
|
22401
|
+
{
|
|
22402
|
+
"$ref": "#/components/parameters/siteRevisionId"
|
|
22403
|
+
},
|
|
22404
|
+
{
|
|
22405
|
+
"$ref": "#/components/parameters/spaceId"
|
|
22406
|
+
},
|
|
22407
|
+
{
|
|
22408
|
+
"$ref": "#/components/parameters/pageId"
|
|
22409
|
+
}
|
|
22410
|
+
],
|
|
22411
|
+
"responses": {
|
|
22412
|
+
"200": {
|
|
22413
|
+
"description": "OK",
|
|
22414
|
+
"content": {
|
|
22415
|
+
"application/json": {
|
|
22416
|
+
"schema": {
|
|
22417
|
+
"$ref": "#/components/schemas/RevisionPageMetaLinks"
|
|
22418
|
+
}
|
|
22419
|
+
}
|
|
22420
|
+
}
|
|
22421
|
+
}
|
|
22422
|
+
}
|
|
22423
|
+
}
|
|
22424
|
+
},
|
|
22425
|
+
"/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/content/{spaceId}/path/{pagePath}": {
|
|
22426
|
+
"get": {
|
|
22427
|
+
"operationId": "getPageByPathInSiteRevision",
|
|
22428
|
+
"summary": "Get a page of a space by its path at a site revision",
|
|
22429
|
+
"description": "Returns the page at a path in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
|
|
22430
|
+
"tags": [
|
|
22431
|
+
"sites"
|
|
22432
|
+
],
|
|
22433
|
+
"security": [
|
|
22434
|
+
{
|
|
22435
|
+
"user": []
|
|
22436
|
+
},
|
|
22437
|
+
{
|
|
22438
|
+
"oauth": [
|
|
22439
|
+
"site:read",
|
|
22440
|
+
"space:read"
|
|
22441
|
+
]
|
|
22442
|
+
}
|
|
22443
|
+
],
|
|
22444
|
+
"parameters": [
|
|
22445
|
+
{
|
|
22446
|
+
"$ref": "#/components/parameters/organizationId"
|
|
22447
|
+
},
|
|
22448
|
+
{
|
|
22449
|
+
"$ref": "#/components/parameters/siteId"
|
|
22450
|
+
},
|
|
22451
|
+
{
|
|
22452
|
+
"$ref": "#/components/parameters/siteRevisionId"
|
|
22453
|
+
},
|
|
22454
|
+
{
|
|
22455
|
+
"$ref": "#/components/parameters/spaceId"
|
|
22456
|
+
},
|
|
22457
|
+
{
|
|
22458
|
+
"$ref": "#/components/parameters/pagePath"
|
|
22459
|
+
},
|
|
22460
|
+
{
|
|
22461
|
+
"$ref": "#/components/parameters/documentFormat"
|
|
22462
|
+
},
|
|
22463
|
+
{
|
|
22464
|
+
"$ref": "#/components/parameters/documentMarkdownRefsFormat"
|
|
22465
|
+
},
|
|
22466
|
+
{
|
|
22467
|
+
"$ref": "#/components/parameters/documentEvaluated"
|
|
22468
|
+
},
|
|
22469
|
+
{
|
|
22470
|
+
"$ref": "#/components/parameters/documentDereferenced"
|
|
22471
|
+
},
|
|
22472
|
+
{
|
|
22473
|
+
"$ref": "#/components/parameters/revisionMetadata"
|
|
22474
|
+
},
|
|
22475
|
+
{
|
|
22476
|
+
"$ref": "#/components/parameters/revisionCachedMetadata"
|
|
22477
|
+
},
|
|
22478
|
+
{
|
|
22479
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
22480
|
+
}
|
|
22481
|
+
],
|
|
22482
|
+
"responses": {
|
|
22483
|
+
"200": {
|
|
22484
|
+
"description": "OK",
|
|
22485
|
+
"content": {
|
|
22486
|
+
"application/json": {
|
|
22487
|
+
"schema": {
|
|
22488
|
+
"oneOf": [
|
|
22489
|
+
{
|
|
22490
|
+
"$ref": "#/components/schemas/RevisionPageDocument"
|
|
22491
|
+
},
|
|
22492
|
+
{
|
|
22493
|
+
"$ref": "#/components/schemas/RevisionPageGroup"
|
|
22494
|
+
}
|
|
22495
|
+
]
|
|
22496
|
+
}
|
|
22497
|
+
}
|
|
22498
|
+
}
|
|
22499
|
+
}
|
|
22500
|
+
}
|
|
22501
|
+
}
|
|
22502
|
+
},
|
|
22503
|
+
"/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/content/{spaceId}/reusable-contents/{reusableContentId}/document": {
|
|
22504
|
+
"get": {
|
|
22505
|
+
"operationId": "getReusableContentDocumentInSiteRevision",
|
|
22506
|
+
"summary": "Get the document of a reusable content at a site revision",
|
|
22507
|
+
"description": "Returns the document of a reusable content in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
|
|
22508
|
+
"tags": [
|
|
22509
|
+
"sites"
|
|
22510
|
+
],
|
|
22511
|
+
"security": [
|
|
22512
|
+
{
|
|
22513
|
+
"user": []
|
|
22514
|
+
},
|
|
22515
|
+
{
|
|
22516
|
+
"oauth": [
|
|
22517
|
+
"site:read",
|
|
22518
|
+
"space:read"
|
|
22519
|
+
]
|
|
22520
|
+
}
|
|
22521
|
+
],
|
|
22522
|
+
"parameters": [
|
|
22523
|
+
{
|
|
22524
|
+
"$ref": "#/components/parameters/organizationId"
|
|
22525
|
+
},
|
|
22526
|
+
{
|
|
22527
|
+
"$ref": "#/components/parameters/siteId"
|
|
22528
|
+
},
|
|
22529
|
+
{
|
|
22530
|
+
"$ref": "#/components/parameters/siteRevisionId"
|
|
22531
|
+
},
|
|
22532
|
+
{
|
|
22533
|
+
"$ref": "#/components/parameters/spaceId"
|
|
22534
|
+
},
|
|
22535
|
+
{
|
|
22536
|
+
"$ref": "#/components/parameters/reusableContentId"
|
|
22537
|
+
},
|
|
22538
|
+
{
|
|
22539
|
+
"$ref": "#/components/parameters/documentEvaluated"
|
|
22540
|
+
},
|
|
22541
|
+
{
|
|
22542
|
+
"$ref": "#/components/parameters/documentDereferenced"
|
|
22543
|
+
}
|
|
22544
|
+
],
|
|
22545
|
+
"responses": {
|
|
22546
|
+
"200": {
|
|
22547
|
+
"description": "OK",
|
|
22548
|
+
"content": {
|
|
22549
|
+
"application/json": {
|
|
22550
|
+
"schema": {
|
|
22551
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
22552
|
+
}
|
|
22553
|
+
}
|
|
22554
|
+
}
|
|
22555
|
+
}
|
|
22556
|
+
}
|
|
22557
|
+
}
|
|
22558
|
+
},
|
|
22559
|
+
"/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/content/{spaceId}/page/{pageId}/document": {
|
|
22560
|
+
"get": {
|
|
22561
|
+
"operationId": "getPageDocumentInSiteRevision",
|
|
22562
|
+
"summary": "Get the document of a page in a space at a site revision",
|
|
22563
|
+
"description": "Returns the structured JSON document of a page in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
|
|
22564
|
+
"tags": [
|
|
22565
|
+
"sites"
|
|
22566
|
+
],
|
|
22567
|
+
"security": [
|
|
22568
|
+
{
|
|
22569
|
+
"user": []
|
|
22570
|
+
},
|
|
22571
|
+
{
|
|
22572
|
+
"oauth": [
|
|
22573
|
+
"site:read",
|
|
22574
|
+
"space:read"
|
|
22575
|
+
]
|
|
22576
|
+
}
|
|
22577
|
+
],
|
|
22578
|
+
"parameters": [
|
|
22579
|
+
{
|
|
22580
|
+
"$ref": "#/components/parameters/organizationId"
|
|
22581
|
+
},
|
|
22582
|
+
{
|
|
22583
|
+
"$ref": "#/components/parameters/siteId"
|
|
22584
|
+
},
|
|
22585
|
+
{
|
|
22586
|
+
"$ref": "#/components/parameters/siteRevisionId"
|
|
22587
|
+
},
|
|
22588
|
+
{
|
|
22589
|
+
"$ref": "#/components/parameters/spaceId"
|
|
22590
|
+
},
|
|
22591
|
+
{
|
|
22592
|
+
"$ref": "#/components/parameters/pageId"
|
|
22593
|
+
},
|
|
22594
|
+
{
|
|
22595
|
+
"$ref": "#/components/parameters/documentEvaluated"
|
|
22596
|
+
},
|
|
22597
|
+
{
|
|
22598
|
+
"$ref": "#/components/parameters/documentDereferenced"
|
|
22599
|
+
}
|
|
22600
|
+
],
|
|
22601
|
+
"responses": {
|
|
22602
|
+
"200": {
|
|
22603
|
+
"description": "OK",
|
|
22604
|
+
"content": {
|
|
22605
|
+
"application/json": {
|
|
22606
|
+
"schema": {
|
|
22607
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
22608
|
+
}
|
|
22609
|
+
}
|
|
22610
|
+
}
|
|
22611
|
+
}
|
|
22612
|
+
}
|
|
22613
|
+
}
|
|
22614
|
+
},
|
|
22615
|
+
"/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/openapi/{specSlug}/content": {
|
|
22616
|
+
"get": {
|
|
22617
|
+
"operationId": "getOpenAPISpecContentInSiteRevision",
|
|
22618
|
+
"summary": "Get the content of an OpenAPI spec at a site revision",
|
|
22619
|
+
"description": "Retrieves the content of the OpenAPI spec version the site revision pins. A spec the site revision does not record returns 404.",
|
|
22620
|
+
"tags": [
|
|
22621
|
+
"sites"
|
|
22622
|
+
],
|
|
22623
|
+
"security": [
|
|
22624
|
+
{
|
|
22625
|
+
"user": []
|
|
22626
|
+
},
|
|
22627
|
+
{
|
|
22628
|
+
"oauth": [
|
|
22629
|
+
"site:read",
|
|
22630
|
+
"openapi:read"
|
|
22631
|
+
]
|
|
22632
|
+
}
|
|
22633
|
+
],
|
|
22634
|
+
"parameters": [
|
|
22635
|
+
{
|
|
22636
|
+
"$ref": "#/components/parameters/organizationId"
|
|
22637
|
+
},
|
|
22638
|
+
{
|
|
22639
|
+
"$ref": "#/components/parameters/siteId"
|
|
22640
|
+
},
|
|
22641
|
+
{
|
|
22642
|
+
"$ref": "#/components/parameters/siteRevisionId"
|
|
22643
|
+
},
|
|
22644
|
+
{
|
|
22645
|
+
"$ref": "#/components/parameters/openapiSpecSlug"
|
|
22646
|
+
}
|
|
22647
|
+
],
|
|
22648
|
+
"responses": {
|
|
22649
|
+
"200": {
|
|
22650
|
+
"description": "OK",
|
|
22651
|
+
"content": {
|
|
22652
|
+
"application/json": {
|
|
22653
|
+
"schema": {
|
|
22654
|
+
"$ref": "#/components/schemas/OpenAPISpecContent"
|
|
22655
|
+
}
|
|
22656
|
+
}
|
|
22657
|
+
}
|
|
22658
|
+
},
|
|
22659
|
+
"404": {
|
|
22660
|
+
"description": "No matching site revision, OpenAPI specification or version found",
|
|
22661
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
22662
|
+
}
|
|
22663
|
+
}
|
|
22664
|
+
}
|
|
22665
|
+
},
|
|
21854
22666
|
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/move": {
|
|
21855
22667
|
"post": {
|
|
21856
22668
|
"operationId": "moveSiteSectionGroup",
|
|
@@ -26350,6 +27162,15 @@
|
|
|
26350
27162
|
]
|
|
26351
27163
|
}
|
|
26352
27164
|
},
|
|
27165
|
+
"idpConnectionId": {
|
|
27166
|
+
"name": "idpConnectionId",
|
|
27167
|
+
"in": "path",
|
|
27168
|
+
"required": true,
|
|
27169
|
+
"description": "The unique id of the identity provider connection",
|
|
27170
|
+
"schema": {
|
|
27171
|
+
"type": "string"
|
|
27172
|
+
}
|
|
27173
|
+
},
|
|
26353
27174
|
"inviteId": {
|
|
26354
27175
|
"name": "inviteId",
|
|
26355
27176
|
"in": "path",
|
|
@@ -26688,6 +27509,15 @@
|
|
|
26688
27509
|
"type": "string"
|
|
26689
27510
|
}
|
|
26690
27511
|
},
|
|
27512
|
+
"siteRevisionId": {
|
|
27513
|
+
"name": "siteRevisionId",
|
|
27514
|
+
"in": "path",
|
|
27515
|
+
"required": true,
|
|
27516
|
+
"description": "The unique id of the site revision",
|
|
27517
|
+
"schema": {
|
|
27518
|
+
"type": "string"
|
|
27519
|
+
}
|
|
27520
|
+
},
|
|
26691
27521
|
"siteRedirectId": {
|
|
26692
27522
|
"name": "siteRedirectId",
|
|
26693
27523
|
"in": "path",
|
|
@@ -27000,6 +27830,20 @@
|
|
|
27000
27830
|
"clientExtensionResults"
|
|
27001
27831
|
]
|
|
27002
27832
|
},
|
|
27833
|
+
"PasskeySignInOptions": {
|
|
27834
|
+
"type": "object",
|
|
27835
|
+
"description": "WebAuthn options for signing in with a passkey (PublicKeyCredentialRequestOptionsJSON), to pass unchanged to the browser.",
|
|
27836
|
+
"additionalProperties": true,
|
|
27837
|
+
"properties": {
|
|
27838
|
+
"challenge": {
|
|
27839
|
+
"type": "string",
|
|
27840
|
+
"description": "Single-use challenge the passkey must sign."
|
|
27841
|
+
}
|
|
27842
|
+
},
|
|
27843
|
+
"required": [
|
|
27844
|
+
"challenge"
|
|
27845
|
+
]
|
|
27846
|
+
},
|
|
27003
27847
|
"PasskeyRegistrationOptions": {
|
|
27004
27848
|
"type": "object",
|
|
27005
27849
|
"description": "WebAuthn options for creating a passkey (PublicKeyCredentialCreationOptionsJSON), to pass unchanged to the browser.",
|
|
@@ -27084,12 +27928,17 @@
|
|
|
27084
27928
|
},
|
|
27085
27929
|
"revoked": {
|
|
27086
27930
|
"type": "boolean",
|
|
27087
|
-
"
|
|
27931
|
+
"deprecated": true,
|
|
27932
|
+
"description": "Whether the API token can no longer be used to authenticate, because it was revoked or has expired. Deprecated, use `revokedAt` instead."
|
|
27088
27933
|
},
|
|
27089
27934
|
"expiresAt": {
|
|
27090
27935
|
"$ref": "#/components/schemas/Timestamp",
|
|
27091
27936
|
"description": "When the API token stops authenticating. Absent for a token that never expires."
|
|
27092
27937
|
},
|
|
27938
|
+
"revokedAt": {
|
|
27939
|
+
"$ref": "#/components/schemas/Timestamp",
|
|
27940
|
+
"description": "When the API token was revoked. Absent when it was not revoked."
|
|
27941
|
+
},
|
|
27093
27942
|
"ipRules": {
|
|
27094
27943
|
"type": "array",
|
|
27095
27944
|
"description": "IP rules restricting where the token can be used from. Absent when unrestricted.",
|
|
@@ -27102,6 +27951,10 @@
|
|
|
27102
27951
|
"$ref": "#/components/schemas/Timestamp",
|
|
27103
27952
|
"description": "When the API token last authenticated a request, accurate to within an hour. Absent for a token that has never been used."
|
|
27104
27953
|
},
|
|
27954
|
+
"replacedBy": {
|
|
27955
|
+
"type": "string",
|
|
27956
|
+
"description": "ID of the token that replaced this one through a rotation. This token keeps working until `expiresAt`. Absent when the token was not rotated."
|
|
27957
|
+
},
|
|
27105
27958
|
"scope": {
|
|
27106
27959
|
"type": "string",
|
|
27107
27960
|
"enum": [
|
|
@@ -36515,6 +37368,16 @@
|
|
|
36515
37368
|
"pdf"
|
|
36516
37369
|
]
|
|
36517
37370
|
},
|
|
37371
|
+
"CustomizationPageActionConditions": {
|
|
37372
|
+
"type": "object",
|
|
37373
|
+
"description": "Conditions restricting page actions to the visitors matching them, keyed by page action type.\nA page action without a condition is shown to every visitor. Only enabled page actions can have\na condition, and the `assistant` action cannot have one.\n",
|
|
37374
|
+
"propertyNames": {
|
|
37375
|
+
"$ref": "#/components/schemas/CustomizationPageActionType"
|
|
37376
|
+
},
|
|
37377
|
+
"additionalProperties": {
|
|
37378
|
+
"$ref": "#/components/schemas/Expression"
|
|
37379
|
+
}
|
|
37380
|
+
},
|
|
36518
37381
|
"SiteExternalLinksTarget": {
|
|
36519
37382
|
"type": "string",
|
|
36520
37383
|
"description": "How external links should open when clicked.\n- `self`: External links open in the current tab.\n- `blank`: External links open in a new browser tab.\n",
|
|
@@ -36858,6 +37721,10 @@
|
|
|
36858
37721
|
"items": {
|
|
36859
37722
|
"$ref": "#/components/schemas/CustomizationPageActionType"
|
|
36860
37723
|
}
|
|
37724
|
+
},
|
|
37725
|
+
"conditions": {
|
|
37726
|
+
"description": "Conditions restricting enabled page actions to the visitors matching them. Returned by the\ncustomization endpoints when a page action has one, and left out of published content,\nwhere they are already applied to the visitor. When updating, leaving it out keeps the\ncurrent conditions and an empty object removes them.\n",
|
|
37727
|
+
"$ref": "#/components/schemas/CustomizationPageActionConditions"
|
|
36861
37728
|
}
|
|
36862
37729
|
},
|
|
36863
37730
|
"required": [
|
|
@@ -38177,7 +39044,7 @@
|
|
|
38177
39044
|
},
|
|
38178
39045
|
"ChangeRequestContentChangeRevertPage": {
|
|
38179
39046
|
"type": "object",
|
|
38180
|
-
"description": "Revert a page to the state it had in a given revision. If `revision` is omitted, the page is reverted to the change request's base revision. Without `block`, the whole page is reverted — added pages are removed, deleted pages are restored, and modified pages have their document reset. With `block`, only the listed block-level changes in the page's document are reverted (each block is removed if it was added, restored if it was deleted, or reset if it was modified or moved); other blocks and the page's properties/metadata are left untouched.",
|
|
39047
|
+
"description": "Revert a page to the state it had in a given revision. If `revision` is omitted, the page is reverted to the change request's base revision. Without `block`, the whole page is reverted — added pages are removed, deleted pages are restored, and modified pages have their document and properties (title, description, slug, tags, cover, icon and other page settings) reset; the page keeps its position. With `block`, only the listed block-level changes in the page's document are reverted (each block is removed if it was added, restored if it was deleted, or reset if it was modified or moved); other blocks and the page's properties/metadata are left untouched.",
|
|
38181
39048
|
"required": [
|
|
38182
39049
|
"operation",
|
|
38183
39050
|
"page"
|
|
@@ -42037,7 +42904,7 @@
|
|
|
42037
42904
|
},
|
|
42038
42905
|
"publicChangeRequestPreviews": {
|
|
42039
42906
|
"type": "boolean",
|
|
42040
|
-
"description": "Whether visitors can preview change requests and historical revisions on the published site. Previews inside GitBook are not affected."
|
|
42907
|
+
"description": "Whether visitors can preview change requests and historical revisions on the published site. Disabled for new sites. Existing sites keep their configured value. Previews inside GitBook are not affected."
|
|
42041
42908
|
},
|
|
42042
42909
|
"published": {
|
|
42043
42910
|
"type": "boolean",
|
|
@@ -44654,6 +45521,263 @@
|
|
|
44654
45521
|
}
|
|
44655
45522
|
}
|
|
44656
45523
|
},
|
|
45524
|
+
"IdPConnectionLabel": {
|
|
45525
|
+
"type": "string",
|
|
45526
|
+
"description": "Name of the identity provider connection, shown to organization admins.",
|
|
45527
|
+
"minLength": 1,
|
|
45528
|
+
"maxLength": 100
|
|
45529
|
+
},
|
|
45530
|
+
"IdPConnectionProvider": {
|
|
45531
|
+
"type": "string",
|
|
45532
|
+
"description": "Identity provider behind the connection.",
|
|
45533
|
+
"enum": [
|
|
45534
|
+
"okta",
|
|
45535
|
+
"entra",
|
|
45536
|
+
"generic"
|
|
45537
|
+
]
|
|
45538
|
+
},
|
|
45539
|
+
"IdPConnectionStatus": {
|
|
45540
|
+
"type": "string",
|
|
45541
|
+
"description": "Status of the connection.\n- `pending`: GitBook hasn't seen the identity provider use the connection yet.\n- `ready`: A member signed in with SAML through the connection, or the identity provider sent an authenticated SCIM request.\n",
|
|
45542
|
+
"enum": [
|
|
45543
|
+
"pending",
|
|
45544
|
+
"ready"
|
|
45545
|
+
]
|
|
45546
|
+
},
|
|
45547
|
+
"SAMLProviderDefaultRole": {
|
|
45548
|
+
"description": "Role given to people on their first sign-in through the provider. null adds them as guests, \"default\" uses the organization's default role, and \"domain\" uses the role of the verified email domain they signed in with.\n",
|
|
45549
|
+
"oneOf": [
|
|
45550
|
+
{
|
|
45551
|
+
"$ref": "#/components/schemas/MemberRole"
|
|
45552
|
+
},
|
|
45553
|
+
{
|
|
45554
|
+
"type": "null"
|
|
45555
|
+
},
|
|
45556
|
+
{
|
|
45557
|
+
"type": "string",
|
|
45558
|
+
"enum": [
|
|
45559
|
+
"default",
|
|
45560
|
+
"domain"
|
|
45561
|
+
]
|
|
45562
|
+
}
|
|
45563
|
+
]
|
|
45564
|
+
},
|
|
45565
|
+
"SAMLProviderEntityID": {
|
|
45566
|
+
"type": "string",
|
|
45567
|
+
"maxLength": 1024
|
|
45568
|
+
},
|
|
45569
|
+
"SAMLProviderCertificate": {
|
|
45570
|
+
"type": "string",
|
|
45571
|
+
"maxLength": 10000
|
|
45572
|
+
},
|
|
45573
|
+
"SAMLProviderDomainStatus": {
|
|
45574
|
+
"type": "string",
|
|
45575
|
+
"description": "State of a SAML provider's email domain in the organization.\n- `verified`: People with an email on this domain can sign in through the provider.\n- `pending`, `error`, `legacy`: The domain isn't verified yet, so it doesn't let anyone sign in.\n- `removed`: The organization no longer has this domain.\n",
|
|
45576
|
+
"enum": [
|
|
45577
|
+
"verified",
|
|
45578
|
+
"pending",
|
|
45579
|
+
"error",
|
|
45580
|
+
"legacy",
|
|
45581
|
+
"removed"
|
|
45582
|
+
]
|
|
45583
|
+
},
|
|
45584
|
+
"SAMLProviderDomain": {
|
|
45585
|
+
"type": "object",
|
|
45586
|
+
"description": "An email domain of a SAML provider, with its verification state in the organization.",
|
|
45587
|
+
"properties": {
|
|
45588
|
+
"domain": {
|
|
45589
|
+
"type": "string"
|
|
45590
|
+
},
|
|
45591
|
+
"status": {
|
|
45592
|
+
"$ref": "#/components/schemas/SAMLProviderDomainStatus"
|
|
45593
|
+
}
|
|
45594
|
+
},
|
|
45595
|
+
"required": [
|
|
45596
|
+
"domain",
|
|
45597
|
+
"status"
|
|
45598
|
+
]
|
|
45599
|
+
},
|
|
45600
|
+
"OrganizationIdPConnection": {
|
|
45601
|
+
"type": "object",
|
|
45602
|
+
"description": "A connection to an identity provider, which signs organization members in with SAML and provisions them with SCIM.\n",
|
|
45603
|
+
"properties": {
|
|
45604
|
+
"object": {
|
|
45605
|
+
"type": "string",
|
|
45606
|
+
"description": "The object type, which is always \"idp-connection\"",
|
|
45607
|
+
"enum": [
|
|
45608
|
+
"idp-connection"
|
|
45609
|
+
]
|
|
45610
|
+
},
|
|
45611
|
+
"id": {
|
|
45612
|
+
"type": "string",
|
|
45613
|
+
"description": "Unique identifier of the connection"
|
|
45614
|
+
},
|
|
45615
|
+
"label": {
|
|
45616
|
+
"$ref": "#/components/schemas/IdPConnectionLabel"
|
|
45617
|
+
},
|
|
45618
|
+
"provider": {
|
|
45619
|
+
"$ref": "#/components/schemas/IdPConnectionProvider"
|
|
45620
|
+
},
|
|
45621
|
+
"status": {
|
|
45622
|
+
"$ref": "#/components/schemas/IdPConnectionStatus"
|
|
45623
|
+
},
|
|
45624
|
+
"defaultRole": {
|
|
45625
|
+
"$ref": "#/components/schemas/SAMLProviderDefaultRole"
|
|
45626
|
+
},
|
|
45627
|
+
"defaultTeam": {
|
|
45628
|
+
"$ref": "#/components/schemas/OrganizationTeam"
|
|
45629
|
+
},
|
|
45630
|
+
"defaultTeamFromDomain": {
|
|
45631
|
+
"type": "boolean",
|
|
45632
|
+
"description": "Whether people join the team of the verified email domain they signed in with, instead of `defaultTeam`.\n"
|
|
45633
|
+
},
|
|
45634
|
+
"saml": {
|
|
45635
|
+
"type": "object",
|
|
45636
|
+
"description": "SAML sign-in through the connection.",
|
|
45637
|
+
"properties": {
|
|
45638
|
+
"ssoURL": {
|
|
45639
|
+
"description": "The identity provider's single sign-on URL. Absent until it is set.",
|
|
45640
|
+
"$ref": "#/components/schemas/URL"
|
|
45641
|
+
},
|
|
45642
|
+
"entityID": {
|
|
45643
|
+
"description": "Entity ID of the identity provider. Absent until it is set.",
|
|
45644
|
+
"$ref": "#/components/schemas/SAMLProviderEntityID"
|
|
45645
|
+
},
|
|
45646
|
+
"certificate": {
|
|
45647
|
+
"description": "X.509 certificate of the identity provider. Absent until it is set.",
|
|
45648
|
+
"$ref": "#/components/schemas/SAMLProviderCertificate"
|
|
45649
|
+
},
|
|
45650
|
+
"domains": {
|
|
45651
|
+
"type": "array",
|
|
45652
|
+
"description": "Email domains the connection signs people in for. Absent on connections created before domains existed, which accept any email.\n",
|
|
45653
|
+
"items": {
|
|
45654
|
+
"$ref": "#/components/schemas/SAMLProviderDomain"
|
|
45655
|
+
}
|
|
45656
|
+
},
|
|
45657
|
+
"service": {
|
|
45658
|
+
"type": "object",
|
|
45659
|
+
"description": "Service provider values to configure in the identity provider.",
|
|
45660
|
+
"properties": {
|
|
45661
|
+
"acsURL": {
|
|
45662
|
+
"type": "string",
|
|
45663
|
+
"description": "Assertion Consumer Service (ACS) URL",
|
|
45664
|
+
"format": "uri"
|
|
45665
|
+
},
|
|
45666
|
+
"startURL": {
|
|
45667
|
+
"type": "string",
|
|
45668
|
+
"description": "Start URL for the identity provider",
|
|
45669
|
+
"format": "uri"
|
|
45670
|
+
},
|
|
45671
|
+
"entityID": {
|
|
45672
|
+
"$ref": "#/components/schemas/SAMLProviderEntityID"
|
|
45673
|
+
}
|
|
45674
|
+
},
|
|
45675
|
+
"required": [
|
|
45676
|
+
"acsURL",
|
|
45677
|
+
"startURL",
|
|
45678
|
+
"entityID"
|
|
45679
|
+
]
|
|
45680
|
+
},
|
|
45681
|
+
"lastUsedAt": {
|
|
45682
|
+
"description": "Date of the last successful sign-in through the connection",
|
|
45683
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
45684
|
+
}
|
|
45685
|
+
},
|
|
45686
|
+
"required": [
|
|
45687
|
+
"service"
|
|
45688
|
+
]
|
|
45689
|
+
},
|
|
45690
|
+
"scim": {
|
|
45691
|
+
"type": "object",
|
|
45692
|
+
"description": "SCIM provisioning through the connection. Absent on connections created before SCIM, until their SCIM token is created.\n",
|
|
45693
|
+
"properties": {
|
|
45694
|
+
"baseURL": {
|
|
45695
|
+
"description": "SCIM base URL to configure in the identity provider",
|
|
45696
|
+
"$ref": "#/components/schemas/URL"
|
|
45697
|
+
},
|
|
45698
|
+
"tokenHint": {
|
|
45699
|
+
"type": "string",
|
|
45700
|
+
"description": "Last characters of the current token, to identify it"
|
|
45701
|
+
},
|
|
45702
|
+
"tokenCreatedAt": {
|
|
45703
|
+
"description": "Date the current token was created",
|
|
45704
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
45705
|
+
},
|
|
45706
|
+
"lastUsedAt": {
|
|
45707
|
+
"description": "Date of the last request authenticated with the token",
|
|
45708
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
45709
|
+
}
|
|
45710
|
+
},
|
|
45711
|
+
"required": [
|
|
45712
|
+
"baseURL",
|
|
45713
|
+
"tokenHint",
|
|
45714
|
+
"tokenCreatedAt"
|
|
45715
|
+
]
|
|
45716
|
+
},
|
|
45717
|
+
"createdAt": {
|
|
45718
|
+
"description": "Date of creation",
|
|
45719
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
45720
|
+
},
|
|
45721
|
+
"updatedAt": {
|
|
45722
|
+
"description": "Date of the last update",
|
|
45723
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
45724
|
+
},
|
|
45725
|
+
"urls": {
|
|
45726
|
+
"type": "object",
|
|
45727
|
+
"description": "URLs associated with the object",
|
|
45728
|
+
"properties": {
|
|
45729
|
+
"location": {
|
|
45730
|
+
"description": "URL of the connection in the API",
|
|
45731
|
+
"$ref": "#/components/schemas/URL"
|
|
45732
|
+
}
|
|
45733
|
+
},
|
|
45734
|
+
"required": [
|
|
45735
|
+
"location"
|
|
45736
|
+
]
|
|
45737
|
+
}
|
|
45738
|
+
},
|
|
45739
|
+
"required": [
|
|
45740
|
+
"object",
|
|
45741
|
+
"id",
|
|
45742
|
+
"label",
|
|
45743
|
+
"provider",
|
|
45744
|
+
"status",
|
|
45745
|
+
"defaultRole",
|
|
45746
|
+
"defaultTeamFromDomain",
|
|
45747
|
+
"saml",
|
|
45748
|
+
"createdAt",
|
|
45749
|
+
"updatedAt",
|
|
45750
|
+
"urls"
|
|
45751
|
+
]
|
|
45752
|
+
},
|
|
45753
|
+
"SAMLProviderDomains": {
|
|
45754
|
+
"type": "array",
|
|
45755
|
+
"description": "Email domains the provider signs people in for. Each one must be an email domain of the organization. Only emails on a verified domain in this list can sign in through the provider.\n",
|
|
45756
|
+
"maxItems": 50,
|
|
45757
|
+
"uniqueItems": true,
|
|
45758
|
+
"items": {
|
|
45759
|
+
"type": "string",
|
|
45760
|
+
"minLength": 1,
|
|
45761
|
+
"maxLength": 255
|
|
45762
|
+
}
|
|
45763
|
+
},
|
|
45764
|
+
"OrganizationIdPConnectionWithToken": {
|
|
45765
|
+
"description": "An identity provider connection, with the SCIM token the request created. The token can't be retrieved again.\n",
|
|
45766
|
+
"type": "object",
|
|
45767
|
+
"properties": {
|
|
45768
|
+
"connection": {
|
|
45769
|
+
"$ref": "#/components/schemas/OrganizationIdPConnection"
|
|
45770
|
+
},
|
|
45771
|
+
"token": {
|
|
45772
|
+
"type": "string",
|
|
45773
|
+
"description": "SCIM bearer token to configure in the identity provider."
|
|
45774
|
+
}
|
|
45775
|
+
},
|
|
45776
|
+
"required": [
|
|
45777
|
+
"connection",
|
|
45778
|
+
"token"
|
|
45779
|
+
]
|
|
45780
|
+
},
|
|
44657
45781
|
"Email": {
|
|
44658
45782
|
"type": "string",
|
|
44659
45783
|
"format": "email",
|
|
@@ -46303,32 +47427,6 @@
|
|
|
46303
47427
|
"minLength": 1,
|
|
46304
47428
|
"maxLength": 30
|
|
46305
47429
|
},
|
|
46306
|
-
"SAMLProviderEntityID": {
|
|
46307
|
-
"type": "string",
|
|
46308
|
-
"maxLength": 1024
|
|
46309
|
-
},
|
|
46310
|
-
"SAMLProviderCertificate": {
|
|
46311
|
-
"type": "string",
|
|
46312
|
-
"maxLength": 10000
|
|
46313
|
-
},
|
|
46314
|
-
"SAMLProviderDefaultRole": {
|
|
46315
|
-
"description": "Role given to people on their first sign-in through the provider. null adds them as guests, \"default\" uses the organization's default role, and \"domain\" uses the role of the verified email domain they signed in with.\n",
|
|
46316
|
-
"oneOf": [
|
|
46317
|
-
{
|
|
46318
|
-
"$ref": "#/components/schemas/MemberRole"
|
|
46319
|
-
},
|
|
46320
|
-
{
|
|
46321
|
-
"type": "null"
|
|
46322
|
-
},
|
|
46323
|
-
{
|
|
46324
|
-
"type": "string",
|
|
46325
|
-
"enum": [
|
|
46326
|
-
"default",
|
|
46327
|
-
"domain"
|
|
46328
|
-
]
|
|
46329
|
-
}
|
|
46330
|
-
]
|
|
46331
|
-
},
|
|
46332
47430
|
"SAMLProviderStatus": {
|
|
46333
47431
|
"type": "string",
|
|
46334
47432
|
"description": "Status of the provider.\n- `active`: The provider is active and can be used to authenticate users.\n- `pending`: The provider is pending and is not yet fully configured.\n",
|
|
@@ -46337,33 +47435,6 @@
|
|
|
46337
47435
|
"pending"
|
|
46338
47436
|
]
|
|
46339
47437
|
},
|
|
46340
|
-
"SAMLProviderDomainStatus": {
|
|
46341
|
-
"type": "string",
|
|
46342
|
-
"description": "State of a SAML provider's email domain in the organization.\n- `verified`: People with an email on this domain can sign in through the provider.\n- `pending`, `error`, `legacy`: The domain isn't verified yet, so it doesn't let anyone sign in.\n- `removed`: The organization no longer has this domain.\n",
|
|
46343
|
-
"enum": [
|
|
46344
|
-
"verified",
|
|
46345
|
-
"pending",
|
|
46346
|
-
"error",
|
|
46347
|
-
"legacy",
|
|
46348
|
-
"removed"
|
|
46349
|
-
]
|
|
46350
|
-
},
|
|
46351
|
-
"SAMLProviderDomain": {
|
|
46352
|
-
"type": "object",
|
|
46353
|
-
"description": "An email domain of a SAML provider, with its verification state in the organization.",
|
|
46354
|
-
"properties": {
|
|
46355
|
-
"domain": {
|
|
46356
|
-
"type": "string"
|
|
46357
|
-
},
|
|
46358
|
-
"status": {
|
|
46359
|
-
"$ref": "#/components/schemas/SAMLProviderDomainStatus"
|
|
46360
|
-
}
|
|
46361
|
-
},
|
|
46362
|
-
"required": [
|
|
46363
|
-
"domain",
|
|
46364
|
-
"status"
|
|
46365
|
-
]
|
|
46366
|
-
},
|
|
46367
47438
|
"OrganizationSAMLProvider": {
|
|
46368
47439
|
"type": "object",
|
|
46369
47440
|
"properties": {
|
|
@@ -46466,17 +47537,6 @@
|
|
|
46466
47537
|
"urls"
|
|
46467
47538
|
]
|
|
46468
47539
|
},
|
|
46469
|
-
"SAMLProviderDomains": {
|
|
46470
|
-
"type": "array",
|
|
46471
|
-
"description": "Email domains the provider signs people in for. Each one must be an email domain of the organization. Only emails on a verified domain in this list can sign in through the provider.\n",
|
|
46472
|
-
"maxItems": 50,
|
|
46473
|
-
"uniqueItems": true,
|
|
46474
|
-
"items": {
|
|
46475
|
-
"type": "string",
|
|
46476
|
-
"minLength": 1,
|
|
46477
|
-
"maxLength": 255
|
|
46478
|
-
}
|
|
46479
|
-
},
|
|
46480
47540
|
"OrganizationDomainStatus": {
|
|
46481
47541
|
"type": "string",
|
|
46482
47542
|
"description": "Verification status of the domain. \"legacy\" is a domain added before verification existed: it keeps letting people join automatically without being verified.\n",
|
|
@@ -46596,15 +47656,6 @@
|
|
|
46596
47656
|
"minLength": 1,
|
|
46597
47657
|
"maxLength": 100
|
|
46598
47658
|
},
|
|
46599
|
-
"SCIMConnectionProvider": {
|
|
46600
|
-
"type": "string",
|
|
46601
|
-
"description": "Identity provider that provisions members through the SCIM connection.",
|
|
46602
|
-
"enum": [
|
|
46603
|
-
"okta",
|
|
46604
|
-
"entra",
|
|
46605
|
-
"generic"
|
|
46606
|
-
]
|
|
46607
|
-
},
|
|
46608
47659
|
"OrganizationSCIMConnection": {
|
|
46609
47660
|
"type": "object",
|
|
46610
47661
|
"description": "A SCIM connection through which an identity provider provisions organization members.",
|
|
@@ -46624,7 +47675,7 @@
|
|
|
46624
47675
|
"$ref": "#/components/schemas/SCIMConnectionLabel"
|
|
46625
47676
|
},
|
|
46626
47677
|
"provider": {
|
|
46627
|
-
"$ref": "#/components/schemas/
|
|
47678
|
+
"$ref": "#/components/schemas/IdPConnectionProvider"
|
|
46628
47679
|
},
|
|
46629
47680
|
"baseURL": {
|
|
46630
47681
|
"description": "SCIM base URL to configure in the identity provider",
|
|
@@ -58872,20 +59923,6 @@
|
|
|
58872
59923
|
"clientExtensionResults"
|
|
58873
59924
|
]
|
|
58874
59925
|
},
|
|
58875
|
-
"PasskeySignInOptions": {
|
|
58876
|
-
"type": "object",
|
|
58877
|
-
"description": "WebAuthn options for signing in with a passkey (PublicKeyCredentialRequestOptionsJSON), to pass unchanged to the browser.",
|
|
58878
|
-
"additionalProperties": true,
|
|
58879
|
-
"properties": {
|
|
58880
|
-
"challenge": {
|
|
58881
|
-
"type": "string",
|
|
58882
|
-
"description": "Single-use challenge the passkey must sign."
|
|
58883
|
-
}
|
|
58884
|
-
},
|
|
58885
|
-
"required": [
|
|
58886
|
-
"challenge"
|
|
58887
|
-
]
|
|
58888
|
-
},
|
|
58889
59926
|
"UnsplashImage": {
|
|
58890
59927
|
"type": "object",
|
|
58891
59928
|
"required": [
|
|
@@ -59667,86 +60704,148 @@
|
|
|
59667
60704
|
"propertyName": "target"
|
|
59668
60705
|
}
|
|
59669
60706
|
},
|
|
59670
|
-
"
|
|
60707
|
+
"PublishedSiteContentLive": {
|
|
59671
60708
|
"type": "object",
|
|
59672
|
-
"title": "
|
|
60709
|
+
"title": "Live content",
|
|
60710
|
+
"description": "Site content at the live revision of its spaces.",
|
|
60711
|
+
"properties": {}
|
|
60712
|
+
},
|
|
60713
|
+
"PublishedSiteContentAtRevision": {
|
|
60714
|
+
"type": "object",
|
|
60715
|
+
"title": "Content at a revision",
|
|
60716
|
+
"description": "Site content previewed at a revision of its space.",
|
|
59673
60717
|
"properties": {
|
|
59674
|
-
"site": {
|
|
59675
|
-
"type": "string",
|
|
59676
|
-
"description": "ID of the site matching."
|
|
59677
|
-
},
|
|
59678
|
-
"siteSection": {
|
|
59679
|
-
"type": "string",
|
|
59680
|
-
"description": "ID of the site-section matching."
|
|
59681
|
-
},
|
|
59682
|
-
"siteSpace": {
|
|
59683
|
-
"type": "string",
|
|
59684
|
-
"description": "ID of the site-space matching."
|
|
59685
|
-
},
|
|
59686
|
-
"space": {
|
|
59687
|
-
"type": "string",
|
|
59688
|
-
"description": "ID of the space matching."
|
|
59689
|
-
},
|
|
59690
|
-
"changeRequest": {
|
|
59691
|
-
"type": "string",
|
|
59692
|
-
"description": "Identifier of the change request being previewed in this URL."
|
|
59693
|
-
},
|
|
59694
60718
|
"revision": {
|
|
59695
60719
|
"type": "string",
|
|
59696
60720
|
"description": "Identifier of the revision being previewed in this URL."
|
|
59697
|
-
}
|
|
59698
|
-
|
|
59699
|
-
|
|
59700
|
-
|
|
59701
|
-
|
|
59702
|
-
|
|
59703
|
-
|
|
59704
|
-
|
|
59705
|
-
|
|
59706
|
-
|
|
59707
|
-
|
|
59708
|
-
|
|
59709
|
-
},
|
|
59710
|
-
"apiToken": {
|
|
59711
|
-
"type": "string",
|
|
59712
|
-
"description": "Short-lived API token to fetch content related to the space in the context of the URL."
|
|
59713
|
-
},
|
|
59714
|
-
"organization": {
|
|
59715
|
-
"type": "string",
|
|
59716
|
-
"description": "ID of the organization."
|
|
59717
|
-
},
|
|
59718
|
-
"shareKey": {
|
|
59719
|
-
"type": "string",
|
|
59720
|
-
"description": "Share link key of the site in case the site was published with share-links."
|
|
59721
|
-
},
|
|
59722
|
-
"complete": {
|
|
59723
|
-
"type": "boolean",
|
|
59724
|
-
"description": "Whether the resolved site URL is complete and at it's terminal point, meaning no more site path segments can be further expected before any page path segments."
|
|
59725
|
-
},
|
|
59726
|
-
"contextId": {
|
|
60721
|
+
}
|
|
60722
|
+
},
|
|
60723
|
+
"required": [
|
|
60724
|
+
"revision"
|
|
60725
|
+
]
|
|
60726
|
+
},
|
|
60727
|
+
"PublishedSiteContentInChangeRequest": {
|
|
60728
|
+
"type": "object",
|
|
60729
|
+
"title": "Content in a change request",
|
|
60730
|
+
"description": "Site content previewed in a change request of its space.",
|
|
60731
|
+
"properties": {
|
|
60732
|
+
"changeRequest": {
|
|
59727
60733
|
"type": "string",
|
|
59728
|
-
"description": "
|
|
59729
|
-
}
|
|
59730
|
-
|
|
60734
|
+
"description": "Identifier of the change request being previewed in this URL."
|
|
60735
|
+
}
|
|
60736
|
+
},
|
|
60737
|
+
"required": [
|
|
60738
|
+
"changeRequest"
|
|
60739
|
+
]
|
|
60740
|
+
},
|
|
60741
|
+
"PublishedSiteContentAtSiteRevision": {
|
|
60742
|
+
"type": "object",
|
|
60743
|
+
"title": "Content at a site revision",
|
|
60744
|
+
"description": "Site content previewed at a site revision: each space is read at the revision the site revision pins, and live when it pins none.",
|
|
60745
|
+
"properties": {
|
|
60746
|
+
"siteRevision": {
|
|
59731
60747
|
"type": "string",
|
|
59732
|
-
"description": "
|
|
59733
|
-
},
|
|
59734
|
-
"preview": {
|
|
59735
|
-
"type": "boolean",
|
|
59736
|
-
"description": "Whether the URL is a preview URL"
|
|
60748
|
+
"description": "Identifier of the site revision being previewed in this URL."
|
|
59737
60749
|
}
|
|
59738
60750
|
},
|
|
59739
60751
|
"required": [
|
|
59740
|
-
"
|
|
59741
|
-
|
|
59742
|
-
|
|
59743
|
-
|
|
59744
|
-
|
|
59745
|
-
|
|
59746
|
-
|
|
59747
|
-
|
|
59748
|
-
|
|
59749
|
-
|
|
60752
|
+
"siteRevision"
|
|
60753
|
+
]
|
|
60754
|
+
},
|
|
60755
|
+
"PublishedSiteContent": {
|
|
60756
|
+
"type": "object",
|
|
60757
|
+
"title": "Site Content",
|
|
60758
|
+
"description": "Content a site URL resolves to: live, or previewed at a space revision, a change request or a site revision named in the URL. At most one of `revision`, `changeRequest` and `siteRevision` is returned.",
|
|
60759
|
+
"allOf": [
|
|
60760
|
+
{
|
|
60761
|
+
"type": "object",
|
|
60762
|
+
"properties": {
|
|
60763
|
+
"site": {
|
|
60764
|
+
"type": "string",
|
|
60765
|
+
"description": "ID of the site matching."
|
|
60766
|
+
},
|
|
60767
|
+
"siteSection": {
|
|
60768
|
+
"type": "string",
|
|
60769
|
+
"description": "ID of the site-section matching."
|
|
60770
|
+
},
|
|
60771
|
+
"siteSpace": {
|
|
60772
|
+
"type": "string",
|
|
60773
|
+
"description": "ID of the site-space matching."
|
|
60774
|
+
},
|
|
60775
|
+
"space": {
|
|
60776
|
+
"type": "string",
|
|
60777
|
+
"description": "ID of the space matching."
|
|
60778
|
+
},
|
|
60779
|
+
"pathname": {
|
|
60780
|
+
"type": "string",
|
|
60781
|
+
"description": "Path of the content relative to the input URL being resolved"
|
|
60782
|
+
},
|
|
60783
|
+
"basePath": {
|
|
60784
|
+
"type": "string",
|
|
60785
|
+
"description": "Prefix of the path in the input URL being resolved"
|
|
60786
|
+
},
|
|
60787
|
+
"siteBasePath": {
|
|
60788
|
+
"type": "string",
|
|
60789
|
+
"description": "Prefix of the site path in the input URL being resolved"
|
|
60790
|
+
},
|
|
60791
|
+
"apiToken": {
|
|
60792
|
+
"type": "string",
|
|
60793
|
+
"description": "Short-lived API token to fetch content related to the space in the context of the URL."
|
|
60794
|
+
},
|
|
60795
|
+
"organization": {
|
|
60796
|
+
"type": "string",
|
|
60797
|
+
"description": "ID of the organization."
|
|
60798
|
+
},
|
|
60799
|
+
"shareKey": {
|
|
60800
|
+
"type": "string",
|
|
60801
|
+
"description": "Share link key of the site in case the site was published with share-links."
|
|
60802
|
+
},
|
|
60803
|
+
"complete": {
|
|
60804
|
+
"type": "boolean",
|
|
60805
|
+
"description": "Whether the resolved site URL is complete and at it's terminal point, meaning no more site path segments can be further expected before any page path segments."
|
|
60806
|
+
},
|
|
60807
|
+
"contextId": {
|
|
60808
|
+
"type": "string",
|
|
60809
|
+
"description": "Context returned only for a authenticated access session to track changes in the visitor session context that affect content rendering (used for cache invalidation)."
|
|
60810
|
+
},
|
|
60811
|
+
"canonicalUrl": {
|
|
60812
|
+
"type": "string",
|
|
60813
|
+
"description": "The canonical URL of the resolution."
|
|
60814
|
+
},
|
|
60815
|
+
"preview": {
|
|
60816
|
+
"type": "boolean",
|
|
60817
|
+
"description": "Whether the URL is a preview URL"
|
|
60818
|
+
}
|
|
60819
|
+
},
|
|
60820
|
+
"required": [
|
|
60821
|
+
"site",
|
|
60822
|
+
"siteSpace",
|
|
60823
|
+
"space",
|
|
60824
|
+
"pathname",
|
|
60825
|
+
"basePath",
|
|
60826
|
+
"siteBasePath",
|
|
60827
|
+
"apiToken",
|
|
60828
|
+
"organization",
|
|
60829
|
+
"complete",
|
|
60830
|
+
"canonicalUrl"
|
|
60831
|
+
]
|
|
60832
|
+
},
|
|
60833
|
+
{
|
|
60834
|
+
"oneOf": [
|
|
60835
|
+
{
|
|
60836
|
+
"$ref": "#/components/schemas/PublishedSiteContentLive"
|
|
60837
|
+
},
|
|
60838
|
+
{
|
|
60839
|
+
"$ref": "#/components/schemas/PublishedSiteContentAtRevision"
|
|
60840
|
+
},
|
|
60841
|
+
{
|
|
60842
|
+
"$ref": "#/components/schemas/PublishedSiteContentInChangeRequest"
|
|
60843
|
+
},
|
|
60844
|
+
{
|
|
60845
|
+
"$ref": "#/components/schemas/PublishedSiteContentAtSiteRevision"
|
|
60846
|
+
}
|
|
60847
|
+
]
|
|
60848
|
+
}
|
|
59750
60849
|
]
|
|
59751
60850
|
},
|
|
59752
60851
|
"PublishedSiteContentLookup": {
|
|
@@ -63393,6 +64492,25 @@
|
|
|
63393
64492
|
"organization"
|
|
63394
64493
|
]
|
|
63395
64494
|
},
|
|
64495
|
+
"APIChannelOrganizationIdPConnections": {
|
|
64496
|
+
"type": "object",
|
|
64497
|
+
"description": "Subscription channel for changes in the identity provider connections of an organization.",
|
|
64498
|
+
"properties": {
|
|
64499
|
+
"channel": {
|
|
64500
|
+
"type": "string",
|
|
64501
|
+
"enum": [
|
|
64502
|
+
"organization-idp-connections"
|
|
64503
|
+
]
|
|
64504
|
+
},
|
|
64505
|
+
"organization": {
|
|
64506
|
+
"type": "string"
|
|
64507
|
+
}
|
|
64508
|
+
},
|
|
64509
|
+
"required": [
|
|
64510
|
+
"channel",
|
|
64511
|
+
"organization"
|
|
64512
|
+
]
|
|
64513
|
+
},
|
|
63396
64514
|
"APIChannelOrganizationCustomFonts": {
|
|
63397
64515
|
"type": "object",
|
|
63398
64516
|
"description": "Subscription channel for changes in custom fonts in an organization.",
|
|
@@ -64289,6 +65407,9 @@
|
|
|
64289
65407
|
{
|
|
64290
65408
|
"$ref": "#/components/schemas/APIChannelOrganizationDomains"
|
|
64291
65409
|
},
|
|
65410
|
+
{
|
|
65411
|
+
"$ref": "#/components/schemas/APIChannelOrganizationIdPConnections"
|
|
65412
|
+
},
|
|
64292
65413
|
{
|
|
64293
65414
|
"$ref": "#/components/schemas/APIChannelOrganizationCustomFonts"
|
|
64294
65415
|
},
|