@gitbook/api 0.205.0 → 0.207.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 +955 -223
- package/dist/constants.d.ts +16 -6
- package/dist/index.cjs +175 -13
- package/dist/index.js +157 -13
- package/package.json +1 -1
- package/spec/openapi.json +2561 -700
- package/spec/openapi.yaml +1713 -438
package/spec/openapi.yaml
CHANGED
|
@@ -505,6 +505,12 @@ tags:
|
|
|
505
505
|
{% openapi-schemas spec="gitbook" schemas="Subdomain" grouped="false" %}
|
|
506
506
|
The Subdomain object
|
|
507
507
|
{% endopenapi-schemas %}
|
|
508
|
+
- name: scim
|
|
509
|
+
x-page-icon: users
|
|
510
|
+
x-page-title: SCIM
|
|
511
|
+
x-page-description: Provision organization members automatically from an identity provider.
|
|
512
|
+
description: |
|
|
513
|
+
Connect an identity provider such as Okta or Microsoft Entra ID to provision your organization's members with SCIM.
|
|
508
514
|
- name: storage
|
|
509
515
|
x-page-icon: database
|
|
510
516
|
x-page-title: Storage
|
|
@@ -796,7 +802,8 @@ paths:
|
|
|
796
802
|
operationId: moveSpace
|
|
797
803
|
summary: Move a space to a different collection or position
|
|
798
804
|
description: Moves a space to a new parent collection and/or a new position within the hierarchy.
|
|
799
|
-
x-gitbook-mcp:
|
|
805
|
+
x-gitbook-mcp:
|
|
806
|
+
destructive: true
|
|
800
807
|
tags:
|
|
801
808
|
- spaces
|
|
802
809
|
security:
|
|
@@ -907,7 +914,8 @@ paths:
|
|
|
907
914
|
operationId: importGitRepository
|
|
908
915
|
summary: Pull content into a space from a connected Git repository
|
|
909
916
|
description: Triggers an import from provided Git repository into the space, updating the space's content to match the repository (if not standalone). This is an async operation — it runs in the background after the request returns 204.
|
|
910
|
-
x-gitbook-mcp:
|
|
917
|
+
x-gitbook-mcp:
|
|
918
|
+
destructive: true
|
|
911
919
|
tags:
|
|
912
920
|
- space-git
|
|
913
921
|
security:
|
|
@@ -932,7 +940,8 @@ paths:
|
|
|
932
940
|
operationId: exportToGitRepository
|
|
933
941
|
summary: Push space content to a connected Git repository
|
|
934
942
|
description: Triggers an export of the space's current content to the provided Git repository. This is an async operation — the export runs in the background after the request returns 204.
|
|
935
|
-
x-gitbook-mcp:
|
|
943
|
+
x-gitbook-mcp:
|
|
944
|
+
destructive: true
|
|
936
945
|
tags:
|
|
937
946
|
- space-git
|
|
938
947
|
security:
|
|
@@ -1198,7 +1207,8 @@ paths:
|
|
|
1198
1207
|
operationId: applyTemplateToSpace
|
|
1199
1208
|
summary: Apply a content template to populate a space with initial pages
|
|
1200
1209
|
description: Populates a space with pages and structure from a specified template, bootstrapping it with a standard documentation layout. Use this to initialise a new space rather than creating pages manually. Optionally apply the template to a specific change request instead of main content by providing the changeRequestId field.
|
|
1201
|
-
x-gitbook-mcp:
|
|
1210
|
+
x-gitbook-mcp:
|
|
1211
|
+
destructive: true
|
|
1202
1212
|
tags:
|
|
1203
1213
|
- space-content
|
|
1204
1214
|
security:
|
|
@@ -1315,7 +1325,8 @@ paths:
|
|
|
1315
1325
|
operationId: getPageById
|
|
1316
1326
|
summary: Get a single page from a space by its ID
|
|
1317
1327
|
description: Retrieves a page's metadata, content, and document structure from a space's current revision by its page ID. Use this when you know the exact page ID and need its content or path. For lookup by URL path, use the content/path endpoint instead.
|
|
1318
|
-
x-gitbook-mcp:
|
|
1328
|
+
x-gitbook-mcp:
|
|
1329
|
+
curatedBy: get_page
|
|
1319
1330
|
tags:
|
|
1320
1331
|
- space-content
|
|
1321
1332
|
security:
|
|
@@ -1365,7 +1376,8 @@ paths:
|
|
|
1365
1376
|
operationId: getPageByPath
|
|
1366
1377
|
summary: Get a page from a space by its URL path
|
|
1367
1378
|
description: Retrieves a page by its URL path (e.g. /guides/getting-started) from the space's current revision. Use this when you have a page's path rather than its ID. Returns either a document page or a group/section page depending on the path.
|
|
1368
|
-
x-gitbook-mcp:
|
|
1379
|
+
x-gitbook-mcp:
|
|
1380
|
+
curatedBy: get_page
|
|
1369
1381
|
tags:
|
|
1370
1382
|
- space-content
|
|
1371
1383
|
security:
|
|
@@ -1420,7 +1432,8 @@ paths:
|
|
|
1420
1432
|
operationId: getComputedDocument
|
|
1421
1433
|
summary: Compute and render a document from a structured content source
|
|
1422
1434
|
description: Server-renders a document from a provided content source definition, evaluating template expressions and resolving variables to produce a fully computed document. Use this to preview how dynamic content will look without publishing a full revision.
|
|
1423
|
-
x-gitbook-mcp:
|
|
1435
|
+
x-gitbook-mcp:
|
|
1436
|
+
readOnly: true
|
|
1424
1437
|
tags:
|
|
1425
1438
|
- space-content
|
|
1426
1439
|
security:
|
|
@@ -1457,7 +1470,8 @@ paths:
|
|
|
1457
1470
|
operationId: getComputedRevision
|
|
1458
1471
|
summary: Compute and render a full revision from a structured content source
|
|
1459
1472
|
description: Server-renders an entire revision — pages, files, and reusable contents — from a provided content source definition, resolving all template expressions and variables. Use this to evaluate and preview computed content before publishing. Returns the full set of pages and files with all dynamic content fully resolved.
|
|
1460
|
-
x-gitbook-mcp:
|
|
1473
|
+
x-gitbook-mcp:
|
|
1474
|
+
readOnly: true
|
|
1461
1475
|
tags:
|
|
1462
1476
|
- space-content
|
|
1463
1477
|
security:
|
|
@@ -1537,8 +1551,9 @@ paths:
|
|
|
1537
1551
|
post:
|
|
1538
1552
|
operationId: createChangeRequest
|
|
1539
1553
|
summary: Create a new change request in a space
|
|
1540
|
-
description: Creates a new change request, which is a draft working copy of the space's content — similar to a Git branch or pull request. Use this before making content edits to avoid modifying the live published content directly. Optionally supply a subject and a template to pre-populate the change request with content. Once created, use the change-request content endpoints to read and modify pages within the draft, then merge it when ready.
|
|
1541
|
-
x-gitbook-mcp:
|
|
1554
|
+
description: Creates a new change request, which is a draft working copy of the space's content — similar to a Git branch or pull request. Use this before making content edits to avoid modifying the live published content directly. Optionally supply a subject and a template to pre-populate the change request with content. Once created, use the change-request content endpoints to read and modify pages within the draft, then merge it when ready. Pass `siteFindingIds` to link the documentation findings this change request fixes. Outbound broken links are resolved by the outbound checker, rather than by merging.
|
|
1555
|
+
x-gitbook-mcp:
|
|
1556
|
+
curatedBy: create_change_request
|
|
1542
1557
|
tags:
|
|
1543
1558
|
- change-requests
|
|
1544
1559
|
security:
|
|
@@ -1577,7 +1592,14 @@ paths:
|
|
|
1577
1592
|
description: Description of the change request, explaining what it changes and why, for whoever reviews it. Only paragraphs and lists are kept; other blocks are stripped along with their text.
|
|
1578
1593
|
siteFindingId:
|
|
1579
1594
|
type: string
|
|
1580
|
-
|
|
1595
|
+
deprecated: true
|
|
1596
|
+
description: The site finding this change request fixes. Use `siteFindingIds` instead. The finding's site must contain this space.
|
|
1597
|
+
siteFindingIds:
|
|
1598
|
+
type: array
|
|
1599
|
+
maxItems: 25
|
|
1600
|
+
items:
|
|
1601
|
+
type: string
|
|
1602
|
+
description: Site findings this change request fixes. Each finding's site must contain this space, and the caller must have edit permission on each site. Takes precedence over `siteFindingId` when both are supplied.
|
|
1581
1603
|
additionalProperties: true
|
|
1582
1604
|
get:
|
|
1583
1605
|
operationId: listChangeRequestsForSpace
|
|
@@ -1674,7 +1696,7 @@ paths:
|
|
|
1674
1696
|
patch:
|
|
1675
1697
|
operationId: updateChangeRequestById
|
|
1676
1698
|
summary: Update a change request's subject, description, or status
|
|
1677
|
-
description: Updates the metadata of a change request. Use this to rename a change request, add context before requesting a review, or change the workflow status without merging. To update page content within the change request, use the content endpoint instead. Set `
|
|
1699
|
+
description: Updates the metadata of a change request. Use this to rename a change request, add context before requesting a review, or change the workflow status without merging. To update page content within the change request, use the content endpoint instead. Set `siteFindingIds` to replace the documentation findings linked to the change request. Outbound broken links are resolved by the outbound checker, rather than by merging.
|
|
1678
1700
|
x-gitbook-mcp: true
|
|
1679
1701
|
x-gitbook-return-preference: true
|
|
1680
1702
|
tags:
|
|
@@ -1711,10 +1733,19 @@ paths:
|
|
|
1711
1733
|
- open
|
|
1712
1734
|
- archived
|
|
1713
1735
|
siteFindingId:
|
|
1736
|
+
deprecated: true
|
|
1714
1737
|
type:
|
|
1715
1738
|
- string
|
|
1716
1739
|
- "null"
|
|
1717
|
-
description: The site finding this change request fixes.
|
|
1740
|
+
description: The site finding this change request fixes. Use `siteFindingIds` instead. The finding's site must contain this space. Replaces the whole set of linked findings with this finding. Pass null to unlink all findings.
|
|
1741
|
+
siteFindingIds:
|
|
1742
|
+
type:
|
|
1743
|
+
- array
|
|
1744
|
+
- "null"
|
|
1745
|
+
maxItems: 25
|
|
1746
|
+
items:
|
|
1747
|
+
type: string
|
|
1748
|
+
description: Replaces the linked site findings. Each finding's site must contain this space, and the caller must have edit permission on each site. Pass null or an empty list to unlink all findings. Omit to keep the current links. Takes precedence over `siteFindingId` when both are supplied.
|
|
1718
1749
|
responses:
|
|
1719
1750
|
"200":
|
|
1720
1751
|
description: The change request has been updated
|
|
@@ -1732,7 +1763,9 @@ paths:
|
|
|
1732
1763
|
operationId: mergeChangeRequest
|
|
1733
1764
|
summary: Merge a change request into the space's live content
|
|
1734
1765
|
description: Merges the change request's draft content into the space's primary (published) content, making all changes live. If the result is "conflicts", the merge was still applied but the space may need manual conflict resolution. Consider running updateChangeRequest first to sync with the latest live content and reduce conflicts.
|
|
1735
|
-
x-gitbook-mcp:
|
|
1766
|
+
x-gitbook-mcp:
|
|
1767
|
+
destructive: true
|
|
1768
|
+
curatedBy: submit_or_merge_change_request
|
|
1736
1769
|
tags:
|
|
1737
1770
|
- change-requests
|
|
1738
1771
|
security:
|
|
@@ -1766,7 +1799,8 @@ paths:
|
|
|
1766
1799
|
operationId: updateChangeRequest
|
|
1767
1800
|
summary: Sync a change request with the latest live space content
|
|
1768
1801
|
description: Rebases the change request onto the latest primary revision of the space, pulling in any changes that were merged to the live space since this change request was created. Run this before merging to minimise conflicts, especially if the change request has been open for a while.
|
|
1769
|
-
x-gitbook-mcp:
|
|
1802
|
+
x-gitbook-mcp:
|
|
1803
|
+
destructive: true
|
|
1770
1804
|
tags:
|
|
1771
1805
|
- change-requests
|
|
1772
1806
|
security:
|
|
@@ -2454,6 +2488,8 @@ paths:
|
|
|
2454
2488
|
**Renaming a page** — `update_page` can change a page's `title` and/or its `slug` (the path segment used to build its URL within its current parent). Both fields are independent: to rename only the title without changing the URL, set `title` and omit `slug`; to change the URL without changing the title, set `slug` and omit `title`.
|
|
2455
2489
|
**Moving a page** — `update_page` can also change a page's parent and/or its position among siblings with `into`/`at`. Set `into` to the new parent's page ID, or `null` to move the page to the root of the tree; omit `into` to leave the parent unchanged. Set `at` to place the page at a specific zero-based index among its new siblings; omit it to leave the position unchanged (when the parent isn't changing) or append at the end (when it is). A page cannot be moved under itself or one of its own descendants. `insert_page`'s `into`/`at` remain the way to place a **new** page at creation time.
|
|
2456
2490
|
To put an image or attachment in a page, upload it with an `insert_files` change. Give the file a `ref` and a page inserted in the same batch can reference it as `` or `[File](./<ref>)`, which resolves to the file's ID at apply time regardless of operation order. Uploaded files are also listed as `insertedFiles` when `compat=false`, and a file already in the change request can be referenced directly as `/files/<fileId>`. Inline `data:` URIs in markdown are not ingested and large image blocks are dropped, so upload the bytes with `insert_files` instead.
|
|
2491
|
+
**Reusable content** (snippets shared by several pages, Git Sync's `.gitbook/includes/`) is created with `insert_reusable_contents`, changed with `update_reusable_content` and removed with `delete_reusable_content`. A page includes one in markdown as `{% include "/reusable-content/<reusableContentId>" %}`; give a new one a `ref` and a page in the same batch can include it as `{% include "./<ref>" %}`, regardless of operation order. Created reusable contents are listed as `insertedReusableContents` when `compat=false`. An update keeps the ID, so every page including it shows the change. Deleting one leaves the includes in pages unresolved, as in the editor: remove them from those pages too. Reusable content cannot include other reusable content, so an include in its document is dropped. Unlike a link, an include that matches no reusable content of the change request (or of the batch) rejects the batch, since dropping it would remove it from the page silently.
|
|
2492
|
+
**Publishing an OpenAPI spec** — an OpenAPI spec belongs to the organization (see `createOpenAPISpec`) and appears in a space only through a page that renders it. Insert that page with an `insert_computed_page` change: `{ "operation": "insert_computed_page", "title": "API reference", "computed": { "type": "builtin:openapi", "props": { "models": true }, "dependencies": { "spec": { "ref": { "kind": "openapi", "spec": "<spec slug>" } } } } }`. GitBook replaces that page, at its position, with the API reference: one page per tag (or per operation with `"grouping": "by-operation"` in `props`), plus a models page when `models` is true, regenerated whenever the spec changes. Use `into` to nest the reference under an existing page. Do not recreate a spec with `insert_page`: `openapi-operation` blocks in a document only render the operations they name.
|
|
2457
2493
|
When page content is provided as markdown, links to other pages are resolved against the change request's current page tree. You can link a page by:
|
|
2458
2494
|
- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).
|
|
2459
2495
|
- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`
|
|
@@ -2469,7 +2505,7 @@ paths:
|
|
|
2469
2505
|
|
|
2470
2506
|
External URLs (`https://…`) are kept as-is. A link that does not match any page in the change request is left as plain text rather than causing the request to fail.
|
|
2471
2507
|
GitBook normalizes submitted content, so the stored page may differ from what was sent. To help callers reconcile local state with the stored result, the response can list each created and modified page with its resolved ID and a `urls.location` to fetch the page's persisted content.
|
|
2472
|
-
|
|
2508
|
+
For change requests with frequent concurrent edits, consider `expectedRevision` to protect against overwriting changes made since your read. If the branch has changed since the supplied revision, the batch is rejected with HTTP 409 and none of the submitted changes are applied.
|
|
2473
2509
|
**Response shape (`compat`)** — this endpoint is changing what it returns:
|
|
2474
2510
|
- `compat=true` (current default) returns the updated change request, matching the endpoint's
|
|
2475
2511
|
original behavior.
|
|
@@ -2478,7 +2514,8 @@ paths:
|
|
|
2478
2514
|
the response schema).
|
|
2479
2515
|
|
|
2480
2516
|
The default is `true` for now to preserve backwards compatibility, but **will switch to `false` in a future release**, at which point the affected-page list is always included. You should pass `compat=false` if you want the new behavior today and avoid unexpected errors when the default flips in the future.
|
|
2481
|
-
x-gitbook-mcp:
|
|
2517
|
+
x-gitbook-mcp:
|
|
2518
|
+
destructive: true
|
|
2482
2519
|
tags:
|
|
2483
2520
|
- change-request-content
|
|
2484
2521
|
security:
|
|
@@ -2503,6 +2540,10 @@ paths:
|
|
|
2503
2540
|
required:
|
|
2504
2541
|
- changes
|
|
2505
2542
|
properties:
|
|
2543
|
+
expectedRevision:
|
|
2544
|
+
type: string
|
|
2545
|
+
minLength: 1
|
|
2546
|
+
description: The saved branch revision on which these changes are based, available in getChangeRequestById's revision field. If the branch has changed, including pending realtime edits, the batch is rejected with 409 and none of the submitted changes are applied. This field is optional and most changes can omit it.
|
|
2506
2547
|
changes:
|
|
2507
2548
|
type: array
|
|
2508
2549
|
minItems: 1
|
|
@@ -2522,6 +2563,9 @@ paths:
|
|
|
2522
2563
|
"404":
|
|
2523
2564
|
description: The change request could not be found.
|
|
2524
2565
|
$ref: "#/components/responses/NotFoundError"
|
|
2566
|
+
"409":
|
|
2567
|
+
description: The branch changed since the expected revision; read the latest content before retrying.
|
|
2568
|
+
$ref: "#/components/responses/ConflictError"
|
|
2525
2569
|
/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages:
|
|
2526
2570
|
get:
|
|
2527
2571
|
operationId: listPagesInChangeRequest
|
|
@@ -5238,9 +5282,13 @@ paths:
|
|
|
5238
5282
|
properties:
|
|
5239
5283
|
role:
|
|
5240
5284
|
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
5285
|
+
disabled:
|
|
5286
|
+
type: boolean
|
|
5287
|
+
description: Disable or re-enable the member. Only members disabled by an admin can be re-enabled.
|
|
5241
5288
|
delete:
|
|
5242
5289
|
operationId: removeMemberFromOrganizationById
|
|
5243
5290
|
summary: Remove an organization member or request an organization admin to do it
|
|
5291
|
+
description: Users cannot remove their own membership. Ask another organization admin to remove it.
|
|
5244
5292
|
tags:
|
|
5245
5293
|
- organization-members
|
|
5246
5294
|
security:
|
|
@@ -6472,6 +6520,166 @@ paths:
|
|
|
6472
6520
|
description: SAML provider did not exist
|
|
6473
6521
|
"205":
|
|
6474
6522
|
description: SAML provider has been deleted
|
|
6523
|
+
/orgs/{organizationId}/scim/connections:
|
|
6524
|
+
get:
|
|
6525
|
+
operationId: listOrganizationSCIMConnections
|
|
6526
|
+
summary: List SCIM connections
|
|
6527
|
+
tags:
|
|
6528
|
+
- scim
|
|
6529
|
+
security:
|
|
6530
|
+
- user-internal: []
|
|
6531
|
+
parameters:
|
|
6532
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6533
|
+
responses:
|
|
6534
|
+
"200":
|
|
6535
|
+
description: OK
|
|
6536
|
+
content:
|
|
6537
|
+
application/json:
|
|
6538
|
+
schema:
|
|
6539
|
+
allOf:
|
|
6540
|
+
- $ref: "#/components/schemas/List"
|
|
6541
|
+
- type: object
|
|
6542
|
+
required:
|
|
6543
|
+
- items
|
|
6544
|
+
properties:
|
|
6545
|
+
items:
|
|
6546
|
+
type: array
|
|
6547
|
+
items:
|
|
6548
|
+
$ref: "#/components/schemas/OrganizationSCIMConnection"
|
|
6549
|
+
"404":
|
|
6550
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6551
|
+
post:
|
|
6552
|
+
operationId: createOrganizationSCIMConnection
|
|
6553
|
+
summary: Create a SCIM connection
|
|
6554
|
+
description: |
|
|
6555
|
+
Creates a SCIM connection and its token. The token is only returned in this response.
|
|
6556
|
+
tags:
|
|
6557
|
+
- scim
|
|
6558
|
+
security:
|
|
6559
|
+
- user-internal: []
|
|
6560
|
+
parameters:
|
|
6561
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6562
|
+
requestBody:
|
|
6563
|
+
required: true
|
|
6564
|
+
content:
|
|
6565
|
+
application/json:
|
|
6566
|
+
schema:
|
|
6567
|
+
type: object
|
|
6568
|
+
properties:
|
|
6569
|
+
label:
|
|
6570
|
+
$ref: "#/components/schemas/SCIMConnectionLabel"
|
|
6571
|
+
provider:
|
|
6572
|
+
$ref: "#/components/schemas/SCIMConnectionProvider"
|
|
6573
|
+
required:
|
|
6574
|
+
- label
|
|
6575
|
+
- provider
|
|
6576
|
+
responses:
|
|
6577
|
+
"201":
|
|
6578
|
+
description: SCIM connection created
|
|
6579
|
+
content:
|
|
6580
|
+
application/json:
|
|
6581
|
+
schema:
|
|
6582
|
+
$ref: "#/components/schemas/OrganizationSCIMConnectionWithToken"
|
|
6583
|
+
"400":
|
|
6584
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6585
|
+
"404":
|
|
6586
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6587
|
+
"412":
|
|
6588
|
+
description: The organization has SAML providers configured.
|
|
6589
|
+
$ref: "#/components/responses/PreconditionFailedError"
|
|
6590
|
+
/orgs/{organizationId}/scim/connections/{scimConnectionId}:
|
|
6591
|
+
get:
|
|
6592
|
+
operationId: getOrganizationSCIMConnection
|
|
6593
|
+
summary: Get a SCIM connection by its ID
|
|
6594
|
+
tags:
|
|
6595
|
+
- scim
|
|
6596
|
+
security:
|
|
6597
|
+
- user-internal: []
|
|
6598
|
+
parameters:
|
|
6599
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6600
|
+
- $ref: "#/components/parameters/scimConnectionId"
|
|
6601
|
+
responses:
|
|
6602
|
+
"200":
|
|
6603
|
+
description: OK
|
|
6604
|
+
content:
|
|
6605
|
+
application/json:
|
|
6606
|
+
schema:
|
|
6607
|
+
$ref: "#/components/schemas/OrganizationSCIMConnection"
|
|
6608
|
+
"404":
|
|
6609
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6610
|
+
patch:
|
|
6611
|
+
operationId: updateOrganizationSCIMConnection
|
|
6612
|
+
summary: Update a SCIM connection
|
|
6613
|
+
tags:
|
|
6614
|
+
- scim
|
|
6615
|
+
security:
|
|
6616
|
+
- user-internal: []
|
|
6617
|
+
parameters:
|
|
6618
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6619
|
+
- $ref: "#/components/parameters/scimConnectionId"
|
|
6620
|
+
requestBody:
|
|
6621
|
+
required: true
|
|
6622
|
+
content:
|
|
6623
|
+
application/json:
|
|
6624
|
+
schema:
|
|
6625
|
+
type: object
|
|
6626
|
+
properties:
|
|
6627
|
+
label:
|
|
6628
|
+
$ref: "#/components/schemas/SCIMConnectionLabel"
|
|
6629
|
+
required:
|
|
6630
|
+
- label
|
|
6631
|
+
responses:
|
|
6632
|
+
"200":
|
|
6633
|
+
description: SCIM connection updated
|
|
6634
|
+
content:
|
|
6635
|
+
application/json:
|
|
6636
|
+
schema:
|
|
6637
|
+
$ref: "#/components/schemas/OrganizationSCIMConnection"
|
|
6638
|
+
"400":
|
|
6639
|
+
$ref: "#/components/responses/BadRequestError"
|
|
6640
|
+
"404":
|
|
6641
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6642
|
+
delete:
|
|
6643
|
+
operationId: deleteOrganizationSCIMConnection
|
|
6644
|
+
summary: Delete a SCIM connection
|
|
6645
|
+
description: |
|
|
6646
|
+
Deletes a SCIM connection. Its token stops working immediately.
|
|
6647
|
+
tags:
|
|
6648
|
+
- scim
|
|
6649
|
+
security:
|
|
6650
|
+
- user-internal: []
|
|
6651
|
+
parameters:
|
|
6652
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6653
|
+
- $ref: "#/components/parameters/scimConnectionId"
|
|
6654
|
+
responses:
|
|
6655
|
+
"204":
|
|
6656
|
+
description: SCIM connection not found
|
|
6657
|
+
"205":
|
|
6658
|
+
description: SCIM connection deleted
|
|
6659
|
+
"404":
|
|
6660
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6661
|
+
/orgs/{organizationId}/scim/connections/{scimConnectionId}/token:
|
|
6662
|
+
post:
|
|
6663
|
+
operationId: rotateOrganizationSCIMConnectionToken
|
|
6664
|
+
summary: Rotate the token of a SCIM connection
|
|
6665
|
+
description: |
|
|
6666
|
+
Replaces the token of a SCIM connection. The previous token stops working immediately, and the new token is only returned in this response.
|
|
6667
|
+
tags:
|
|
6668
|
+
- scim
|
|
6669
|
+
security:
|
|
6670
|
+
- user-internal: []
|
|
6671
|
+
parameters:
|
|
6672
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6673
|
+
- $ref: "#/components/parameters/scimConnectionId"
|
|
6674
|
+
responses:
|
|
6675
|
+
"200":
|
|
6676
|
+
description: Token rotated
|
|
6677
|
+
content:
|
|
6678
|
+
application/json:
|
|
6679
|
+
schema:
|
|
6680
|
+
$ref: "#/components/schemas/OrganizationSCIMConnectionWithToken"
|
|
6681
|
+
"404":
|
|
6682
|
+
$ref: "#/components/responses/NotFoundError"
|
|
6475
6683
|
/orgs/{organizationId}/sso:
|
|
6476
6684
|
get:
|
|
6477
6685
|
operationId: listSSOProviderLoginsInOrganization
|
|
@@ -6634,6 +6842,7 @@ paths:
|
|
|
6634
6842
|
post:
|
|
6635
6843
|
operationId: createOpenAPISpec
|
|
6636
6844
|
summary: Create an OpenAPI spec
|
|
6845
|
+
description: "Adds an OpenAPI spec to the organization, from a URL or from its text. The spec is processed asynchronously and no page is created: to publish its API reference in a space, insert a page that renders it with an `insert_computed_page` change, through the `updateChangeRequestContent` operation. That reference fills in once processing completes and is regenerated each time the spec is updated."
|
|
6637
6846
|
x-gitbook-mcp: true
|
|
6638
6847
|
tags:
|
|
6639
6848
|
- openapi
|
|
@@ -6693,6 +6902,7 @@ paths:
|
|
|
6693
6902
|
put:
|
|
6694
6903
|
operationId: createOrUpdateOpenAPISpecBySlug
|
|
6695
6904
|
summary: Create or update an OpenAPI spec
|
|
6905
|
+
description: "Creates the organization's OpenAPI spec with this slug, or replaces its source with a new version. The spec is processed asynchronously, and pages that already render it are regenerated once it is. Creating a spec adds no page: to publish its API reference in a space, insert a page that renders it with an `insert_computed_page` change, through the `updateChangeRequestContent` operation."
|
|
6696
6906
|
x-gitbook-mcp: true
|
|
6697
6907
|
tags:
|
|
6698
6908
|
- openapi
|
|
@@ -7663,7 +7873,8 @@ paths:
|
|
|
7663
7873
|
operationId: listSites
|
|
7664
7874
|
summary: List all documentation sites in an organization
|
|
7665
7875
|
description: Returns a paginated list of all documentation sites belonging to the organization. Use this to discover available sites before fetching their content, settings, or structure. Members with access only to individual spaces receive the sites that use those spaces as site items, with site administration fields omitted.
|
|
7666
|
-
x-gitbook-mcp:
|
|
7876
|
+
x-gitbook-mcp:
|
|
7877
|
+
curatedBy: list_sites
|
|
7667
7878
|
tags:
|
|
7668
7879
|
- sites
|
|
7669
7880
|
- critical
|
|
@@ -8013,7 +8224,9 @@ paths:
|
|
|
8013
8224
|
operationId: publishSite
|
|
8014
8225
|
summary: Publish a site to make it publicly accessible
|
|
8015
8226
|
description: Makes the site publicly accessible at its configured URL by publishing it. If the organization's plan requires an upgrade, the response includes a Stripe checkout session ID instead of the site object. Use unpublish to take the site offline again.
|
|
8016
|
-
x-gitbook-mcp:
|
|
8227
|
+
x-gitbook-mcp:
|
|
8228
|
+
destructive: true
|
|
8229
|
+
idempotent: true
|
|
8017
8230
|
tags:
|
|
8018
8231
|
- sites
|
|
8019
8232
|
security:
|
|
@@ -8051,12 +8264,38 @@ paths:
|
|
|
8051
8264
|
required:
|
|
8052
8265
|
- type
|
|
8053
8266
|
- sessionId
|
|
8267
|
+
/orgs/{organizationId}/sites/{siteId}/setup:
|
|
8268
|
+
get:
|
|
8269
|
+
operationId: getSiteSetup
|
|
8270
|
+
summary: Get the setup steps of a site
|
|
8271
|
+
description: Lists the steps to set up a site, from a first edit to publishing, and whether each one is completed. Use it to know what is left to do on a site. Returns no steps once the site has been published.
|
|
8272
|
+
x-gitbook-mcp: true
|
|
8273
|
+
tags:
|
|
8274
|
+
- sites
|
|
8275
|
+
security:
|
|
8276
|
+
- user: []
|
|
8277
|
+
- oauth:
|
|
8278
|
+
- site:read
|
|
8279
|
+
parameters:
|
|
8280
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8281
|
+
- $ref: "#/components/parameters/siteId"
|
|
8282
|
+
responses:
|
|
8283
|
+
"200":
|
|
8284
|
+
description: OK
|
|
8285
|
+
content:
|
|
8286
|
+
application/json:
|
|
8287
|
+
schema:
|
|
8288
|
+
$ref: "#/components/schemas/SiteSetup"
|
|
8289
|
+
"400":
|
|
8290
|
+
$ref: "#/components/responses/BadRequestError"
|
|
8054
8291
|
/orgs/{organizationId}/sites/{siteId}/unpublish:
|
|
8055
8292
|
post:
|
|
8056
8293
|
operationId: unpublishSite
|
|
8057
8294
|
summary: Take a site offline by unpublishing it
|
|
8058
8295
|
description: Removes the site from public access by unpublishing it. The site's configuration and content are preserved; use the publish endpoint to make it accessible again. Use this when you need to temporarily hide a site or take it down for maintenance.
|
|
8059
|
-
x-gitbook-mcp:
|
|
8296
|
+
x-gitbook-mcp:
|
|
8297
|
+
destructive: true
|
|
8298
|
+
idempotent: true
|
|
8060
8299
|
tags:
|
|
8061
8300
|
- sites
|
|
8062
8301
|
security:
|
|
@@ -8420,7 +8659,8 @@ paths:
|
|
|
8420
8659
|
operationId: getSiteStructure
|
|
8421
8660
|
summary: Get the full navigation structure of a site
|
|
8422
8661
|
description: Returns the complete hierarchical structure of a site, including all sections, section groups, and site spaces in their current order. Use this to understand how a site's navigation is organized before making structural changes, or to render the full navigation tree of a site. Members with access only to individual spaces receive only the site items backed by those spaces and their parent sections.
|
|
8423
|
-
x-gitbook-mcp:
|
|
8662
|
+
x-gitbook-mcp:
|
|
8663
|
+
curatedBy: get_site_structure
|
|
8424
8664
|
tags:
|
|
8425
8665
|
- site-structure
|
|
8426
8666
|
security:
|
|
@@ -8552,7 +8792,8 @@ paths:
|
|
|
8552
8792
|
operationId: regenerateSitePublishingAuthById
|
|
8553
8793
|
summary: Regenerate the private key for a site's published content authentication
|
|
8554
8794
|
description: Re-generates the private key used for the site's publishing authentication (e.g., JWT signing key for SSO). Existing tokens signed with the old key will become invalid immediately. Use this to rotate credentials after a security incident or as part of a regular key rotation policy.
|
|
8555
|
-
x-gitbook-mcp:
|
|
8795
|
+
x-gitbook-mcp:
|
|
8796
|
+
destructive: true
|
|
8556
8797
|
tags:
|
|
8557
8798
|
- site-publishing-auth
|
|
8558
8799
|
security:
|
|
@@ -8601,6 +8842,11 @@ paths:
|
|
|
8601
8842
|
description: ISO 3166-1 alpha-2 code of the country of the visitor for which we want to preview the site. It is matched against the `regions` of the site adaptive schema to resolve `visitor.region`.
|
|
8602
8843
|
schema:
|
|
8603
8844
|
type: string
|
|
8845
|
+
- name: visitorAuthenticated
|
|
8846
|
+
in: query
|
|
8847
|
+
description: Whether the visitor for which we want to preview the site is signed in, as `visitor.isAuthenticated` reports it. Claims outside `unsigned` already imply a signed-in visitor; set this to preview one that is signed in while carrying no claim.
|
|
8848
|
+
schema:
|
|
8849
|
+
type: boolean
|
|
8604
8850
|
- name: draft
|
|
8605
8851
|
in: query
|
|
8606
8852
|
description: Whether to include draft content in the preview. Defaults to true
|
|
@@ -8749,8 +8995,9 @@ paths:
|
|
|
8749
8995
|
post:
|
|
8750
8996
|
operationId: addSpaceToSite
|
|
8751
8997
|
summary: Add a space to a site as a content source
|
|
8752
|
-
description: Pass an existing space ID to link it, or pass `null` to create and link a new space. New spaces
|
|
8753
|
-
x-gitbook-mcp:
|
|
8998
|
+
description: Pass an existing space ID to link it, or pass `null` to create and link a new space. New spaces start with a blank page unless a template is provided or `empty` is `true`, which creates the space with no page at all (use it when you are about to add the pages yourself).
|
|
8999
|
+
x-gitbook-mcp:
|
|
9000
|
+
destructive: true
|
|
8754
9001
|
x-gitbook-return-preference: true
|
|
8755
9002
|
tags:
|
|
8756
9003
|
- site-spaces
|
|
@@ -8789,6 +9036,10 @@ paths:
|
|
|
8789
9036
|
- type: string
|
|
8790
9037
|
- type: "null"
|
|
8791
9038
|
description: Custom home page within an existing space, rendered at the site space's path root instead of the space's default landing page. Providing it when `spaceId` is `null` returns a 400 error.
|
|
9039
|
+
empty:
|
|
9040
|
+
type: boolean
|
|
9041
|
+
default: false
|
|
9042
|
+
description: Create the new space without any content, not even a blank page. Useful when the content is about to be populated, for example by an import. Only valid when `spaceId` is `null` and no template is provided.
|
|
8792
9043
|
title:
|
|
8793
9044
|
$ref: "#/components/schemas/SiteTitle"
|
|
8794
9045
|
description: Site-specific title override for the variant. Also used as the space title when `spaceId` is `null` and no template is provided.
|
|
@@ -8887,7 +9138,8 @@ paths:
|
|
|
8887
9138
|
operationId: addSectionGroupToSite
|
|
8888
9139
|
summary: Add a section group to a site's navigation structure
|
|
8889
9140
|
description: Creates a new section group to organize multiple sections under a shared navigation label. Section groups can be nested by providing a parent group ID. Existing sections can be assigned to the group at creation time via their IDs. Create the group in draft mode to stage it before publishing.
|
|
8890
|
-
x-gitbook-mcp:
|
|
9141
|
+
x-gitbook-mcp:
|
|
9142
|
+
destructive: true
|
|
8891
9143
|
tags:
|
|
8892
9144
|
- site-section-groups
|
|
8893
9145
|
security:
|
|
@@ -8906,6 +9158,9 @@ paths:
|
|
|
8906
9158
|
properties:
|
|
8907
9159
|
title:
|
|
8908
9160
|
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
9161
|
+
condition:
|
|
9162
|
+
description: Conditional expression used to evaluate whether the site section group should be shown to the site's visitor (should evaluate to a boolean).
|
|
9163
|
+
$ref: "#/components/schemas/Expression"
|
|
8909
9164
|
icon:
|
|
8910
9165
|
oneOf:
|
|
8911
9166
|
- $ref: "#/components/schemas/Icon"
|
|
@@ -8969,6 +9224,11 @@ paths:
|
|
|
8969
9224
|
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
8970
9225
|
localizedTitle:
|
|
8971
9226
|
$ref: "#/components/schemas/LocalizedString128"
|
|
9227
|
+
condition:
|
|
9228
|
+
description: Conditional expression used to evaluate whether the site section group should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.
|
|
9229
|
+
oneOf:
|
|
9230
|
+
- $ref: "#/components/schemas/Expression"
|
|
9231
|
+
- type: "null"
|
|
8972
9232
|
icon:
|
|
8973
9233
|
oneOf:
|
|
8974
9234
|
- $ref: "#/components/schemas/Icon"
|
|
@@ -9015,8 +9275,9 @@ paths:
|
|
|
9015
9275
|
post:
|
|
9016
9276
|
operationId: addSectionToSite
|
|
9017
9277
|
summary: Add a new navigation section to a site backed by a space
|
|
9018
|
-
description: Creates a new top-level navigation section in the site. The section appears as a tab or sidebar entry in the site navigation. Pass an existing space ID to link it as the section's primary content source, or pass `null` to create and link a new space. New spaces
|
|
9019
|
-
x-gitbook-mcp:
|
|
9278
|
+
description: Creates a new top-level navigation section in the site. The section appears as a tab or sidebar entry in the site navigation. Pass an existing space ID to link it as the section's primary content source, or pass `null` to create and link a new space. New spaces start with a blank page unless a template is provided or `empty` is `true`, which creates the space with no page at all (use it when you are about to add the pages yourself).
|
|
9279
|
+
x-gitbook-mcp:
|
|
9280
|
+
destructive: true
|
|
9020
9281
|
tags:
|
|
9021
9282
|
- site-sections
|
|
9022
9283
|
security:
|
|
@@ -9041,6 +9302,10 @@ paths:
|
|
|
9041
9302
|
template:
|
|
9042
9303
|
$ref: "#/components/schemas/ApplySpaceTemplate"
|
|
9043
9304
|
description: Template for the new space when `spaceId` is `null`. Templates that provision organization-level resources, such as OpenAPI specifications, are not supported by this site-scoped operation.
|
|
9305
|
+
empty:
|
|
9306
|
+
type: boolean
|
|
9307
|
+
default: false
|
|
9308
|
+
description: Create the new space without any content, not even a blank page. Useful when the content is about to be populated, for example by an import. Only valid when `spaceId` is `null` and no template is provided.
|
|
9044
9309
|
title:
|
|
9045
9310
|
oneOf:
|
|
9046
9311
|
- $ref: "#/components/schemas/SiteSectionTitle"
|
|
@@ -9146,6 +9411,9 @@ paths:
|
|
|
9146
9411
|
defaultSiteSpace:
|
|
9147
9412
|
type: string
|
|
9148
9413
|
description: ID of the site-space to be used as the default in this section.
|
|
9414
|
+
hidden:
|
|
9415
|
+
type: boolean
|
|
9416
|
+
description: Whether to hide the site section from the site's navigation. Setting it updates all the site spaces of the section, and site spaces added to a hidden section are hidden too. The default site section cannot be hidden.
|
|
9149
9417
|
condition:
|
|
9150
9418
|
description: Conditional expression used to evaluate whether the site section should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.
|
|
9151
9419
|
oneOf:
|
|
@@ -9204,7 +9472,8 @@ paths:
|
|
|
9204
9472
|
operationId: addExternalLinkToSite
|
|
9205
9473
|
summary: Add an external link to a site's navigation
|
|
9206
9474
|
description: Creates an external navigation link at the site root or in a section group. On a site with root variants and no sections, creating the first external link enables sections and moves those variants into a default section. Links cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.
|
|
9207
|
-
x-gitbook-mcp:
|
|
9475
|
+
x-gitbook-mcp:
|
|
9476
|
+
destructive: true
|
|
9208
9477
|
tags:
|
|
9209
9478
|
- site-external-links
|
|
9210
9479
|
security:
|
|
@@ -9379,7 +9648,8 @@ paths:
|
|
|
9379
9648
|
operationId: searchSiteContent
|
|
9380
9649
|
summary: Full-text search across all content in a site
|
|
9381
9650
|
description: Performs a full-text search across all published spaces in the site and returns matching pages with relevant excerpts. Use the scope parameter to restrict the search to specific site spaces or sections. Prefer this over the space-level search when you need to search across a multi-section site in one call.
|
|
9382
|
-
x-gitbook-mcp:
|
|
9651
|
+
x-gitbook-mcp:
|
|
9652
|
+
readOnly: true
|
|
9383
9653
|
tags:
|
|
9384
9654
|
- sites
|
|
9385
9655
|
security:
|
|
@@ -9598,6 +9868,8 @@ paths:
|
|
|
9598
9868
|
parameters:
|
|
9599
9869
|
- $ref: "#/components/parameters/organizationId"
|
|
9600
9870
|
- $ref: "#/components/parameters/siteId"
|
|
9871
|
+
- $ref: "#/components/parameters/xOriginalUserAgent"
|
|
9872
|
+
- $ref: "#/components/parameters/xOriginalSignatureAgent"
|
|
9601
9873
|
- $ref: "#/components/parameters/documentFormat"
|
|
9602
9874
|
requestBody:
|
|
9603
9875
|
required: true
|
|
@@ -9872,11 +10144,27 @@ paths:
|
|
|
9872
10144
|
description: Filter findings by estimated severity.
|
|
9873
10145
|
schema:
|
|
9874
10146
|
$ref: "#/components/schemas/SiteFindingSeverity"
|
|
10147
|
+
- name: autoResolution
|
|
10148
|
+
in: query
|
|
10149
|
+
description: "Filter findings by what GitBook did on its own to resolve them: `drafted` fixes wait for approval, `applied` ones were made live, `undone` ones were reversed by a person."
|
|
10150
|
+
schema:
|
|
10151
|
+
$ref: "#/components/schemas/SiteFindingAutoResolution"
|
|
10152
|
+
- name: autoResolvedAfter
|
|
10153
|
+
in: query
|
|
10154
|
+
description: Only return findings GitBook drafted or applied a fix for at or after this date. Combine with `autoResolution` and `status` to count recent automatic fixes.
|
|
10155
|
+
schema:
|
|
10156
|
+
type: string
|
|
10157
|
+
format: date-time
|
|
9875
10158
|
- name: hasChangeRequests
|
|
9876
10159
|
in: query
|
|
9877
10160
|
description: Filter findings that have at least one associated change request.
|
|
9878
10161
|
schema:
|
|
9879
10162
|
type: boolean
|
|
10163
|
+
- name: state
|
|
10164
|
+
in: query
|
|
10165
|
+
description: Filter link findings by where they stand, for example `awaiting-approval` for broken links with a redirect GitBook drafted.
|
|
10166
|
+
schema:
|
|
10167
|
+
$ref: "#/components/schemas/SiteFindingState"
|
|
9880
10168
|
- name: source
|
|
9881
10169
|
in: query
|
|
9882
10170
|
description: Filter findings by the source of their evidence. Each entry is either `connection:<connectionId>` (findings with at least one piece of evidence coming from the given connection) or `questions` (findings with at least one piece of evidence coming from a site question). When multiple entries are given, findings matching any of them are returned.
|
|
@@ -9944,8 +10232,12 @@ paths:
|
|
|
9944
10232
|
$ref: "#/components/schemas/SiteFinding"
|
|
9945
10233
|
patch:
|
|
9946
10234
|
operationId: updateSiteFindingById
|
|
9947
|
-
|
|
9948
|
-
|
|
10235
|
+
deprecated: true
|
|
10236
|
+
summary: Resolve, dismiss, or reopen a documentation issue. (Deprecated) use applySiteFindingAction instead.
|
|
10237
|
+
description: |-
|
|
10238
|
+
Changes the status of a documentation issue found by GitBook's AI. Refuses `broken-link` findings, whose status follows the redirects at their path.
|
|
10239
|
+
|
|
10240
|
+
Deprecated in favour of `applySiteFindingAction`, which applies one of the `actions` a finding lists: `mark-resolved`, `ignore`, `reopen` or `restore`.
|
|
9949
10241
|
x-gitbook-mcp: true
|
|
9950
10242
|
tags:
|
|
9951
10243
|
- site-context
|
|
@@ -10129,6 +10421,41 @@ paths:
|
|
|
10129
10421
|
type: array
|
|
10130
10422
|
items:
|
|
10131
10423
|
$ref: "#/components/schemas/ContextRecord"
|
|
10424
|
+
/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/actions:
|
|
10425
|
+
post:
|
|
10426
|
+
operationId: applySiteFindingAction
|
|
10427
|
+
summary: Apply an action to a finding
|
|
10428
|
+
description: "Applies one of the `actions` a finding lists, with the site permission it gives: resolve, dismiss or reopen it, or act on a broken link's redirect. Returns 409 when the finding doesn't allow the action now."
|
|
10429
|
+
x-gitbook-mcp:
|
|
10430
|
+
destructive: true
|
|
10431
|
+
tags:
|
|
10432
|
+
- site-context
|
|
10433
|
+
security:
|
|
10434
|
+
- user: []
|
|
10435
|
+
- oauth:
|
|
10436
|
+
- site:write
|
|
10437
|
+
parameters:
|
|
10438
|
+
- $ref: "#/components/parameters/organizationId"
|
|
10439
|
+
- $ref: "#/components/parameters/siteId"
|
|
10440
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
10441
|
+
requestBody:
|
|
10442
|
+
required: true
|
|
10443
|
+
content:
|
|
10444
|
+
application/json:
|
|
10445
|
+
schema:
|
|
10446
|
+
type: object
|
|
10447
|
+
properties:
|
|
10448
|
+
action:
|
|
10449
|
+
$ref: "#/components/schemas/SiteFindingAction"
|
|
10450
|
+
required:
|
|
10451
|
+
- action
|
|
10452
|
+
responses:
|
|
10453
|
+
"200":
|
|
10454
|
+
description: Action applied
|
|
10455
|
+
content:
|
|
10456
|
+
application/json:
|
|
10457
|
+
schema:
|
|
10458
|
+
$ref: "#/components/schemas/SiteFinding"
|
|
10132
10459
|
/orgs/{organizationId}/sites/{siteId}/stats/findings:
|
|
10133
10460
|
get:
|
|
10134
10461
|
operationId: getSiteFindingStats
|
|
@@ -10166,6 +10493,17 @@ paths:
|
|
|
10166
10493
|
description: Filter findings by estimated severity.
|
|
10167
10494
|
schema:
|
|
10168
10495
|
$ref: "#/components/schemas/SiteFindingSeverity"
|
|
10496
|
+
- name: autoResolution
|
|
10497
|
+
in: query
|
|
10498
|
+
description: "Filter findings by what GitBook did on its own to resolve them: `drafted` fixes wait for approval, `applied` ones were made live, `undone` ones were reversed by a person."
|
|
10499
|
+
schema:
|
|
10500
|
+
$ref: "#/components/schemas/SiteFindingAutoResolution"
|
|
10501
|
+
- name: autoResolvedAfter
|
|
10502
|
+
in: query
|
|
10503
|
+
description: Only return findings GitBook drafted or applied a fix for at or after this date. Combine with `autoResolution` and `status` to count recent automatic fixes.
|
|
10504
|
+
schema:
|
|
10505
|
+
type: string
|
|
10506
|
+
format: date-time
|
|
10169
10507
|
- name: hasChangeRequests
|
|
10170
10508
|
in: query
|
|
10171
10509
|
description: Filter findings that have at least one associated change request.
|
|
@@ -10431,6 +10769,7 @@ paths:
|
|
|
10431
10769
|
type: array
|
|
10432
10770
|
items:
|
|
10433
10771
|
$ref: "#/components/schemas/SiteChannelType"
|
|
10772
|
+
- $ref: "#/components/parameters/siteQuestionVisitorType"
|
|
10434
10773
|
- name: answered
|
|
10435
10774
|
in: query
|
|
10436
10775
|
description: Filter stats by answer resolution.
|
|
@@ -10510,7 +10849,7 @@ paths:
|
|
|
10510
10849
|
delete:
|
|
10511
10850
|
operationId: deleteSiteTopicFindings
|
|
10512
10851
|
summary: Delete all documentation issues found under a topic
|
|
10513
|
-
description: Permanently deletes every finding associated with a site topic, regardless of status. This is a bulk, irreversible cleanup operation — use `
|
|
10852
|
+
description: Permanently deletes every finding associated with a site topic, regardless of status. This is a bulk, irreversible cleanup operation — use `applySiteFindingAction` to resolve or dismiss individual issues instead unless the intent is to wipe every issue under a topic, for example when the topic itself is being removed.
|
|
10514
10853
|
x-gitbook-mcp: true
|
|
10515
10854
|
tags:
|
|
10516
10855
|
- site-context
|
|
@@ -10571,6 +10910,7 @@ paths:
|
|
|
10571
10910
|
type: array
|
|
10572
10911
|
items:
|
|
10573
10912
|
$ref: "#/components/schemas/SiteChannelType"
|
|
10913
|
+
- $ref: "#/components/parameters/siteQuestionVisitorType"
|
|
10574
10914
|
- name: answered
|
|
10575
10915
|
in: query
|
|
10576
10916
|
description: Filter questions by answer resolution.
|
|
@@ -10654,6 +10994,7 @@ paths:
|
|
|
10654
10994
|
type: array
|
|
10655
10995
|
items:
|
|
10656
10996
|
$ref: "#/components/schemas/SiteChannelType"
|
|
10997
|
+
- $ref: "#/components/parameters/siteQuestionVisitorType"
|
|
10657
10998
|
- name: answered
|
|
10658
10999
|
in: query
|
|
10659
11000
|
description: Filter stats by answer resolution.
|
|
@@ -10710,6 +11051,7 @@ paths:
|
|
|
10710
11051
|
type: array
|
|
10711
11052
|
items:
|
|
10712
11053
|
$ref: "#/components/schemas/SiteChannelType"
|
|
11054
|
+
- $ref: "#/components/parameters/siteQuestionVisitorType"
|
|
10713
11055
|
- name: answered
|
|
10714
11056
|
in: query
|
|
10715
11057
|
description: Filter answer sources by answer resolution.
|
|
@@ -10779,6 +11121,7 @@ paths:
|
|
|
10779
11121
|
type: array
|
|
10780
11122
|
items:
|
|
10781
11123
|
$ref: "#/components/schemas/SiteChannelType"
|
|
11124
|
+
- $ref: "#/components/parameters/siteQuestionVisitorType"
|
|
10782
11125
|
- name: answered
|
|
10783
11126
|
in: query
|
|
10784
11127
|
description: Filter stats by answer resolution.
|
|
@@ -10854,6 +11197,7 @@ paths:
|
|
|
10854
11197
|
type: array
|
|
10855
11198
|
items:
|
|
10856
11199
|
$ref: "#/components/schemas/SiteChannelType"
|
|
11200
|
+
- $ref: "#/components/parameters/siteQuestionVisitorType"
|
|
10857
11201
|
- name: question.type
|
|
10858
11202
|
in: query
|
|
10859
11203
|
description: Filter answers by question type.
|
|
@@ -11050,7 +11394,8 @@ paths:
|
|
|
11050
11394
|
operationId: duplicateSiteSpace
|
|
11051
11395
|
summary: Duplicate a space in a site
|
|
11052
11396
|
description: Creates a full copy of the space linked by the specified site space. When the site space is the only variant in a section, the copy is placed in a new sibling section. Otherwise, it is added as a variant under the same parent. Prefer this operation over duplicateSpace whenever the request originates from a site or needs to preserve site placement.
|
|
11053
|
-
x-gitbook-mcp:
|
|
11397
|
+
x-gitbook-mcp:
|
|
11398
|
+
destructive: true
|
|
11054
11399
|
tags:
|
|
11055
11400
|
- site-spaces
|
|
11056
11401
|
- spaces
|
|
@@ -11579,7 +11924,12 @@ paths:
|
|
|
11579
11924
|
- type: object
|
|
11580
11925
|
required:
|
|
11581
11926
|
- items
|
|
11927
|
+
- membersCount
|
|
11582
11928
|
properties:
|
|
11929
|
+
membersCount:
|
|
11930
|
+
type: integer
|
|
11931
|
+
minimum: 0
|
|
11932
|
+
description: Number of users with a role in the site, guests excluded. It ignores the filters and the pagination of the request.
|
|
11583
11933
|
items:
|
|
11584
11934
|
type: array
|
|
11585
11935
|
items:
|
|
@@ -11761,6 +12111,8 @@ paths:
|
|
|
11761
12111
|
parameters:
|
|
11762
12112
|
- $ref: "#/components/parameters/organizationId"
|
|
11763
12113
|
- $ref: "#/components/parameters/siteId"
|
|
12114
|
+
- $ref: "#/components/parameters/xOriginalUserAgent"
|
|
12115
|
+
- $ref: "#/components/parameters/xOriginalSignatureAgent"
|
|
11764
12116
|
requestBody:
|
|
11765
12117
|
required: true
|
|
11766
12118
|
content:
|
|
@@ -11809,7 +12161,8 @@ paths:
|
|
|
11809
12161
|
operationId: applyTemplateToSite
|
|
11810
12162
|
summary: Apply the default documentation template to a site
|
|
11811
12163
|
description: Populates an empty site with GitBook's default documentation structure, content, and customization. Use this after creating a site without spaces to give it a ready-to-edit starting point.
|
|
11812
|
-
x-gitbook-mcp:
|
|
12164
|
+
x-gitbook-mcp:
|
|
12165
|
+
destructive: true
|
|
11813
12166
|
tags:
|
|
11814
12167
|
- sites
|
|
11815
12168
|
security:
|
|
@@ -11850,7 +12203,7 @@ paths:
|
|
|
11850
12203
|
put:
|
|
11851
12204
|
operationId: updateSiteAgentSettingsById
|
|
11852
12205
|
summary: Update the AI agent configuration for a site
|
|
11853
|
-
description: Replaces the configuration for the AI built into the GitBook editor that helps authors draft, review, and refine content changes. Use this to customize how the AI behaves when assisting authors working on content for this site.
|
|
12206
|
+
description: Replaces the configuration for the AI built into the GitBook editor that helps authors draft, review, and refine content changes. Use this to customize how the AI behaves when assisting authors working on content for this site. When `brokenLinks` is omitted, the current broken links settings are kept.
|
|
11854
12207
|
x-gitbook-mcp: true
|
|
11855
12208
|
tags:
|
|
11856
12209
|
- site-agent-settings
|
|
@@ -11881,7 +12234,8 @@ paths:
|
|
|
11881
12234
|
operationId: createSiteStyleguideById
|
|
11882
12235
|
summary: Create or retrieve the style guide space for a site
|
|
11883
12236
|
description: Ensures the site has a dedicated style guide space and returns it. The style guide defines writing style and tone guidelines that the AI editor agent references when generating or refining content for the site. If a style guide already exists, this is idempotent and returns the existing space.
|
|
11884
|
-
x-gitbook-mcp:
|
|
12237
|
+
x-gitbook-mcp:
|
|
12238
|
+
idempotent: true
|
|
11885
12239
|
tags:
|
|
11886
12240
|
- sites
|
|
11887
12241
|
security:
|
|
@@ -12024,7 +12378,8 @@ paths:
|
|
|
12024
12378
|
operationId: aggregateSiteEvents
|
|
12025
12379
|
summary: Query a site's analytics events
|
|
12026
12380
|
description: "Runs an aggregation query over a published site's Insights events, grouped and filtered over a time range. Use it to answer analytics questions about how visitors engage with a site's documentation: page views, visitors, searches, referrers, and broken URLs (404s). A 404 is a `page_view` or `search_open_result` event whose `page` is `null`, in the `site` display context; filter `eventPageNotFoundType` not in `conditional` to leave out 404s that adaptive content explains. Group by `datetime` for a trend over time and by `urlPath` for the top broken URLs."
|
|
12027
|
-
x-gitbook-mcp:
|
|
12381
|
+
x-gitbook-mcp:
|
|
12382
|
+
readOnly: true
|
|
12028
12383
|
security:
|
|
12029
12384
|
- user: []
|
|
12030
12385
|
- oauth:
|
|
@@ -12077,7 +12432,9 @@ paths:
|
|
|
12077
12432
|
operationId: updateSiteAdsById
|
|
12078
12433
|
summary: Update the advertising settings for a site
|
|
12079
12434
|
description: Updates the advertising configuration for a site, including the review status and topic category used to select relevant ads. This controls GitBook's monetization feature for sites opted into the ads program.
|
|
12080
|
-
x-gitbook-mcp:
|
|
12435
|
+
x-gitbook-mcp:
|
|
12436
|
+
destructive: true
|
|
12437
|
+
idempotent: true
|
|
12081
12438
|
tags:
|
|
12082
12439
|
- site-ads
|
|
12083
12440
|
security:
|
|
@@ -12109,7 +12466,8 @@ paths:
|
|
|
12109
12466
|
operationId: createSiteRedirect
|
|
12110
12467
|
summary: Create a URL redirect rule for a site
|
|
12111
12468
|
description: Creates a new redirect rule mapping a source path to a destination URL or content reference. Creating a live redirect also resolves open broken-link findings for the same source path. Use the bulk upsert endpoint instead when creating many redirects at once.
|
|
12112
|
-
x-gitbook-mcp:
|
|
12469
|
+
x-gitbook-mcp:
|
|
12470
|
+
destructive: true
|
|
12113
12471
|
tags:
|
|
12114
12472
|
- site-redirects
|
|
12115
12473
|
security:
|
|
@@ -12718,7 +13076,8 @@ paths:
|
|
|
12718
13076
|
operationId: listSiteChannelScopes
|
|
12719
13077
|
summary: List available site channel scopes
|
|
12720
13078
|
description: Lists accessible Linear teams, GitHub repositories, Slack channels or Jira projects. Requires site admin permission. Linear, GitHub and Slack require an already-connected channel belonging to this site and matching the provider. Jira uses either the credentials supplied, verified without saving a connection, or those stored on an existing Jira context connection of this site. Slack includes public channels and accessible private channels, excluding archived channels. To fetch another page, pass the opaque token from `next.page` as the `page` query parameter with the same request body. An absent `next` means there are no more pages; an empty `items` array alone does not indicate the end of the list.
|
|
12721
|
-
x-gitbook-mcp:
|
|
13079
|
+
x-gitbook-mcp:
|
|
13080
|
+
readOnly: true
|
|
12722
13081
|
tags:
|
|
12723
13082
|
- site-channels
|
|
12724
13083
|
security:
|
|
@@ -13821,16 +14180,17 @@ components:
|
|
|
13821
14180
|
name: dereferenced
|
|
13822
14181
|
in: query
|
|
13823
14182
|
description: |
|
|
13824
|
-
Controls whether
|
|
13825
|
-
- When set to `
|
|
13826
|
-
- When set to `
|
|
14183
|
+
Controls whether references to other content are resolved and expanded.
|
|
14184
|
+
- When set to `false`, references are preserved, including reusable content includes in Markdown.
|
|
14185
|
+
- When set to `true`, all supported content references are expanded.
|
|
14186
|
+
- When set to `reusable-contents`, only reusable content references are expanded.
|
|
14187
|
+
When omitted, Markdown responses expand all supported content references, while document responses preserve them.
|
|
13827
14188
|
schema:
|
|
13828
14189
|
oneOf:
|
|
13829
14190
|
- type: boolean
|
|
13830
14191
|
- type: string
|
|
13831
14192
|
enum:
|
|
13832
14193
|
- reusable-contents
|
|
13833
|
-
default: false
|
|
13834
14194
|
pagePath:
|
|
13835
14195
|
name: pagePath
|
|
13836
14196
|
in: path
|
|
@@ -14104,6 +14464,13 @@ components:
|
|
|
14104
14464
|
description: The unique id of the SAML provider
|
|
14105
14465
|
schema:
|
|
14106
14466
|
type: string
|
|
14467
|
+
scimConnectionId:
|
|
14468
|
+
name: scimConnectionId
|
|
14469
|
+
in: path
|
|
14470
|
+
required: true
|
|
14471
|
+
description: The unique id of the SCIM connection
|
|
14472
|
+
schema:
|
|
14473
|
+
type: string
|
|
14107
14474
|
openapiSpecSlug:
|
|
14108
14475
|
name: specSlug
|
|
14109
14476
|
in: path
|
|
@@ -14189,6 +14556,25 @@ components:
|
|
|
14189
14556
|
description: The unique ID of the site external link
|
|
14190
14557
|
schema:
|
|
14191
14558
|
type: string
|
|
14559
|
+
xOriginalUserAgent:
|
|
14560
|
+
in: header
|
|
14561
|
+
name: X-Original-User-Agent
|
|
14562
|
+
description: |
|
|
14563
|
+
User agent of the visitor, when calling on behalf of one, such as from a server rendering a
|
|
14564
|
+
docs site. When omitted, the request's own `User-Agent` is used.
|
|
14565
|
+
required: false
|
|
14566
|
+
schema:
|
|
14567
|
+
type: string
|
|
14568
|
+
xOriginalSignatureAgent:
|
|
14569
|
+
in: header
|
|
14570
|
+
name: X-Original-Signature-Agent
|
|
14571
|
+
description: |
|
|
14572
|
+
`Signature-Agent` header sent by the visitor, when calling on behalf of one, for agents that
|
|
14573
|
+
sign their requests. When omitted, the request's own `Signature-Agent` is used.
|
|
14574
|
+
https://datatracker.ietf.org/doc/draft-meunier-web-bot-auth-architecture/
|
|
14575
|
+
required: false
|
|
14576
|
+
schema:
|
|
14577
|
+
type: string
|
|
14192
14578
|
siteContextRecordId:
|
|
14193
14579
|
name: siteContextRecordId
|
|
14194
14580
|
in: path
|
|
@@ -14217,6 +14603,14 @@ components:
|
|
|
14217
14603
|
description: The unique id of the context connection
|
|
14218
14604
|
schema:
|
|
14219
14605
|
type: string
|
|
14606
|
+
siteQuestionVisitorType:
|
|
14607
|
+
name: visitorType
|
|
14608
|
+
in: query
|
|
14609
|
+
description: Filter by whether a person or an AI agent asked the question.
|
|
14610
|
+
schema:
|
|
14611
|
+
type: array
|
|
14612
|
+
items:
|
|
14613
|
+
$ref: "#/components/schemas/SiteQuestionVisitorType"
|
|
14220
14614
|
siteTopicId:
|
|
14221
14615
|
name: siteTopicId
|
|
14222
14616
|
in: path
|
|
@@ -14655,6 +15049,9 @@ components:
|
|
|
14655
15049
|
- lv
|
|
14656
15050
|
- et
|
|
14657
15051
|
- sl
|
|
15052
|
+
- fr-ca
|
|
15053
|
+
- es-mx
|
|
15054
|
+
- es-419
|
|
14658
15055
|
GitSyncInstallationStatus:
|
|
14659
15056
|
type: string
|
|
14660
15057
|
enum:
|
|
@@ -16398,6 +16795,26 @@ components:
|
|
|
16398
16795
|
- type
|
|
16399
16796
|
- data
|
|
16400
16797
|
- nodes
|
|
16798
|
+
DocumentFragment:
|
|
16799
|
+
type: object
|
|
16800
|
+
properties:
|
|
16801
|
+
object:
|
|
16802
|
+
type: string
|
|
16803
|
+
enum:
|
|
16804
|
+
- fragment
|
|
16805
|
+
key:
|
|
16806
|
+
type: string
|
|
16807
|
+
fragment:
|
|
16808
|
+
type: string
|
|
16809
|
+
type:
|
|
16810
|
+
type: string
|
|
16811
|
+
nodes:
|
|
16812
|
+
type: array
|
|
16813
|
+
items:
|
|
16814
|
+
$ref: "#/components/schemas/DocumentBlock"
|
|
16815
|
+
required:
|
|
16816
|
+
- object
|
|
16817
|
+
- nodes
|
|
16401
16818
|
DocumentBlockEmbed:
|
|
16402
16819
|
type: object
|
|
16403
16820
|
properties:
|
|
@@ -16420,6 +16837,24 @@ components:
|
|
|
16420
16837
|
type: boolean
|
|
16421
16838
|
required:
|
|
16422
16839
|
- url
|
|
16840
|
+
fragments:
|
|
16841
|
+
type: array
|
|
16842
|
+
items:
|
|
16843
|
+
allOf:
|
|
16844
|
+
- $ref: "#/components/schemas/DocumentFragment"
|
|
16845
|
+
- type: object
|
|
16846
|
+
properties:
|
|
16847
|
+
fragment:
|
|
16848
|
+
type: string
|
|
16849
|
+
enum:
|
|
16850
|
+
- caption
|
|
16851
|
+
nodes:
|
|
16852
|
+
type: array
|
|
16853
|
+
items:
|
|
16854
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
16855
|
+
required:
|
|
16856
|
+
- nodes
|
|
16857
|
+
- fragment
|
|
16423
16858
|
isVoid:
|
|
16424
16859
|
type: boolean
|
|
16425
16860
|
enum:
|
|
@@ -16898,26 +17333,6 @@ components:
|
|
|
16898
17333
|
- anchor
|
|
16899
17334
|
- rowSpan
|
|
16900
17335
|
- colSpan
|
|
16901
|
-
DocumentFragment:
|
|
16902
|
-
type: object
|
|
16903
|
-
properties:
|
|
16904
|
-
object:
|
|
16905
|
-
type: string
|
|
16906
|
-
enum:
|
|
16907
|
-
- fragment
|
|
16908
|
-
key:
|
|
16909
|
-
type: string
|
|
16910
|
-
fragment:
|
|
16911
|
-
type: string
|
|
16912
|
-
type:
|
|
16913
|
-
type: string
|
|
16914
|
-
nodes:
|
|
16915
|
-
type: array
|
|
16916
|
-
items:
|
|
16917
|
-
$ref: "#/components/schemas/DocumentBlock"
|
|
16918
|
-
required:
|
|
16919
|
-
- object
|
|
16920
|
-
- nodes
|
|
16921
17336
|
DocumentBlockTable:
|
|
16922
17337
|
type: object
|
|
16923
17338
|
properties:
|
|
@@ -16975,7 +17390,7 @@ components:
|
|
|
16975
17390
|
- data
|
|
16976
17391
|
- isVoid
|
|
16977
17392
|
- fragments
|
|
16978
|
-
|
|
17393
|
+
DocumentBlockQuote:
|
|
16979
17394
|
type: object
|
|
16980
17395
|
properties:
|
|
16981
17396
|
object:
|
|
@@ -16985,41 +17400,39 @@ components:
|
|
|
16985
17400
|
type:
|
|
16986
17401
|
type: string
|
|
16987
17402
|
enum:
|
|
16988
|
-
-
|
|
17403
|
+
- blockquote
|
|
16989
17404
|
key:
|
|
16990
17405
|
type: string
|
|
16991
|
-
data:
|
|
16992
|
-
type: object
|
|
16993
|
-
properties:
|
|
16994
|
-
style:
|
|
16995
|
-
type: string
|
|
16996
|
-
enum:
|
|
16997
|
-
- info
|
|
16998
|
-
- warning
|
|
16999
|
-
- danger
|
|
17000
|
-
- success
|
|
17001
|
-
icon:
|
|
17002
|
-
$ref: "#/components/schemas/Icon"
|
|
17003
|
-
required:
|
|
17004
|
-
- style
|
|
17005
17406
|
nodes:
|
|
17006
17407
|
type: array
|
|
17007
17408
|
items:
|
|
17008
17409
|
oneOf:
|
|
17009
17410
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17411
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17412
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17413
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17010
17414
|
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17011
|
-
- $ref: "#/components/schemas/
|
|
17012
|
-
- $ref: "#/components/schemas/
|
|
17415
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17416
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17417
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17418
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17419
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17420
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17421
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17422
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
17013
17423
|
isVoid:
|
|
17014
17424
|
type: boolean
|
|
17015
17425
|
enum:
|
|
17016
17426
|
- false
|
|
17427
|
+
data:
|
|
17428
|
+
type: object
|
|
17429
|
+
properties: {}
|
|
17430
|
+
additionalProperties: false
|
|
17017
17431
|
required:
|
|
17018
17432
|
- object
|
|
17019
17433
|
- type
|
|
17020
|
-
- data
|
|
17021
17434
|
- nodes
|
|
17022
|
-
|
|
17435
|
+
DocumentBlockDrawing:
|
|
17023
17436
|
type: object
|
|
17024
17437
|
properties:
|
|
17025
17438
|
object:
|
|
@@ -17029,28 +17442,43 @@ components:
|
|
|
17029
17442
|
type:
|
|
17030
17443
|
type: string
|
|
17031
17444
|
enum:
|
|
17032
|
-
-
|
|
17445
|
+
- drawing
|
|
17033
17446
|
key:
|
|
17034
17447
|
type: string
|
|
17035
|
-
|
|
17448
|
+
data:
|
|
17449
|
+
type: object
|
|
17450
|
+
properties:
|
|
17451
|
+
ref:
|
|
17452
|
+
oneOf:
|
|
17453
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
17454
|
+
fragments:
|
|
17036
17455
|
type: array
|
|
17037
17456
|
items:
|
|
17038
|
-
|
|
17039
|
-
- $ref: "#/components/schemas/
|
|
17040
|
-
-
|
|
17457
|
+
allOf:
|
|
17458
|
+
- $ref: "#/components/schemas/DocumentFragment"
|
|
17459
|
+
- type: object
|
|
17460
|
+
properties:
|
|
17461
|
+
fragment:
|
|
17462
|
+
type: string
|
|
17463
|
+
enum:
|
|
17464
|
+
- caption
|
|
17465
|
+
nodes:
|
|
17466
|
+
type: array
|
|
17467
|
+
items:
|
|
17468
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
17469
|
+
required:
|
|
17470
|
+
- nodes
|
|
17471
|
+
- fragment
|
|
17041
17472
|
isVoid:
|
|
17042
17473
|
type: boolean
|
|
17043
17474
|
enum:
|
|
17044
|
-
-
|
|
17045
|
-
data:
|
|
17046
|
-
type: object
|
|
17047
|
-
properties: {}
|
|
17048
|
-
additionalProperties: false
|
|
17475
|
+
- true
|
|
17049
17476
|
required:
|
|
17050
17477
|
- object
|
|
17051
17478
|
- type
|
|
17052
|
-
-
|
|
17053
|
-
|
|
17479
|
+
- data
|
|
17480
|
+
- isVoid
|
|
17481
|
+
DocumentBlockFile:
|
|
17054
17482
|
type: object
|
|
17055
17483
|
properties:
|
|
17056
17484
|
object:
|
|
@@ -17060,16 +17488,35 @@ components:
|
|
|
17060
17488
|
type:
|
|
17061
17489
|
type: string
|
|
17062
17490
|
enum:
|
|
17063
|
-
-
|
|
17491
|
+
- file
|
|
17064
17492
|
key:
|
|
17065
17493
|
type: string
|
|
17066
17494
|
data:
|
|
17067
17495
|
type: object
|
|
17068
17496
|
properties:
|
|
17069
|
-
|
|
17070
|
-
|
|
17497
|
+
ref:
|
|
17498
|
+
oneOf:
|
|
17499
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
17071
17500
|
required:
|
|
17072
|
-
-
|
|
17501
|
+
- ref
|
|
17502
|
+
fragments:
|
|
17503
|
+
type: array
|
|
17504
|
+
items:
|
|
17505
|
+
allOf:
|
|
17506
|
+
- $ref: "#/components/schemas/DocumentFragment"
|
|
17507
|
+
- type: object
|
|
17508
|
+
properties:
|
|
17509
|
+
fragment:
|
|
17510
|
+
type: string
|
|
17511
|
+
enum:
|
|
17512
|
+
- caption
|
|
17513
|
+
nodes:
|
|
17514
|
+
type: array
|
|
17515
|
+
items:
|
|
17516
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
17517
|
+
required:
|
|
17518
|
+
- nodes
|
|
17519
|
+
- fragment
|
|
17073
17520
|
isVoid:
|
|
17074
17521
|
type: boolean
|
|
17075
17522
|
enum:
|
|
@@ -17191,7 +17638,7 @@ components:
|
|
|
17191
17638
|
- data
|
|
17192
17639
|
- nodes
|
|
17193
17640
|
- isVoid
|
|
17194
|
-
|
|
17641
|
+
DocumentBlockHint:
|
|
17195
17642
|
type: object
|
|
17196
17643
|
properties:
|
|
17197
17644
|
object:
|
|
@@ -17201,57 +17648,42 @@ components:
|
|
|
17201
17648
|
type:
|
|
17202
17649
|
type: string
|
|
17203
17650
|
enum:
|
|
17204
|
-
-
|
|
17651
|
+
- hint
|
|
17205
17652
|
key:
|
|
17206
17653
|
type: string
|
|
17654
|
+
data:
|
|
17655
|
+
type: object
|
|
17656
|
+
properties:
|
|
17657
|
+
style:
|
|
17658
|
+
type: string
|
|
17659
|
+
enum:
|
|
17660
|
+
- info
|
|
17661
|
+
- warning
|
|
17662
|
+
- danger
|
|
17663
|
+
- success
|
|
17664
|
+
icon:
|
|
17665
|
+
$ref: "#/components/schemas/Icon"
|
|
17666
|
+
required:
|
|
17667
|
+
- style
|
|
17207
17668
|
nodes:
|
|
17208
17669
|
type: array
|
|
17209
17670
|
items:
|
|
17210
17671
|
oneOf:
|
|
17211
17672
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17673
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17674
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
17675
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
17676
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17212
17677
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17678
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17679
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17680
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17213
17681
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17214
|
-
- $ref: "#/components/schemas/
|
|
17682
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17215
17683
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17216
|
-
- $ref: "#/components/schemas/
|
|
17217
|
-
- $ref: "#/components/schemas/
|
|
17218
|
-
|
|
17219
|
-
type: boolean
|
|
17220
|
-
enum:
|
|
17221
|
-
- false
|
|
17222
|
-
data:
|
|
17223
|
-
type: object
|
|
17224
|
-
properties:
|
|
17225
|
-
checked:
|
|
17226
|
-
type: boolean
|
|
17227
|
-
required:
|
|
17228
|
-
- object
|
|
17229
|
-
- type
|
|
17230
|
-
- nodes
|
|
17231
|
-
DocumentBlockListOrdered:
|
|
17232
|
-
type: object
|
|
17233
|
-
properties:
|
|
17234
|
-
object:
|
|
17235
|
-
type: string
|
|
17236
|
-
enum:
|
|
17237
|
-
- block
|
|
17238
|
-
type:
|
|
17239
|
-
type: string
|
|
17240
|
-
enum:
|
|
17241
|
-
- list-ordered
|
|
17242
|
-
key:
|
|
17243
|
-
type: string
|
|
17244
|
-
data:
|
|
17245
|
-
type: object
|
|
17246
|
-
properties:
|
|
17247
|
-
start:
|
|
17248
|
-
type: number
|
|
17249
|
-
description: An integer to start counting from for the list items.
|
|
17250
|
-
nodes:
|
|
17251
|
-
type: array
|
|
17252
|
-
items:
|
|
17253
|
-
oneOf:
|
|
17254
|
-
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17684
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17685
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17686
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
17255
17687
|
isVoid:
|
|
17256
17688
|
type: boolean
|
|
17257
17689
|
enum:
|
|
@@ -17261,91 +17693,6 @@ components:
|
|
|
17261
17693
|
- type
|
|
17262
17694
|
- data
|
|
17263
17695
|
- nodes
|
|
17264
|
-
DocumentBlockListUnordered:
|
|
17265
|
-
type: object
|
|
17266
|
-
properties:
|
|
17267
|
-
object:
|
|
17268
|
-
type: string
|
|
17269
|
-
enum:
|
|
17270
|
-
- block
|
|
17271
|
-
type:
|
|
17272
|
-
type: string
|
|
17273
|
-
enum:
|
|
17274
|
-
- list-unordered
|
|
17275
|
-
key:
|
|
17276
|
-
type: string
|
|
17277
|
-
nodes:
|
|
17278
|
-
type: array
|
|
17279
|
-
items:
|
|
17280
|
-
oneOf:
|
|
17281
|
-
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17282
|
-
data:
|
|
17283
|
-
type: object
|
|
17284
|
-
additionalProperties: false
|
|
17285
|
-
isVoid:
|
|
17286
|
-
type: boolean
|
|
17287
|
-
enum:
|
|
17288
|
-
- false
|
|
17289
|
-
required:
|
|
17290
|
-
- object
|
|
17291
|
-
- type
|
|
17292
|
-
- nodes
|
|
17293
|
-
DocumentBlockListTasks:
|
|
17294
|
-
type: object
|
|
17295
|
-
properties:
|
|
17296
|
-
object:
|
|
17297
|
-
type: string
|
|
17298
|
-
enum:
|
|
17299
|
-
- block
|
|
17300
|
-
type:
|
|
17301
|
-
type: string
|
|
17302
|
-
enum:
|
|
17303
|
-
- list-tasks
|
|
17304
|
-
key:
|
|
17305
|
-
type: string
|
|
17306
|
-
nodes:
|
|
17307
|
-
type: array
|
|
17308
|
-
items:
|
|
17309
|
-
oneOf:
|
|
17310
|
-
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17311
|
-
isVoid:
|
|
17312
|
-
type: boolean
|
|
17313
|
-
enum:
|
|
17314
|
-
- false
|
|
17315
|
-
data:
|
|
17316
|
-
type: object
|
|
17317
|
-
properties: {}
|
|
17318
|
-
additionalProperties: false
|
|
17319
|
-
required:
|
|
17320
|
-
- object
|
|
17321
|
-
- type
|
|
17322
|
-
- nodes
|
|
17323
|
-
DocumentBlockDivider:
|
|
17324
|
-
type: object
|
|
17325
|
-
properties:
|
|
17326
|
-
object:
|
|
17327
|
-
type: string
|
|
17328
|
-
enum:
|
|
17329
|
-
- block
|
|
17330
|
-
type:
|
|
17331
|
-
type: string
|
|
17332
|
-
enum:
|
|
17333
|
-
- divider
|
|
17334
|
-
key:
|
|
17335
|
-
type: string
|
|
17336
|
-
isVoid:
|
|
17337
|
-
type: boolean
|
|
17338
|
-
enum:
|
|
17339
|
-
- true
|
|
17340
|
-
data:
|
|
17341
|
-
type: object
|
|
17342
|
-
properties: {}
|
|
17343
|
-
additionalProperties: false
|
|
17344
|
-
required:
|
|
17345
|
-
- object
|
|
17346
|
-
- type
|
|
17347
|
-
- isVoid
|
|
17348
|
-
- data
|
|
17349
17696
|
DocumentBlockPrompt:
|
|
17350
17697
|
type: object
|
|
17351
17698
|
properties:
|
|
@@ -17454,7 +17801,7 @@ components:
|
|
|
17454
17801
|
- type
|
|
17455
17802
|
- nodes
|
|
17456
17803
|
- data
|
|
17457
|
-
|
|
17804
|
+
DocumentBlockReusableContent:
|
|
17458
17805
|
type: object
|
|
17459
17806
|
properties:
|
|
17460
17807
|
object:
|
|
@@ -17464,55 +17811,32 @@ components:
|
|
|
17464
17811
|
type:
|
|
17465
17812
|
type: string
|
|
17466
17813
|
enum:
|
|
17467
|
-
-
|
|
17814
|
+
- reusable-content
|
|
17468
17815
|
key:
|
|
17469
17816
|
type: string
|
|
17470
17817
|
data:
|
|
17471
17818
|
type: object
|
|
17472
17819
|
properties:
|
|
17473
17820
|
ref:
|
|
17474
|
-
|
|
17475
|
-
- $ref: "#/components/schemas/ContentRefFile"
|
|
17821
|
+
$ref: "#/components/schemas/ContentRefReusableContent"
|
|
17476
17822
|
required:
|
|
17477
17823
|
- ref
|
|
17478
17824
|
isVoid:
|
|
17479
17825
|
type: boolean
|
|
17480
17826
|
enum:
|
|
17481
17827
|
- true
|
|
17482
|
-
|
|
17483
|
-
- object
|
|
17484
|
-
- type
|
|
17485
|
-
- data
|
|
17486
|
-
- isVoid
|
|
17487
|
-
DocumentBlockDrawing:
|
|
17488
|
-
type: object
|
|
17489
|
-
properties:
|
|
17490
|
-
object:
|
|
17491
|
-
type: string
|
|
17492
|
-
enum:
|
|
17493
|
-
- block
|
|
17494
|
-
type:
|
|
17495
|
-
type: string
|
|
17496
|
-
enum:
|
|
17497
|
-
- drawing
|
|
17498
|
-
key:
|
|
17499
|
-
type: string
|
|
17500
|
-
data:
|
|
17828
|
+
meta:
|
|
17501
17829
|
type: object
|
|
17502
17830
|
properties:
|
|
17503
|
-
|
|
17504
|
-
|
|
17505
|
-
|
|
17506
|
-
isVoid:
|
|
17507
|
-
type: boolean
|
|
17508
|
-
enum:
|
|
17509
|
-
- true
|
|
17831
|
+
token:
|
|
17832
|
+
description: A content token that can be used to fetch the reusable content from the API.
|
|
17833
|
+
type: string
|
|
17510
17834
|
required:
|
|
17511
17835
|
- object
|
|
17512
17836
|
- type
|
|
17513
17837
|
- data
|
|
17514
17838
|
- isVoid
|
|
17515
|
-
|
|
17839
|
+
DocumentBlockContentRef:
|
|
17516
17840
|
type: object
|
|
17517
17841
|
properties:
|
|
17518
17842
|
object:
|
|
@@ -17522,32 +17846,26 @@ components:
|
|
|
17522
17846
|
type:
|
|
17523
17847
|
type: string
|
|
17524
17848
|
enum:
|
|
17525
|
-
-
|
|
17849
|
+
- content-ref
|
|
17526
17850
|
key:
|
|
17527
17851
|
type: string
|
|
17528
17852
|
data:
|
|
17529
17853
|
type: object
|
|
17530
17854
|
properties:
|
|
17531
17855
|
ref:
|
|
17532
|
-
$ref: "#/components/schemas/
|
|
17856
|
+
$ref: "#/components/schemas/ContentRef"
|
|
17533
17857
|
required:
|
|
17534
17858
|
- ref
|
|
17535
17859
|
isVoid:
|
|
17536
17860
|
type: boolean
|
|
17537
17861
|
enum:
|
|
17538
17862
|
- true
|
|
17539
|
-
meta:
|
|
17540
|
-
type: object
|
|
17541
|
-
properties:
|
|
17542
|
-
token:
|
|
17543
|
-
description: A content token that can be used to fetch the reusable content from the API.
|
|
17544
|
-
type: string
|
|
17545
17863
|
required:
|
|
17546
17864
|
- object
|
|
17547
17865
|
- type
|
|
17548
17866
|
- data
|
|
17549
17867
|
- isVoid
|
|
17550
|
-
|
|
17868
|
+
DocumentBlockMath:
|
|
17551
17869
|
type: object
|
|
17552
17870
|
properties:
|
|
17553
17871
|
object:
|
|
@@ -17557,16 +17875,16 @@ components:
|
|
|
17557
17875
|
type:
|
|
17558
17876
|
type: string
|
|
17559
17877
|
enum:
|
|
17560
|
-
-
|
|
17878
|
+
- math
|
|
17561
17879
|
key:
|
|
17562
17880
|
type: string
|
|
17563
17881
|
data:
|
|
17564
17882
|
type: object
|
|
17565
17883
|
properties:
|
|
17566
|
-
|
|
17567
|
-
|
|
17884
|
+
formula:
|
|
17885
|
+
type: string
|
|
17568
17886
|
required:
|
|
17569
|
-
-
|
|
17887
|
+
- formula
|
|
17570
17888
|
isVoid:
|
|
17571
17889
|
type: boolean
|
|
17572
17890
|
enum:
|
|
@@ -17654,6 +17972,7 @@ components:
|
|
|
17654
17972
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
17655
17973
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
17656
17974
|
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17975
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
17657
17976
|
minItems: 1
|
|
17658
17977
|
required:
|
|
17659
17978
|
- nodes
|
|
@@ -17702,6 +18021,37 @@ components:
|
|
|
17702
18021
|
- object
|
|
17703
18022
|
- type
|
|
17704
18023
|
- nodes
|
|
18024
|
+
DocumentBlockTabs:
|
|
18025
|
+
type: object
|
|
18026
|
+
properties:
|
|
18027
|
+
object:
|
|
18028
|
+
type: string
|
|
18029
|
+
enum:
|
|
18030
|
+
- block
|
|
18031
|
+
type:
|
|
18032
|
+
type: string
|
|
18033
|
+
enum:
|
|
18034
|
+
- tabs
|
|
18035
|
+
key:
|
|
18036
|
+
type: string
|
|
18037
|
+
nodes:
|
|
18038
|
+
type: array
|
|
18039
|
+
items:
|
|
18040
|
+
$ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
18041
|
+
isVoid:
|
|
18042
|
+
type: boolean
|
|
18043
|
+
enum:
|
|
18044
|
+
- false
|
|
18045
|
+
data:
|
|
18046
|
+
type: object
|
|
18047
|
+
properties:
|
|
18048
|
+
fullWidth:
|
|
18049
|
+
type: boolean
|
|
18050
|
+
additionalProperties: false
|
|
18051
|
+
required:
|
|
18052
|
+
- object
|
|
18053
|
+
- type
|
|
18054
|
+
- nodes
|
|
17705
18055
|
DocumentBlockTabsItem:
|
|
17706
18056
|
type: object
|
|
17707
18057
|
properties:
|
|
@@ -17736,6 +18086,7 @@ components:
|
|
|
17736
18086
|
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17737
18087
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
17738
18088
|
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
18089
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
17739
18090
|
data:
|
|
17740
18091
|
type: object
|
|
17741
18092
|
properties:
|
|
@@ -17763,7 +18114,7 @@ components:
|
|
|
17763
18114
|
- type
|
|
17764
18115
|
- nodes
|
|
17765
18116
|
- data
|
|
17766
|
-
|
|
18117
|
+
DocumentBlockStepperStep:
|
|
17767
18118
|
type: object
|
|
17768
18119
|
properties:
|
|
17769
18120
|
object:
|
|
@@ -17773,28 +18124,46 @@ components:
|
|
|
17773
18124
|
type:
|
|
17774
18125
|
type: string
|
|
17775
18126
|
enum:
|
|
17776
|
-
-
|
|
18127
|
+
- stepper-step
|
|
17777
18128
|
key:
|
|
17778
18129
|
type: string
|
|
17779
18130
|
nodes:
|
|
17780
18131
|
type: array
|
|
17781
18132
|
items:
|
|
17782
|
-
|
|
18133
|
+
oneOf:
|
|
18134
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
18135
|
+
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
18136
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
18137
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
18138
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
18139
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
18140
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
18141
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
18142
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
18143
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
18144
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
18145
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
18146
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
18147
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
18148
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
18149
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
18150
|
+
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
18151
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
18152
|
+
data:
|
|
18153
|
+
type: object
|
|
18154
|
+
properties:
|
|
18155
|
+
icon:
|
|
18156
|
+
type: string
|
|
17783
18157
|
isVoid:
|
|
17784
18158
|
type: boolean
|
|
17785
18159
|
enum:
|
|
17786
18160
|
- false
|
|
17787
|
-
data:
|
|
17788
|
-
type: object
|
|
17789
|
-
properties:
|
|
17790
|
-
fullWidth:
|
|
17791
|
-
type: boolean
|
|
17792
|
-
additionalProperties: false
|
|
17793
18161
|
required:
|
|
17794
18162
|
- object
|
|
17795
18163
|
- type
|
|
17796
18164
|
- nodes
|
|
17797
|
-
|
|
18165
|
+
- data
|
|
18166
|
+
DocumentBlockListItem:
|
|
17798
18167
|
type: object
|
|
17799
18168
|
properties:
|
|
17800
18169
|
object:
|
|
@@ -17804,7 +18173,7 @@ components:
|
|
|
17804
18173
|
type:
|
|
17805
18174
|
type: string
|
|
17806
18175
|
enum:
|
|
17807
|
-
-
|
|
18176
|
+
- list-item
|
|
17808
18177
|
key:
|
|
17809
18178
|
type: string
|
|
17810
18179
|
nodes:
|
|
@@ -17812,36 +18181,142 @@ components:
|
|
|
17812
18181
|
items:
|
|
17813
18182
|
oneOf:
|
|
17814
18183
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17815
|
-
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
17816
18184
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17817
|
-
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17818
|
-
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17819
|
-
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
17820
|
-
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17821
18185
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17822
|
-
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17823
18186
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17824
18187
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17825
|
-
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
17826
|
-
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17827
18188
|
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
17828
|
-
- $ref: "#/components/schemas/
|
|
17829
|
-
|
|
17830
|
-
|
|
17831
|
-
|
|
18189
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
18190
|
+
isVoid:
|
|
18191
|
+
type: boolean
|
|
18192
|
+
enum:
|
|
18193
|
+
- false
|
|
17832
18194
|
data:
|
|
17833
18195
|
type: object
|
|
17834
18196
|
properties:
|
|
17835
|
-
|
|
17836
|
-
type:
|
|
18197
|
+
checked:
|
|
18198
|
+
type: boolean
|
|
18199
|
+
required:
|
|
18200
|
+
- object
|
|
18201
|
+
- type
|
|
18202
|
+
- nodes
|
|
18203
|
+
DocumentBlockListOrdered:
|
|
18204
|
+
type: object
|
|
18205
|
+
properties:
|
|
18206
|
+
object:
|
|
18207
|
+
type: string
|
|
18208
|
+
enum:
|
|
18209
|
+
- block
|
|
18210
|
+
type:
|
|
18211
|
+
type: string
|
|
18212
|
+
enum:
|
|
18213
|
+
- list-ordered
|
|
18214
|
+
key:
|
|
18215
|
+
type: string
|
|
18216
|
+
data:
|
|
18217
|
+
type: object
|
|
18218
|
+
properties:
|
|
18219
|
+
start:
|
|
18220
|
+
type: number
|
|
18221
|
+
description: An integer to start counting from for the list items.
|
|
18222
|
+
nodes:
|
|
18223
|
+
type: array
|
|
18224
|
+
items:
|
|
18225
|
+
oneOf:
|
|
18226
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
18227
|
+
isVoid:
|
|
18228
|
+
type: boolean
|
|
18229
|
+
enum:
|
|
18230
|
+
- false
|
|
18231
|
+
required:
|
|
18232
|
+
- object
|
|
18233
|
+
- type
|
|
18234
|
+
- data
|
|
18235
|
+
- nodes
|
|
18236
|
+
DocumentBlockListUnordered:
|
|
18237
|
+
type: object
|
|
18238
|
+
properties:
|
|
18239
|
+
object:
|
|
18240
|
+
type: string
|
|
18241
|
+
enum:
|
|
18242
|
+
- block
|
|
18243
|
+
type:
|
|
18244
|
+
type: string
|
|
18245
|
+
enum:
|
|
18246
|
+
- list-unordered
|
|
18247
|
+
key:
|
|
18248
|
+
type: string
|
|
18249
|
+
nodes:
|
|
18250
|
+
type: array
|
|
18251
|
+
items:
|
|
18252
|
+
oneOf:
|
|
18253
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
18254
|
+
data:
|
|
18255
|
+
type: object
|
|
18256
|
+
additionalProperties: false
|
|
18257
|
+
isVoid:
|
|
18258
|
+
type: boolean
|
|
18259
|
+
enum:
|
|
18260
|
+
- false
|
|
18261
|
+
required:
|
|
18262
|
+
- object
|
|
18263
|
+
- type
|
|
18264
|
+
- nodes
|
|
18265
|
+
DocumentBlockListTasks:
|
|
18266
|
+
type: object
|
|
18267
|
+
properties:
|
|
18268
|
+
object:
|
|
18269
|
+
type: string
|
|
18270
|
+
enum:
|
|
18271
|
+
- block
|
|
18272
|
+
type:
|
|
18273
|
+
type: string
|
|
18274
|
+
enum:
|
|
18275
|
+
- list-tasks
|
|
18276
|
+
key:
|
|
18277
|
+
type: string
|
|
18278
|
+
nodes:
|
|
18279
|
+
type: array
|
|
18280
|
+
items:
|
|
18281
|
+
oneOf:
|
|
18282
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17837
18283
|
isVoid:
|
|
17838
18284
|
type: boolean
|
|
17839
18285
|
enum:
|
|
17840
18286
|
- false
|
|
18287
|
+
data:
|
|
18288
|
+
type: object
|
|
18289
|
+
properties: {}
|
|
18290
|
+
additionalProperties: false
|
|
17841
18291
|
required:
|
|
17842
18292
|
- object
|
|
17843
18293
|
- type
|
|
17844
18294
|
- nodes
|
|
18295
|
+
DocumentBlockDivider:
|
|
18296
|
+
type: object
|
|
18297
|
+
properties:
|
|
18298
|
+
object:
|
|
18299
|
+
type: string
|
|
18300
|
+
enum:
|
|
18301
|
+
- block
|
|
18302
|
+
type:
|
|
18303
|
+
type: string
|
|
18304
|
+
enum:
|
|
18305
|
+
- divider
|
|
18306
|
+
key:
|
|
18307
|
+
type: string
|
|
18308
|
+
isVoid:
|
|
18309
|
+
type: boolean
|
|
18310
|
+
enum:
|
|
18311
|
+
- true
|
|
18312
|
+
data:
|
|
18313
|
+
type: object
|
|
18314
|
+
properties: {}
|
|
18315
|
+
additionalProperties: false
|
|
18316
|
+
required:
|
|
18317
|
+
- object
|
|
18318
|
+
- type
|
|
18319
|
+
- isVoid
|
|
17845
18320
|
- data
|
|
17846
18321
|
OpenAPIOperationPointer:
|
|
17847
18322
|
type: object
|
|
@@ -18180,7 +18655,12 @@ components:
|
|
|
18180
18655
|
type: object
|
|
18181
18656
|
properties:
|
|
18182
18657
|
date:
|
|
18183
|
-
|
|
18658
|
+
type: string
|
|
18659
|
+
description: Date of the update. Accepts a YYYY-MM-DD date or a timestamp. Timestamps are normalized to their UTC calendar date; responses use YYYY-MM-DD.
|
|
18660
|
+
oneOf:
|
|
18661
|
+
- type: string
|
|
18662
|
+
format: date
|
|
18663
|
+
- $ref: "#/components/schemas/Timestamp"
|
|
18184
18664
|
tags:
|
|
18185
18665
|
type: array
|
|
18186
18666
|
description: Array of tags. Each tag is id'ed by its slug.
|
|
@@ -19548,13 +20028,14 @@ components:
|
|
|
19548
20028
|
finding:
|
|
19549
20029
|
type: string
|
|
19550
20030
|
deprecated: true
|
|
19551
|
-
description: "ID of the site finding the change request fixes. Use `
|
|
20031
|
+
description: "ID of the site finding the change request fixes. Use `siteFindings` instead: a change request can fix a finding without belonging to a topic, and this field is absent in that case."
|
|
19552
20032
|
required:
|
|
19553
20033
|
- site
|
|
19554
20034
|
- topic
|
|
19555
20035
|
siteFinding:
|
|
20036
|
+
deprecated: true
|
|
19556
20037
|
type: object
|
|
19557
|
-
description:
|
|
20038
|
+
description: First linked site finding. Use `siteFindings` to read all linked findings.
|
|
19558
20039
|
properties:
|
|
19559
20040
|
site:
|
|
19560
20041
|
type: string
|
|
@@ -19565,6 +20046,21 @@ components:
|
|
|
19565
20046
|
required:
|
|
19566
20047
|
- site
|
|
19567
20048
|
- finding
|
|
20049
|
+
siteFindings:
|
|
20050
|
+
type: array
|
|
20051
|
+
description: Site findings linked to the change request, in link order. Absent when none are linked. Merging resolves findings once every linked change request is merged, except outbound broken links, which are resolved by the outbound checker.
|
|
20052
|
+
items:
|
|
20053
|
+
type: object
|
|
20054
|
+
properties:
|
|
20055
|
+
site:
|
|
20056
|
+
type: string
|
|
20057
|
+
description: ID of the site the finding belongs to.
|
|
20058
|
+
finding:
|
|
20059
|
+
type: string
|
|
20060
|
+
description: ID of the site finding the change request fixes.
|
|
20061
|
+
required:
|
|
20062
|
+
- site
|
|
20063
|
+
- finding
|
|
19568
20064
|
styleguide:
|
|
19569
20065
|
type: object
|
|
19570
20066
|
description: |
|
|
@@ -20297,6 +20793,11 @@ components:
|
|
|
20297
20793
|
ref:
|
|
20298
20794
|
type: string
|
|
20299
20795
|
description: Temporary local reference for the page, used only for the lifetime of this request and never persisted. Other pages inserted in the same batch can link to this page by its ref (e.g. `[Page](./<ref>.md)`), which resolves to the page's ID at apply time — regardless of operation order or the page's eventual slug. A ref must be unique within the batch and must not collide with an existing page's path.
|
|
20796
|
+
stableKey:
|
|
20797
|
+
type: string
|
|
20798
|
+
minLength: 1
|
|
20799
|
+
maxLength: 255
|
|
20800
|
+
description: "Stable identifier for the page's content, such as the ID of the record it is generated from. The page's ID is derived from it, so re-inserting a deleted page with the same key restores its ID and links to it keep working. The same key gives the same page ID in every space, including duplicated spaces. To change a page that exists, use `update_page`: an insert whose key matches an existing page, or another insert in the batch, is rejected, so deleting a page and re-inserting its key must be done in separate requests. A re-created page takes over the old page's comments, redirects, insights and history. When two change requests insert the same key, merging both keeps only one of the pages, without a conflict."
|
|
20300
20801
|
document:
|
|
20301
20802
|
description: Document for the new page. When provided as markdown, its frontmatter is read to set the page metadata.
|
|
20302
20803
|
$ref: "#/components/schemas/Document"
|
|
@@ -20405,6 +20906,128 @@ components:
|
|
|
20405
20906
|
- ref: architecture.png
|
|
20406
20907
|
name: architecture.png
|
|
20407
20908
|
url: https://example.com/architecture.png
|
|
20909
|
+
ChangeRequestContentChangeInsertComputedPage:
|
|
20910
|
+
type: object
|
|
20911
|
+
description: "Insert a page whose content GitBook generates from a source instead of a document: an OpenAPI spec of the organization, rendered as an API reference. GitBook replaces the page, at its position, with the pages it generates and regenerates them whenever the source changes."
|
|
20912
|
+
required:
|
|
20913
|
+
- operation
|
|
20914
|
+
- computed
|
|
20915
|
+
properties:
|
|
20916
|
+
operation:
|
|
20917
|
+
type: string
|
|
20918
|
+
enum:
|
|
20919
|
+
- insert_computed_page
|
|
20920
|
+
computed:
|
|
20921
|
+
$ref: "#/components/schemas/ComputedContentSourceRevisionOpenAPI"
|
|
20922
|
+
title:
|
|
20923
|
+
type: string
|
|
20924
|
+
minLength: 1
|
|
20925
|
+
description: Title of the page, only shown in the editor since the generated pages take its place. Defaults to "OpenAPI".
|
|
20926
|
+
into:
|
|
20927
|
+
type: string
|
|
20928
|
+
description: ID of the parent page to insert the page into, so the generated pages are nested under it. If omitted, the page is inserted at the root.
|
|
20929
|
+
at:
|
|
20930
|
+
type: integer
|
|
20931
|
+
minimum: 0
|
|
20932
|
+
description: Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end.
|
|
20933
|
+
example:
|
|
20934
|
+
operation: insert_computed_page
|
|
20935
|
+
title: API reference
|
|
20936
|
+
computed:
|
|
20937
|
+
type: builtin:openapi
|
|
20938
|
+
props:
|
|
20939
|
+
models: true
|
|
20940
|
+
dependencies:
|
|
20941
|
+
spec:
|
|
20942
|
+
ref:
|
|
20943
|
+
kind: openapi
|
|
20944
|
+
spec: my-api
|
|
20945
|
+
ChangeRequestContentChangeInsertReusableContents:
|
|
20946
|
+
type: object
|
|
20947
|
+
description: Create reusable content (snippets shared by several pages) in the change request. A markdown document includes one as `{% include "/reusable-content/<reusableContentId>" %}` — use a `ref` to include it from a page in the same batch, or read the generated IDs from `insertedReusableContents`.
|
|
20948
|
+
required:
|
|
20949
|
+
- operation
|
|
20950
|
+
- reusableContents
|
|
20951
|
+
properties:
|
|
20952
|
+
operation:
|
|
20953
|
+
type: string
|
|
20954
|
+
enum:
|
|
20955
|
+
- insert_reusable_contents
|
|
20956
|
+
reusableContents:
|
|
20957
|
+
type: array
|
|
20958
|
+
minItems: 1
|
|
20959
|
+
maxItems: 20
|
|
20960
|
+
items:
|
|
20961
|
+
type: object
|
|
20962
|
+
description: A reusable content to create.
|
|
20963
|
+
required:
|
|
20964
|
+
- title
|
|
20965
|
+
- document
|
|
20966
|
+
properties:
|
|
20967
|
+
ref:
|
|
20968
|
+
type: string
|
|
20969
|
+
description: Temporary local reference for the reusable content, used only for the lifetime of this request and never persisted. Pages in the same batch can include it by its ref (e.g. `{% include "./<ref>" %}`), which resolves to the reusable content's ID at apply time — regardless of operation order. A ref must be unique among the reusable content refs of the batch.
|
|
20970
|
+
title:
|
|
20971
|
+
type: string
|
|
20972
|
+
minLength: 1
|
|
20973
|
+
maxLength: 100
|
|
20974
|
+
description: Title of the reusable content, shown when picking it in the editor.
|
|
20975
|
+
document:
|
|
20976
|
+
description: Body of the reusable content.
|
|
20977
|
+
$ref: "#/components/schemas/Document"
|
|
20978
|
+
example:
|
|
20979
|
+
operation: insert_reusable_contents
|
|
20980
|
+
reusableContents:
|
|
20981
|
+
- ref: disclaimer
|
|
20982
|
+
title: Disclaimer
|
|
20983
|
+
document:
|
|
20984
|
+
markdown: |
|
|
20985
|
+
{% hint style="warning" %}
|
|
20986
|
+
This feature is in beta.
|
|
20987
|
+
{% endhint %}
|
|
20988
|
+
ChangeRequestContentChangeUpdateReusableContent:
|
|
20989
|
+
type: object
|
|
20990
|
+
description: Update an existing reusable content's title and/or document. Its ID is unchanged, so every page including it shows the update.
|
|
20991
|
+
required:
|
|
20992
|
+
- operation
|
|
20993
|
+
- reusableContent
|
|
20994
|
+
properties:
|
|
20995
|
+
operation:
|
|
20996
|
+
type: string
|
|
20997
|
+
enum:
|
|
20998
|
+
- update_reusable_content
|
|
20999
|
+
reusableContent:
|
|
21000
|
+
type: string
|
|
21001
|
+
description: ID of the reusable content to update.
|
|
21002
|
+
title:
|
|
21003
|
+
type: string
|
|
21004
|
+
minLength: 1
|
|
21005
|
+
maxLength: 100
|
|
21006
|
+
description: New title of the reusable content. Omit to keep the current title.
|
|
21007
|
+
document:
|
|
21008
|
+
description: New body of the reusable content. Omit to keep the current body.
|
|
21009
|
+
$ref: "#/components/schemas/Document"
|
|
21010
|
+
example:
|
|
21011
|
+
operation: update_reusable_content
|
|
21012
|
+
reusableContent: reusable_content_id
|
|
21013
|
+
title: Beta disclaimer
|
|
21014
|
+
ChangeRequestContentChangeDeleteReusableContent:
|
|
21015
|
+
type: object
|
|
21016
|
+
description: Delete an existing reusable content from the change request.
|
|
21017
|
+
required:
|
|
21018
|
+
- operation
|
|
21019
|
+
- reusableContent
|
|
21020
|
+
properties:
|
|
21021
|
+
operation:
|
|
21022
|
+
type: string
|
|
21023
|
+
enum:
|
|
21024
|
+
- delete_reusable_content
|
|
21025
|
+
reusableContent:
|
|
21026
|
+
type: string
|
|
21027
|
+
description: ID of the reusable content to delete.
|
|
21028
|
+
example:
|
|
21029
|
+
operation: delete_reusable_content
|
|
21030
|
+
reusableContent: reusable_content_id
|
|
20408
21031
|
ChangeRequestContentChange:
|
|
20409
21032
|
oneOf:
|
|
20410
21033
|
- $ref: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
@@ -20412,6 +21035,10 @@ components:
|
|
|
20412
21035
|
- $ref: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
20413
21036
|
- $ref: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
20414
21037
|
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
21038
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertComputedPage"
|
|
21039
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertReusableContents"
|
|
21040
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeUpdateReusableContent"
|
|
21041
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeDeleteReusableContent"
|
|
20415
21042
|
discriminator:
|
|
20416
21043
|
propertyName: operation
|
|
20417
21044
|
mapping:
|
|
@@ -20420,6 +21047,10 @@ components:
|
|
|
20420
21047
|
delete_page: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
20421
21048
|
revert_page: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
20422
21049
|
insert_files: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
21050
|
+
insert_computed_page: "#/components/schemas/ChangeRequestContentChangeInsertComputedPage"
|
|
21051
|
+
insert_reusable_contents: "#/components/schemas/ChangeRequestContentChangeInsertReusableContents"
|
|
21052
|
+
update_reusable_content: "#/components/schemas/ChangeRequestContentChangeUpdateReusableContent"
|
|
21053
|
+
delete_reusable_content: "#/components/schemas/ChangeRequestContentChangeDeleteReusableContent"
|
|
20423
21054
|
ChangeRequestContentUpdatePageRef:
|
|
20424
21055
|
type: object
|
|
20425
21056
|
required:
|
|
@@ -20441,7 +21072,7 @@ components:
|
|
|
20441
21072
|
- location
|
|
20442
21073
|
properties:
|
|
20443
21074
|
location:
|
|
20444
|
-
description: API URL to fetch the page's full, normalized content.
|
|
21075
|
+
description: API URL to fetch the page's full, normalized content. For a computed page, it reads the page as stored (`computed=false`), since the computed content replaces the page with the pages it generates.
|
|
20445
21076
|
$ref: "#/components/schemas/URL"
|
|
20446
21077
|
ChangeRequestContentUpdateInsertedPage:
|
|
20447
21078
|
type: object
|
|
@@ -20523,6 +21154,11 @@ components:
|
|
|
20523
21154
|
description: Files created by the `insert_files` changes in this batch, in the order they were inserted. Use their IDs to reference them from a document.
|
|
20524
21155
|
items:
|
|
20525
21156
|
$ref: "#/components/schemas/RevisionFile"
|
|
21157
|
+
insertedReusableContents:
|
|
21158
|
+
type: array
|
|
21159
|
+
description: Reusable contents created by the `insert_reusable_contents` changes in this batch, in the order they were inserted. Use their IDs to include them from a document.
|
|
21160
|
+
items:
|
|
21161
|
+
$ref: "#/components/schemas/RevisionReusableContent"
|
|
20526
21162
|
RevisionPageType:
|
|
20527
21163
|
type: string
|
|
20528
21164
|
enum:
|
|
@@ -20906,6 +21542,10 @@ components:
|
|
|
20906
21542
|
properties:
|
|
20907
21543
|
label:
|
|
20908
21544
|
$ref: "#/components/schemas/ChangeAttributeString"
|
|
21545
|
+
group:
|
|
21546
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
21547
|
+
parent:
|
|
21548
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
20909
21549
|
RevisionSemanticChangeTagEdited:
|
|
20910
21550
|
type: object
|
|
20911
21551
|
properties:
|
|
@@ -20921,6 +21561,72 @@ components:
|
|
|
20921
21561
|
- type
|
|
20922
21562
|
- tag
|
|
20923
21563
|
- attributes
|
|
21564
|
+
RevisionTagGroup:
|
|
21565
|
+
type: object
|
|
21566
|
+
description: A space-scoped group of tags in this revision. Groups may contain other groups.
|
|
21567
|
+
required:
|
|
21568
|
+
- slug
|
|
21569
|
+
- label
|
|
21570
|
+
- orderIndex
|
|
21571
|
+
properties:
|
|
21572
|
+
slug:
|
|
21573
|
+
type: string
|
|
21574
|
+
description: Immutable group identifier, unique within the revision.
|
|
21575
|
+
label:
|
|
21576
|
+
type: string
|
|
21577
|
+
description: Display name of the group.
|
|
21578
|
+
parent:
|
|
21579
|
+
type: string
|
|
21580
|
+
description: Parent group slug. Omitted for root groups.
|
|
21581
|
+
orderIndex:
|
|
21582
|
+
type: string
|
|
21583
|
+
description: Lexicographic sibling sort key. Break ties using the slug.
|
|
21584
|
+
RevisionSemanticChangeTagGroupCreated:
|
|
21585
|
+
type: object
|
|
21586
|
+
required:
|
|
21587
|
+
- type
|
|
21588
|
+
- tagGroup
|
|
21589
|
+
properties:
|
|
21590
|
+
type:
|
|
21591
|
+
type: string
|
|
21592
|
+
enum:
|
|
21593
|
+
- tag_group_created
|
|
21594
|
+
tagGroup:
|
|
21595
|
+
$ref: "#/components/schemas/RevisionTagGroup"
|
|
21596
|
+
RevisionSemanticChangeTagGroupEdited:
|
|
21597
|
+
type: object
|
|
21598
|
+
required:
|
|
21599
|
+
- type
|
|
21600
|
+
- tagGroup
|
|
21601
|
+
- attributes
|
|
21602
|
+
properties:
|
|
21603
|
+
type:
|
|
21604
|
+
type: string
|
|
21605
|
+
enum:
|
|
21606
|
+
- tag_group_edited
|
|
21607
|
+
tagGroup:
|
|
21608
|
+
$ref: "#/components/schemas/RevisionTagGroup"
|
|
21609
|
+
attributes:
|
|
21610
|
+
type: object
|
|
21611
|
+
properties:
|
|
21612
|
+
label:
|
|
21613
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
21614
|
+
parent:
|
|
21615
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
21616
|
+
orderIndex:
|
|
21617
|
+
$ref: "#/components/schemas/ChangeAttributeString"
|
|
21618
|
+
RevisionSemanticChangeTagGroupDeleted:
|
|
21619
|
+
type: object
|
|
21620
|
+
required:
|
|
21621
|
+
- type
|
|
21622
|
+
- tagGroup
|
|
21623
|
+
properties:
|
|
21624
|
+
type:
|
|
21625
|
+
type: string
|
|
21626
|
+
enum:
|
|
21627
|
+
- tag_group_deleted
|
|
21628
|
+
tagGroup:
|
|
21629
|
+
$ref: "#/components/schemas/RevisionTagGroup"
|
|
20924
21630
|
RevisionSemanticChange:
|
|
20925
21631
|
oneOf:
|
|
20926
21632
|
- $ref: "#/components/schemas/RevisionSemanticChangePageCreated"
|
|
@@ -20937,6 +21643,9 @@ components:
|
|
|
20937
21643
|
- $ref: "#/components/schemas/RevisionSemanticChangeTagCreated"
|
|
20938
21644
|
- $ref: "#/components/schemas/RevisionSemanticChangeTagDeleted"
|
|
20939
21645
|
- $ref: "#/components/schemas/RevisionSemanticChangeTagEdited"
|
|
21646
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeTagGroupCreated"
|
|
21647
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeTagGroupEdited"
|
|
21648
|
+
- $ref: "#/components/schemas/RevisionSemanticChangeTagGroupDeleted"
|
|
20940
21649
|
RevisionSemanticChanges:
|
|
20941
21650
|
type: object
|
|
20942
21651
|
properties:
|
|
@@ -20968,6 +21677,24 @@ components:
|
|
|
20968
21677
|
description: Reactions to remove from the comment.
|
|
20969
21678
|
items:
|
|
20970
21679
|
type: string
|
|
21680
|
+
MemberDisabledReason:
|
|
21681
|
+
type: string
|
|
21682
|
+
description: |
|
|
21683
|
+
Why a member is disabled in an organization.
|
|
21684
|
+
"billing": The organization's plan has reached its maximum number of members.
|
|
21685
|
+
"scim": The member was deactivated by the organization's identity provider.
|
|
21686
|
+
"admin": An organization admin disabled the member.
|
|
21687
|
+
enum:
|
|
21688
|
+
- billing
|
|
21689
|
+
- scim
|
|
21690
|
+
- admin
|
|
21691
|
+
MemberDisabled:
|
|
21692
|
+
description: Why the member is disabled, or false when the member is active. A disabled member cannot access the organization or its content.
|
|
21693
|
+
oneOf:
|
|
21694
|
+
- type: boolean
|
|
21695
|
+
enum:
|
|
21696
|
+
- false
|
|
21697
|
+
- $ref: "#/components/schemas/MemberDisabledReason"
|
|
20971
21698
|
OrganizationMember:
|
|
20972
21699
|
type: object
|
|
20973
21700
|
properties:
|
|
@@ -20984,8 +21711,7 @@ components:
|
|
|
20984
21711
|
user:
|
|
20985
21712
|
$ref: "#/components/schemas/User"
|
|
20986
21713
|
disabled:
|
|
20987
|
-
|
|
20988
|
-
description: Whatever the membership of this user is disabled and prevent them from accessing content.
|
|
21714
|
+
$ref: "#/components/schemas/MemberDisabled"
|
|
20989
21715
|
joinedAt:
|
|
20990
21716
|
description: Date at which the user joined the organization.
|
|
20991
21717
|
$ref: "#/components/schemas/Timestamp"
|
|
@@ -21348,9 +22074,6 @@ components:
|
|
|
21348
22074
|
- pro_2024
|
|
21349
22075
|
- enterprise_2024
|
|
21350
22076
|
- community_2024
|
|
21351
|
-
- free
|
|
21352
|
-
- plus
|
|
21353
|
-
- pro
|
|
21354
22077
|
- internal
|
|
21355
22078
|
BillingInterval:
|
|
21356
22079
|
type: string
|
|
@@ -21601,6 +22324,9 @@ components:
|
|
|
21601
22324
|
ai:
|
|
21602
22325
|
description: If true, the organization is configured to use all our AI features.
|
|
21603
22326
|
type: boolean
|
|
22327
|
+
aiPreference:
|
|
22328
|
+
description: Whether the master AI setting is turned on, regardless of plan availability. Contract overrides forcing AI off take precedence.
|
|
22329
|
+
type: boolean
|
|
21604
22330
|
aiSettings:
|
|
21605
22331
|
$ref: "#/components/schemas/OrganizationAISettings"
|
|
21606
22332
|
aiPaused:
|
|
@@ -21672,18 +22398,6 @@ components:
|
|
|
21672
22398
|
$ref: "#/components/schemas/BlockReason"
|
|
21673
22399
|
required:
|
|
21674
22400
|
- reason
|
|
21675
|
-
internal_billingMigration:
|
|
21676
|
-
type: object
|
|
21677
|
-
properties:
|
|
21678
|
-
deadline:
|
|
21679
|
-
description: When we will upgrade the organization onto new pricing, if they haven't already.
|
|
21680
|
-
$ref: "#/components/schemas/Timestamp"
|
|
21681
|
-
discountPercent:
|
|
21682
|
-
description: A discount the organization may have received thanks to migrating early.
|
|
21683
|
-
type: number
|
|
21684
|
-
discountEndDate:
|
|
21685
|
-
description: The expiration date of the discount, after wich regular pricing resumes.
|
|
21686
|
-
$ref: "#/components/schemas/Timestamp"
|
|
21687
22401
|
permissions:
|
|
21688
22402
|
type: object
|
|
21689
22403
|
description: The set of permissions for the organization
|
|
@@ -23026,8 +23740,6 @@ components:
|
|
|
23026
23740
|
- premium
|
|
23027
23741
|
- ultimate
|
|
23028
23742
|
- sponsored
|
|
23029
|
-
- legacy-basic
|
|
23030
|
-
- legacy-premium
|
|
23031
23743
|
SiteTitle:
|
|
23032
23744
|
type: string
|
|
23033
23745
|
description: Title of the site
|
|
@@ -23185,7 +23897,6 @@ components:
|
|
|
23185
23897
|
- sites-basic-customization
|
|
23186
23898
|
- sites-broken-links
|
|
23187
23899
|
- sites-custom-domain
|
|
23188
|
-
- sites-custom-fonts
|
|
23189
23900
|
- sites-custom-subdirectory
|
|
23190
23901
|
- sites-full-text-search
|
|
23191
23902
|
- sites-multivariant-site
|
|
@@ -23253,6 +23964,12 @@ components:
|
|
|
23253
23964
|
appliedType:
|
|
23254
23965
|
$ref: "#/components/schemas/SiteType"
|
|
23255
23966
|
description: The currently applied type of the site. For example, frozen sites will have this set to Basic.
|
|
23967
|
+
unpublishedBy:
|
|
23968
|
+
type: string
|
|
23969
|
+
enum:
|
|
23970
|
+
- user
|
|
23971
|
+
- system
|
|
23972
|
+
description: Who unpublished this site last. Cleared when the site is published again.
|
|
23256
23973
|
title:
|
|
23257
23974
|
$ref: "#/components/schemas/SiteTitle"
|
|
23258
23975
|
icon:
|
|
@@ -24538,6 +25255,9 @@ components:
|
|
|
24538
25255
|
draft:
|
|
24539
25256
|
type: boolean
|
|
24540
25257
|
description: Whether the site section is draft and not live.
|
|
25258
|
+
hidden:
|
|
25259
|
+
type: boolean
|
|
25260
|
+
description: Whether the site section is hidden. It is hidden when all of its site spaces are hidden, in which case it is not shown in the site's navigation.
|
|
24541
25261
|
path:
|
|
24542
25262
|
$ref: "#/components/schemas/SiteSectionPath"
|
|
24543
25263
|
condition:
|
|
@@ -24594,6 +25314,9 @@ components:
|
|
|
24594
25314
|
description: List of site section ids that are members of the group. Use `children` instead.
|
|
24595
25315
|
items:
|
|
24596
25316
|
$ref: "#/components/schemas/SiteSection"
|
|
25317
|
+
condition:
|
|
25318
|
+
description: Conditional expression used to evaluate whether the site section group should be shown to the site's visitor.
|
|
25319
|
+
$ref: "#/components/schemas/Expression"
|
|
24597
25320
|
sectionGroup:
|
|
24598
25321
|
type: string
|
|
24599
25322
|
description: ID of the parent section group this group belongs to
|
|
@@ -25860,70 +26583,6 @@ components:
|
|
|
25860
26583
|
- interval_changed
|
|
25861
26584
|
required:
|
|
25862
26585
|
- result
|
|
25863
|
-
MigrateOrganizationParameters:
|
|
25864
|
-
type: object
|
|
25865
|
-
properties:
|
|
25866
|
-
interval:
|
|
25867
|
-
description: The desired billing interval
|
|
25868
|
-
$ref: "#/components/schemas/BillingInterval"
|
|
25869
|
-
product:
|
|
25870
|
-
type: string
|
|
25871
|
-
description: The new product to upgrade to
|
|
25872
|
-
enum:
|
|
25873
|
-
- free_2024
|
|
25874
|
-
- plus_2024
|
|
25875
|
-
- pro_2024
|
|
25876
|
-
changes:
|
|
25877
|
-
$ref: "#/components/schemas/SubscriptionChanges"
|
|
25878
|
-
required:
|
|
25879
|
-
- product
|
|
25880
|
-
- interval
|
|
25881
|
-
- changes
|
|
25882
|
-
Error:
|
|
25883
|
-
type: object
|
|
25884
|
-
required:
|
|
25885
|
-
- error
|
|
25886
|
-
properties:
|
|
25887
|
-
error:
|
|
25888
|
-
type: object
|
|
25889
|
-
properties:
|
|
25890
|
-
code:
|
|
25891
|
-
type: integer
|
|
25892
|
-
format: int32
|
|
25893
|
-
message:
|
|
25894
|
-
type: string
|
|
25895
|
-
required:
|
|
25896
|
-
- code
|
|
25897
|
-
- message
|
|
25898
|
-
BillingDiscount:
|
|
25899
|
-
type: object
|
|
25900
|
-
properties:
|
|
25901
|
-
duration:
|
|
25902
|
-
description: How many months the discount will last
|
|
25903
|
-
type: number
|
|
25904
|
-
percentOff:
|
|
25905
|
-
description: Percent that will be deducted from the subtotal of the invoice
|
|
25906
|
-
type: number
|
|
25907
|
-
required:
|
|
25908
|
-
- duration
|
|
25909
|
-
- percentOff
|
|
25910
|
-
SitePageviews:
|
|
25911
|
-
type: object
|
|
25912
|
-
properties:
|
|
25913
|
-
object:
|
|
25914
|
-
type: string
|
|
25915
|
-
enum:
|
|
25916
|
-
- site-pageviews
|
|
25917
|
-
siteId:
|
|
25918
|
-
type: string
|
|
25919
|
-
description: The identifier of the site
|
|
25920
|
-
pageviews:
|
|
25921
|
-
description: Number of pageviews in the past 30 days
|
|
25922
|
-
type: number
|
|
25923
|
-
required:
|
|
25924
|
-
- object
|
|
25925
|
-
- siteId
|
|
25926
|
-
- pageviews
|
|
25927
26586
|
BillingPortal:
|
|
25928
26587
|
type: object
|
|
25929
26588
|
properties:
|
|
@@ -26037,6 +26696,7 @@ components:
|
|
|
26037
26696
|
- members-teams
|
|
26038
26697
|
- members-team-owners
|
|
26039
26698
|
- security-saml
|
|
26699
|
+
- scim
|
|
26040
26700
|
- change-requests-merge-rules
|
|
26041
26701
|
SearchSpaceResult:
|
|
26042
26702
|
type: object
|
|
@@ -26243,6 +26903,84 @@ components:
|
|
|
26243
26903
|
- status
|
|
26244
26904
|
- service
|
|
26245
26905
|
- urls
|
|
26906
|
+
SCIMConnectionLabel:
|
|
26907
|
+
type: string
|
|
26908
|
+
description: Name of the SCIM connection, shown to organization admins.
|
|
26909
|
+
minLength: 1
|
|
26910
|
+
maxLength: 100
|
|
26911
|
+
SCIMConnectionProvider:
|
|
26912
|
+
type: string
|
|
26913
|
+
description: Identity provider that provisions members through the SCIM connection.
|
|
26914
|
+
enum:
|
|
26915
|
+
- okta
|
|
26916
|
+
- entra
|
|
26917
|
+
- generic
|
|
26918
|
+
OrganizationSCIMConnection:
|
|
26919
|
+
type: object
|
|
26920
|
+
description: A SCIM connection through which an identity provider provisions organization members.
|
|
26921
|
+
properties:
|
|
26922
|
+
object:
|
|
26923
|
+
type: string
|
|
26924
|
+
description: The object type, which is always "scim-connection"
|
|
26925
|
+
enum:
|
|
26926
|
+
- scim-connection
|
|
26927
|
+
id:
|
|
26928
|
+
type: string
|
|
26929
|
+
description: Unique identifier of the SCIM connection
|
|
26930
|
+
label:
|
|
26931
|
+
$ref: "#/components/schemas/SCIMConnectionLabel"
|
|
26932
|
+
provider:
|
|
26933
|
+
$ref: "#/components/schemas/SCIMConnectionProvider"
|
|
26934
|
+
baseURL:
|
|
26935
|
+
description: SCIM base URL to configure in the identity provider
|
|
26936
|
+
$ref: "#/components/schemas/URL"
|
|
26937
|
+
tokenHint:
|
|
26938
|
+
type: string
|
|
26939
|
+
description: Last characters of the current token, to identify it
|
|
26940
|
+
tokenCreatedAt:
|
|
26941
|
+
description: Date the current token was created
|
|
26942
|
+
$ref: "#/components/schemas/Timestamp"
|
|
26943
|
+
lastUsedAt:
|
|
26944
|
+
description: Date of the last request authenticated with the token
|
|
26945
|
+
$ref: "#/components/schemas/Timestamp"
|
|
26946
|
+
createdAt:
|
|
26947
|
+
description: Date of creation
|
|
26948
|
+
$ref: "#/components/schemas/Timestamp"
|
|
26949
|
+
updatedAt:
|
|
26950
|
+
description: Date of the last update
|
|
26951
|
+
$ref: "#/components/schemas/Timestamp"
|
|
26952
|
+
urls:
|
|
26953
|
+
type: object
|
|
26954
|
+
description: URLs associated with the object
|
|
26955
|
+
properties:
|
|
26956
|
+
location:
|
|
26957
|
+
description: URL of the SCIM connection in the API
|
|
26958
|
+
$ref: "#/components/schemas/URL"
|
|
26959
|
+
required:
|
|
26960
|
+
- location
|
|
26961
|
+
required:
|
|
26962
|
+
- object
|
|
26963
|
+
- id
|
|
26964
|
+
- label
|
|
26965
|
+
- provider
|
|
26966
|
+
- baseURL
|
|
26967
|
+
- tokenHint
|
|
26968
|
+
- tokenCreatedAt
|
|
26969
|
+
- createdAt
|
|
26970
|
+
- updatedAt
|
|
26971
|
+
- urls
|
|
26972
|
+
OrganizationSCIMConnectionWithToken:
|
|
26973
|
+
description: A SCIM connection with its token, returned only when the token is created.
|
|
26974
|
+
type: object
|
|
26975
|
+
properties:
|
|
26976
|
+
connection:
|
|
26977
|
+
$ref: "#/components/schemas/OrganizationSCIMConnection"
|
|
26978
|
+
token:
|
|
26979
|
+
type: string
|
|
26980
|
+
description: Bearer token to configure in the identity provider. It can't be retrieved again.
|
|
26981
|
+
required:
|
|
26982
|
+
- connection
|
|
26983
|
+
- token
|
|
26246
26984
|
OrganizationSSOProviderLogin:
|
|
26247
26985
|
type: object
|
|
26248
26986
|
properties:
|
|
@@ -26280,43 +27018,28 @@ components:
|
|
|
26280
27018
|
OrganizationUsageSites:
|
|
26281
27019
|
type: object
|
|
26282
27020
|
description: Sites usage metrics of an organization
|
|
26283
|
-
|
|
26284
|
-
|
|
26285
|
-
|
|
26286
|
-
|
|
26287
|
-
|
|
26288
|
-
|
|
26289
|
-
|
|
26290
|
-
|
|
26291
|
-
|
|
26292
|
-
|
|
26293
|
-
|
|
26294
|
-
|
|
26295
|
-
|
|
26296
|
-
|
|
26297
|
-
|
|
26298
|
-
|
|
26299
|
-
|
|
26300
|
-
|
|
26301
|
-
|
|
26302
|
-
|
|
26303
|
-
|
|
26304
|
-
|
|
26305
|
-
premium:
|
|
26306
|
-
description: Count of all premium sites
|
|
26307
|
-
type: number
|
|
26308
|
-
ultimate:
|
|
26309
|
-
description: Count of all ultimate sites
|
|
26310
|
-
type: number
|
|
26311
|
-
sponsored:
|
|
26312
|
-
description: Count of all sponsored sites
|
|
26313
|
-
type: number
|
|
26314
|
-
required:
|
|
26315
|
-
- total
|
|
26316
|
-
- basic
|
|
26317
|
-
- premium
|
|
26318
|
-
- ultimate
|
|
26319
|
-
- sponsored
|
|
27021
|
+
properties:
|
|
27022
|
+
total:
|
|
27023
|
+
description: Count of all sites
|
|
27024
|
+
type: number
|
|
27025
|
+
basic:
|
|
27026
|
+
description: Count of all basic sites
|
|
27027
|
+
type: number
|
|
27028
|
+
premium:
|
|
27029
|
+
description: Count of all premium sites
|
|
27030
|
+
type: number
|
|
27031
|
+
ultimate:
|
|
27032
|
+
description: Count of all ultimate sites
|
|
27033
|
+
type: number
|
|
27034
|
+
sponsored:
|
|
27035
|
+
description: Count of all sponsored sites
|
|
27036
|
+
type: number
|
|
27037
|
+
required:
|
|
27038
|
+
- total
|
|
27039
|
+
- basic
|
|
27040
|
+
- premium
|
|
27041
|
+
- ultimate
|
|
27042
|
+
- sponsored
|
|
26320
27043
|
OrganizationUsageTeams:
|
|
26321
27044
|
type: object
|
|
26322
27045
|
description: Team members usage metrics of an organization
|
|
@@ -26331,10 +27054,29 @@ components:
|
|
|
26331
27054
|
description: Members usage metrics of an organization
|
|
26332
27055
|
properties:
|
|
26333
27056
|
total:
|
|
26334
|
-
description: Count of all members
|
|
27057
|
+
description: Count of all members, including disabled ones
|
|
27058
|
+
type: number
|
|
27059
|
+
active:
|
|
27060
|
+
description: Count of members that are not disabled
|
|
26335
27061
|
type: number
|
|
27062
|
+
disabled:
|
|
27063
|
+
description: Count of disabled members, by the reason they are disabled
|
|
27064
|
+
type: object
|
|
27065
|
+
properties:
|
|
27066
|
+
billing:
|
|
27067
|
+
type: number
|
|
27068
|
+
scim:
|
|
27069
|
+
type: number
|
|
27070
|
+
admin:
|
|
27071
|
+
type: number
|
|
27072
|
+
required:
|
|
27073
|
+
- billing
|
|
27074
|
+
- scim
|
|
27075
|
+
- admin
|
|
26336
27076
|
seats:
|
|
26337
|
-
description:
|
|
27077
|
+
description: |
|
|
27078
|
+
Count of paid seats. On the Free plan, it includes members disabled for billing, since
|
|
27079
|
+
upgrading re-enables them. On paid plans, it only includes active members.
|
|
26338
27080
|
type: number
|
|
26339
27081
|
admin:
|
|
26340
27082
|
description: Count of all admins
|
|
@@ -26359,6 +27101,8 @@ components:
|
|
|
26359
27101
|
type: number
|
|
26360
27102
|
required:
|
|
26361
27103
|
- total
|
|
27104
|
+
- active
|
|
27105
|
+
- disabled
|
|
26362
27106
|
- seats
|
|
26363
27107
|
- admin
|
|
26364
27108
|
- create
|
|
@@ -26786,6 +27530,7 @@ components:
|
|
|
26786
27530
|
- pending
|
|
26787
27531
|
- running
|
|
26788
27532
|
- completed
|
|
27533
|
+
- failed
|
|
26789
27534
|
TranslationSource:
|
|
26790
27535
|
type: object
|
|
26791
27536
|
required:
|
|
@@ -27447,6 +28192,22 @@ components:
|
|
|
27447
28192
|
- createdBy
|
|
27448
28193
|
- updatedAt
|
|
27449
28194
|
- urls
|
|
28195
|
+
Error:
|
|
28196
|
+
type: object
|
|
28197
|
+
required:
|
|
28198
|
+
- error
|
|
28199
|
+
properties:
|
|
28200
|
+
error:
|
|
28201
|
+
type: object
|
|
28202
|
+
properties:
|
|
28203
|
+
code:
|
|
28204
|
+
type: integer
|
|
28205
|
+
format: int32
|
|
28206
|
+
message:
|
|
28207
|
+
type: string
|
|
28208
|
+
required:
|
|
28209
|
+
- code
|
|
28210
|
+
- message
|
|
27450
28211
|
SiteAdaptiveRegions:
|
|
27451
28212
|
type: object
|
|
27452
28213
|
description: Groups of countries exposed to adaptive content as `visitor.region`. The key of each entry is the region name; `visitor.region` is undefined for a visitor whose country is in none of the regions. A site can declare at most 10 regions.
|
|
@@ -28659,6 +29420,37 @@ components:
|
|
|
28659
29420
|
- structure
|
|
28660
29421
|
- customizations
|
|
28661
29422
|
- scripts
|
|
29423
|
+
SiteSetupStepId:
|
|
29424
|
+
type: string
|
|
29425
|
+
description: A step of the setup of a site, in the order they are done.
|
|
29426
|
+
enum:
|
|
29427
|
+
- first-edit
|
|
29428
|
+
- customize
|
|
29429
|
+
- git-sync
|
|
29430
|
+
- domain
|
|
29431
|
+
- publish
|
|
29432
|
+
SiteSetup:
|
|
29433
|
+
type: object
|
|
29434
|
+
description: Steps to set up a site, each completed or not from the site's current data.
|
|
29435
|
+
properties:
|
|
29436
|
+
steps:
|
|
29437
|
+
type: array
|
|
29438
|
+
description: Every setup step, in order. Empty once the site has been published, which ends the setup even if other steps are not completed.
|
|
29439
|
+
items:
|
|
29440
|
+
type: object
|
|
29441
|
+
properties:
|
|
29442
|
+
id:
|
|
29443
|
+
$ref: "#/components/schemas/SiteSetupStepId"
|
|
29444
|
+
completed:
|
|
29445
|
+
type: boolean
|
|
29446
|
+
action:
|
|
29447
|
+
type: string
|
|
29448
|
+
description: How to complete the step. Only present when it is not completed.
|
|
29449
|
+
required:
|
|
29450
|
+
- id
|
|
29451
|
+
- completed
|
|
29452
|
+
required:
|
|
29453
|
+
- steps
|
|
28662
29454
|
SiteChangeRequestMemberStatus:
|
|
28663
29455
|
type: string
|
|
28664
29456
|
description: Whether the member is part of the change request, or a tombstone kept so that a member removed and later re-added keeps its identity, comments and history.
|
|
@@ -29548,6 +30340,30 @@ components:
|
|
|
29548
30340
|
- low
|
|
29549
30341
|
- medium
|
|
29550
30342
|
- high
|
|
30343
|
+
SiteFindingAutoResolution:
|
|
30344
|
+
type: string
|
|
30345
|
+
description: |
|
|
30346
|
+
What GitBook did on its own to resolve a finding.
|
|
30347
|
+
- `drafted` drafted a fix that waits for approval.
|
|
30348
|
+
- `applied` has its fix live, applied on its own or approved from a draft, resolving the finding.
|
|
30349
|
+
- `undone` had its fix undone or rejected, so GitBook won't try again.
|
|
30350
|
+
enum:
|
|
30351
|
+
- drafted
|
|
30352
|
+
- applied
|
|
30353
|
+
- undone
|
|
30354
|
+
SiteFindingState:
|
|
30355
|
+
type: string
|
|
30356
|
+
description: |
|
|
30357
|
+
Where a link finding stands, from its status and what GitBook did with it.
|
|
30358
|
+
- `open` needs a fix.
|
|
30359
|
+
- `awaiting-approval` has a redirect GitBook drafted at its path, waiting to be approved or rejected.
|
|
30360
|
+
- `resolved` was fixed or closed: `servingRedirect` says whether a live redirect serves its path.
|
|
30361
|
+
- `ignored` was dismissed.
|
|
30362
|
+
enum:
|
|
30363
|
+
- open
|
|
30364
|
+
- awaiting-approval
|
|
30365
|
+
- resolved
|
|
30366
|
+
- ignored
|
|
29551
30367
|
SiteTriageFilterQuestions:
|
|
29552
30368
|
type: string
|
|
29553
30369
|
description: |
|
|
@@ -29573,6 +30389,59 @@ components:
|
|
|
29573
30389
|
type: string
|
|
29574
30390
|
description: Short finding title
|
|
29575
30391
|
maxLength: 256
|
|
30392
|
+
SiteFindingServingRedirect:
|
|
30393
|
+
type: object
|
|
30394
|
+
title: Serving redirect
|
|
30395
|
+
description: The live redirect serving a `broken-link` finding's path.
|
|
30396
|
+
properties:
|
|
30397
|
+
redirect:
|
|
30398
|
+
type: string
|
|
30399
|
+
description: ID of the redirect.
|
|
30400
|
+
wildcard:
|
|
30401
|
+
type: boolean
|
|
30402
|
+
description: Whether a wildcard redirect covers the path rather than one at the path itself. Reopening the finding would delete it, so `reopen` isn't offered.
|
|
30403
|
+
createdByAgent:
|
|
30404
|
+
type: boolean
|
|
30405
|
+
description: Whether GitBook created the redirect on its own.
|
|
30406
|
+
required:
|
|
30407
|
+
- redirect
|
|
30408
|
+
- wildcard
|
|
30409
|
+
- createdByAgent
|
|
30410
|
+
SiteFindingAction:
|
|
30411
|
+
type: string
|
|
30412
|
+
description: |
|
|
30413
|
+
An action that moves a finding to another state. A finding's `actions` lists the ones it allows.
|
|
30414
|
+
- `approve` makes the redirect GitBook drafted for a broken link live, which resolves the finding.
|
|
30415
|
+
- `reject` deletes the redirect GitBook drafted for a broken link; the finding stays open and GitBook won't draft a fix for it again.
|
|
30416
|
+
- `create-redirect` creates a redirect for a broken link's path with `createSiteRedirect`, prefilled with the suggestion; it resolves the finding.
|
|
30417
|
+
- `mark-resolved` resolves it. A broken link resolved this way has no redirect: visitors still get a 404.
|
|
30418
|
+
- `reopen` reopens a resolved finding. For a broken link, it deletes the live redirect at its path; for a fix GitBook applied, this undoes the fix and GitBook won't fix the link again.
|
|
30419
|
+
- `ignore` dismisses it.
|
|
30420
|
+
- `restore` reopens a dismissed finding.
|
|
30421
|
+
enum:
|
|
30422
|
+
- approve
|
|
30423
|
+
- reject
|
|
30424
|
+
- create-redirect
|
|
30425
|
+
- mark-resolved
|
|
30426
|
+
- reopen
|
|
30427
|
+
- ignore
|
|
30428
|
+
- restore
|
|
30429
|
+
SiteFindingAvailableAction:
|
|
30430
|
+
type: object
|
|
30431
|
+
title: Available action
|
|
30432
|
+
description: An action a finding allows now, with the site permission it needs.
|
|
30433
|
+
properties:
|
|
30434
|
+
action:
|
|
30435
|
+
$ref: "#/components/schemas/SiteFindingAction"
|
|
30436
|
+
permission:
|
|
30437
|
+
type: string
|
|
30438
|
+
description: Site permission the action needs.
|
|
30439
|
+
enum:
|
|
30440
|
+
- edit
|
|
30441
|
+
- admin
|
|
30442
|
+
required:
|
|
30443
|
+
- action
|
|
30444
|
+
- permission
|
|
29576
30445
|
SiteRedirectSourcePath:
|
|
29577
30446
|
type: string
|
|
29578
30447
|
description: The source path to redirect from.
|
|
@@ -29610,15 +30479,18 @@ components:
|
|
|
29610
30479
|
- source
|
|
29611
30480
|
SiteFindingOutboundLink:
|
|
29612
30481
|
type: object
|
|
29613
|
-
description: "Details of an `outbound-link-error` finding: the failing external URL and the observed failure, sourced from the site's outbound link checks. Absent on findings of any other type."
|
|
30482
|
+
description: "Details of an `outbound-link-error` finding: the failing external URL, or the domain when it doesn't resolve, and the observed failure, sourced from the site's outbound link checks. A resolved finding has either `url` or `host` and no other field. Absent on findings of any other type."
|
|
29614
30483
|
properties:
|
|
29615
30484
|
url:
|
|
29616
30485
|
type: string
|
|
29617
30486
|
format: uri
|
|
29618
|
-
description: The external URL that fails
|
|
30487
|
+
description: The external URL that fails. Absent when `host` is set.
|
|
30488
|
+
host:
|
|
30489
|
+
type: string
|
|
30490
|
+
description: The domain that doesn't resolve, set instead of `url` when the finding covers every link to that domain on the site.
|
|
29619
30491
|
status:
|
|
29620
30492
|
type: string
|
|
29621
|
-
description: Current health status of the URL for this site.
|
|
30493
|
+
description: Current health status of the URL or domain for this site.
|
|
29622
30494
|
enum:
|
|
29623
30495
|
- pending
|
|
29624
30496
|
- healthy
|
|
@@ -29642,10 +30514,7 @@ components:
|
|
|
29642
30514
|
description: HTTP status code of the last observation, when one was received.
|
|
29643
30515
|
checkedAt:
|
|
29644
30516
|
$ref: "#/components/schemas/Timestamp"
|
|
29645
|
-
description: When the URL was last observed
|
|
29646
|
-
required:
|
|
29647
|
-
- url
|
|
29648
|
-
- status
|
|
30517
|
+
description: When the URL or domain was last observed.
|
|
29649
30518
|
SiteFinding:
|
|
29650
30519
|
type: object
|
|
29651
30520
|
properties:
|
|
@@ -29689,6 +30558,20 @@ components:
|
|
|
29689
30558
|
autoFixable:
|
|
29690
30559
|
type: boolean
|
|
29691
30560
|
description: Whether an AI agent should be able to fix this finding directly
|
|
30561
|
+
autoResolution:
|
|
30562
|
+
description: What GitBook did on its own to resolve the finding. Null when it never acted on the finding.
|
|
30563
|
+
oneOf:
|
|
30564
|
+
- $ref: "#/components/schemas/SiteFindingAutoResolution"
|
|
30565
|
+
- type: "null"
|
|
30566
|
+
state:
|
|
30567
|
+
$ref: "#/components/schemas/SiteFindingState"
|
|
30568
|
+
servingRedirect:
|
|
30569
|
+
$ref: "#/components/schemas/SiteFindingServingRedirect"
|
|
30570
|
+
actions:
|
|
30571
|
+
type: array
|
|
30572
|
+
description: Actions the finding allows now, applied with `applySiteFindingAction`.
|
|
30573
|
+
items:
|
|
30574
|
+
$ref: "#/components/schemas/SiteFindingAvailableAction"
|
|
29692
30575
|
brokenLinkAction:
|
|
29693
30576
|
$ref: "#/components/schemas/SiteFindingBrokenLinkAction"
|
|
29694
30577
|
outboundLink:
|
|
@@ -29722,6 +30605,7 @@ components:
|
|
|
29722
30605
|
- severity
|
|
29723
30606
|
- description
|
|
29724
30607
|
- autoFixable
|
|
30608
|
+
- autoResolution
|
|
29725
30609
|
- createdAt
|
|
29726
30610
|
- updatedAt
|
|
29727
30611
|
- urls
|
|
@@ -29829,6 +30713,23 @@ components:
|
|
|
29829
30713
|
description: Count of answers by site channel ID.
|
|
29830
30714
|
additionalProperties:
|
|
29831
30715
|
type: number
|
|
30716
|
+
SiteQuestionStatsVisitorTypes:
|
|
30717
|
+
type: object
|
|
30718
|
+
description: Count of answers by visitor type.
|
|
30719
|
+
properties:
|
|
30720
|
+
human:
|
|
30721
|
+
type: number
|
|
30722
|
+
agent:
|
|
30723
|
+
type: number
|
|
30724
|
+
bot:
|
|
30725
|
+
type: number
|
|
30726
|
+
unknown:
|
|
30727
|
+
type: number
|
|
30728
|
+
required:
|
|
30729
|
+
- human
|
|
30730
|
+
- agent
|
|
30731
|
+
- bot
|
|
30732
|
+
- unknown
|
|
29832
30733
|
SiteQuestionStats:
|
|
29833
30734
|
type: object
|
|
29834
30735
|
description: Aggregated stats for questions and linked answers.
|
|
@@ -29851,6 +30752,8 @@ components:
|
|
|
29851
30752
|
$ref: "#/components/schemas/SiteQuestionStatsChannelTypes"
|
|
29852
30753
|
channels:
|
|
29853
30754
|
$ref: "#/components/schemas/SiteQuestionStatsChannels"
|
|
30755
|
+
visitorTypes:
|
|
30756
|
+
$ref: "#/components/schemas/SiteQuestionStatsVisitorTypes"
|
|
29854
30757
|
weeklyPulse:
|
|
29855
30758
|
type: array
|
|
29856
30759
|
minItems: 13
|
|
@@ -29867,6 +30770,7 @@ components:
|
|
|
29867
30770
|
- types
|
|
29868
30771
|
- channelTypes
|
|
29869
30772
|
- channels
|
|
30773
|
+
- visitorTypes
|
|
29870
30774
|
- weeklyPulse
|
|
29871
30775
|
SiteQuestion:
|
|
29872
30776
|
type: object
|
|
@@ -30531,6 +31435,14 @@ components:
|
|
|
30531
31435
|
oneOf:
|
|
30532
31436
|
- $ref: "#/components/schemas/SiteCoreChannelType"
|
|
30533
31437
|
- $ref: "#/components/schemas/SiteConfigurableChannelType"
|
|
31438
|
+
SiteQuestionVisitorType:
|
|
31439
|
+
type: string
|
|
31440
|
+
description: "Who asked the question: `human` for a person using a web browser, `agent` for an AI agent, `bot` for another automated client that names itself, such as a search engine crawler, and `unknown` when it can't be told, such as for a script calling the API."
|
|
31441
|
+
enum:
|
|
31442
|
+
- human
|
|
31443
|
+
- agent
|
|
31444
|
+
- bot
|
|
31445
|
+
- unknown
|
|
30534
31446
|
SiteQuestionAnswerResolution:
|
|
30535
31447
|
type: string
|
|
30536
31448
|
description: Whether the response answered the question.
|
|
@@ -30809,6 +31721,8 @@ components:
|
|
|
30809
31721
|
required:
|
|
30810
31722
|
- type
|
|
30811
31723
|
- id
|
|
31724
|
+
visitorType:
|
|
31725
|
+
$ref: "#/components/schemas/SiteQuestionVisitorType"
|
|
30812
31726
|
createdAt:
|
|
30813
31727
|
$ref: "#/components/schemas/Timestamp"
|
|
30814
31728
|
updatedAt:
|
|
@@ -30835,6 +31749,7 @@ components:
|
|
|
30835
31749
|
- helpfulness
|
|
30836
31750
|
- relevance
|
|
30837
31751
|
- channel
|
|
31752
|
+
- visitorType
|
|
30838
31753
|
- createdAt
|
|
30839
31754
|
- urls
|
|
30840
31755
|
AIMessageRole:
|
|
@@ -31409,6 +32324,23 @@ components:
|
|
|
31409
32324
|
- spaceId
|
|
31410
32325
|
- changeRequestId
|
|
31411
32326
|
- reason
|
|
32327
|
+
AIToolCallMergeChangeRequest:
|
|
32328
|
+
type: object
|
|
32329
|
+
properties:
|
|
32330
|
+
tool:
|
|
32331
|
+
type: string
|
|
32332
|
+
enum:
|
|
32333
|
+
- mergeChangeRequest
|
|
32334
|
+
spaceId:
|
|
32335
|
+
type: string
|
|
32336
|
+
description: The ID of the space the change request belongs to.
|
|
32337
|
+
changeRequestId:
|
|
32338
|
+
type: string
|
|
32339
|
+
description: The ID of the change request that was merged.
|
|
32340
|
+
required:
|
|
32341
|
+
- tool
|
|
32342
|
+
- spaceId
|
|
32343
|
+
- changeRequestId
|
|
31412
32344
|
AIToolCallComment:
|
|
31413
32345
|
type: object
|
|
31414
32346
|
properties:
|
|
@@ -31561,6 +32493,59 @@ components:
|
|
|
31561
32493
|
- status
|
|
31562
32494
|
- importedPages
|
|
31563
32495
|
- totalPages
|
|
32496
|
+
AIToolCallImportOpenAPISpec:
|
|
32497
|
+
type: object
|
|
32498
|
+
properties:
|
|
32499
|
+
tool:
|
|
32500
|
+
type: string
|
|
32501
|
+
enum:
|
|
32502
|
+
- importOpenAPISpec
|
|
32503
|
+
spaceId:
|
|
32504
|
+
type: string
|
|
32505
|
+
description: The ID of the space the API reference is added to.
|
|
32506
|
+
changeRequestId:
|
|
32507
|
+
type: string
|
|
32508
|
+
description: The ID of the change request the API reference is added to.
|
|
32509
|
+
specSlug:
|
|
32510
|
+
type: string
|
|
32511
|
+
description: The slug of the OpenAPI spec the reference is generated from.
|
|
32512
|
+
url:
|
|
32513
|
+
type: string
|
|
32514
|
+
description: The URL the spec is imported from, when importing from a URL.
|
|
32515
|
+
file:
|
|
32516
|
+
type: string
|
|
32517
|
+
description: Name of the attached file the spec is imported from, when importing a file.
|
|
32518
|
+
required:
|
|
32519
|
+
- tool
|
|
32520
|
+
- spaceId
|
|
32521
|
+
- changeRequestId
|
|
32522
|
+
- specSlug
|
|
32523
|
+
AIToolCallSiteSetupStep:
|
|
32524
|
+
type: object
|
|
32525
|
+
properties:
|
|
32526
|
+
tool:
|
|
32527
|
+
type: string
|
|
32528
|
+
enum:
|
|
32529
|
+
- siteSetupStep
|
|
32530
|
+
step:
|
|
32531
|
+
$ref: "#/components/schemas/SiteSetupStepId"
|
|
32532
|
+
status:
|
|
32533
|
+
type: string
|
|
32534
|
+
description: |
|
|
32535
|
+
Where the setup step stands in the conversation.
|
|
32536
|
+
* `current`: The step is being worked on.
|
|
32537
|
+
* `done`: The step is completed.
|
|
32538
|
+
* `skipped`: The user skipped the step.
|
|
32539
|
+
* `pending`: The step is not started: it waits again after the user went back to an earlier step.
|
|
32540
|
+
enum:
|
|
32541
|
+
- current
|
|
32542
|
+
- done
|
|
32543
|
+
- skipped
|
|
32544
|
+
- pending
|
|
32545
|
+
required:
|
|
32546
|
+
- tool
|
|
32547
|
+
- step
|
|
32548
|
+
- status
|
|
31564
32549
|
AIToolCallStartBackgroundAgent:
|
|
31565
32550
|
type: object
|
|
31566
32551
|
description: |
|
|
@@ -31667,12 +32652,15 @@ components:
|
|
|
31667
32652
|
- $ref: "#/components/schemas/AIToolCallGetChangeRequestDetails"
|
|
31668
32653
|
- $ref: "#/components/schemas/AIToolCallSetChangeRequestDetails"
|
|
31669
32654
|
- $ref: "#/components/schemas/AIToolCallArchiveChangeRequest"
|
|
32655
|
+
- $ref: "#/components/schemas/AIToolCallMergeChangeRequest"
|
|
31670
32656
|
- $ref: "#/components/schemas/AIToolCallComment"
|
|
31671
32657
|
- $ref: "#/components/schemas/AIToolCallReplyToComment"
|
|
31672
32658
|
- $ref: "#/components/schemas/AIToolCallGetComments"
|
|
31673
32659
|
- $ref: "#/components/schemas/AIToolCallSubmitChangeRequestReview"
|
|
31674
32660
|
- $ref: "#/components/schemas/AIToolCallStartContentImport"
|
|
31675
32661
|
- $ref: "#/components/schemas/AIToolCallCheckContentImport"
|
|
32662
|
+
- $ref: "#/components/schemas/AIToolCallImportOpenAPISpec"
|
|
32663
|
+
- $ref: "#/components/schemas/AIToolCallSiteSetupStep"
|
|
31676
32664
|
- $ref: "#/components/schemas/AIToolCallStartBackgroundAgent"
|
|
31677
32665
|
- $ref: "#/components/schemas/AIToolCallMCP"
|
|
31678
32666
|
- $ref: "#/components/schemas/AIToolCallOther"
|
|
@@ -31940,6 +32928,10 @@ components:
|
|
|
31940
32928
|
format: date-time
|
|
31941
32929
|
description: |
|
|
31942
32930
|
When the message was added to the conversation. Absent on messages recorded before this field existed.
|
|
32931
|
+
clientMessageId:
|
|
32932
|
+
type: string
|
|
32933
|
+
description: |
|
|
32934
|
+
The identifier the client gave the message when it sent it. Absent on messages the agent wrote, and on messages sent without one.
|
|
31943
32935
|
required:
|
|
31944
32936
|
- id
|
|
31945
32937
|
- role
|
|
@@ -32111,8 +33103,7 @@ components:
|
|
|
32111
33103
|
origin:
|
|
32112
33104
|
$ref: "#/components/schemas/UserSitePermissionOrigin"
|
|
32113
33105
|
disabled:
|
|
32114
|
-
|
|
32115
|
-
description: Whether the user is disabled
|
|
33106
|
+
$ref: "#/components/schemas/MemberDisabled"
|
|
32116
33107
|
lastSeenAt:
|
|
32117
33108
|
description: Date at which the user was last seen
|
|
32118
33109
|
$ref: "#/components/schemas/Timestamp"
|
|
@@ -32160,6 +33151,11 @@ components:
|
|
|
32160
33151
|
type: array
|
|
32161
33152
|
items:
|
|
32162
33153
|
$ref: "#/components/schemas/AIAttachment"
|
|
33154
|
+
clientMessageId:
|
|
33155
|
+
type: string
|
|
33156
|
+
maxLength: 64
|
|
33157
|
+
description: |
|
|
33158
|
+
Identifier the client gives the message it sends, echoed on the message the agent adds to the conversation, so the client can tell its own message apart from any other.
|
|
32163
33159
|
required:
|
|
32164
33160
|
- role
|
|
32165
33161
|
- content
|
|
@@ -32494,6 +33490,30 @@ components:
|
|
|
32494
33490
|
- $ref: "#/components/schemas/AIStreamResponseFollowupSuggestion"
|
|
32495
33491
|
- $ref: "#/components/schemas/AIStreamResponseAttachment"
|
|
32496
33492
|
- $ref: "#/components/schemas/AIStreamResponseCompaction"
|
|
33493
|
+
SiteSettingsBrokenLinksAutonomyLevel:
|
|
33494
|
+
type: string
|
|
33495
|
+
description: |
|
|
33496
|
+
How much GitBook may do on its own when it resolves broken links automatically. GitBook never
|
|
33497
|
+
applies a fix it isn't sure about, at any level.
|
|
33498
|
+
- `suggest-fixes` drafts fixes for approval and applies none.
|
|
33499
|
+
- `fix-clear-matches` applies the clearest fixes and drafts the less certain ones for approval.
|
|
33500
|
+
- `fix-close-matches` applies the clear and the close fixes.
|
|
33501
|
+
enum:
|
|
33502
|
+
- suggest-fixes
|
|
33503
|
+
- fix-clear-matches
|
|
33504
|
+
- fix-close-matches
|
|
33505
|
+
SiteSettingsBrokenLinks:
|
|
33506
|
+
type: object
|
|
33507
|
+
description: Settings for how GitBook resolves the broken links it finds on a site.
|
|
33508
|
+
properties:
|
|
33509
|
+
autoResolve:
|
|
33510
|
+
type: boolean
|
|
33511
|
+
description: Whether GitBook resolves broken links automatically.
|
|
33512
|
+
autonomyLevel:
|
|
33513
|
+
$ref: "#/components/schemas/SiteSettingsBrokenLinksAutonomyLevel"
|
|
33514
|
+
required:
|
|
33515
|
+
- autoResolve
|
|
33516
|
+
- autonomyLevel
|
|
32497
33517
|
SiteSettingsScanTopics:
|
|
32498
33518
|
type: string
|
|
32499
33519
|
enum:
|
|
@@ -32534,6 +33554,8 @@ components:
|
|
|
32534
33554
|
$ref: "#/components/schemas/JSONDocument"
|
|
32535
33555
|
required:
|
|
32536
33556
|
- customInstructions
|
|
33557
|
+
brokenLinks:
|
|
33558
|
+
$ref: "#/components/schemas/SiteSettingsBrokenLinks"
|
|
32537
33559
|
required:
|
|
32538
33560
|
- scans
|
|
32539
33561
|
- findings
|
|
@@ -32546,6 +33568,8 @@ components:
|
|
|
32546
33568
|
type: string
|
|
32547
33569
|
enum:
|
|
32548
33570
|
- site-agent-settings
|
|
33571
|
+
brokenLinks:
|
|
33572
|
+
$ref: "#/components/schemas/SiteSettingsBrokenLinks"
|
|
32549
33573
|
updatedAt:
|
|
32550
33574
|
$ref: "#/components/schemas/Timestamp"
|
|
32551
33575
|
updatedBy:
|
|
@@ -32561,6 +33585,7 @@ components:
|
|
|
32561
33585
|
- location
|
|
32562
33586
|
required:
|
|
32563
33587
|
- object
|
|
33588
|
+
- brokenLinks
|
|
32564
33589
|
- urls
|
|
32565
33590
|
- $ref: "#/components/schemas/SiteAgentSettingsInput"
|
|
32566
33591
|
SiteStyleguideRun:
|
|
@@ -32597,6 +33622,11 @@ components:
|
|
|
32597
33622
|
- spaces
|
|
32598
33623
|
- createdAt
|
|
32599
33624
|
- createdBy
|
|
33625
|
+
SiteInsightsUserAgent:
|
|
33626
|
+
type: string
|
|
33627
|
+
description: |
|
|
33628
|
+
User agent of the visitor.
|
|
33629
|
+
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
|
|
32600
33630
|
SiteInsightsEventSession:
|
|
32601
33631
|
allOf:
|
|
32602
33632
|
- $ref: "#/components/schemas/SiteInsightsSession"
|
|
@@ -32614,10 +33644,7 @@ components:
|
|
|
32614
33644
|
IP address of the visitor.
|
|
32615
33645
|
If not defined, it'll default to the IP executing the request.
|
|
32616
33646
|
userAgent:
|
|
32617
|
-
|
|
32618
|
-
description: |
|
|
32619
|
-
User-agent of the visitor.
|
|
32620
|
-
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent
|
|
33647
|
+
$ref: "#/components/schemas/SiteInsightsUserAgent"
|
|
32621
33648
|
language:
|
|
32622
33649
|
type:
|
|
32623
33650
|
- string
|
|
@@ -33164,7 +34191,7 @@ components:
|
|
|
33164
34191
|
oneOf:
|
|
33165
34192
|
- $ref: "#/components/schemas/SiteInsightsQueryDateTimeColumn"
|
|
33166
34193
|
- type: object
|
|
33167
|
-
description: Day of the week the event happened
|
|
34194
|
+
description: Day of the week the event happened in `timezone`, from 1 (Monday) to 7 (Sunday). Group by it alongside `hourOfDay` to fold any range into a weekly activity profile.
|
|
33168
34195
|
required:
|
|
33169
34196
|
- column
|
|
33170
34197
|
properties:
|
|
@@ -33172,8 +34199,12 @@ components:
|
|
|
33172
34199
|
type: string
|
|
33173
34200
|
enum:
|
|
33174
34201
|
- dayOfWeek
|
|
34202
|
+
timezone:
|
|
34203
|
+
type: string
|
|
34204
|
+
description: IANA time zone the event is read in, UTC when omitted.
|
|
34205
|
+
example: Europe/Paris
|
|
33175
34206
|
- type: object
|
|
33176
|
-
description: Hour of the day the event happened
|
|
34207
|
+
description: Hour of the day the event happened in `timezone`, from 0 to 23.
|
|
33177
34208
|
required:
|
|
33178
34209
|
- column
|
|
33179
34210
|
properties:
|
|
@@ -33181,6 +34212,10 @@ components:
|
|
|
33181
34212
|
type: string
|
|
33182
34213
|
enum:
|
|
33183
34214
|
- hourOfDay
|
|
34215
|
+
timezone:
|
|
34216
|
+
type: string
|
|
34217
|
+
description: IANA time zone the event is read in, UTC when omitted.
|
|
34218
|
+
example: Europe/Paris
|
|
33184
34219
|
- type: object
|
|
33185
34220
|
required:
|
|
33186
34221
|
- column
|
|
@@ -35073,6 +36108,104 @@ components:
|
|
|
35073
36108
|
- object
|
|
35074
36109
|
- url
|
|
35075
36110
|
- expiresAt
|
|
36111
|
+
APIProfilingSession:
|
|
36112
|
+
type: object
|
|
36113
|
+
required:
|
|
36114
|
+
- object
|
|
36115
|
+
- id
|
|
36116
|
+
- status
|
|
36117
|
+
- releaseVersion
|
|
36118
|
+
- releaseBuild
|
|
36119
|
+
- createdAt
|
|
36120
|
+
- expiresAt
|
|
36121
|
+
- startedBy
|
|
36122
|
+
- urls
|
|
36123
|
+
properties:
|
|
36124
|
+
object:
|
|
36125
|
+
type: string
|
|
36126
|
+
enum:
|
|
36127
|
+
- api_cpu_profiling_session
|
|
36128
|
+
id:
|
|
36129
|
+
type: string
|
|
36130
|
+
format: uuid
|
|
36131
|
+
status:
|
|
36132
|
+
type: string
|
|
36133
|
+
enum:
|
|
36134
|
+
- active
|
|
36135
|
+
- stopped
|
|
36136
|
+
- expired
|
|
36137
|
+
mode:
|
|
36138
|
+
type: string
|
|
36139
|
+
enum:
|
|
36140
|
+
- cpu
|
|
36141
|
+
- allocations
|
|
36142
|
+
description: The profiler selected for this session. Earlier sessions without this field use CPU profiling.
|
|
36143
|
+
releaseVersion:
|
|
36144
|
+
type: string
|
|
36145
|
+
releaseBuild:
|
|
36146
|
+
type: string
|
|
36147
|
+
createdAt:
|
|
36148
|
+
type: string
|
|
36149
|
+
format: date-time
|
|
36150
|
+
expiresAt:
|
|
36151
|
+
type: string
|
|
36152
|
+
format: date-time
|
|
36153
|
+
stoppedAt:
|
|
36154
|
+
type: string
|
|
36155
|
+
format: date-time
|
|
36156
|
+
startedBy:
|
|
36157
|
+
type: string
|
|
36158
|
+
urls:
|
|
36159
|
+
type: object
|
|
36160
|
+
required:
|
|
36161
|
+
- location
|
|
36162
|
+
properties:
|
|
36163
|
+
location:
|
|
36164
|
+
type: string
|
|
36165
|
+
APICPUProfile:
|
|
36166
|
+
type: object
|
|
36167
|
+
required:
|
|
36168
|
+
- object
|
|
36169
|
+
- id
|
|
36170
|
+
- instanceId
|
|
36171
|
+
- startedAt
|
|
36172
|
+
- endedAt
|
|
36173
|
+
- bytes
|
|
36174
|
+
- urls
|
|
36175
|
+
properties:
|
|
36176
|
+
object:
|
|
36177
|
+
type: string
|
|
36178
|
+
enum:
|
|
36179
|
+
- api_cpu_profile
|
|
36180
|
+
- api_allocation_profile
|
|
36181
|
+
mode:
|
|
36182
|
+
type: string
|
|
36183
|
+
enum:
|
|
36184
|
+
- cpu
|
|
36185
|
+
- allocations
|
|
36186
|
+
id:
|
|
36187
|
+
type: string
|
|
36188
|
+
format: uuid
|
|
36189
|
+
instanceId:
|
|
36190
|
+
type: string
|
|
36191
|
+
startedAt:
|
|
36192
|
+
type: string
|
|
36193
|
+
format: date-time
|
|
36194
|
+
endedAt:
|
|
36195
|
+
type: string
|
|
36196
|
+
format: date-time
|
|
36197
|
+
bytes:
|
|
36198
|
+
type: integer
|
|
36199
|
+
urls:
|
|
36200
|
+
type: object
|
|
36201
|
+
required:
|
|
36202
|
+
- location
|
|
36203
|
+
properties:
|
|
36204
|
+
location:
|
|
36205
|
+
type: string
|
|
36206
|
+
devtools:
|
|
36207
|
+
type: string
|
|
36208
|
+
description: Download the raw .cpuprofile or .heapprofile for Chrome DevTools.
|
|
35076
36209
|
PurgeCDNCacheContext:
|
|
35077
36210
|
type: object
|
|
35078
36211
|
description: The context to send when purging the CDN Cache
|
|
@@ -36293,6 +37426,8 @@ components:
|
|
|
36293
37426
|
$ref: "#/components/schemas/LocalizedString128"
|
|
36294
37427
|
icon:
|
|
36295
37428
|
$ref: "#/components/schemas/Icon"
|
|
37429
|
+
condition:
|
|
37430
|
+
$ref: "#/components/schemas/Expression"
|
|
36296
37431
|
draft:
|
|
36297
37432
|
type: boolean
|
|
36298
37433
|
description: Whether the section group is draft and not live.
|
|
@@ -36741,6 +37876,65 @@ components:
|
|
|
36741
37876
|
type: array
|
|
36742
37877
|
items:
|
|
36743
37878
|
$ref: "#/components/schemas/InputFile"
|
|
37879
|
+
FeatureUpgradeRequirement:
|
|
37880
|
+
description: The plan upgrade that would make a feature available.
|
|
37881
|
+
oneOf:
|
|
37882
|
+
- type: object
|
|
37883
|
+
title: Organization plan upgrade
|
|
37884
|
+
properties:
|
|
37885
|
+
type:
|
|
37886
|
+
type: string
|
|
37887
|
+
enum:
|
|
37888
|
+
- organization
|
|
37889
|
+
feature:
|
|
37890
|
+
$ref: "#/components/schemas/OrganizationFeature"
|
|
37891
|
+
requiredPlan:
|
|
37892
|
+
description: The internal identifier of the minimum organization plan that includes the feature. The human-readable name is provided in requiredPlanName.
|
|
37893
|
+
$ref: "#/components/schemas/BillingProduct"
|
|
37894
|
+
requiredPlanName:
|
|
37895
|
+
type: string
|
|
37896
|
+
description: The human-readable name of the required organization plan.
|
|
37897
|
+
example: Pro
|
|
37898
|
+
url:
|
|
37899
|
+
type: string
|
|
37900
|
+
format: uri
|
|
37901
|
+
description: Where an admin may upgrade the organization's plan.
|
|
37902
|
+
additionalProperties: false
|
|
37903
|
+
required:
|
|
37904
|
+
- type
|
|
37905
|
+
- feature
|
|
37906
|
+
- requiredPlan
|
|
37907
|
+
- requiredPlanName
|
|
37908
|
+
- url
|
|
37909
|
+
- type: object
|
|
37910
|
+
title: Site plan upgrade
|
|
37911
|
+
properties:
|
|
37912
|
+
type:
|
|
37913
|
+
type: string
|
|
37914
|
+
enum:
|
|
37915
|
+
- site
|
|
37916
|
+
feature:
|
|
37917
|
+
$ref: "#/components/schemas/SiteFeatureKey"
|
|
37918
|
+
requiredPlan:
|
|
37919
|
+
description: The internal identifier of the minimum site plan that includes the feature. The human-readable name is provided in requiredPlanName.
|
|
37920
|
+
$ref: "#/components/schemas/SiteType"
|
|
37921
|
+
requiredPlanName:
|
|
37922
|
+
type: string
|
|
37923
|
+
description: The human-readable name of the required site plan.
|
|
37924
|
+
example: Ultimate
|
|
37925
|
+
url:
|
|
37926
|
+
type: string
|
|
37927
|
+
format: uri
|
|
37928
|
+
description: Where an admin may upgrade the site's plan.
|
|
37929
|
+
additionalProperties: false
|
|
37930
|
+
required:
|
|
37931
|
+
- type
|
|
37932
|
+
- feature
|
|
37933
|
+
- requiredPlan
|
|
37934
|
+
- requiredPlanName
|
|
37935
|
+
- url
|
|
37936
|
+
discriminator:
|
|
37937
|
+
propertyName: type
|
|
36744
37938
|
BillingStatus:
|
|
36745
37939
|
type: string
|
|
36746
37940
|
enum:
|
|
@@ -36751,6 +37945,18 @@ components:
|
|
|
36751
37945
|
- canceled
|
|
36752
37946
|
- unpaid
|
|
36753
37947
|
- paused
|
|
37948
|
+
BillingDiscount:
|
|
37949
|
+
type: object
|
|
37950
|
+
properties:
|
|
37951
|
+
duration:
|
|
37952
|
+
description: How many months the discount will last
|
|
37953
|
+
type: number
|
|
37954
|
+
percentOff:
|
|
37955
|
+
description: Percent that will be deducted from the subtotal of the invoice
|
|
37956
|
+
type: number
|
|
37957
|
+
required:
|
|
37958
|
+
- duration
|
|
37959
|
+
- percentOff
|
|
36754
37960
|
APIIntegrationScope:
|
|
36755
37961
|
type: string
|
|
36756
37962
|
enum:
|
|
@@ -36780,6 +37986,9 @@ components:
|
|
|
36780
37986
|
- human
|
|
36781
37987
|
- agent
|
|
36782
37988
|
description: Whether the visitor, for which the token was generated, is a human or an AI agent. Defaults to human when omitted.
|
|
37989
|
+
visitorIsAuthenticated:
|
|
37990
|
+
type: boolean
|
|
37991
|
+
description: Whether the visitor is authenticated. Only set for sites with adaptive content enabled when token verification succeeded.
|
|
36783
37992
|
visitorRegion:
|
|
36784
37993
|
type: string
|
|
36785
37994
|
description: The region containing the country of the visitor for whom the token was generated. Omitted if the country isn't in any region.
|
|
@@ -37271,6 +38480,19 @@ components:
|
|
|
37271
38480
|
required:
|
|
37272
38481
|
- channel
|
|
37273
38482
|
- organization
|
|
38483
|
+
APIChannelOrganizationSCIMConnections:
|
|
38484
|
+
type: object
|
|
38485
|
+
description: Subscription channel for changes in the SCIM connections of an organization.
|
|
38486
|
+
properties:
|
|
38487
|
+
channel:
|
|
38488
|
+
type: string
|
|
38489
|
+
enum:
|
|
38490
|
+
- organization-scim-connections
|
|
38491
|
+
organization:
|
|
38492
|
+
type: string
|
|
38493
|
+
required:
|
|
38494
|
+
- channel
|
|
38495
|
+
- organization
|
|
37274
38496
|
APIChannelOrganizationCustomFonts:
|
|
37275
38497
|
type: object
|
|
37276
38498
|
description: Subscription channel for changes in custom fonts in an organization.
|
|
@@ -37839,6 +39061,7 @@ components:
|
|
|
37839
39061
|
- $ref: "#/components/schemas/APIChannelOrganizationOpenAPISpecs"
|
|
37840
39062
|
- $ref: "#/components/schemas/APIChannelOrganizationTranslations"
|
|
37841
39063
|
- $ref: "#/components/schemas/APIChannelOrganizationTranslationsGlossary"
|
|
39064
|
+
- $ref: "#/components/schemas/APIChannelOrganizationSCIMConnections"
|
|
37842
39065
|
- $ref: "#/components/schemas/APIChannelOrganizationCustomFonts"
|
|
37843
39066
|
- $ref: "#/components/schemas/APIChannelOrganizationAgentInstructions"
|
|
37844
39067
|
- $ref: "#/components/schemas/APIChannelOrganizationChangeRequests"
|
|
@@ -38581,6 +39804,58 @@ components:
|
|
|
38581
39804
|
application/json:
|
|
38582
39805
|
schema:
|
|
38583
39806
|
$ref: "#/components/schemas/Error"
|
|
39807
|
+
FeatureNotAvailableError:
|
|
39808
|
+
description: |
|
|
39809
|
+
The requested feature is not available on the organization's or site's current plan.
|
|
39810
|
+
The operation was not performed. The `error.type` value `feature-not-available`
|
|
39811
|
+
identifies this response; `error.upgrade` provides the requirements for upgrading.
|
|
39812
|
+
content:
|
|
39813
|
+
application/json:
|
|
39814
|
+
schema:
|
|
39815
|
+
description: |
|
|
39816
|
+
`error.upgrade` identifies the unavailable feature, the minimum required
|
|
39817
|
+
plan, and the URL of the relevant plan settings.
|
|
39818
|
+
|
|
39819
|
+
`error.upgrade.requiredPlanName` is the human-readable plan name, such as
|
|
39820
|
+
"Pro", "Essential", or "Ultimate", suitable for display to users.
|
|
39821
|
+
`error.upgrade.requiredPlan` is the internal plan identifier for
|
|
39822
|
+
programmatic use, such as "pro_2024" or "premium".
|
|
39823
|
+
|
|
39824
|
+
The required plan describes feature availability, not a price quote.
|
|
39825
|
+
|
|
39826
|
+
`getOrganizationSubscription` (`GET /orgs/{organizationId}/subscription`)
|
|
39827
|
+
provides the current plan and `canManageBilling`, which indicates whether
|
|
39828
|
+
the caller can manage billing. Otherwise, an organization administrator
|
|
39829
|
+
must perform the upgrade. Upgrades require billing permissions and approval
|
|
39830
|
+
of any price or billing changes.
|
|
39831
|
+
|
|
39832
|
+
The original operation can be retried after the upgrade is complete.
|
|
39833
|
+
type: object
|
|
39834
|
+
required:
|
|
39835
|
+
- error
|
|
39836
|
+
properties:
|
|
39837
|
+
error:
|
|
39838
|
+
type: object
|
|
39839
|
+
properties:
|
|
39840
|
+
type:
|
|
39841
|
+
description: Identifies the FeatureNotAvailableError response in the OpenAPI spec.
|
|
39842
|
+
type: string
|
|
39843
|
+
enum:
|
|
39844
|
+
- feature-not-available
|
|
39845
|
+
code:
|
|
39846
|
+
type: integer
|
|
39847
|
+
format: int32
|
|
39848
|
+
enum:
|
|
39849
|
+
- 403
|
|
39850
|
+
message:
|
|
39851
|
+
type: string
|
|
39852
|
+
upgrade:
|
|
39853
|
+
$ref: "#/components/schemas/FeatureUpgradeRequirement"
|
|
39854
|
+
required:
|
|
39855
|
+
- type
|
|
39856
|
+
- code
|
|
39857
|
+
- message
|
|
39858
|
+
- upgrade
|
|
38584
39859
|
headers:
|
|
38585
39860
|
returnPreferenceApplied:
|
|
38586
39861
|
description: Confirms that the requested minimal response preference was applied.
|