@gitbook/api 0.214.0 → 0.215.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 +352 -182
- package/dist/constants.d.ts +8 -2
- package/dist/index.cjs +68 -49
- package/dist/index.js +59 -49
- package/package.json +1 -1
- package/spec/openapi.json +853 -419
- package/spec/openapi.yaml +577 -267
package/spec/openapi.yaml
CHANGED
|
@@ -1824,6 +1824,80 @@ paths:
|
|
|
1824
1824
|
required:
|
|
1825
1825
|
- revision
|
|
1826
1826
|
- result
|
|
1827
|
+
/spaces/{spaceId}/change-requests/{changeRequestId}/revert:
|
|
1828
|
+
get:
|
|
1829
|
+
operationId: getChangeRequestRevert
|
|
1830
|
+
summary: Check whether a merged change request can be reverted
|
|
1831
|
+
description: Checks whether a revert draft can be created for a merged change request without creating one. Requires permission to edit the space and returns whether the merge can be reverted along with the first blocker when it cannot.
|
|
1832
|
+
x-gitbook-mcp: true
|
|
1833
|
+
tags:
|
|
1834
|
+
- change-requests
|
|
1835
|
+
security:
|
|
1836
|
+
- user: []
|
|
1837
|
+
- oauth:
|
|
1838
|
+
- space:read
|
|
1839
|
+
parameters:
|
|
1840
|
+
- $ref: '#/components/parameters/spaceId'
|
|
1841
|
+
- $ref: '#/components/parameters/changeRequestId'
|
|
1842
|
+
responses:
|
|
1843
|
+
'200':
|
|
1844
|
+
description: Whether the change request can be reverted
|
|
1845
|
+
content:
|
|
1846
|
+
application/json:
|
|
1847
|
+
schema:
|
|
1848
|
+
type: object
|
|
1849
|
+
properties:
|
|
1850
|
+
revertable:
|
|
1851
|
+
type: boolean
|
|
1852
|
+
description: Whether a revert draft can be created for this change request.
|
|
1853
|
+
reason:
|
|
1854
|
+
type: string
|
|
1855
|
+
description: Reason the change request cannot be reverted, when revertable is false.
|
|
1856
|
+
required:
|
|
1857
|
+
- revertable
|
|
1858
|
+
'403':
|
|
1859
|
+
$ref: '#/components/responses/ForbiddenError'
|
|
1860
|
+
'404':
|
|
1861
|
+
$ref: '#/components/responses/NotFoundError'
|
|
1862
|
+
post:
|
|
1863
|
+
operationId: revertChangeRequest
|
|
1864
|
+
summary: Create a change request that undoes a merge
|
|
1865
|
+
description: Creates a draft that restores all changed page bodies from before a merge. The draft starts from current content and follows the space's ordinary review and merge rules. This operation may be unavailable for some spaces. It requires permission to edit the space. It returns a conflict when a complete undo is impossible. For example, the merge may have changed more than 100 pages or made changes beyond page bodies. An affected page or its visibility may have changed since the merge, or the earlier content may be unavailable. Restored pages resolve references against current content. Repeating the operation returns the same revert change request in any status.
|
|
1866
|
+
x-gitbook-mcp:
|
|
1867
|
+
idempotent: true
|
|
1868
|
+
tags:
|
|
1869
|
+
- change-requests
|
|
1870
|
+
security:
|
|
1871
|
+
- user: []
|
|
1872
|
+
- oauth:
|
|
1873
|
+
- space:write
|
|
1874
|
+
parameters:
|
|
1875
|
+
- $ref: '#/components/parameters/spaceId'
|
|
1876
|
+
- $ref: '#/components/parameters/changeRequestId'
|
|
1877
|
+
responses:
|
|
1878
|
+
'200':
|
|
1879
|
+
description: The existing revert change request
|
|
1880
|
+
content:
|
|
1881
|
+
application/json:
|
|
1882
|
+
schema:
|
|
1883
|
+
$ref: '#/components/schemas/ChangeRequest'
|
|
1884
|
+
'201':
|
|
1885
|
+
description: The new revert change request
|
|
1886
|
+
headers:
|
|
1887
|
+
Location:
|
|
1888
|
+
description: API URL for the new revert change request
|
|
1889
|
+
schema:
|
|
1890
|
+
type: string
|
|
1891
|
+
content:
|
|
1892
|
+
application/json:
|
|
1893
|
+
schema:
|
|
1894
|
+
$ref: '#/components/schemas/ChangeRequest'
|
|
1895
|
+
'403':
|
|
1896
|
+
$ref: '#/components/responses/ForbiddenError'
|
|
1897
|
+
'404':
|
|
1898
|
+
$ref: '#/components/responses/NotFoundError'
|
|
1899
|
+
'409':
|
|
1900
|
+
$ref: '#/components/responses/ConflictError'
|
|
1827
1901
|
/spaces/{spaceId}/change-requests/{changeRequestId}/update:
|
|
1828
1902
|
post:
|
|
1829
1903
|
operationId: updateChangeRequest
|
|
@@ -5533,6 +5607,9 @@ paths:
|
|
|
5533
5607
|
application/json:
|
|
5534
5608
|
schema:
|
|
5535
5609
|
$ref: '#/components/schemas/OrganizationMember'
|
|
5610
|
+
'412':
|
|
5611
|
+
description: The requested role or access change is blocked by a membership restriction.
|
|
5612
|
+
$ref: '#/components/responses/PreconditionFailedError'
|
|
5536
5613
|
requestBody:
|
|
5537
5614
|
required: true
|
|
5538
5615
|
content:
|
|
@@ -5544,11 +5621,11 @@ paths:
|
|
|
5544
5621
|
$ref: '#/components/schemas/MemberRoleOrGuest'
|
|
5545
5622
|
disabled:
|
|
5546
5623
|
type: boolean
|
|
5547
|
-
description: Disable or re-enable the member. Only members disabled by an admin can be re-enabled.
|
|
5624
|
+
description: Disable or re-enable the member. Directory-managed access is changed through the identity provider. Only members disabled by an admin can be re-enabled through this operation.
|
|
5548
5625
|
delete:
|
|
5549
5626
|
operationId: removeMemberFromOrganizationById
|
|
5550
5627
|
summary: Remove an organization member or request an organization admin to do it
|
|
5551
|
-
description: Users cannot remove their own membership. Ask another organization admin to remove it.
|
|
5628
|
+
description: Users cannot remove their own membership. Ask another organization admin to remove it. Remove directory-managed members through the identity provider.
|
|
5552
5629
|
tags:
|
|
5553
5630
|
- organization-members
|
|
5554
5631
|
security:
|
|
@@ -5565,6 +5642,9 @@ paths:
|
|
|
5565
5642
|
description: Member did not exist in the organization.
|
|
5566
5643
|
'205':
|
|
5567
5644
|
description: The member was deleted from the organization.
|
|
5645
|
+
'412':
|
|
5646
|
+
description: The membership is directory-managed or cannot be removed.
|
|
5647
|
+
$ref: '#/components/responses/PreconditionFailedError'
|
|
5568
5648
|
/orgs/{organizationId}/ping:
|
|
5569
5649
|
post:
|
|
5570
5650
|
operationId: updateOrganizationMemberLastSeenAt
|
|
@@ -6114,6 +6194,12 @@ paths:
|
|
|
6114
6194
|
parameters:
|
|
6115
6195
|
- $ref: '#/components/parameters/organizationId'
|
|
6116
6196
|
- $ref: '#/components/parameters/idpConnectionId'
|
|
6197
|
+
- name: members
|
|
6198
|
+
in: query
|
|
6199
|
+
description: What happens to the members linked to the connection through SCIM.
|
|
6200
|
+
schema:
|
|
6201
|
+
$ref: '#/components/schemas/IdPConnectionMembersAction'
|
|
6202
|
+
default: keep
|
|
6117
6203
|
responses:
|
|
6118
6204
|
'204':
|
|
6119
6205
|
description: Connection not found
|
|
@@ -7163,163 +7249,6 @@ paths:
|
|
|
7163
7249
|
$ref: '#/components/responses/NotFoundError'
|
|
7164
7250
|
'409':
|
|
7165
7251
|
$ref: '#/components/responses/ConflictError'
|
|
7166
|
-
/orgs/{organizationId}/scim/connections:
|
|
7167
|
-
get:
|
|
7168
|
-
operationId: listOrganizationSCIMConnections
|
|
7169
|
-
summary: List SCIM connections
|
|
7170
|
-
tags:
|
|
7171
|
-
- scim
|
|
7172
|
-
security:
|
|
7173
|
-
- user-internal: []
|
|
7174
|
-
parameters:
|
|
7175
|
-
- $ref: '#/components/parameters/organizationId'
|
|
7176
|
-
responses:
|
|
7177
|
-
'200':
|
|
7178
|
-
description: OK
|
|
7179
|
-
content:
|
|
7180
|
-
application/json:
|
|
7181
|
-
schema:
|
|
7182
|
-
allOf:
|
|
7183
|
-
- $ref: '#/components/schemas/List'
|
|
7184
|
-
- type: object
|
|
7185
|
-
required:
|
|
7186
|
-
- items
|
|
7187
|
-
properties:
|
|
7188
|
-
items:
|
|
7189
|
-
type: array
|
|
7190
|
-
items:
|
|
7191
|
-
$ref: '#/components/schemas/OrganizationSCIMConnection'
|
|
7192
|
-
'404':
|
|
7193
|
-
$ref: '#/components/responses/NotFoundError'
|
|
7194
|
-
post:
|
|
7195
|
-
operationId: createOrganizationSCIMConnection
|
|
7196
|
-
summary: Create a SCIM connection
|
|
7197
|
-
description: |
|
|
7198
|
-
Creates a SCIM connection and its token. The token is only returned in this response.
|
|
7199
|
-
tags:
|
|
7200
|
-
- scim
|
|
7201
|
-
security:
|
|
7202
|
-
- user-internal: []
|
|
7203
|
-
parameters:
|
|
7204
|
-
- $ref: '#/components/parameters/organizationId'
|
|
7205
|
-
requestBody:
|
|
7206
|
-
required: true
|
|
7207
|
-
content:
|
|
7208
|
-
application/json:
|
|
7209
|
-
schema:
|
|
7210
|
-
type: object
|
|
7211
|
-
properties:
|
|
7212
|
-
label:
|
|
7213
|
-
$ref: '#/components/schemas/SCIMConnectionLabel'
|
|
7214
|
-
provider:
|
|
7215
|
-
$ref: '#/components/schemas/IdPConnectionProvider'
|
|
7216
|
-
required:
|
|
7217
|
-
- label
|
|
7218
|
-
- provider
|
|
7219
|
-
responses:
|
|
7220
|
-
'201':
|
|
7221
|
-
description: SCIM connection created
|
|
7222
|
-
content:
|
|
7223
|
-
application/json:
|
|
7224
|
-
schema:
|
|
7225
|
-
$ref: '#/components/schemas/OrganizationSCIMConnectionWithToken'
|
|
7226
|
-
'400':
|
|
7227
|
-
$ref: '#/components/responses/BadRequestError'
|
|
7228
|
-
'404':
|
|
7229
|
-
$ref: '#/components/responses/NotFoundError'
|
|
7230
|
-
/orgs/{organizationId}/scim/connections/{scimConnectionId}:
|
|
7231
|
-
get:
|
|
7232
|
-
operationId: getOrganizationSCIMConnection
|
|
7233
|
-
summary: Get a SCIM connection by its ID
|
|
7234
|
-
tags:
|
|
7235
|
-
- scim
|
|
7236
|
-
security:
|
|
7237
|
-
- user-internal: []
|
|
7238
|
-
parameters:
|
|
7239
|
-
- $ref: '#/components/parameters/organizationId'
|
|
7240
|
-
- $ref: '#/components/parameters/scimConnectionId'
|
|
7241
|
-
responses:
|
|
7242
|
-
'200':
|
|
7243
|
-
description: OK
|
|
7244
|
-
content:
|
|
7245
|
-
application/json:
|
|
7246
|
-
schema:
|
|
7247
|
-
$ref: '#/components/schemas/OrganizationSCIMConnection'
|
|
7248
|
-
'404':
|
|
7249
|
-
$ref: '#/components/responses/NotFoundError'
|
|
7250
|
-
patch:
|
|
7251
|
-
operationId: updateOrganizationSCIMConnection
|
|
7252
|
-
summary: Update a SCIM connection
|
|
7253
|
-
tags:
|
|
7254
|
-
- scim
|
|
7255
|
-
security:
|
|
7256
|
-
- user-internal: []
|
|
7257
|
-
parameters:
|
|
7258
|
-
- $ref: '#/components/parameters/organizationId'
|
|
7259
|
-
- $ref: '#/components/parameters/scimConnectionId'
|
|
7260
|
-
requestBody:
|
|
7261
|
-
required: true
|
|
7262
|
-
content:
|
|
7263
|
-
application/json:
|
|
7264
|
-
schema:
|
|
7265
|
-
type: object
|
|
7266
|
-
properties:
|
|
7267
|
-
label:
|
|
7268
|
-
$ref: '#/components/schemas/SCIMConnectionLabel'
|
|
7269
|
-
required:
|
|
7270
|
-
- label
|
|
7271
|
-
responses:
|
|
7272
|
-
'200':
|
|
7273
|
-
description: SCIM connection updated
|
|
7274
|
-
content:
|
|
7275
|
-
application/json:
|
|
7276
|
-
schema:
|
|
7277
|
-
$ref: '#/components/schemas/OrganizationSCIMConnection'
|
|
7278
|
-
'400':
|
|
7279
|
-
$ref: '#/components/responses/BadRequestError'
|
|
7280
|
-
'404':
|
|
7281
|
-
$ref: '#/components/responses/NotFoundError'
|
|
7282
|
-
delete:
|
|
7283
|
-
operationId: deleteOrganizationSCIMConnection
|
|
7284
|
-
summary: Delete a SCIM connection
|
|
7285
|
-
description: |
|
|
7286
|
-
Deletes a SCIM connection. Its token stops working immediately.
|
|
7287
|
-
tags:
|
|
7288
|
-
- scim
|
|
7289
|
-
security:
|
|
7290
|
-
- user-internal: []
|
|
7291
|
-
parameters:
|
|
7292
|
-
- $ref: '#/components/parameters/organizationId'
|
|
7293
|
-
- $ref: '#/components/parameters/scimConnectionId'
|
|
7294
|
-
responses:
|
|
7295
|
-
'204':
|
|
7296
|
-
description: SCIM connection not found
|
|
7297
|
-
'205':
|
|
7298
|
-
description: SCIM connection deleted
|
|
7299
|
-
'404':
|
|
7300
|
-
$ref: '#/components/responses/NotFoundError'
|
|
7301
|
-
/orgs/{organizationId}/scim/connections/{scimConnectionId}/token:
|
|
7302
|
-
post:
|
|
7303
|
-
operationId: rotateOrganizationSCIMConnectionToken
|
|
7304
|
-
summary: Rotate the token of a SCIM connection
|
|
7305
|
-
description: |
|
|
7306
|
-
Replaces the token of a SCIM connection. The previous token stops working immediately, and the new token is only returned in this response.
|
|
7307
|
-
tags:
|
|
7308
|
-
- scim
|
|
7309
|
-
security:
|
|
7310
|
-
- user-internal: []
|
|
7311
|
-
parameters:
|
|
7312
|
-
- $ref: '#/components/parameters/organizationId'
|
|
7313
|
-
- $ref: '#/components/parameters/scimConnectionId'
|
|
7314
|
-
responses:
|
|
7315
|
-
'200':
|
|
7316
|
-
description: Token rotated
|
|
7317
|
-
content:
|
|
7318
|
-
application/json:
|
|
7319
|
-
schema:
|
|
7320
|
-
$ref: '#/components/schemas/OrganizationSCIMConnectionWithToken'
|
|
7321
|
-
'404':
|
|
7322
|
-
$ref: '#/components/responses/NotFoundError'
|
|
7323
7252
|
/orgs/{organizationId}/sso:
|
|
7324
7253
|
get:
|
|
7325
7254
|
operationId: listSSOProviderLoginsInOrganization
|
|
@@ -12557,11 +12486,42 @@ paths:
|
|
|
12557
12486
|
description: Site space customization removed
|
|
12558
12487
|
'400':
|
|
12559
12488
|
$ref: '#/components/responses/BadRequestError'
|
|
12489
|
+
/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/changes:
|
|
12490
|
+
get:
|
|
12491
|
+
operationId: getSiteRevisionChanges
|
|
12492
|
+
summary: Get the changes of a site revision
|
|
12493
|
+
description: Returns the changes between two site revisions.
|
|
12494
|
+
tags:
|
|
12495
|
+
- sites
|
|
12496
|
+
security:
|
|
12497
|
+
- user: []
|
|
12498
|
+
- oauth:
|
|
12499
|
+
- site:read
|
|
12500
|
+
- space:read
|
|
12501
|
+
parameters:
|
|
12502
|
+
- $ref: '#/components/parameters/organizationId'
|
|
12503
|
+
- $ref: '#/components/parameters/siteId'
|
|
12504
|
+
- $ref: '#/components/parameters/siteRevisionId'
|
|
12505
|
+
- name: base
|
|
12506
|
+
in: query
|
|
12507
|
+
description: Site revision to compare against. Defaults to the live site.
|
|
12508
|
+
schema:
|
|
12509
|
+
type: string
|
|
12510
|
+
responses:
|
|
12511
|
+
'200':
|
|
12512
|
+
description: OK
|
|
12513
|
+
content:
|
|
12514
|
+
application/json:
|
|
12515
|
+
schema:
|
|
12516
|
+
$ref: '#/components/schemas/SiteRevisionChanges'
|
|
12517
|
+
'404':
|
|
12518
|
+
description: No matching site revision found
|
|
12519
|
+
$ref: '#/components/responses/NotFoundError'
|
|
12560
12520
|
/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/content/{spaceId}:
|
|
12561
12521
|
get:
|
|
12562
12522
|
operationId: getRevisionInSiteRevision
|
|
12563
12523
|
summary: Get the content revision of a space at a site revision
|
|
12564
|
-
description:
|
|
12524
|
+
description: Returns the revision of a space at a site revision.
|
|
12565
12525
|
tags:
|
|
12566
12526
|
- sites
|
|
12567
12527
|
security:
|
|
@@ -12587,7 +12547,7 @@ paths:
|
|
|
12587
12547
|
get:
|
|
12588
12548
|
operationId: getPageInSiteRevision
|
|
12589
12549
|
summary: Get a page of a space at a site revision
|
|
12590
|
-
description: Returns a page
|
|
12550
|
+
description: Returns a page of a space at a site revision.
|
|
12591
12551
|
tags:
|
|
12592
12552
|
- sites
|
|
12593
12553
|
security:
|
|
@@ -12618,7 +12578,7 @@ paths:
|
|
|
12618
12578
|
get:
|
|
12619
12579
|
operationId: listPageMetaLinksInSiteRevision
|
|
12620
12580
|
summary: List the meta links of a page at a site revision
|
|
12621
|
-
description: Returns the meta links of a page
|
|
12581
|
+
description: Returns the meta links of a page at a site revision.
|
|
12622
12582
|
tags:
|
|
12623
12583
|
- sites
|
|
12624
12584
|
security:
|
|
@@ -12643,7 +12603,7 @@ paths:
|
|
|
12643
12603
|
get:
|
|
12644
12604
|
operationId: getPageByPathInSiteRevision
|
|
12645
12605
|
summary: Get a page of a space by its path at a site revision
|
|
12646
|
-
description: Returns
|
|
12606
|
+
description: Returns a page of a space by its path at a site revision.
|
|
12647
12607
|
tags:
|
|
12648
12608
|
- sites
|
|
12649
12609
|
security:
|
|
@@ -12677,7 +12637,7 @@ paths:
|
|
|
12677
12637
|
get:
|
|
12678
12638
|
operationId: getReusableContentDocumentInSiteRevision
|
|
12679
12639
|
summary: Get the document of a reusable content at a site revision
|
|
12680
|
-
description: Returns the document of a reusable content
|
|
12640
|
+
description: Returns the document of a reusable content at a site revision.
|
|
12681
12641
|
tags:
|
|
12682
12642
|
- sites
|
|
12683
12643
|
security:
|
|
@@ -12704,7 +12664,7 @@ paths:
|
|
|
12704
12664
|
get:
|
|
12705
12665
|
operationId: getPageDocumentInSiteRevision
|
|
12706
12666
|
summary: Get the document of a page in a space at a site revision
|
|
12707
|
-
description: Returns the
|
|
12667
|
+
description: Returns the document of a page at a site revision.
|
|
12708
12668
|
tags:
|
|
12709
12669
|
- sites
|
|
12710
12670
|
security:
|
|
@@ -12731,7 +12691,7 @@ paths:
|
|
|
12731
12691
|
get:
|
|
12732
12692
|
operationId: getOpenAPISpecContentInSiteRevision
|
|
12733
12693
|
summary: Get the content of an OpenAPI spec at a site revision
|
|
12734
|
-
description:
|
|
12694
|
+
description: Returns the content of an OpenAPI spec at a site revision.
|
|
12735
12695
|
tags:
|
|
12736
12696
|
- sites
|
|
12737
12697
|
security:
|
|
@@ -13517,7 +13477,7 @@ paths:
|
|
|
13517
13477
|
put:
|
|
13518
13478
|
operationId: bulkUpsertSiteRedirects
|
|
13519
13479
|
summary: Create, update, delete, or publish site redirect rules in bulk
|
|
13520
|
-
description: Processes up to
|
|
13480
|
+
description: Processes up to 2,000 redirect operations in a single request. Each redirect in the array is processed independently and the response includes per-item status. Prefer this over individual create/update calls when managing large sets of redirects.
|
|
13521
13481
|
x-gitbook-mcp: true
|
|
13522
13482
|
tags:
|
|
13523
13483
|
- site-redirects
|
|
@@ -13538,7 +13498,7 @@ paths:
|
|
|
13538
13498
|
redirects:
|
|
13539
13499
|
type: array
|
|
13540
13500
|
minItems: 1
|
|
13541
|
-
maxItems:
|
|
13501
|
+
maxItems: 2000
|
|
13542
13502
|
items:
|
|
13543
13503
|
oneOf:
|
|
13544
13504
|
- type: object
|
|
@@ -13713,7 +13673,7 @@ paths:
|
|
|
13713
13673
|
- $ref: '#/components/parameters/listLimit'
|
|
13714
13674
|
- name: search
|
|
13715
13675
|
in: query
|
|
13716
|
-
description: Search for a redirect by path
|
|
13676
|
+
description: Search for a redirect by path. Values starting with "/" match by prefix; other values match any substring.
|
|
13717
13677
|
schema:
|
|
13718
13678
|
type: string
|
|
13719
13679
|
- name: draft
|
|
@@ -15501,13 +15461,6 @@ components:
|
|
|
15501
15461
|
description: Email domain
|
|
15502
15462
|
schema:
|
|
15503
15463
|
type: string
|
|
15504
|
-
scimConnectionId:
|
|
15505
|
-
name: scimConnectionId
|
|
15506
|
-
in: path
|
|
15507
|
-
required: true
|
|
15508
|
-
description: The unique id of the SCIM connection
|
|
15509
|
-
schema:
|
|
15510
|
-
type: string
|
|
15511
15464
|
openapiSpecSlug:
|
|
15512
15465
|
name: specSlug
|
|
15513
15466
|
in: path
|
|
@@ -17863,6 +17816,7 @@ components:
|
|
|
17863
17816
|
- heading-1
|
|
17864
17817
|
- heading-2
|
|
17865
17818
|
- heading-3
|
|
17819
|
+
- heading-4
|
|
17866
17820
|
key:
|
|
17867
17821
|
type: string
|
|
17868
17822
|
nodes:
|
|
@@ -21065,6 +21019,18 @@ components:
|
|
|
21065
21019
|
- edits
|
|
21066
21020
|
required:
|
|
21067
21021
|
- type
|
|
21022
|
+
ChangeRequestReference:
|
|
21023
|
+
type: object
|
|
21024
|
+
required:
|
|
21025
|
+
- id
|
|
21026
|
+
- number
|
|
21027
|
+
properties:
|
|
21028
|
+
id:
|
|
21029
|
+
type: string
|
|
21030
|
+
description: ID of the change request
|
|
21031
|
+
number:
|
|
21032
|
+
type: number
|
|
21033
|
+
description: Number of the change request within its space
|
|
21068
21034
|
ChangeRequestStatus:
|
|
21069
21035
|
type: string
|
|
21070
21036
|
enum:
|
|
@@ -21237,6 +21203,12 @@ components:
|
|
|
21237
21203
|
number:
|
|
21238
21204
|
type: number
|
|
21239
21205
|
description: Incremental identifier of the change request
|
|
21206
|
+
reverts:
|
|
21207
|
+
$ref: '#/components/schemas/ChangeRequestReference'
|
|
21208
|
+
description: The merged change request this change request reverts.
|
|
21209
|
+
revertedBy:
|
|
21210
|
+
$ref: '#/components/schemas/ChangeRequestReference'
|
|
21211
|
+
description: The change request created to revert this merge.
|
|
21240
21212
|
status:
|
|
21241
21213
|
$ref: '#/components/schemas/ChangeRequestStatus'
|
|
21242
21214
|
subject:
|
|
@@ -24455,6 +24427,12 @@ components:
|
|
|
24455
24427
|
$ref: '#/components/schemas/User'
|
|
24456
24428
|
disabled:
|
|
24457
24429
|
$ref: '#/components/schemas/MemberDisabled'
|
|
24430
|
+
directoryManagedBy:
|
|
24431
|
+
type: string
|
|
24432
|
+
description: Label of the identity provider connection that manages this membership.
|
|
24433
|
+
directoryDisplayName:
|
|
24434
|
+
type: string
|
|
24435
|
+
description: Display name supplied by the identity provider for this organization membership. The GitBook account name is available in user.displayName.
|
|
24458
24436
|
joinedAt:
|
|
24459
24437
|
description: Date at which the user joined the organization.
|
|
24460
24438
|
$ref: '#/components/schemas/Timestamp'
|
|
@@ -28027,6 +28005,18 @@ components:
|
|
|
28027
28005
|
type: string
|
|
28028
28006
|
minLength: 1
|
|
28029
28007
|
maxLength: 255
|
|
28008
|
+
IdPConnectionMembersAction:
|
|
28009
|
+
type: string
|
|
28010
|
+
description: |
|
|
28011
|
+
What happens to the members that SCIM provisioned or linked through the connection.
|
|
28012
|
+
- `keep`: They keep their access. Those the identity provider deactivated become disabled by an admin.
|
|
28013
|
+
- `disable`: They are disabled by an admin, and keep their role.
|
|
28014
|
+
- `remove`: They are removed from the organization.
|
|
28015
|
+
The admin who deletes the connection is never disabled or removed.
|
|
28016
|
+
enum:
|
|
28017
|
+
- keep
|
|
28018
|
+
- disable
|
|
28019
|
+
- remove
|
|
28030
28020
|
OrganizationIdPConnectionWithToken:
|
|
28031
28021
|
description: |
|
|
28032
28022
|
An identity provider connection, with the SCIM token the request created. The token can't be retrieved again.
|
|
@@ -29362,77 +29352,6 @@ components:
|
|
|
29362
29352
|
- defaultRole
|
|
29363
29353
|
- createdAt
|
|
29364
29354
|
- urls
|
|
29365
|
-
SCIMConnectionLabel:
|
|
29366
|
-
type: string
|
|
29367
|
-
description: Name of the SCIM connection, shown to organization admins.
|
|
29368
|
-
minLength: 1
|
|
29369
|
-
maxLength: 100
|
|
29370
|
-
OrganizationSCIMConnection:
|
|
29371
|
-
type: object
|
|
29372
|
-
description: A SCIM connection through which an identity provider provisions organization members.
|
|
29373
|
-
properties:
|
|
29374
|
-
object:
|
|
29375
|
-
type: string
|
|
29376
|
-
description: The object type, which is always "scim-connection"
|
|
29377
|
-
enum:
|
|
29378
|
-
- scim-connection
|
|
29379
|
-
id:
|
|
29380
|
-
type: string
|
|
29381
|
-
description: Unique identifier of the SCIM connection
|
|
29382
|
-
label:
|
|
29383
|
-
$ref: '#/components/schemas/SCIMConnectionLabel'
|
|
29384
|
-
provider:
|
|
29385
|
-
$ref: '#/components/schemas/IdPConnectionProvider'
|
|
29386
|
-
baseURL:
|
|
29387
|
-
description: SCIM base URL to configure in the identity provider
|
|
29388
|
-
$ref: '#/components/schemas/URL'
|
|
29389
|
-
tokenHint:
|
|
29390
|
-
type: string
|
|
29391
|
-
description: Last characters of the current token, to identify it
|
|
29392
|
-
tokenCreatedAt:
|
|
29393
|
-
description: Date the current token was created
|
|
29394
|
-
$ref: '#/components/schemas/Timestamp'
|
|
29395
|
-
lastUsedAt:
|
|
29396
|
-
description: Date of the last request authenticated with the token
|
|
29397
|
-
$ref: '#/components/schemas/Timestamp'
|
|
29398
|
-
createdAt:
|
|
29399
|
-
description: Date of creation
|
|
29400
|
-
$ref: '#/components/schemas/Timestamp'
|
|
29401
|
-
updatedAt:
|
|
29402
|
-
description: Date of the last update
|
|
29403
|
-
$ref: '#/components/schemas/Timestamp'
|
|
29404
|
-
urls:
|
|
29405
|
-
type: object
|
|
29406
|
-
description: URLs associated with the object
|
|
29407
|
-
properties:
|
|
29408
|
-
location:
|
|
29409
|
-
description: URL of the SCIM connection in the API
|
|
29410
|
-
$ref: '#/components/schemas/URL'
|
|
29411
|
-
required:
|
|
29412
|
-
- location
|
|
29413
|
-
required:
|
|
29414
|
-
- object
|
|
29415
|
-
- id
|
|
29416
|
-
- label
|
|
29417
|
-
- provider
|
|
29418
|
-
- baseURL
|
|
29419
|
-
- tokenHint
|
|
29420
|
-
- tokenCreatedAt
|
|
29421
|
-
- createdAt
|
|
29422
|
-
- updatedAt
|
|
29423
|
-
- urls
|
|
29424
|
-
OrganizationSCIMConnectionWithToken:
|
|
29425
|
-
description: A SCIM connection with its token, returned only when the token is created.
|
|
29426
|
-
type: object
|
|
29427
|
-
properties:
|
|
29428
|
-
connection:
|
|
29429
|
-
$ref: '#/components/schemas/OrganizationSCIMConnection'
|
|
29430
|
-
token:
|
|
29431
|
-
type: string
|
|
29432
|
-
description: Bearer token to configure in the identity provider. It can't be retrieved again.
|
|
29433
|
-
required:
|
|
29434
|
-
- connection
|
|
29435
|
-
- token
|
|
29436
29355
|
OrganizationSSOProviderLogin:
|
|
29437
29356
|
type: object
|
|
29438
29357
|
properties:
|
|
@@ -34755,6 +34674,349 @@ components:
|
|
|
34755
34674
|
description: Indicates whether the site customization settings have been overridden.
|
|
34756
34675
|
required:
|
|
34757
34676
|
- hasOverrides
|
|
34677
|
+
SiteRevisionNodeContentSpace:
|
|
34678
|
+
type: object
|
|
34679
|
+
title: Site revision node content from a space
|
|
34680
|
+
description: A space, at a revision.
|
|
34681
|
+
properties:
|
|
34682
|
+
type:
|
|
34683
|
+
type: string
|
|
34684
|
+
enum:
|
|
34685
|
+
- space
|
|
34686
|
+
space:
|
|
34687
|
+
type: string
|
|
34688
|
+
description: ID of the space.
|
|
34689
|
+
revision:
|
|
34690
|
+
type: string
|
|
34691
|
+
description: ID of the revision.
|
|
34692
|
+
required:
|
|
34693
|
+
- type
|
|
34694
|
+
- space
|
|
34695
|
+
- revision
|
|
34696
|
+
SiteRevisionNodeContent:
|
|
34697
|
+
title: Site revision node content
|
|
34698
|
+
description: Content a space node shows.
|
|
34699
|
+
oneOf:
|
|
34700
|
+
- $ref: '#/components/schemas/SiteRevisionNodeContentSpace'
|
|
34701
|
+
discriminator:
|
|
34702
|
+
propertyName: type
|
|
34703
|
+
mapping:
|
|
34704
|
+
space: '#/components/schemas/SiteRevisionNodeContentSpace'
|
|
34705
|
+
SiteRevisionChangePageCreated:
|
|
34706
|
+
type: object
|
|
34707
|
+
properties:
|
|
34708
|
+
type:
|
|
34709
|
+
type: string
|
|
34710
|
+
enum:
|
|
34711
|
+
- page_created
|
|
34712
|
+
page:
|
|
34713
|
+
type: string
|
|
34714
|
+
description: ID of the page.
|
|
34715
|
+
required:
|
|
34716
|
+
- type
|
|
34717
|
+
- page
|
|
34718
|
+
SiteRevisionChangePageEdited:
|
|
34719
|
+
type: object
|
|
34720
|
+
properties:
|
|
34721
|
+
type:
|
|
34722
|
+
type: string
|
|
34723
|
+
enum:
|
|
34724
|
+
- page_edited
|
|
34725
|
+
page:
|
|
34726
|
+
type: string
|
|
34727
|
+
description: ID of the page.
|
|
34728
|
+
attributes:
|
|
34729
|
+
description: Attributes of the page that changed.
|
|
34730
|
+
anyOf:
|
|
34731
|
+
- type: object
|
|
34732
|
+
description: Attributes every kind of page has.
|
|
34733
|
+
minProperties: 1
|
|
34734
|
+
properties:
|
|
34735
|
+
title:
|
|
34736
|
+
$ref: '#/components/schemas/ChangeAttributeString'
|
|
34737
|
+
emoji:
|
|
34738
|
+
$ref: '#/components/schemas/ChangeAttributeString'
|
|
34739
|
+
- oneOf:
|
|
34740
|
+
- $ref: '#/components/schemas/RevisionPageDocumentChangeAttributes'
|
|
34741
|
+
- $ref: '#/components/schemas/RevisionPageGroupChangeAttributes'
|
|
34742
|
+
- $ref: '#/components/schemas/RevisionPageLinkChangeAttributes'
|
|
34743
|
+
required:
|
|
34744
|
+
- type
|
|
34745
|
+
- page
|
|
34746
|
+
- attributes
|
|
34747
|
+
SiteRevisionChangePageDeleted:
|
|
34748
|
+
type: object
|
|
34749
|
+
properties:
|
|
34750
|
+
type:
|
|
34751
|
+
type: string
|
|
34752
|
+
enum:
|
|
34753
|
+
- page_deleted
|
|
34754
|
+
page:
|
|
34755
|
+
type: string
|
|
34756
|
+
description: ID of the page.
|
|
34757
|
+
required:
|
|
34758
|
+
- type
|
|
34759
|
+
- page
|
|
34760
|
+
SiteRevisionChangePageMoved:
|
|
34761
|
+
type: object
|
|
34762
|
+
properties:
|
|
34763
|
+
type:
|
|
34764
|
+
type: string
|
|
34765
|
+
enum:
|
|
34766
|
+
- page_moved
|
|
34767
|
+
page:
|
|
34768
|
+
type: string
|
|
34769
|
+
description: ID of the page.
|
|
34770
|
+
parent:
|
|
34771
|
+
type: object
|
|
34772
|
+
description: ID of the page it is in. Null at the top of the node.
|
|
34773
|
+
properties:
|
|
34774
|
+
before:
|
|
34775
|
+
oneOf:
|
|
34776
|
+
- type: string
|
|
34777
|
+
- type: 'null'
|
|
34778
|
+
after:
|
|
34779
|
+
oneOf:
|
|
34780
|
+
- type: string
|
|
34781
|
+
- type: 'null'
|
|
34782
|
+
required:
|
|
34783
|
+
- before
|
|
34784
|
+
- after
|
|
34785
|
+
required:
|
|
34786
|
+
- type
|
|
34787
|
+
- page
|
|
34788
|
+
- parent
|
|
34789
|
+
SiteRevisionContentChange:
|
|
34790
|
+
title: Site revision content change
|
|
34791
|
+
description: A change of a page or of the library of a space.
|
|
34792
|
+
oneOf:
|
|
34793
|
+
- $ref: '#/components/schemas/SiteRevisionChangePageCreated'
|
|
34794
|
+
- $ref: '#/components/schemas/SiteRevisionChangePageEdited'
|
|
34795
|
+
- $ref: '#/components/schemas/SiteRevisionChangePageDeleted'
|
|
34796
|
+
- $ref: '#/components/schemas/SiteRevisionChangePageMoved'
|
|
34797
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeFileCreated'
|
|
34798
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeFileEdited'
|
|
34799
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeFileDeleted'
|
|
34800
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeVariablesEdited'
|
|
34801
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeReusableContentCreated'
|
|
34802
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeReusableContentDeleted'
|
|
34803
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeReusableContentEdited'
|
|
34804
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeTagCreated'
|
|
34805
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeTagDeleted'
|
|
34806
|
+
- $ref: '#/components/schemas/RevisionSemanticChangeTagEdited'
|
|
34807
|
+
SiteRevisionChangeSpaceContentEdited:
|
|
34808
|
+
type: object
|
|
34809
|
+
description: The content of the space a node shows changed. `before` and `after` are always the same space; a node that shows another space is a different change. A space shown by several nodes has this change, with the same page changes, under each of them. Pages the changes refer to are listed under the node in `includes.pages`.
|
|
34810
|
+
properties:
|
|
34811
|
+
type:
|
|
34812
|
+
type: string
|
|
34813
|
+
enum:
|
|
34814
|
+
- space_content_edited
|
|
34815
|
+
node:
|
|
34816
|
+
type: string
|
|
34817
|
+
description: Key of the space node.
|
|
34818
|
+
content:
|
|
34819
|
+
type: object
|
|
34820
|
+
properties:
|
|
34821
|
+
before:
|
|
34822
|
+
description: Content in the base. Absent when the base has none, in which case every page is listed as created.
|
|
34823
|
+
$ref: '#/components/schemas/SiteRevisionNodeContent'
|
|
34824
|
+
after:
|
|
34825
|
+
description: Content in the site revision.
|
|
34826
|
+
$ref: '#/components/schemas/SiteRevisionNodeContent'
|
|
34827
|
+
required:
|
|
34828
|
+
- after
|
|
34829
|
+
changes:
|
|
34830
|
+
type: array
|
|
34831
|
+
description: Changes of the content's pages and library.
|
|
34832
|
+
items:
|
|
34833
|
+
$ref: '#/components/schemas/SiteRevisionContentChange'
|
|
34834
|
+
required:
|
|
34835
|
+
- type
|
|
34836
|
+
- node
|
|
34837
|
+
- content
|
|
34838
|
+
- changes
|
|
34839
|
+
SiteRevisionStructureChange:
|
|
34840
|
+
title: Site revision structure change
|
|
34841
|
+
description: A change to a node of the site's structure.
|
|
34842
|
+
oneOf:
|
|
34843
|
+
- $ref: '#/components/schemas/SiteRevisionChangeSpaceContentEdited'
|
|
34844
|
+
ChangedOpenAPISpec:
|
|
34845
|
+
type: object
|
|
34846
|
+
description: An OpenAPI spec of the organization.
|
|
34847
|
+
properties:
|
|
34848
|
+
id:
|
|
34849
|
+
type: string
|
|
34850
|
+
description: ID of the spec.
|
|
34851
|
+
slug:
|
|
34852
|
+
type: string
|
|
34853
|
+
description: Slug of the spec.
|
|
34854
|
+
required:
|
|
34855
|
+
- id
|
|
34856
|
+
- slug
|
|
34857
|
+
SiteRevisionChangeOpenAPISpecEdited:
|
|
34858
|
+
type: object
|
|
34859
|
+
description: An OpenAPI spec is at another version.
|
|
34860
|
+
properties:
|
|
34861
|
+
type:
|
|
34862
|
+
type: string
|
|
34863
|
+
enum:
|
|
34864
|
+
- openapi_spec_edited
|
|
34865
|
+
spec:
|
|
34866
|
+
$ref: '#/components/schemas/ChangedOpenAPISpec'
|
|
34867
|
+
version:
|
|
34868
|
+
type: object
|
|
34869
|
+
description: Version of the spec.
|
|
34870
|
+
properties:
|
|
34871
|
+
before:
|
|
34872
|
+
type: string
|
|
34873
|
+
description: Version in the base. Absent when the base has none.
|
|
34874
|
+
after:
|
|
34875
|
+
type: string
|
|
34876
|
+
description: Version in the site revision.
|
|
34877
|
+
required:
|
|
34878
|
+
- after
|
|
34879
|
+
required:
|
|
34880
|
+
- type
|
|
34881
|
+
- spec
|
|
34882
|
+
- version
|
|
34883
|
+
SiteRevisionOpenAPIChange:
|
|
34884
|
+
title: Site revision OpenAPI change
|
|
34885
|
+
description: A change to an OpenAPI spec.
|
|
34886
|
+
oneOf:
|
|
34887
|
+
- $ref: '#/components/schemas/SiteRevisionChangeOpenAPISpecEdited'
|
|
34888
|
+
SiteRevisionNodeType:
|
|
34889
|
+
type: string
|
|
34890
|
+
description: Type of a node of the site's structure.
|
|
34891
|
+
enum:
|
|
34892
|
+
- section-group
|
|
34893
|
+
- section
|
|
34894
|
+
- space
|
|
34895
|
+
SiteRevisionNode:
|
|
34896
|
+
type: object
|
|
34897
|
+
description: 'A node of the site''s structure: a section group, a section or a space. A space node is a place where the site shows content; the same content can be shown by several of them. Fields hold the node as it is in the site revision, whether or not they changed; a change to one is listed as its own change.'
|
|
34898
|
+
properties:
|
|
34899
|
+
key:
|
|
34900
|
+
type: string
|
|
34901
|
+
description: Key of the node, unique across the nodes of the site. It is the node's key in the site's Git Sync configuration, or the key exporting the site would store for it when it has none yet.
|
|
34902
|
+
type:
|
|
34903
|
+
$ref: '#/components/schemas/SiteRevisionNodeType'
|
|
34904
|
+
parent:
|
|
34905
|
+
description: Key of the node it is in. Null for a node at the top of the site.
|
|
34906
|
+
oneOf:
|
|
34907
|
+
- type: string
|
|
34908
|
+
- type: 'null'
|
|
34909
|
+
title:
|
|
34910
|
+
type: string
|
|
34911
|
+
path:
|
|
34912
|
+
type: string
|
|
34913
|
+
description: Path of a section or space in the site's URLs.
|
|
34914
|
+
icon:
|
|
34915
|
+
description: Icon of a section or section group, if it has one.
|
|
34916
|
+
$ref: '#/components/schemas/Icon'
|
|
34917
|
+
emoji:
|
|
34918
|
+
description: Emoji of the space a space node shows. It'll match the emoji shown in the GitBook app.
|
|
34919
|
+
$ref: '#/components/schemas/Emoji'
|
|
34920
|
+
iconURL:
|
|
34921
|
+
description: URL of the icon of the space a space node shows, if defined.
|
|
34922
|
+
$ref: '#/components/schemas/URL'
|
|
34923
|
+
draft:
|
|
34924
|
+
type: boolean
|
|
34925
|
+
description: Whether the node is a draft, not shown on the live site.
|
|
34926
|
+
hidden:
|
|
34927
|
+
type: boolean
|
|
34928
|
+
description: 'Whether a space node is hidden from the site''s navigation. Only on space nodes: a section is hidden when all of its space nodes are.'
|
|
34929
|
+
content:
|
|
34930
|
+
description: Content a space node shows.
|
|
34931
|
+
$ref: '#/components/schemas/SiteRevisionNodeContent'
|
|
34932
|
+
required:
|
|
34933
|
+
- key
|
|
34934
|
+
- type
|
|
34935
|
+
- parent
|
|
34936
|
+
- title
|
|
34937
|
+
- draft
|
|
34938
|
+
SiteRevisionPage:
|
|
34939
|
+
type: object
|
|
34940
|
+
description: A page of the content a space node shows. Fields hold the page as it is in the site revision, or in the base for a page deleted since.
|
|
34941
|
+
properties:
|
|
34942
|
+
node:
|
|
34943
|
+
type: string
|
|
34944
|
+
description: Key of the space node showing the page.
|
|
34945
|
+
id:
|
|
34946
|
+
type: string
|
|
34947
|
+
description: ID of the page, unique within the node.
|
|
34948
|
+
type:
|
|
34949
|
+
$ref: '#/components/schemas/RevisionPageType'
|
|
34950
|
+
title:
|
|
34951
|
+
type: string
|
|
34952
|
+
path:
|
|
34953
|
+
type: string
|
|
34954
|
+
description: Path of the page within the node. Absent for a link.
|
|
34955
|
+
parent:
|
|
34956
|
+
description: ID of the page it is in. Null for a page at the top of the node.
|
|
34957
|
+
oneOf:
|
|
34958
|
+
- type: string
|
|
34959
|
+
- type: 'null'
|
|
34960
|
+
required:
|
|
34961
|
+
- node
|
|
34962
|
+
- id
|
|
34963
|
+
- type
|
|
34964
|
+
- title
|
|
34965
|
+
- parent
|
|
34966
|
+
SiteRevisionChanges:
|
|
34967
|
+
title: Site revision changes
|
|
34968
|
+
description: Changes between a site revision and its base. A space or spec the site revision doesn't pin is read live, so it is never a change. Changes refer to nodes and pages, which are listed once in `includes`.
|
|
34969
|
+
type: object
|
|
34970
|
+
properties:
|
|
34971
|
+
head:
|
|
34972
|
+
type: string
|
|
34973
|
+
description: Site revision whose changes are listed.
|
|
34974
|
+
base:
|
|
34975
|
+
type: string
|
|
34976
|
+
description: Site revision compared against. Absent when compared against the live site.
|
|
34977
|
+
structure:
|
|
34978
|
+
type: object
|
|
34979
|
+
description: Changes to the site's structure and the content it shows, in site order.
|
|
34980
|
+
properties:
|
|
34981
|
+
changes:
|
|
34982
|
+
type: array
|
|
34983
|
+
description: Changes the caller can view.
|
|
34984
|
+
items:
|
|
34985
|
+
$ref: '#/components/schemas/SiteRevisionStructureChange'
|
|
34986
|
+
required:
|
|
34987
|
+
- changes
|
|
34988
|
+
openapi:
|
|
34989
|
+
type: object
|
|
34990
|
+
description: Changes to OpenAPI specs. Empty when the caller can't read the organization's specs.
|
|
34991
|
+
properties:
|
|
34992
|
+
changes:
|
|
34993
|
+
type: array
|
|
34994
|
+
items:
|
|
34995
|
+
$ref: '#/components/schemas/SiteRevisionOpenAPIChange'
|
|
34996
|
+
required:
|
|
34997
|
+
- changes
|
|
34998
|
+
includes:
|
|
34999
|
+
type: object
|
|
35000
|
+
description: What the changes refer to, with their ancestors, each listed once. Every entry comes after its parent, so a tree can be built in one pass.
|
|
35001
|
+
properties:
|
|
35002
|
+
structure:
|
|
35003
|
+
type: array
|
|
35004
|
+
description: Nodes of the site's structure the changes refer to, and their ancestors, as a flat list in site order. Nodes are linked to their parent by `parent`.
|
|
35005
|
+
items:
|
|
35006
|
+
$ref: '#/components/schemas/SiteRevisionNode'
|
|
35007
|
+
pages:
|
|
35008
|
+
type: array
|
|
35009
|
+
description: Pages the changes refer to, and their ancestors, under the space node showing them. Pages come in the order of the node's content; a page deleted since the base comes after those of the site revision.
|
|
35010
|
+
items:
|
|
35011
|
+
$ref: '#/components/schemas/SiteRevisionPage'
|
|
35012
|
+
required:
|
|
35013
|
+
- structure
|
|
35014
|
+
- pages
|
|
35015
|
+
required:
|
|
35016
|
+
- head
|
|
35017
|
+
- structure
|
|
35018
|
+
- openapi
|
|
35019
|
+
- includes
|
|
34758
35020
|
SiteSectionGroupPointer:
|
|
34759
35021
|
type: object
|
|
34760
35022
|
properties:
|
|
@@ -38059,6 +38321,7 @@ components:
|
|
|
38059
38321
|
enum:
|
|
38060
38322
|
- cpu
|
|
38061
38323
|
- allocations
|
|
38324
|
+
- heap-snapshot
|
|
38062
38325
|
description: The profiler selected for this session. Earlier sessions without this field use CPU profiling.
|
|
38063
38326
|
releaseVersion:
|
|
38064
38327
|
type: string
|
|
@@ -39730,6 +39993,28 @@ components:
|
|
|
39730
39993
|
languages at the same time.
|
|
39731
39994
|
items:
|
|
39732
39995
|
$ref: '#/components/schemas/GitSyncSiteStructureNode'
|
|
39996
|
+
GitSyncSiteOpenAPISpecPath:
|
|
39997
|
+
type: string
|
|
39998
|
+
description: |
|
|
39999
|
+
Path of a YAML or JSON file, relative to the directory holding
|
|
40000
|
+
`gitbook-docs.yaml`. The path must stay inside that directory.
|
|
40001
|
+
minLength: 1
|
|
40002
|
+
maxLength: 1024
|
|
40003
|
+
pattern: \.(ya?ml|json)$
|
|
40004
|
+
GitSyncSiteOpenAPISpec:
|
|
40005
|
+
description: |
|
|
40006
|
+
An OpenAPI specification imported from the repository. Either the path of
|
|
40007
|
+
the specification file, or an object with the file as `source`.
|
|
40008
|
+
oneOf:
|
|
40009
|
+
- $ref: '#/components/schemas/GitSyncSiteOpenAPISpecPath'
|
|
40010
|
+
- type: object
|
|
40011
|
+
additionalProperties: false
|
|
40012
|
+
properties:
|
|
40013
|
+
source:
|
|
40014
|
+
$ref: '#/components/schemas/GitSyncSiteOpenAPISpecPath'
|
|
40015
|
+
description: Path of the specification file.
|
|
40016
|
+
required:
|
|
40017
|
+
- source
|
|
39733
40018
|
GitSyncSiteConfig:
|
|
39734
40019
|
type: object
|
|
39735
40020
|
description: |
|
|
@@ -39765,8 +40050,47 @@ components:
|
|
|
39765
40050
|
required:
|
|
39766
40051
|
- title
|
|
39767
40052
|
- structure
|
|
40053
|
+
openapi:
|
|
40054
|
+
type: object
|
|
40055
|
+
description: |
|
|
40056
|
+
OpenAPI specifications imported from the repository, keyed by the slug
|
|
40057
|
+
of the organization's specification they update. Each value is either
|
|
40058
|
+
the path of the specification file, or an object with the file as
|
|
40059
|
+
`source`:
|
|
40060
|
+
|
|
40061
|
+
```yaml
|
|
40062
|
+
openapi:
|
|
40063
|
+
petstore: ./petstore.yaml
|
|
40064
|
+
billing:
|
|
40065
|
+
source: ./billing.yaml
|
|
40066
|
+
```
|
|
40067
|
+
|
|
40068
|
+
This is in early rollout: it may not take effect for your organization
|
|
40069
|
+
yet, in which case listed specifications are not imported.
|
|
40070
|
+
|
|
40071
|
+
Each commit that changes a listed file updates the specification, which
|
|
40072
|
+
is created private if the organization has none with that slug. Changes
|
|
40073
|
+
made in GitBook are not written back to the repository: the next commit
|
|
40074
|
+
to the file replaces them. Removing an entry leaves the specification in
|
|
40075
|
+
GitBook.
|
|
40076
|
+
maxProperties: 50
|
|
40077
|
+
propertyNames:
|
|
40078
|
+
$ref: '#/components/schemas/OpenAPISpecSlug'
|
|
40079
|
+
additionalProperties:
|
|
40080
|
+
$ref: '#/components/schemas/GitSyncSiteOpenAPISpec'
|
|
39768
40081
|
required:
|
|
39769
40082
|
- site
|
|
40083
|
+
SCIMConnectionLabel:
|
|
40084
|
+
type: string
|
|
40085
|
+
description: Name of the SCIM connection, shown to organization admins.
|
|
40086
|
+
minLength: 1
|
|
40087
|
+
maxLength: 100
|
|
40088
|
+
SiteRevisionChangeType:
|
|
40089
|
+
type: string
|
|
40090
|
+
description: The type of change between two site revisions.
|
|
40091
|
+
enum:
|
|
40092
|
+
- space_content_edited
|
|
40093
|
+
- openapi_spec_edited
|
|
39770
40094
|
IntegrationEnvironmentSpaceInstallation:
|
|
39771
40095
|
allOf:
|
|
39772
40096
|
- $ref: '#/components/schemas/IntegrationContentInstallationBase'
|
|
@@ -41100,19 +41424,6 @@ components:
|
|
|
41100
41424
|
required:
|
|
41101
41425
|
- channel
|
|
41102
41426
|
- organization
|
|
41103
|
-
APIChannelOrganizationSCIMConnections:
|
|
41104
|
-
type: object
|
|
41105
|
-
description: Subscription channel for changes in the SCIM connections of an organization.
|
|
41106
|
-
properties:
|
|
41107
|
-
channel:
|
|
41108
|
-
type: string
|
|
41109
|
-
enum:
|
|
41110
|
-
- organization-scim-connections
|
|
41111
|
-
organization:
|
|
41112
|
-
type: string
|
|
41113
|
-
required:
|
|
41114
|
-
- channel
|
|
41115
|
-
- organization
|
|
41116
41427
|
APIChannelOrganizationDomains:
|
|
41117
41428
|
type: object
|
|
41118
41429
|
description: Subscription channel for changes in the email domains of an organization.
|
|
@@ -41708,7 +42019,6 @@ components:
|
|
|
41708
42019
|
- $ref: '#/components/schemas/APIChannelOrganizationOpenAPISpecs'
|
|
41709
42020
|
- $ref: '#/components/schemas/APIChannelOrganizationTranslations'
|
|
41710
42021
|
- $ref: '#/components/schemas/APIChannelOrganizationTranslationsGlossary'
|
|
41711
|
-
- $ref: '#/components/schemas/APIChannelOrganizationSCIMConnections'
|
|
41712
42022
|
- $ref: '#/components/schemas/APIChannelOrganizationDomains'
|
|
41713
42023
|
- $ref: '#/components/schemas/APIChannelOrganizationIdPConnections'
|
|
41714
42024
|
- $ref: '#/components/schemas/APIChannelOrganizationCustomFonts'
|
|
@@ -42336,8 +42646,8 @@ components:
|
|
|
42336
42646
|
required:
|
|
42337
42647
|
- code
|
|
42338
42648
|
- message
|
|
42339
|
-
|
|
42340
|
-
description:
|
|
42649
|
+
ForbiddenError:
|
|
42650
|
+
description: Forbidden
|
|
42341
42651
|
content:
|
|
42342
42652
|
application/json:
|
|
42343
42653
|
schema:
|
|
@@ -42352,14 +42662,14 @@ components:
|
|
|
42352
42662
|
type: integer
|
|
42353
42663
|
format: int32
|
|
42354
42664
|
enum:
|
|
42355
|
-
-
|
|
42665
|
+
- 403
|
|
42356
42666
|
message:
|
|
42357
42667
|
type: string
|
|
42358
42668
|
required:
|
|
42359
42669
|
- code
|
|
42360
42670
|
- message
|
|
42361
|
-
|
|
42362
|
-
description:
|
|
42671
|
+
PreconditionFailedError:
|
|
42672
|
+
description: PreconditionFailed
|
|
42363
42673
|
content:
|
|
42364
42674
|
application/json:
|
|
42365
42675
|
schema:
|
|
@@ -42374,7 +42684,7 @@ components:
|
|
|
42374
42684
|
type: integer
|
|
42375
42685
|
format: int32
|
|
42376
42686
|
enum:
|
|
42377
|
-
-
|
|
42687
|
+
- 412
|
|
42378
42688
|
message:
|
|
42379
42689
|
type: string
|
|
42380
42690
|
required:
|