@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.json
CHANGED
|
@@ -446,6 +446,13 @@
|
|
|
446
446
|
"x-page-description": "Configure Single Sign-On solutions to unify your organization's authentication.",
|
|
447
447
|
"description": "Tie GitBook into your corporate identity management and authentication providers (like SAML or OAuth). This centralizes user authentication and improves security.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"Subdomain\" grouped=\"false\" %}\n The Subdomain object\n{% endopenapi-schemas %}\n"
|
|
448
448
|
},
|
|
449
|
+
{
|
|
450
|
+
"name": "scim",
|
|
451
|
+
"x-page-icon": "users",
|
|
452
|
+
"x-page-title": "SCIM",
|
|
453
|
+
"x-page-description": "Provision organization members automatically from an identity provider.",
|
|
454
|
+
"description": "Connect an identity provider such as Okta or Microsoft Entra ID to provision your organization's members with SCIM.\n"
|
|
455
|
+
},
|
|
449
456
|
{
|
|
450
457
|
"name": "storage",
|
|
451
458
|
"x-page-icon": "database",
|
|
@@ -924,7 +931,9 @@
|
|
|
924
931
|
"operationId": "moveSpace",
|
|
925
932
|
"summary": "Move a space to a different collection or position",
|
|
926
933
|
"description": "Moves a space to a new parent collection and/or a new position within the hierarchy.",
|
|
927
|
-
"x-gitbook-mcp":
|
|
934
|
+
"x-gitbook-mcp": {
|
|
935
|
+
"destructive": true
|
|
936
|
+
},
|
|
928
937
|
"tags": [
|
|
929
938
|
"spaces"
|
|
930
939
|
],
|
|
@@ -1116,7 +1125,9 @@
|
|
|
1116
1125
|
"operationId": "importGitRepository",
|
|
1117
1126
|
"summary": "Pull content into a space from a connected Git repository",
|
|
1118
1127
|
"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.",
|
|
1119
|
-
"x-gitbook-mcp":
|
|
1128
|
+
"x-gitbook-mcp": {
|
|
1129
|
+
"destructive": true
|
|
1130
|
+
},
|
|
1120
1131
|
"tags": [
|
|
1121
1132
|
"space-git"
|
|
1122
1133
|
],
|
|
@@ -1163,7 +1174,9 @@
|
|
|
1163
1174
|
"operationId": "exportToGitRepository",
|
|
1164
1175
|
"summary": "Push space content to a connected Git repository",
|
|
1165
1176
|
"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.",
|
|
1166
|
-
"x-gitbook-mcp":
|
|
1177
|
+
"x-gitbook-mcp": {
|
|
1178
|
+
"destructive": true
|
|
1179
|
+
},
|
|
1167
1180
|
"tags": [
|
|
1168
1181
|
"space-git"
|
|
1169
1182
|
],
|
|
@@ -1658,7 +1671,9 @@
|
|
|
1658
1671
|
"operationId": "applyTemplateToSpace",
|
|
1659
1672
|
"summary": "Apply a content template to populate a space with initial pages",
|
|
1660
1673
|
"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.",
|
|
1661
|
-
"x-gitbook-mcp":
|
|
1674
|
+
"x-gitbook-mcp": {
|
|
1675
|
+
"destructive": true
|
|
1676
|
+
},
|
|
1662
1677
|
"tags": [
|
|
1663
1678
|
"space-content"
|
|
1664
1679
|
],
|
|
@@ -1882,7 +1897,9 @@
|
|
|
1882
1897
|
"operationId": "getPageById",
|
|
1883
1898
|
"summary": "Get a single page from a space by its ID",
|
|
1884
1899
|
"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.",
|
|
1885
|
-
"x-gitbook-mcp":
|
|
1900
|
+
"x-gitbook-mcp": {
|
|
1901
|
+
"curatedBy": "get_page"
|
|
1902
|
+
},
|
|
1886
1903
|
"tags": [
|
|
1887
1904
|
"space-content"
|
|
1888
1905
|
],
|
|
@@ -1982,7 +1999,9 @@
|
|
|
1982
1999
|
"operationId": "getPageByPath",
|
|
1983
2000
|
"summary": "Get a page from a space by its URL path",
|
|
1984
2001
|
"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.",
|
|
1985
|
-
"x-gitbook-mcp":
|
|
2002
|
+
"x-gitbook-mcp": {
|
|
2003
|
+
"curatedBy": "get_page"
|
|
2004
|
+
},
|
|
1986
2005
|
"tags": [
|
|
1987
2006
|
"space-content"
|
|
1988
2007
|
],
|
|
@@ -2098,7 +2117,9 @@
|
|
|
2098
2117
|
"operationId": "getComputedDocument",
|
|
2099
2118
|
"summary": "Compute and render a document from a structured content source",
|
|
2100
2119
|
"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.",
|
|
2101
|
-
"x-gitbook-mcp":
|
|
2120
|
+
"x-gitbook-mcp": {
|
|
2121
|
+
"readOnly": true
|
|
2122
|
+
},
|
|
2102
2123
|
"tags": [
|
|
2103
2124
|
"space-content"
|
|
2104
2125
|
],
|
|
@@ -2162,7 +2183,9 @@
|
|
|
2162
2183
|
"operationId": "getComputedRevision",
|
|
2163
2184
|
"summary": "Compute and render a full revision from a structured content source",
|
|
2164
2185
|
"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.",
|
|
2165
|
-
"x-gitbook-mcp":
|
|
2186
|
+
"x-gitbook-mcp": {
|
|
2187
|
+
"readOnly": true
|
|
2188
|
+
},
|
|
2166
2189
|
"tags": [
|
|
2167
2190
|
"space-content"
|
|
2168
2191
|
],
|
|
@@ -2297,8 +2320,10 @@
|
|
|
2297
2320
|
"post": {
|
|
2298
2321
|
"operationId": "createChangeRequest",
|
|
2299
2322
|
"summary": "Create a new change request in a space",
|
|
2300
|
-
"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.
|
|
2301
|
-
"x-gitbook-mcp":
|
|
2323
|
+
"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.",
|
|
2324
|
+
"x-gitbook-mcp": {
|
|
2325
|
+
"curatedBy": "create_change_request"
|
|
2326
|
+
},
|
|
2302
2327
|
"tags": [
|
|
2303
2328
|
"change-requests"
|
|
2304
2329
|
],
|
|
@@ -2358,7 +2383,16 @@
|
|
|
2358
2383
|
},
|
|
2359
2384
|
"siteFindingId": {
|
|
2360
2385
|
"type": "string",
|
|
2361
|
-
"
|
|
2386
|
+
"deprecated": true,
|
|
2387
|
+
"description": "The site finding this change request fixes. Use `siteFindingIds` instead. The finding's site must contain this space."
|
|
2388
|
+
},
|
|
2389
|
+
"siteFindingIds": {
|
|
2390
|
+
"type": "array",
|
|
2391
|
+
"maxItems": 25,
|
|
2392
|
+
"items": {
|
|
2393
|
+
"type": "string"
|
|
2394
|
+
},
|
|
2395
|
+
"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."
|
|
2362
2396
|
}
|
|
2363
2397
|
},
|
|
2364
2398
|
"additionalProperties": true
|
|
@@ -2529,7 +2563,7 @@
|
|
|
2529
2563
|
"patch": {
|
|
2530
2564
|
"operationId": "updateChangeRequestById",
|
|
2531
2565
|
"summary": "Update a change request's subject, description, or status",
|
|
2532
|
-
"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 `
|
|
2566
|
+
"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.",
|
|
2533
2567
|
"x-gitbook-mcp": true,
|
|
2534
2568
|
"x-gitbook-return-preference": true,
|
|
2535
2569
|
"tags": [
|
|
@@ -2586,11 +2620,23 @@
|
|
|
2586
2620
|
]
|
|
2587
2621
|
},
|
|
2588
2622
|
"siteFindingId": {
|
|
2623
|
+
"deprecated": true,
|
|
2589
2624
|
"type": [
|
|
2590
2625
|
"string",
|
|
2591
2626
|
"null"
|
|
2592
2627
|
],
|
|
2593
|
-
"description": "The site finding this change request fixes.
|
|
2628
|
+
"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."
|
|
2629
|
+
},
|
|
2630
|
+
"siteFindingIds": {
|
|
2631
|
+
"type": [
|
|
2632
|
+
"array",
|
|
2633
|
+
"null"
|
|
2634
|
+
],
|
|
2635
|
+
"maxItems": 25,
|
|
2636
|
+
"items": {
|
|
2637
|
+
"type": "string"
|
|
2638
|
+
},
|
|
2639
|
+
"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."
|
|
2594
2640
|
}
|
|
2595
2641
|
}
|
|
2596
2642
|
}
|
|
@@ -2624,7 +2670,10 @@
|
|
|
2624
2670
|
"operationId": "mergeChangeRequest",
|
|
2625
2671
|
"summary": "Merge a change request into the space's live content",
|
|
2626
2672
|
"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.",
|
|
2627
|
-
"x-gitbook-mcp":
|
|
2673
|
+
"x-gitbook-mcp": {
|
|
2674
|
+
"destructive": true,
|
|
2675
|
+
"curatedBy": "submit_or_merge_change_request"
|
|
2676
|
+
},
|
|
2628
2677
|
"tags": [
|
|
2629
2678
|
"change-requests"
|
|
2630
2679
|
],
|
|
@@ -2682,7 +2731,9 @@
|
|
|
2682
2731
|
"operationId": "updateChangeRequest",
|
|
2683
2732
|
"summary": "Sync a change request with the latest live space content",
|
|
2684
2733
|
"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.",
|
|
2685
|
-
"x-gitbook-mcp":
|
|
2734
|
+
"x-gitbook-mcp": {
|
|
2735
|
+
"destructive": true
|
|
2736
|
+
},
|
|
2686
2737
|
"tags": [
|
|
2687
2738
|
"change-requests"
|
|
2688
2739
|
],
|
|
@@ -3972,8 +4023,10 @@
|
|
|
3972
4023
|
"post": {
|
|
3973
4024
|
"operationId": "updateChangeRequestContent",
|
|
3974
4025
|
"summary": "Apply a batch of content changes to a change request",
|
|
3975
|
-
"description": "Applies an ordered array of content changes (up to 50) to the change request atomically, creating a single new revision. Changes are applied sequentially; if any single change is invalid the entire batch is rejected and no revision is created. Use this to create, update, rename, move, or delete pages within a change request before merging to live. This is the primary way to programmatically author content in a change request.\n**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`.\n**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.\nTo 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.\nWhen 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:\n- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).\n- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`\n for a nested page (e.g. `/pages/guides/getting-started`).\n\n- Markdown file path — the path the page would have in Git: `/pages/<slug>.md` for a page,\n or `/pages/<slug>/README.md` for a page that has child pages. The space's root page is\n `/pages/README.md`.\n\n- Relative markdown link — resolved against the page being edited, e.g. `./sibling.md`,\n `../other.md`, or `../README.md` (the parent page). Folder-style links without an\n extension (e.g. `./section`) resolve to that folder's page.\n\nExternal 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.\nGitBook 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.\n
|
|
3976
|
-
"x-gitbook-mcp":
|
|
4026
|
+
"description": "Applies an ordered array of content changes (up to 50) to the change request atomically, creating a single new revision. Changes are applied sequentially; if any single change is invalid the entire batch is rejected and no revision is created. Use this to create, update, rename, move, or delete pages within a change request before merging to live. This is the primary way to programmatically author content in a change request.\n**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`.\n**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.\nTo 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.\n**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.\n**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.\nWhen 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:\n- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).\n- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`\n for a nested page (e.g. `/pages/guides/getting-started`).\n\n- Markdown file path — the path the page would have in Git: `/pages/<slug>.md` for a page,\n or `/pages/<slug>/README.md` for a page that has child pages. The space's root page is\n `/pages/README.md`.\n\n- Relative markdown link — resolved against the page being edited, e.g. `./sibling.md`,\n `../other.md`, or `../README.md` (the parent page). Folder-style links without an\n extension (e.g. `./section`) resolve to that folder's page.\n\nExternal 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.\nGitBook 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.\nFor 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.\n**Response shape (`compat`)** — this endpoint is changing what it returns:\n- `compat=true` (current default) returns the updated change request, matching the endpoint's\n original behavior.\n\n- `compat=false` returns the updated change request **and** the list of affected pages (see\n the response schema).\n\nThe 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.",
|
|
4027
|
+
"x-gitbook-mcp": {
|
|
4028
|
+
"destructive": true
|
|
4029
|
+
},
|
|
3977
4030
|
"tags": [
|
|
3978
4031
|
"change-request-content"
|
|
3979
4032
|
],
|
|
@@ -4014,6 +4067,11 @@
|
|
|
4014
4067
|
"changes"
|
|
4015
4068
|
],
|
|
4016
4069
|
"properties": {
|
|
4070
|
+
"expectedRevision": {
|
|
4071
|
+
"type": "string",
|
|
4072
|
+
"minLength": 1,
|
|
4073
|
+
"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."
|
|
4074
|
+
},
|
|
4017
4075
|
"changes": {
|
|
4018
4076
|
"type": "array",
|
|
4019
4077
|
"minItems": 1,
|
|
@@ -4049,6 +4107,10 @@
|
|
|
4049
4107
|
"404": {
|
|
4050
4108
|
"description": "The change request could not be found.",
|
|
4051
4109
|
"$ref": "#/components/responses/NotFoundError"
|
|
4110
|
+
},
|
|
4111
|
+
"409": {
|
|
4112
|
+
"description": "The branch changed since the expected revision; read the latest content before retrying.",
|
|
4113
|
+
"$ref": "#/components/responses/ConflictError"
|
|
4052
4114
|
}
|
|
4053
4115
|
}
|
|
4054
4116
|
}
|
|
@@ -9106,6 +9168,10 @@
|
|
|
9106
9168
|
"properties": {
|
|
9107
9169
|
"role": {
|
|
9108
9170
|
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
9171
|
+
},
|
|
9172
|
+
"disabled": {
|
|
9173
|
+
"type": "boolean",
|
|
9174
|
+
"description": "Disable or re-enable the member. Only members disabled by an admin can be re-enabled."
|
|
9109
9175
|
}
|
|
9110
9176
|
}
|
|
9111
9177
|
}
|
|
@@ -9116,6 +9182,7 @@
|
|
|
9116
9182
|
"delete": {
|
|
9117
9183
|
"operationId": "removeMemberFromOrganizationById",
|
|
9118
9184
|
"summary": "Remove an organization member or request an organization admin to do it",
|
|
9185
|
+
"description": "Users cannot remove their own membership. Ask another organization admin to remove it.",
|
|
9119
9186
|
"tags": [
|
|
9120
9187
|
"organization-members"
|
|
9121
9188
|
],
|
|
@@ -11363,6 +11430,283 @@
|
|
|
11363
11430
|
}
|
|
11364
11431
|
}
|
|
11365
11432
|
},
|
|
11433
|
+
"/orgs/{organizationId}/scim/connections": {
|
|
11434
|
+
"get": {
|
|
11435
|
+
"operationId": "listOrganizationSCIMConnections",
|
|
11436
|
+
"summary": "List SCIM connections",
|
|
11437
|
+
"tags": [
|
|
11438
|
+
"scim"
|
|
11439
|
+
],
|
|
11440
|
+
"security": [
|
|
11441
|
+
{
|
|
11442
|
+
"user-internal": []
|
|
11443
|
+
}
|
|
11444
|
+
],
|
|
11445
|
+
"parameters": [
|
|
11446
|
+
{
|
|
11447
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11448
|
+
}
|
|
11449
|
+
],
|
|
11450
|
+
"responses": {
|
|
11451
|
+
"200": {
|
|
11452
|
+
"description": "OK",
|
|
11453
|
+
"content": {
|
|
11454
|
+
"application/json": {
|
|
11455
|
+
"schema": {
|
|
11456
|
+
"allOf": [
|
|
11457
|
+
{
|
|
11458
|
+
"$ref": "#/components/schemas/List"
|
|
11459
|
+
},
|
|
11460
|
+
{
|
|
11461
|
+
"type": "object",
|
|
11462
|
+
"required": [
|
|
11463
|
+
"items"
|
|
11464
|
+
],
|
|
11465
|
+
"properties": {
|
|
11466
|
+
"items": {
|
|
11467
|
+
"type": "array",
|
|
11468
|
+
"items": {
|
|
11469
|
+
"$ref": "#/components/schemas/OrganizationSCIMConnection"
|
|
11470
|
+
}
|
|
11471
|
+
}
|
|
11472
|
+
}
|
|
11473
|
+
}
|
|
11474
|
+
]
|
|
11475
|
+
}
|
|
11476
|
+
}
|
|
11477
|
+
}
|
|
11478
|
+
},
|
|
11479
|
+
"404": {
|
|
11480
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11481
|
+
}
|
|
11482
|
+
}
|
|
11483
|
+
},
|
|
11484
|
+
"post": {
|
|
11485
|
+
"operationId": "createOrganizationSCIMConnection",
|
|
11486
|
+
"summary": "Create a SCIM connection",
|
|
11487
|
+
"description": "Creates a SCIM connection and its token. The token is only returned in this response.\n",
|
|
11488
|
+
"tags": [
|
|
11489
|
+
"scim"
|
|
11490
|
+
],
|
|
11491
|
+
"security": [
|
|
11492
|
+
{
|
|
11493
|
+
"user-internal": []
|
|
11494
|
+
}
|
|
11495
|
+
],
|
|
11496
|
+
"parameters": [
|
|
11497
|
+
{
|
|
11498
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11499
|
+
}
|
|
11500
|
+
],
|
|
11501
|
+
"requestBody": {
|
|
11502
|
+
"required": true,
|
|
11503
|
+
"content": {
|
|
11504
|
+
"application/json": {
|
|
11505
|
+
"schema": {
|
|
11506
|
+
"type": "object",
|
|
11507
|
+
"properties": {
|
|
11508
|
+
"label": {
|
|
11509
|
+
"$ref": "#/components/schemas/SCIMConnectionLabel"
|
|
11510
|
+
},
|
|
11511
|
+
"provider": {
|
|
11512
|
+
"$ref": "#/components/schemas/SCIMConnectionProvider"
|
|
11513
|
+
}
|
|
11514
|
+
},
|
|
11515
|
+
"required": [
|
|
11516
|
+
"label",
|
|
11517
|
+
"provider"
|
|
11518
|
+
]
|
|
11519
|
+
}
|
|
11520
|
+
}
|
|
11521
|
+
}
|
|
11522
|
+
},
|
|
11523
|
+
"responses": {
|
|
11524
|
+
"201": {
|
|
11525
|
+
"description": "SCIM connection created",
|
|
11526
|
+
"content": {
|
|
11527
|
+
"application/json": {
|
|
11528
|
+
"schema": {
|
|
11529
|
+
"$ref": "#/components/schemas/OrganizationSCIMConnectionWithToken"
|
|
11530
|
+
}
|
|
11531
|
+
}
|
|
11532
|
+
}
|
|
11533
|
+
},
|
|
11534
|
+
"400": {
|
|
11535
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
11536
|
+
},
|
|
11537
|
+
"404": {
|
|
11538
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11539
|
+
},
|
|
11540
|
+
"412": {
|
|
11541
|
+
"description": "The organization has SAML providers configured.",
|
|
11542
|
+
"$ref": "#/components/responses/PreconditionFailedError"
|
|
11543
|
+
}
|
|
11544
|
+
}
|
|
11545
|
+
}
|
|
11546
|
+
},
|
|
11547
|
+
"/orgs/{organizationId}/scim/connections/{scimConnectionId}": {
|
|
11548
|
+
"get": {
|
|
11549
|
+
"operationId": "getOrganizationSCIMConnection",
|
|
11550
|
+
"summary": "Get a SCIM connection by its ID",
|
|
11551
|
+
"tags": [
|
|
11552
|
+
"scim"
|
|
11553
|
+
],
|
|
11554
|
+
"security": [
|
|
11555
|
+
{
|
|
11556
|
+
"user-internal": []
|
|
11557
|
+
}
|
|
11558
|
+
],
|
|
11559
|
+
"parameters": [
|
|
11560
|
+
{
|
|
11561
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11562
|
+
},
|
|
11563
|
+
{
|
|
11564
|
+
"$ref": "#/components/parameters/scimConnectionId"
|
|
11565
|
+
}
|
|
11566
|
+
],
|
|
11567
|
+
"responses": {
|
|
11568
|
+
"200": {
|
|
11569
|
+
"description": "OK",
|
|
11570
|
+
"content": {
|
|
11571
|
+
"application/json": {
|
|
11572
|
+
"schema": {
|
|
11573
|
+
"$ref": "#/components/schemas/OrganizationSCIMConnection"
|
|
11574
|
+
}
|
|
11575
|
+
}
|
|
11576
|
+
}
|
|
11577
|
+
},
|
|
11578
|
+
"404": {
|
|
11579
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11580
|
+
}
|
|
11581
|
+
}
|
|
11582
|
+
},
|
|
11583
|
+
"patch": {
|
|
11584
|
+
"operationId": "updateOrganizationSCIMConnection",
|
|
11585
|
+
"summary": "Update a SCIM connection",
|
|
11586
|
+
"tags": [
|
|
11587
|
+
"scim"
|
|
11588
|
+
],
|
|
11589
|
+
"security": [
|
|
11590
|
+
{
|
|
11591
|
+
"user-internal": []
|
|
11592
|
+
}
|
|
11593
|
+
],
|
|
11594
|
+
"parameters": [
|
|
11595
|
+
{
|
|
11596
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11597
|
+
},
|
|
11598
|
+
{
|
|
11599
|
+
"$ref": "#/components/parameters/scimConnectionId"
|
|
11600
|
+
}
|
|
11601
|
+
],
|
|
11602
|
+
"requestBody": {
|
|
11603
|
+
"required": true,
|
|
11604
|
+
"content": {
|
|
11605
|
+
"application/json": {
|
|
11606
|
+
"schema": {
|
|
11607
|
+
"type": "object",
|
|
11608
|
+
"properties": {
|
|
11609
|
+
"label": {
|
|
11610
|
+
"$ref": "#/components/schemas/SCIMConnectionLabel"
|
|
11611
|
+
}
|
|
11612
|
+
},
|
|
11613
|
+
"required": [
|
|
11614
|
+
"label"
|
|
11615
|
+
]
|
|
11616
|
+
}
|
|
11617
|
+
}
|
|
11618
|
+
}
|
|
11619
|
+
},
|
|
11620
|
+
"responses": {
|
|
11621
|
+
"200": {
|
|
11622
|
+
"description": "SCIM connection updated",
|
|
11623
|
+
"content": {
|
|
11624
|
+
"application/json": {
|
|
11625
|
+
"schema": {
|
|
11626
|
+
"$ref": "#/components/schemas/OrganizationSCIMConnection"
|
|
11627
|
+
}
|
|
11628
|
+
}
|
|
11629
|
+
}
|
|
11630
|
+
},
|
|
11631
|
+
"400": {
|
|
11632
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
11633
|
+
},
|
|
11634
|
+
"404": {
|
|
11635
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11636
|
+
}
|
|
11637
|
+
}
|
|
11638
|
+
},
|
|
11639
|
+
"delete": {
|
|
11640
|
+
"operationId": "deleteOrganizationSCIMConnection",
|
|
11641
|
+
"summary": "Delete a SCIM connection",
|
|
11642
|
+
"description": "Deletes a SCIM connection. Its token stops working immediately.\n",
|
|
11643
|
+
"tags": [
|
|
11644
|
+
"scim"
|
|
11645
|
+
],
|
|
11646
|
+
"security": [
|
|
11647
|
+
{
|
|
11648
|
+
"user-internal": []
|
|
11649
|
+
}
|
|
11650
|
+
],
|
|
11651
|
+
"parameters": [
|
|
11652
|
+
{
|
|
11653
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11654
|
+
},
|
|
11655
|
+
{
|
|
11656
|
+
"$ref": "#/components/parameters/scimConnectionId"
|
|
11657
|
+
}
|
|
11658
|
+
],
|
|
11659
|
+
"responses": {
|
|
11660
|
+
"204": {
|
|
11661
|
+
"description": "SCIM connection not found"
|
|
11662
|
+
},
|
|
11663
|
+
"205": {
|
|
11664
|
+
"description": "SCIM connection deleted"
|
|
11665
|
+
},
|
|
11666
|
+
"404": {
|
|
11667
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11668
|
+
}
|
|
11669
|
+
}
|
|
11670
|
+
}
|
|
11671
|
+
},
|
|
11672
|
+
"/orgs/{organizationId}/scim/connections/{scimConnectionId}/token": {
|
|
11673
|
+
"post": {
|
|
11674
|
+
"operationId": "rotateOrganizationSCIMConnectionToken",
|
|
11675
|
+
"summary": "Rotate the token of a SCIM connection",
|
|
11676
|
+
"description": "Replaces the token of a SCIM connection. The previous token stops working immediately, and the new token is only returned in this response.\n",
|
|
11677
|
+
"tags": [
|
|
11678
|
+
"scim"
|
|
11679
|
+
],
|
|
11680
|
+
"security": [
|
|
11681
|
+
{
|
|
11682
|
+
"user-internal": []
|
|
11683
|
+
}
|
|
11684
|
+
],
|
|
11685
|
+
"parameters": [
|
|
11686
|
+
{
|
|
11687
|
+
"$ref": "#/components/parameters/organizationId"
|
|
11688
|
+
},
|
|
11689
|
+
{
|
|
11690
|
+
"$ref": "#/components/parameters/scimConnectionId"
|
|
11691
|
+
}
|
|
11692
|
+
],
|
|
11693
|
+
"responses": {
|
|
11694
|
+
"200": {
|
|
11695
|
+
"description": "Token rotated",
|
|
11696
|
+
"content": {
|
|
11697
|
+
"application/json": {
|
|
11698
|
+
"schema": {
|
|
11699
|
+
"$ref": "#/components/schemas/OrganizationSCIMConnectionWithToken"
|
|
11700
|
+
}
|
|
11701
|
+
}
|
|
11702
|
+
}
|
|
11703
|
+
},
|
|
11704
|
+
"404": {
|
|
11705
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
11706
|
+
}
|
|
11707
|
+
}
|
|
11708
|
+
}
|
|
11709
|
+
},
|
|
11366
11710
|
"/orgs/{organizationId}/sso": {
|
|
11367
11711
|
"get": {
|
|
11368
11712
|
"operationId": "listSSOProviderLoginsInOrganization",
|
|
@@ -11660,6 +12004,7 @@
|
|
|
11660
12004
|
"post": {
|
|
11661
12005
|
"operationId": "createOpenAPISpec",
|
|
11662
12006
|
"summary": "Create an OpenAPI spec",
|
|
12007
|
+
"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.",
|
|
11663
12008
|
"x-gitbook-mcp": true,
|
|
11664
12009
|
"tags": [
|
|
11665
12010
|
"openapi"
|
|
@@ -11764,6 +12109,7 @@
|
|
|
11764
12109
|
"put": {
|
|
11765
12110
|
"operationId": "createOrUpdateOpenAPISpecBySlug",
|
|
11766
12111
|
"summary": "Create or update an OpenAPI spec",
|
|
12112
|
+
"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.",
|
|
11767
12113
|
"x-gitbook-mcp": true,
|
|
11768
12114
|
"tags": [
|
|
11769
12115
|
"openapi"
|
|
@@ -13486,7 +13832,9 @@
|
|
|
13486
13832
|
"operationId": "listSites",
|
|
13487
13833
|
"summary": "List all documentation sites in an organization",
|
|
13488
13834
|
"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.",
|
|
13489
|
-
"x-gitbook-mcp":
|
|
13835
|
+
"x-gitbook-mcp": {
|
|
13836
|
+
"curatedBy": "list_sites"
|
|
13837
|
+
},
|
|
13490
13838
|
"tags": [
|
|
13491
13839
|
"sites",
|
|
13492
13840
|
"critical"
|
|
@@ -14092,7 +14440,10 @@
|
|
|
14092
14440
|
"operationId": "publishSite",
|
|
14093
14441
|
"summary": "Publish a site to make it publicly accessible",
|
|
14094
14442
|
"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.",
|
|
14095
|
-
"x-gitbook-mcp":
|
|
14443
|
+
"x-gitbook-mcp": {
|
|
14444
|
+
"destructive": true,
|
|
14445
|
+
"idempotent": true
|
|
14446
|
+
},
|
|
14096
14447
|
"tags": [
|
|
14097
14448
|
"sites"
|
|
14098
14449
|
],
|
|
@@ -14167,12 +14518,59 @@
|
|
|
14167
14518
|
}
|
|
14168
14519
|
}
|
|
14169
14520
|
},
|
|
14521
|
+
"/orgs/{organizationId}/sites/{siteId}/setup": {
|
|
14522
|
+
"get": {
|
|
14523
|
+
"operationId": "getSiteSetup",
|
|
14524
|
+
"summary": "Get the setup steps of a site",
|
|
14525
|
+
"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.",
|
|
14526
|
+
"x-gitbook-mcp": true,
|
|
14527
|
+
"tags": [
|
|
14528
|
+
"sites"
|
|
14529
|
+
],
|
|
14530
|
+
"security": [
|
|
14531
|
+
{
|
|
14532
|
+
"user": []
|
|
14533
|
+
},
|
|
14534
|
+
{
|
|
14535
|
+
"oauth": [
|
|
14536
|
+
"site:read"
|
|
14537
|
+
]
|
|
14538
|
+
}
|
|
14539
|
+
],
|
|
14540
|
+
"parameters": [
|
|
14541
|
+
{
|
|
14542
|
+
"$ref": "#/components/parameters/organizationId"
|
|
14543
|
+
},
|
|
14544
|
+
{
|
|
14545
|
+
"$ref": "#/components/parameters/siteId"
|
|
14546
|
+
}
|
|
14547
|
+
],
|
|
14548
|
+
"responses": {
|
|
14549
|
+
"200": {
|
|
14550
|
+
"description": "OK",
|
|
14551
|
+
"content": {
|
|
14552
|
+
"application/json": {
|
|
14553
|
+
"schema": {
|
|
14554
|
+
"$ref": "#/components/schemas/SiteSetup"
|
|
14555
|
+
}
|
|
14556
|
+
}
|
|
14557
|
+
}
|
|
14558
|
+
},
|
|
14559
|
+
"400": {
|
|
14560
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
14561
|
+
}
|
|
14562
|
+
}
|
|
14563
|
+
}
|
|
14564
|
+
},
|
|
14170
14565
|
"/orgs/{organizationId}/sites/{siteId}/unpublish": {
|
|
14171
14566
|
"post": {
|
|
14172
14567
|
"operationId": "unpublishSite",
|
|
14173
14568
|
"summary": "Take a site offline by unpublishing it",
|
|
14174
14569
|
"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.",
|
|
14175
|
-
"x-gitbook-mcp":
|
|
14570
|
+
"x-gitbook-mcp": {
|
|
14571
|
+
"destructive": true,
|
|
14572
|
+
"idempotent": true
|
|
14573
|
+
},
|
|
14176
14574
|
"tags": [
|
|
14177
14575
|
"sites"
|
|
14178
14576
|
],
|
|
@@ -14820,7 +15218,9 @@
|
|
|
14820
15218
|
"operationId": "getSiteStructure",
|
|
14821
15219
|
"summary": "Get the full navigation structure of a site",
|
|
14822
15220
|
"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.",
|
|
14823
|
-
"x-gitbook-mcp":
|
|
15221
|
+
"x-gitbook-mcp": {
|
|
15222
|
+
"curatedBy": "get_site_structure"
|
|
15223
|
+
},
|
|
14824
15224
|
"tags": [
|
|
14825
15225
|
"site-structure"
|
|
14826
15226
|
],
|
|
@@ -15052,7 +15452,9 @@
|
|
|
15052
15452
|
"operationId": "regenerateSitePublishingAuthById",
|
|
15053
15453
|
"summary": "Regenerate the private key for a site's published content authentication",
|
|
15054
15454
|
"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.",
|
|
15055
|
-
"x-gitbook-mcp":
|
|
15455
|
+
"x-gitbook-mcp": {
|
|
15456
|
+
"destructive": true
|
|
15457
|
+
},
|
|
15056
15458
|
"tags": [
|
|
15057
15459
|
"site-publishing-auth"
|
|
15058
15460
|
],
|
|
@@ -15141,6 +15543,14 @@
|
|
|
15141
15543
|
"type": "string"
|
|
15142
15544
|
}
|
|
15143
15545
|
},
|
|
15546
|
+
{
|
|
15547
|
+
"name": "visitorAuthenticated",
|
|
15548
|
+
"in": "query",
|
|
15549
|
+
"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.",
|
|
15550
|
+
"schema": {
|
|
15551
|
+
"type": "boolean"
|
|
15552
|
+
}
|
|
15553
|
+
},
|
|
15144
15554
|
{
|
|
15145
15555
|
"name": "draft",
|
|
15146
15556
|
"in": "query",
|
|
@@ -15410,8 +15820,10 @@
|
|
|
15410
15820
|
"post": {
|
|
15411
15821
|
"operationId": "addSpaceToSite",
|
|
15412
15822
|
"summary": "Add a space to a site as a content source",
|
|
15413
|
-
"description": "Pass an existing space ID to link it, or pass `null` to create and link a new space. New spaces
|
|
15414
|
-
"x-gitbook-mcp":
|
|
15823
|
+
"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).",
|
|
15824
|
+
"x-gitbook-mcp": {
|
|
15825
|
+
"destructive": true
|
|
15826
|
+
},
|
|
15415
15827
|
"x-gitbook-return-preference": true,
|
|
15416
15828
|
"tags": [
|
|
15417
15829
|
"site-spaces"
|
|
@@ -15479,6 +15891,11 @@
|
|
|
15479
15891
|
],
|
|
15480
15892
|
"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."
|
|
15481
15893
|
},
|
|
15894
|
+
"empty": {
|
|
15895
|
+
"type": "boolean",
|
|
15896
|
+
"default": false,
|
|
15897
|
+
"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."
|
|
15898
|
+
},
|
|
15482
15899
|
"title": {
|
|
15483
15900
|
"$ref": "#/components/schemas/SiteTitle",
|
|
15484
15901
|
"description": "Site-specific title override for the variant. Also used as the space title when `spaceId` is `null` and no template is provided."
|
|
@@ -15664,7 +16081,9 @@
|
|
|
15664
16081
|
"operationId": "addSectionGroupToSite",
|
|
15665
16082
|
"summary": "Add a section group to a site's navigation structure",
|
|
15666
16083
|
"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.",
|
|
15667
|
-
"x-gitbook-mcp":
|
|
16084
|
+
"x-gitbook-mcp": {
|
|
16085
|
+
"destructive": true
|
|
16086
|
+
},
|
|
15668
16087
|
"tags": [
|
|
15669
16088
|
"site-section-groups"
|
|
15670
16089
|
],
|
|
@@ -15696,6 +16115,10 @@
|
|
|
15696
16115
|
"title": {
|
|
15697
16116
|
"$ref": "#/components/schemas/SiteSectionGroupTitle"
|
|
15698
16117
|
},
|
|
16118
|
+
"condition": {
|
|
16119
|
+
"description": "Conditional expression used to evaluate whether the site section group should be shown to the site's visitor (should evaluate to a boolean).",
|
|
16120
|
+
"$ref": "#/components/schemas/Expression"
|
|
16121
|
+
},
|
|
15699
16122
|
"icon": {
|
|
15700
16123
|
"oneOf": [
|
|
15701
16124
|
{
|
|
@@ -15810,6 +16233,17 @@
|
|
|
15810
16233
|
"localizedTitle": {
|
|
15811
16234
|
"$ref": "#/components/schemas/LocalizedString128"
|
|
15812
16235
|
},
|
|
16236
|
+
"condition": {
|
|
16237
|
+
"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.",
|
|
16238
|
+
"oneOf": [
|
|
16239
|
+
{
|
|
16240
|
+
"$ref": "#/components/schemas/Expression"
|
|
16241
|
+
},
|
|
16242
|
+
{
|
|
16243
|
+
"type": "null"
|
|
16244
|
+
}
|
|
16245
|
+
]
|
|
16246
|
+
},
|
|
15813
16247
|
"icon": {
|
|
15814
16248
|
"oneOf": [
|
|
15815
16249
|
{
|
|
@@ -15902,8 +16336,10 @@
|
|
|
15902
16336
|
"post": {
|
|
15903
16337
|
"operationId": "addSectionToSite",
|
|
15904
16338
|
"summary": "Add a new navigation section to a site backed by a space",
|
|
15905
|
-
"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
|
|
15906
|
-
"x-gitbook-mcp":
|
|
16339
|
+
"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).",
|
|
16340
|
+
"x-gitbook-mcp": {
|
|
16341
|
+
"destructive": true
|
|
16342
|
+
},
|
|
15907
16343
|
"tags": [
|
|
15908
16344
|
"site-sections"
|
|
15909
16345
|
],
|
|
@@ -15947,6 +16383,11 @@
|
|
|
15947
16383
|
"$ref": "#/components/schemas/ApplySpaceTemplate",
|
|
15948
16384
|
"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."
|
|
15949
16385
|
},
|
|
16386
|
+
"empty": {
|
|
16387
|
+
"type": "boolean",
|
|
16388
|
+
"default": false,
|
|
16389
|
+
"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."
|
|
16390
|
+
},
|
|
15950
16391
|
"title": {
|
|
15951
16392
|
"oneOf": [
|
|
15952
16393
|
{
|
|
@@ -16143,6 +16584,10 @@
|
|
|
16143
16584
|
"type": "string",
|
|
16144
16585
|
"description": "ID of the site-space to be used as the default in this section."
|
|
16145
16586
|
},
|
|
16587
|
+
"hidden": {
|
|
16588
|
+
"type": "boolean",
|
|
16589
|
+
"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."
|
|
16590
|
+
},
|
|
16146
16591
|
"condition": {
|
|
16147
16592
|
"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.",
|
|
16148
16593
|
"oneOf": [
|
|
@@ -16260,7 +16705,9 @@
|
|
|
16260
16705
|
"operationId": "addExternalLinkToSite",
|
|
16261
16706
|
"summary": "Add an external link to a site's navigation",
|
|
16262
16707
|
"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.",
|
|
16263
|
-
"x-gitbook-mcp":
|
|
16708
|
+
"x-gitbook-mcp": {
|
|
16709
|
+
"destructive": true
|
|
16710
|
+
},
|
|
16264
16711
|
"tags": [
|
|
16265
16712
|
"site-external-links"
|
|
16266
16713
|
],
|
|
@@ -16587,7 +17034,9 @@
|
|
|
16587
17034
|
"operationId": "searchSiteContent",
|
|
16588
17035
|
"summary": "Full-text search across all content in a site",
|
|
16589
17036
|
"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.",
|
|
16590
|
-
"x-gitbook-mcp":
|
|
17037
|
+
"x-gitbook-mcp": {
|
|
17038
|
+
"readOnly": true
|
|
17039
|
+
},
|
|
16591
17040
|
"tags": [
|
|
16592
17041
|
"sites"
|
|
16593
17042
|
],
|
|
@@ -16959,6 +17408,12 @@
|
|
|
16959
17408
|
{
|
|
16960
17409
|
"$ref": "#/components/parameters/siteId"
|
|
16961
17410
|
},
|
|
17411
|
+
{
|
|
17412
|
+
"$ref": "#/components/parameters/xOriginalUserAgent"
|
|
17413
|
+
},
|
|
17414
|
+
{
|
|
17415
|
+
"$ref": "#/components/parameters/xOriginalSignatureAgent"
|
|
17416
|
+
},
|
|
16962
17417
|
{
|
|
16963
17418
|
"$ref": "#/components/parameters/documentFormat"
|
|
16964
17419
|
}
|
|
@@ -17457,6 +17912,23 @@
|
|
|
17457
17912
|
"$ref": "#/components/schemas/SiteFindingSeverity"
|
|
17458
17913
|
}
|
|
17459
17914
|
},
|
|
17915
|
+
{
|
|
17916
|
+
"name": "autoResolution",
|
|
17917
|
+
"in": "query",
|
|
17918
|
+
"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.",
|
|
17919
|
+
"schema": {
|
|
17920
|
+
"$ref": "#/components/schemas/SiteFindingAutoResolution"
|
|
17921
|
+
}
|
|
17922
|
+
},
|
|
17923
|
+
{
|
|
17924
|
+
"name": "autoResolvedAfter",
|
|
17925
|
+
"in": "query",
|
|
17926
|
+
"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.",
|
|
17927
|
+
"schema": {
|
|
17928
|
+
"type": "string",
|
|
17929
|
+
"format": "date-time"
|
|
17930
|
+
}
|
|
17931
|
+
},
|
|
17460
17932
|
{
|
|
17461
17933
|
"name": "hasChangeRequests",
|
|
17462
17934
|
"in": "query",
|
|
@@ -17465,6 +17937,14 @@
|
|
|
17465
17937
|
"type": "boolean"
|
|
17466
17938
|
}
|
|
17467
17939
|
},
|
|
17940
|
+
{
|
|
17941
|
+
"name": "state",
|
|
17942
|
+
"in": "query",
|
|
17943
|
+
"description": "Filter link findings by where they stand, for example `awaiting-approval` for broken links with a redirect GitBook drafted.",
|
|
17944
|
+
"schema": {
|
|
17945
|
+
"$ref": "#/components/schemas/SiteFindingState"
|
|
17946
|
+
}
|
|
17947
|
+
},
|
|
17468
17948
|
{
|
|
17469
17949
|
"name": "source",
|
|
17470
17950
|
"in": "query",
|
|
@@ -17587,8 +18067,9 @@
|
|
|
17587
18067
|
},
|
|
17588
18068
|
"patch": {
|
|
17589
18069
|
"operationId": "updateSiteFindingById",
|
|
17590
|
-
"
|
|
17591
|
-
"
|
|
18070
|
+
"deprecated": true,
|
|
18071
|
+
"summary": "Resolve, dismiss, or reopen a documentation issue. (Deprecated) use applySiteFindingAction instead.",
|
|
18072
|
+
"description": "Changes the status of a documentation issue found by GitBook's AI. Refuses `broken-link` findings, whose status follows the redirects at their path.\n\nDeprecated in favour of `applySiteFindingAction`, which applies one of the `actions` a finding lists: `mark-resolved`, `ignore`, `reopen` or `restore`.",
|
|
17592
18073
|
"x-gitbook-mcp": true,
|
|
17593
18074
|
"tags": [
|
|
17594
18075
|
"site-context"
|
|
@@ -17953,6 +18434,70 @@
|
|
|
17953
18434
|
}
|
|
17954
18435
|
}
|
|
17955
18436
|
},
|
|
18437
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/actions": {
|
|
18438
|
+
"post": {
|
|
18439
|
+
"operationId": "applySiteFindingAction",
|
|
18440
|
+
"summary": "Apply an action to a finding",
|
|
18441
|
+
"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.",
|
|
18442
|
+
"x-gitbook-mcp": {
|
|
18443
|
+
"destructive": true
|
|
18444
|
+
},
|
|
18445
|
+
"tags": [
|
|
18446
|
+
"site-context"
|
|
18447
|
+
],
|
|
18448
|
+
"security": [
|
|
18449
|
+
{
|
|
18450
|
+
"user": []
|
|
18451
|
+
},
|
|
18452
|
+
{
|
|
18453
|
+
"oauth": [
|
|
18454
|
+
"site:write"
|
|
18455
|
+
]
|
|
18456
|
+
}
|
|
18457
|
+
],
|
|
18458
|
+
"parameters": [
|
|
18459
|
+
{
|
|
18460
|
+
"$ref": "#/components/parameters/organizationId"
|
|
18461
|
+
},
|
|
18462
|
+
{
|
|
18463
|
+
"$ref": "#/components/parameters/siteId"
|
|
18464
|
+
},
|
|
18465
|
+
{
|
|
18466
|
+
"$ref": "#/components/parameters/siteFindingId"
|
|
18467
|
+
}
|
|
18468
|
+
],
|
|
18469
|
+
"requestBody": {
|
|
18470
|
+
"required": true,
|
|
18471
|
+
"content": {
|
|
18472
|
+
"application/json": {
|
|
18473
|
+
"schema": {
|
|
18474
|
+
"type": "object",
|
|
18475
|
+
"properties": {
|
|
18476
|
+
"action": {
|
|
18477
|
+
"$ref": "#/components/schemas/SiteFindingAction"
|
|
18478
|
+
}
|
|
18479
|
+
},
|
|
18480
|
+
"required": [
|
|
18481
|
+
"action"
|
|
18482
|
+
]
|
|
18483
|
+
}
|
|
18484
|
+
}
|
|
18485
|
+
}
|
|
18486
|
+
},
|
|
18487
|
+
"responses": {
|
|
18488
|
+
"200": {
|
|
18489
|
+
"description": "Action applied",
|
|
18490
|
+
"content": {
|
|
18491
|
+
"application/json": {
|
|
18492
|
+
"schema": {
|
|
18493
|
+
"$ref": "#/components/schemas/SiteFinding"
|
|
18494
|
+
}
|
|
18495
|
+
}
|
|
18496
|
+
}
|
|
18497
|
+
}
|
|
18498
|
+
}
|
|
18499
|
+
}
|
|
18500
|
+
},
|
|
17956
18501
|
"/orgs/{organizationId}/sites/{siteId}/stats/findings": {
|
|
17957
18502
|
"get": {
|
|
17958
18503
|
"operationId": "getSiteFindingStats",
|
|
@@ -18014,6 +18559,23 @@
|
|
|
18014
18559
|
"$ref": "#/components/schemas/SiteFindingSeverity"
|
|
18015
18560
|
}
|
|
18016
18561
|
},
|
|
18562
|
+
{
|
|
18563
|
+
"name": "autoResolution",
|
|
18564
|
+
"in": "query",
|
|
18565
|
+
"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.",
|
|
18566
|
+
"schema": {
|
|
18567
|
+
"$ref": "#/components/schemas/SiteFindingAutoResolution"
|
|
18568
|
+
}
|
|
18569
|
+
},
|
|
18570
|
+
{
|
|
18571
|
+
"name": "autoResolvedAfter",
|
|
18572
|
+
"in": "query",
|
|
18573
|
+
"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.",
|
|
18574
|
+
"schema": {
|
|
18575
|
+
"type": "string",
|
|
18576
|
+
"format": "date-time"
|
|
18577
|
+
}
|
|
18578
|
+
},
|
|
18017
18579
|
{
|
|
18018
18580
|
"name": "hasChangeRequests",
|
|
18019
18581
|
"in": "query",
|
|
@@ -18513,6 +19075,9 @@
|
|
|
18513
19075
|
}
|
|
18514
19076
|
}
|
|
18515
19077
|
},
|
|
19078
|
+
{
|
|
19079
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19080
|
+
},
|
|
18516
19081
|
{
|
|
18517
19082
|
"name": "answered",
|
|
18518
19083
|
"in": "query",
|
|
@@ -18656,7 +19221,7 @@
|
|
|
18656
19221
|
"delete": {
|
|
18657
19222
|
"operationId": "deleteSiteTopicFindings",
|
|
18658
19223
|
"summary": "Delete all documentation issues found under a topic",
|
|
18659
|
-
"description": "Permanently deletes every finding associated with a site topic, regardless of status. This is a bulk, irreversible cleanup operation — use `
|
|
19224
|
+
"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.",
|
|
18660
19225
|
"x-gitbook-mcp": true,
|
|
18661
19226
|
"tags": [
|
|
18662
19227
|
"site-context"
|
|
@@ -18764,6 +19329,9 @@
|
|
|
18764
19329
|
}
|
|
18765
19330
|
}
|
|
18766
19331
|
},
|
|
19332
|
+
{
|
|
19333
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19334
|
+
},
|
|
18767
19335
|
{
|
|
18768
19336
|
"name": "answered",
|
|
18769
19337
|
"in": "query",
|
|
@@ -18909,6 +19477,9 @@
|
|
|
18909
19477
|
}
|
|
18910
19478
|
}
|
|
18911
19479
|
},
|
|
19480
|
+
{
|
|
19481
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19482
|
+
},
|
|
18912
19483
|
{
|
|
18913
19484
|
"name": "answered",
|
|
18914
19485
|
"in": "query",
|
|
@@ -19008,6 +19579,9 @@
|
|
|
19008
19579
|
}
|
|
19009
19580
|
}
|
|
19010
19581
|
},
|
|
19582
|
+
{
|
|
19583
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19584
|
+
},
|
|
19011
19585
|
{
|
|
19012
19586
|
"name": "answered",
|
|
19013
19587
|
"in": "query",
|
|
@@ -19127,6 +19701,9 @@
|
|
|
19127
19701
|
}
|
|
19128
19702
|
}
|
|
19129
19703
|
},
|
|
19704
|
+
{
|
|
19705
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19706
|
+
},
|
|
19130
19707
|
{
|
|
19131
19708
|
"name": "answered",
|
|
19132
19709
|
"in": "query",
|
|
@@ -19252,6 +19829,9 @@
|
|
|
19252
19829
|
}
|
|
19253
19830
|
}
|
|
19254
19831
|
},
|
|
19832
|
+
{
|
|
19833
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19834
|
+
},
|
|
19255
19835
|
{
|
|
19256
19836
|
"name": "question.type",
|
|
19257
19837
|
"in": "query",
|
|
@@ -19620,7 +20200,9 @@
|
|
|
19620
20200
|
"operationId": "duplicateSiteSpace",
|
|
19621
20201
|
"summary": "Duplicate a space in a site",
|
|
19622
20202
|
"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.",
|
|
19623
|
-
"x-gitbook-mcp":
|
|
20203
|
+
"x-gitbook-mcp": {
|
|
20204
|
+
"destructive": true
|
|
20205
|
+
},
|
|
19624
20206
|
"tags": [
|
|
19625
20207
|
"site-spaces",
|
|
19626
20208
|
"spaces"
|
|
@@ -20619,9 +21201,15 @@
|
|
|
20619
21201
|
{
|
|
20620
21202
|
"type": "object",
|
|
20621
21203
|
"required": [
|
|
20622
|
-
"items"
|
|
21204
|
+
"items",
|
|
21205
|
+
"membersCount"
|
|
20623
21206
|
],
|
|
20624
21207
|
"properties": {
|
|
21208
|
+
"membersCount": {
|
|
21209
|
+
"type": "integer",
|
|
21210
|
+
"minimum": 0,
|
|
21211
|
+
"description": "Number of users with a role in the site, guests excluded. It ignores the filters and the pagination of the request."
|
|
21212
|
+
},
|
|
20625
21213
|
"items": {
|
|
20626
21214
|
"type": "array",
|
|
20627
21215
|
"items": {
|
|
@@ -20976,6 +21564,12 @@
|
|
|
20976
21564
|
},
|
|
20977
21565
|
{
|
|
20978
21566
|
"$ref": "#/components/parameters/siteId"
|
|
21567
|
+
},
|
|
21568
|
+
{
|
|
21569
|
+
"$ref": "#/components/parameters/xOriginalUserAgent"
|
|
21570
|
+
},
|
|
21571
|
+
{
|
|
21572
|
+
"$ref": "#/components/parameters/xOriginalSignatureAgent"
|
|
20979
21573
|
}
|
|
20980
21574
|
],
|
|
20981
21575
|
"requestBody": {
|
|
@@ -21051,7 +21645,9 @@
|
|
|
21051
21645
|
"operationId": "applyTemplateToSite",
|
|
21052
21646
|
"summary": "Apply the default documentation template to a site",
|
|
21053
21647
|
"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.",
|
|
21054
|
-
"x-gitbook-mcp":
|
|
21648
|
+
"x-gitbook-mcp": {
|
|
21649
|
+
"destructive": true
|
|
21650
|
+
},
|
|
21055
21651
|
"tags": [
|
|
21056
21652
|
"sites"
|
|
21057
21653
|
],
|
|
@@ -21129,7 +21725,7 @@
|
|
|
21129
21725
|
"put": {
|
|
21130
21726
|
"operationId": "updateSiteAgentSettingsById",
|
|
21131
21727
|
"summary": "Update the AI agent configuration for a site",
|
|
21132
|
-
"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.",
|
|
21728
|
+
"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.",
|
|
21133
21729
|
"x-gitbook-mcp": true,
|
|
21134
21730
|
"tags": [
|
|
21135
21731
|
"site-agent-settings"
|
|
@@ -21184,67 +21780,69 @@
|
|
|
21184
21780
|
"operationId": "createSiteStyleguideById",
|
|
21185
21781
|
"summary": "Create or retrieve the style guide space for a site",
|
|
21186
21782
|
"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.",
|
|
21187
|
-
"x-gitbook-mcp":
|
|
21188
|
-
|
|
21189
|
-
"sites"
|
|
21190
|
-
],
|
|
21191
|
-
"security": [
|
|
21192
|
-
{
|
|
21193
|
-
"user": []
|
|
21194
|
-
},
|
|
21195
|
-
{
|
|
21196
|
-
"oauth": [
|
|
21197
|
-
"site:write"
|
|
21198
|
-
]
|
|
21199
|
-
}
|
|
21200
|
-
],
|
|
21201
|
-
"parameters": [
|
|
21202
|
-
{
|
|
21203
|
-
"$ref": "#/components/parameters/organizationId"
|
|
21204
|
-
},
|
|
21205
|
-
{
|
|
21206
|
-
"$ref": "#/components/parameters/siteId"
|
|
21207
|
-
}
|
|
21208
|
-
],
|
|
21209
|
-
"requestBody": {
|
|
21210
|
-
"required": false,
|
|
21211
|
-
"content": {
|
|
21212
|
-
"application/json": {
|
|
21213
|
-
"schema": {
|
|
21214
|
-
"type": "object",
|
|
21215
|
-
"properties": {
|
|
21216
|
-
"template": {
|
|
21217
|
-
"type": "string",
|
|
21218
|
-
"description": "Built-in template id to seed the style guide content with. Omit (or send no body) to create a blank style guide.\n"
|
|
21219
|
-
}
|
|
21220
|
-
}
|
|
21221
|
-
}
|
|
21222
|
-
}
|
|
21223
|
-
}
|
|
21783
|
+
"x-gitbook-mcp": {
|
|
21784
|
+
"idempotent": true
|
|
21224
21785
|
},
|
|
21225
|
-
"
|
|
21226
|
-
"
|
|
21227
|
-
|
|
21228
|
-
|
|
21229
|
-
|
|
21230
|
-
|
|
21231
|
-
|
|
21232
|
-
|
|
21233
|
-
|
|
21234
|
-
|
|
21235
|
-
|
|
21236
|
-
|
|
21237
|
-
|
|
21238
|
-
|
|
21239
|
-
|
|
21240
|
-
|
|
21241
|
-
|
|
21242
|
-
|
|
21243
|
-
|
|
21244
|
-
|
|
21245
|
-
|
|
21246
|
-
"
|
|
21247
|
-
|
|
21786
|
+
"tags": [
|
|
21787
|
+
"sites"
|
|
21788
|
+
],
|
|
21789
|
+
"security": [
|
|
21790
|
+
{
|
|
21791
|
+
"user": []
|
|
21792
|
+
},
|
|
21793
|
+
{
|
|
21794
|
+
"oauth": [
|
|
21795
|
+
"site:write"
|
|
21796
|
+
]
|
|
21797
|
+
}
|
|
21798
|
+
],
|
|
21799
|
+
"parameters": [
|
|
21800
|
+
{
|
|
21801
|
+
"$ref": "#/components/parameters/organizationId"
|
|
21802
|
+
},
|
|
21803
|
+
{
|
|
21804
|
+
"$ref": "#/components/parameters/siteId"
|
|
21805
|
+
}
|
|
21806
|
+
],
|
|
21807
|
+
"requestBody": {
|
|
21808
|
+
"required": false,
|
|
21809
|
+
"content": {
|
|
21810
|
+
"application/json": {
|
|
21811
|
+
"schema": {
|
|
21812
|
+
"type": "object",
|
|
21813
|
+
"properties": {
|
|
21814
|
+
"template": {
|
|
21815
|
+
"type": "string",
|
|
21816
|
+
"description": "Built-in template id to seed the style guide content with. Omit (or send no body) to create a blank style guide.\n"
|
|
21817
|
+
}
|
|
21818
|
+
}
|
|
21819
|
+
}
|
|
21820
|
+
}
|
|
21821
|
+
}
|
|
21822
|
+
},
|
|
21823
|
+
"responses": {
|
|
21824
|
+
"200": {
|
|
21825
|
+
"description": "Style guide created or already exists.",
|
|
21826
|
+
"content": {
|
|
21827
|
+
"application/json": {
|
|
21828
|
+
"schema": {
|
|
21829
|
+
"$ref": "#/components/schemas/Space"
|
|
21830
|
+
}
|
|
21831
|
+
}
|
|
21832
|
+
}
|
|
21833
|
+
},
|
|
21834
|
+
"404": {
|
|
21835
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
21836
|
+
}
|
|
21837
|
+
}
|
|
21838
|
+
}
|
|
21839
|
+
},
|
|
21840
|
+
"/orgs/{organizationId}/sites/{siteId}/styleguide/runs": {
|
|
21841
|
+
"post": {
|
|
21842
|
+
"operationId": "createSiteStyleguideRun",
|
|
21843
|
+
"summary": "Start a style guide check run for a site",
|
|
21844
|
+
"description": "Starts a style guide check: GitBook Agent reviews the given spaces against the site's style guide and proposes fixes. A space with no check open gets a new draft change request marked as belonging to the returned run; one whose check is still open has it taken over instead, so it stays marked with the run that opened it. Fails if the site has no style guide.",
|
|
21845
|
+
"x-gitbook-mcp": true,
|
|
21248
21846
|
"tags": [
|
|
21249
21847
|
"sites"
|
|
21250
21848
|
],
|
|
@@ -21434,7 +22032,9 @@
|
|
|
21434
22032
|
"operationId": "aggregateSiteEvents",
|
|
21435
22033
|
"summary": "Query a site's analytics events",
|
|
21436
22034
|
"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.",
|
|
21437
|
-
"x-gitbook-mcp":
|
|
22035
|
+
"x-gitbook-mcp": {
|
|
22036
|
+
"readOnly": true
|
|
22037
|
+
},
|
|
21438
22038
|
"security": [
|
|
21439
22039
|
{
|
|
21440
22040
|
"user": []
|
|
@@ -21532,7 +22132,10 @@
|
|
|
21532
22132
|
"operationId": "updateSiteAdsById",
|
|
21533
22133
|
"summary": "Update the advertising settings for a site",
|
|
21534
22134
|
"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.",
|
|
21535
|
-
"x-gitbook-mcp":
|
|
22135
|
+
"x-gitbook-mcp": {
|
|
22136
|
+
"destructive": true,
|
|
22137
|
+
"idempotent": true
|
|
22138
|
+
},
|
|
21536
22139
|
"tags": [
|
|
21537
22140
|
"site-ads"
|
|
21538
22141
|
],
|
|
@@ -21588,7 +22191,9 @@
|
|
|
21588
22191
|
"operationId": "createSiteRedirect",
|
|
21589
22192
|
"summary": "Create a URL redirect rule for a site",
|
|
21590
22193
|
"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.",
|
|
21591
|
-
"x-gitbook-mcp":
|
|
22194
|
+
"x-gitbook-mcp": {
|
|
22195
|
+
"destructive": true
|
|
22196
|
+
},
|
|
21592
22197
|
"tags": [
|
|
21593
22198
|
"site-redirects"
|
|
21594
22199
|
],
|
|
@@ -22641,7 +23246,9 @@
|
|
|
22641
23246
|
"operationId": "listSiteChannelScopes",
|
|
22642
23247
|
"summary": "List available site channel scopes",
|
|
22643
23248
|
"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.",
|
|
22644
|
-
"x-gitbook-mcp":
|
|
23249
|
+
"x-gitbook-mcp": {
|
|
23250
|
+
"readOnly": true
|
|
23251
|
+
},
|
|
22645
23252
|
"tags": [
|
|
22646
23253
|
"site-channels"
|
|
22647
23254
|
],
|
|
@@ -24425,7 +25032,7 @@
|
|
|
24425
25032
|
"documentDereferenced": {
|
|
24426
25033
|
"name": "dereferenced",
|
|
24427
25034
|
"in": "query",
|
|
24428
|
-
"description": "Controls whether
|
|
25035
|
+
"description": "Controls whether references to other content are resolved and expanded.\n- When set to `false`, references are preserved, including reusable content includes in Markdown.\n- When set to `true`, all supported content references are expanded.\n- When set to `reusable-contents`, only reusable content references are expanded.\nWhen omitted, Markdown responses expand all supported content references, while document responses preserve them.\n",
|
|
24429
25036
|
"schema": {
|
|
24430
25037
|
"oneOf": [
|
|
24431
25038
|
{
|
|
@@ -24437,8 +25044,7 @@
|
|
|
24437
25044
|
"reusable-contents"
|
|
24438
25045
|
]
|
|
24439
25046
|
}
|
|
24440
|
-
]
|
|
24441
|
-
"default": false
|
|
25047
|
+
]
|
|
24442
25048
|
}
|
|
24443
25049
|
},
|
|
24444
25050
|
"pagePath": {
|
|
@@ -24799,6 +25405,15 @@
|
|
|
24799
25405
|
"type": "string"
|
|
24800
25406
|
}
|
|
24801
25407
|
},
|
|
25408
|
+
"scimConnectionId": {
|
|
25409
|
+
"name": "scimConnectionId",
|
|
25410
|
+
"in": "path",
|
|
25411
|
+
"required": true,
|
|
25412
|
+
"description": "The unique id of the SCIM connection",
|
|
25413
|
+
"schema": {
|
|
25414
|
+
"type": "string"
|
|
25415
|
+
}
|
|
25416
|
+
},
|
|
24802
25417
|
"openapiSpecSlug": {
|
|
24803
25418
|
"name": "specSlug",
|
|
24804
25419
|
"in": "path",
|
|
@@ -24908,6 +25523,24 @@
|
|
|
24908
25523
|
"type": "string"
|
|
24909
25524
|
}
|
|
24910
25525
|
},
|
|
25526
|
+
"xOriginalUserAgent": {
|
|
25527
|
+
"in": "header",
|
|
25528
|
+
"name": "X-Original-User-Agent",
|
|
25529
|
+
"description": "User agent of the visitor, when calling on behalf of one, such as from a server rendering a\ndocs site. When omitted, the request's own `User-Agent` is used.\n",
|
|
25530
|
+
"required": false,
|
|
25531
|
+
"schema": {
|
|
25532
|
+
"type": "string"
|
|
25533
|
+
}
|
|
25534
|
+
},
|
|
25535
|
+
"xOriginalSignatureAgent": {
|
|
25536
|
+
"in": "header",
|
|
25537
|
+
"name": "X-Original-Signature-Agent",
|
|
25538
|
+
"description": "`Signature-Agent` header sent by the visitor, when calling on behalf of one, for agents that\nsign their requests. When omitted, the request's own `Signature-Agent` is used.\nhttps://datatracker.ietf.org/doc/draft-meunier-web-bot-auth-architecture/\n",
|
|
25539
|
+
"required": false,
|
|
25540
|
+
"schema": {
|
|
25541
|
+
"type": "string"
|
|
25542
|
+
}
|
|
25543
|
+
},
|
|
24911
25544
|
"siteContextRecordId": {
|
|
24912
25545
|
"name": "siteContextRecordId",
|
|
24913
25546
|
"in": "path",
|
|
@@ -24944,6 +25577,17 @@
|
|
|
24944
25577
|
"type": "string"
|
|
24945
25578
|
}
|
|
24946
25579
|
},
|
|
25580
|
+
"siteQuestionVisitorType": {
|
|
25581
|
+
"name": "visitorType",
|
|
25582
|
+
"in": "query",
|
|
25583
|
+
"description": "Filter by whether a person or an AI agent asked the question.",
|
|
25584
|
+
"schema": {
|
|
25585
|
+
"type": "array",
|
|
25586
|
+
"items": {
|
|
25587
|
+
"$ref": "#/components/schemas/SiteQuestionVisitorType"
|
|
25588
|
+
}
|
|
25589
|
+
}
|
|
25590
|
+
},
|
|
24947
25591
|
"siteTopicId": {
|
|
24948
25592
|
"name": "siteTopicId",
|
|
24949
25593
|
"in": "path",
|
|
@@ -25536,7 +26180,10 @@
|
|
|
25536
26180
|
"lt",
|
|
25537
26181
|
"lv",
|
|
25538
26182
|
"et",
|
|
25539
|
-
"sl"
|
|
26183
|
+
"sl",
|
|
26184
|
+
"fr-ca",
|
|
26185
|
+
"es-mx",
|
|
26186
|
+
"es-419"
|
|
25540
26187
|
]
|
|
25541
26188
|
},
|
|
25542
26189
|
"GitSyncInstallationStatus": {
|
|
@@ -28116,6 +28763,36 @@
|
|
|
28116
28763
|
"nodes"
|
|
28117
28764
|
]
|
|
28118
28765
|
},
|
|
28766
|
+
"DocumentFragment": {
|
|
28767
|
+
"type": "object",
|
|
28768
|
+
"properties": {
|
|
28769
|
+
"object": {
|
|
28770
|
+
"type": "string",
|
|
28771
|
+
"enum": [
|
|
28772
|
+
"fragment"
|
|
28773
|
+
]
|
|
28774
|
+
},
|
|
28775
|
+
"key": {
|
|
28776
|
+
"type": "string"
|
|
28777
|
+
},
|
|
28778
|
+
"fragment": {
|
|
28779
|
+
"type": "string"
|
|
28780
|
+
},
|
|
28781
|
+
"type": {
|
|
28782
|
+
"type": "string"
|
|
28783
|
+
},
|
|
28784
|
+
"nodes": {
|
|
28785
|
+
"type": "array",
|
|
28786
|
+
"items": {
|
|
28787
|
+
"$ref": "#/components/schemas/DocumentBlock"
|
|
28788
|
+
}
|
|
28789
|
+
}
|
|
28790
|
+
},
|
|
28791
|
+
"required": [
|
|
28792
|
+
"object",
|
|
28793
|
+
"nodes"
|
|
28794
|
+
]
|
|
28795
|
+
},
|
|
28119
28796
|
"DocumentBlockEmbed": {
|
|
28120
28797
|
"type": "object",
|
|
28121
28798
|
"properties": {
|
|
@@ -28148,6 +28825,37 @@
|
|
|
28148
28825
|
"url"
|
|
28149
28826
|
]
|
|
28150
28827
|
},
|
|
28828
|
+
"fragments": {
|
|
28829
|
+
"type": "array",
|
|
28830
|
+
"items": {
|
|
28831
|
+
"allOf": [
|
|
28832
|
+
{
|
|
28833
|
+
"$ref": "#/components/schemas/DocumentFragment"
|
|
28834
|
+
},
|
|
28835
|
+
{
|
|
28836
|
+
"type": "object",
|
|
28837
|
+
"properties": {
|
|
28838
|
+
"fragment": {
|
|
28839
|
+
"type": "string",
|
|
28840
|
+
"enum": [
|
|
28841
|
+
"caption"
|
|
28842
|
+
]
|
|
28843
|
+
},
|
|
28844
|
+
"nodes": {
|
|
28845
|
+
"type": "array",
|
|
28846
|
+
"items": {
|
|
28847
|
+
"$ref": "#/components/schemas/DocumentBlockParagraph"
|
|
28848
|
+
}
|
|
28849
|
+
}
|
|
28850
|
+
},
|
|
28851
|
+
"required": [
|
|
28852
|
+
"nodes",
|
|
28853
|
+
"fragment"
|
|
28854
|
+
]
|
|
28855
|
+
}
|
|
28856
|
+
]
|
|
28857
|
+
}
|
|
28858
|
+
},
|
|
28151
28859
|
"isVoid": {
|
|
28152
28860
|
"type": "boolean",
|
|
28153
28861
|
"enum": [
|
|
@@ -28920,36 +29628,6 @@
|
|
|
28920
29628
|
"colSpan"
|
|
28921
29629
|
]
|
|
28922
29630
|
},
|
|
28923
|
-
"DocumentFragment": {
|
|
28924
|
-
"type": "object",
|
|
28925
|
-
"properties": {
|
|
28926
|
-
"object": {
|
|
28927
|
-
"type": "string",
|
|
28928
|
-
"enum": [
|
|
28929
|
-
"fragment"
|
|
28930
|
-
]
|
|
28931
|
-
},
|
|
28932
|
-
"key": {
|
|
28933
|
-
"type": "string"
|
|
28934
|
-
},
|
|
28935
|
-
"fragment": {
|
|
28936
|
-
"type": "string"
|
|
28937
|
-
},
|
|
28938
|
-
"type": {
|
|
28939
|
-
"type": "string"
|
|
28940
|
-
},
|
|
28941
|
-
"nodes": {
|
|
28942
|
-
"type": "array",
|
|
28943
|
-
"items": {
|
|
28944
|
-
"$ref": "#/components/schemas/DocumentBlock"
|
|
28945
|
-
}
|
|
28946
|
-
}
|
|
28947
|
-
},
|
|
28948
|
-
"required": [
|
|
28949
|
-
"object",
|
|
28950
|
-
"nodes"
|
|
28951
|
-
]
|
|
28952
|
-
},
|
|
28953
29631
|
"DocumentBlockTable": {
|
|
28954
29632
|
"type": "object",
|
|
28955
29633
|
"properties": {
|
|
@@ -29036,77 +29714,6 @@
|
|
|
29036
29714
|
"fragments"
|
|
29037
29715
|
]
|
|
29038
29716
|
},
|
|
29039
|
-
"DocumentBlockHint": {
|
|
29040
|
-
"type": "object",
|
|
29041
|
-
"properties": {
|
|
29042
|
-
"object": {
|
|
29043
|
-
"type": "string",
|
|
29044
|
-
"enum": [
|
|
29045
|
-
"block"
|
|
29046
|
-
]
|
|
29047
|
-
},
|
|
29048
|
-
"type": {
|
|
29049
|
-
"type": "string",
|
|
29050
|
-
"enum": [
|
|
29051
|
-
"hint"
|
|
29052
|
-
]
|
|
29053
|
-
},
|
|
29054
|
-
"key": {
|
|
29055
|
-
"type": "string"
|
|
29056
|
-
},
|
|
29057
|
-
"data": {
|
|
29058
|
-
"type": "object",
|
|
29059
|
-
"properties": {
|
|
29060
|
-
"style": {
|
|
29061
|
-
"type": "string",
|
|
29062
|
-
"enum": [
|
|
29063
|
-
"info",
|
|
29064
|
-
"warning",
|
|
29065
|
-
"danger",
|
|
29066
|
-
"success"
|
|
29067
|
-
]
|
|
29068
|
-
},
|
|
29069
|
-
"icon": {
|
|
29070
|
-
"$ref": "#/components/schemas/Icon"
|
|
29071
|
-
}
|
|
29072
|
-
},
|
|
29073
|
-
"required": [
|
|
29074
|
-
"style"
|
|
29075
|
-
]
|
|
29076
|
-
},
|
|
29077
|
-
"nodes": {
|
|
29078
|
-
"type": "array",
|
|
29079
|
-
"items": {
|
|
29080
|
-
"oneOf": [
|
|
29081
|
-
{
|
|
29082
|
-
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
29083
|
-
},
|
|
29084
|
-
{
|
|
29085
|
-
"$ref": "#/components/schemas/DocumentBlockEmbed"
|
|
29086
|
-
},
|
|
29087
|
-
{
|
|
29088
|
-
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
29089
|
-
},
|
|
29090
|
-
{
|
|
29091
|
-
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
29092
|
-
}
|
|
29093
|
-
]
|
|
29094
|
-
}
|
|
29095
|
-
},
|
|
29096
|
-
"isVoid": {
|
|
29097
|
-
"type": "boolean",
|
|
29098
|
-
"enum": [
|
|
29099
|
-
false
|
|
29100
|
-
]
|
|
29101
|
-
}
|
|
29102
|
-
},
|
|
29103
|
-
"required": [
|
|
29104
|
-
"object",
|
|
29105
|
-
"type",
|
|
29106
|
-
"data",
|
|
29107
|
-
"nodes"
|
|
29108
|
-
]
|
|
29109
|
-
},
|
|
29110
29717
|
"DocumentBlockQuote": {
|
|
29111
29718
|
"type": "object",
|
|
29112
29719
|
"properties": {
|
|
@@ -29134,6 +29741,39 @@
|
|
|
29134
29741
|
},
|
|
29135
29742
|
{
|
|
29136
29743
|
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
29744
|
+
},
|
|
29745
|
+
{
|
|
29746
|
+
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
29747
|
+
},
|
|
29748
|
+
{
|
|
29749
|
+
"$ref": "#/components/schemas/DocumentBlockDrawing"
|
|
29750
|
+
},
|
|
29751
|
+
{
|
|
29752
|
+
"$ref": "#/components/schemas/DocumentBlockEmbed"
|
|
29753
|
+
},
|
|
29754
|
+
{
|
|
29755
|
+
"$ref": "#/components/schemas/DocumentBlockExpandable"
|
|
29756
|
+
},
|
|
29757
|
+
{
|
|
29758
|
+
"$ref": "#/components/schemas/DocumentBlockFile"
|
|
29759
|
+
},
|
|
29760
|
+
{
|
|
29761
|
+
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
29762
|
+
},
|
|
29763
|
+
{
|
|
29764
|
+
"$ref": "#/components/schemas/DocumentBlockIf"
|
|
29765
|
+
},
|
|
29766
|
+
{
|
|
29767
|
+
"$ref": "#/components/schemas/DocumentBlockMath"
|
|
29768
|
+
},
|
|
29769
|
+
{
|
|
29770
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
29771
|
+
},
|
|
29772
|
+
{
|
|
29773
|
+
"$ref": "#/components/schemas/DocumentBlockStepper"
|
|
29774
|
+
},
|
|
29775
|
+
{
|
|
29776
|
+
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
29137
29777
|
}
|
|
29138
29778
|
]
|
|
29139
29779
|
}
|
|
@@ -29156,7 +29796,7 @@
|
|
|
29156
29796
|
"nodes"
|
|
29157
29797
|
]
|
|
29158
29798
|
},
|
|
29159
|
-
"
|
|
29799
|
+
"DocumentBlockDrawing": {
|
|
29160
29800
|
"type": "object",
|
|
29161
29801
|
"properties": {
|
|
29162
29802
|
"object": {
|
|
@@ -29168,7 +29808,7 @@
|
|
|
29168
29808
|
"type": {
|
|
29169
29809
|
"type": "string",
|
|
29170
29810
|
"enum": [
|
|
29171
|
-
"
|
|
29811
|
+
"drawing"
|
|
29172
29812
|
]
|
|
29173
29813
|
},
|
|
29174
29814
|
"key": {
|
|
@@ -29177,14 +29817,124 @@
|
|
|
29177
29817
|
"data": {
|
|
29178
29818
|
"type": "object",
|
|
29179
29819
|
"properties": {
|
|
29180
|
-
"
|
|
29181
|
-
"
|
|
29820
|
+
"ref": {
|
|
29821
|
+
"oneOf": [
|
|
29822
|
+
{
|
|
29823
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
29824
|
+
}
|
|
29825
|
+
]
|
|
29826
|
+
}
|
|
29827
|
+
}
|
|
29828
|
+
},
|
|
29829
|
+
"fragments": {
|
|
29830
|
+
"type": "array",
|
|
29831
|
+
"items": {
|
|
29832
|
+
"allOf": [
|
|
29833
|
+
{
|
|
29834
|
+
"$ref": "#/components/schemas/DocumentFragment"
|
|
29835
|
+
},
|
|
29836
|
+
{
|
|
29837
|
+
"type": "object",
|
|
29838
|
+
"properties": {
|
|
29839
|
+
"fragment": {
|
|
29840
|
+
"type": "string",
|
|
29841
|
+
"enum": [
|
|
29842
|
+
"caption"
|
|
29843
|
+
]
|
|
29844
|
+
},
|
|
29845
|
+
"nodes": {
|
|
29846
|
+
"type": "array",
|
|
29847
|
+
"items": {
|
|
29848
|
+
"$ref": "#/components/schemas/DocumentBlockParagraph"
|
|
29849
|
+
}
|
|
29850
|
+
}
|
|
29851
|
+
},
|
|
29852
|
+
"required": [
|
|
29853
|
+
"nodes",
|
|
29854
|
+
"fragment"
|
|
29855
|
+
]
|
|
29856
|
+
}
|
|
29857
|
+
]
|
|
29858
|
+
}
|
|
29859
|
+
},
|
|
29860
|
+
"isVoid": {
|
|
29861
|
+
"type": "boolean",
|
|
29862
|
+
"enum": [
|
|
29863
|
+
true
|
|
29864
|
+
]
|
|
29865
|
+
}
|
|
29866
|
+
},
|
|
29867
|
+
"required": [
|
|
29868
|
+
"object",
|
|
29869
|
+
"type",
|
|
29870
|
+
"data",
|
|
29871
|
+
"isVoid"
|
|
29872
|
+
]
|
|
29873
|
+
},
|
|
29874
|
+
"DocumentBlockFile": {
|
|
29875
|
+
"type": "object",
|
|
29876
|
+
"properties": {
|
|
29877
|
+
"object": {
|
|
29878
|
+
"type": "string",
|
|
29879
|
+
"enum": [
|
|
29880
|
+
"block"
|
|
29881
|
+
]
|
|
29882
|
+
},
|
|
29883
|
+
"type": {
|
|
29884
|
+
"type": "string",
|
|
29885
|
+
"enum": [
|
|
29886
|
+
"file"
|
|
29887
|
+
]
|
|
29888
|
+
},
|
|
29889
|
+
"key": {
|
|
29890
|
+
"type": "string"
|
|
29891
|
+
},
|
|
29892
|
+
"data": {
|
|
29893
|
+
"type": "object",
|
|
29894
|
+
"properties": {
|
|
29895
|
+
"ref": {
|
|
29896
|
+
"oneOf": [
|
|
29897
|
+
{
|
|
29898
|
+
"$ref": "#/components/schemas/ContentRefFile"
|
|
29899
|
+
}
|
|
29900
|
+
]
|
|
29182
29901
|
}
|
|
29183
29902
|
},
|
|
29184
29903
|
"required": [
|
|
29185
|
-
"
|
|
29904
|
+
"ref"
|
|
29186
29905
|
]
|
|
29187
29906
|
},
|
|
29907
|
+
"fragments": {
|
|
29908
|
+
"type": "array",
|
|
29909
|
+
"items": {
|
|
29910
|
+
"allOf": [
|
|
29911
|
+
{
|
|
29912
|
+
"$ref": "#/components/schemas/DocumentFragment"
|
|
29913
|
+
},
|
|
29914
|
+
{
|
|
29915
|
+
"type": "object",
|
|
29916
|
+
"properties": {
|
|
29917
|
+
"fragment": {
|
|
29918
|
+
"type": "string",
|
|
29919
|
+
"enum": [
|
|
29920
|
+
"caption"
|
|
29921
|
+
]
|
|
29922
|
+
},
|
|
29923
|
+
"nodes": {
|
|
29924
|
+
"type": "array",
|
|
29925
|
+
"items": {
|
|
29926
|
+
"$ref": "#/components/schemas/DocumentBlockParagraph"
|
|
29927
|
+
}
|
|
29928
|
+
}
|
|
29929
|
+
},
|
|
29930
|
+
"required": [
|
|
29931
|
+
"nodes",
|
|
29932
|
+
"fragment"
|
|
29933
|
+
]
|
|
29934
|
+
}
|
|
29935
|
+
]
|
|
29936
|
+
}
|
|
29937
|
+
},
|
|
29188
29938
|
"isVoid": {
|
|
29189
29939
|
"type": "boolean",
|
|
29190
29940
|
"enum": [
|
|
@@ -29380,7 +30130,7 @@
|
|
|
29380
30130
|
"isVoid"
|
|
29381
30131
|
]
|
|
29382
30132
|
},
|
|
29383
|
-
"
|
|
30133
|
+
"DocumentBlockHint": {
|
|
29384
30134
|
"type": "object",
|
|
29385
30135
|
"properties": {
|
|
29386
30136
|
"object": {
|
|
@@ -29392,12 +30142,32 @@
|
|
|
29392
30142
|
"type": {
|
|
29393
30143
|
"type": "string",
|
|
29394
30144
|
"enum": [
|
|
29395
|
-
"
|
|
30145
|
+
"hint"
|
|
29396
30146
|
]
|
|
29397
30147
|
},
|
|
29398
30148
|
"key": {
|
|
29399
30149
|
"type": "string"
|
|
29400
30150
|
},
|
|
30151
|
+
"data": {
|
|
30152
|
+
"type": "object",
|
|
30153
|
+
"properties": {
|
|
30154
|
+
"style": {
|
|
30155
|
+
"type": "string",
|
|
30156
|
+
"enum": [
|
|
30157
|
+
"info",
|
|
30158
|
+
"warning",
|
|
30159
|
+
"danger",
|
|
30160
|
+
"success"
|
|
30161
|
+
]
|
|
30162
|
+
},
|
|
30163
|
+
"icon": {
|
|
30164
|
+
"$ref": "#/components/schemas/Icon"
|
|
30165
|
+
}
|
|
30166
|
+
},
|
|
30167
|
+
"required": [
|
|
30168
|
+
"style"
|
|
30169
|
+
]
|
|
30170
|
+
},
|
|
29401
30171
|
"nodes": {
|
|
29402
30172
|
"type": "array",
|
|
29403
30173
|
"items": {
|
|
@@ -29405,81 +30175,47 @@
|
|
|
29405
30175
|
{
|
|
29406
30176
|
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
29407
30177
|
},
|
|
30178
|
+
{
|
|
30179
|
+
"$ref": "#/components/schemas/DocumentBlockEmbed"
|
|
30180
|
+
},
|
|
30181
|
+
{
|
|
30182
|
+
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
30183
|
+
},
|
|
30184
|
+
{
|
|
30185
|
+
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
30186
|
+
},
|
|
30187
|
+
{
|
|
30188
|
+
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
30189
|
+
},
|
|
29408
30190
|
{
|
|
29409
30191
|
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
29410
30192
|
},
|
|
30193
|
+
{
|
|
30194
|
+
"$ref": "#/components/schemas/DocumentBlockDrawing"
|
|
30195
|
+
},
|
|
30196
|
+
{
|
|
30197
|
+
"$ref": "#/components/schemas/DocumentBlockExpandable"
|
|
30198
|
+
},
|
|
30199
|
+
{
|
|
30200
|
+
"$ref": "#/components/schemas/DocumentBlockFile"
|
|
30201
|
+
},
|
|
29411
30202
|
{
|
|
29412
30203
|
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
29413
30204
|
},
|
|
29414
30205
|
{
|
|
29415
|
-
"$ref": "#/components/schemas/
|
|
30206
|
+
"$ref": "#/components/schemas/DocumentBlockIf"
|
|
29416
30207
|
},
|
|
29417
30208
|
{
|
|
29418
30209
|
"$ref": "#/components/schemas/DocumentBlockMath"
|
|
29419
30210
|
},
|
|
29420
30211
|
{
|
|
29421
|
-
"$ref": "#/components/schemas/
|
|
30212
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
29422
30213
|
},
|
|
29423
30214
|
{
|
|
29424
|
-
"$ref": "#/components/schemas/
|
|
29425
|
-
}
|
|
29426
|
-
]
|
|
29427
|
-
}
|
|
29428
|
-
},
|
|
29429
|
-
"isVoid": {
|
|
29430
|
-
"type": "boolean",
|
|
29431
|
-
"enum": [
|
|
29432
|
-
false
|
|
29433
|
-
]
|
|
29434
|
-
},
|
|
29435
|
-
"data": {
|
|
29436
|
-
"type": "object",
|
|
29437
|
-
"properties": {
|
|
29438
|
-
"checked": {
|
|
29439
|
-
"type": "boolean"
|
|
29440
|
-
}
|
|
29441
|
-
}
|
|
29442
|
-
}
|
|
29443
|
-
},
|
|
29444
|
-
"required": [
|
|
29445
|
-
"object",
|
|
29446
|
-
"type",
|
|
29447
|
-
"nodes"
|
|
29448
|
-
]
|
|
29449
|
-
},
|
|
29450
|
-
"DocumentBlockListOrdered": {
|
|
29451
|
-
"type": "object",
|
|
29452
|
-
"properties": {
|
|
29453
|
-
"object": {
|
|
29454
|
-
"type": "string",
|
|
29455
|
-
"enum": [
|
|
29456
|
-
"block"
|
|
29457
|
-
]
|
|
29458
|
-
},
|
|
29459
|
-
"type": {
|
|
29460
|
-
"type": "string",
|
|
29461
|
-
"enum": [
|
|
29462
|
-
"list-ordered"
|
|
29463
|
-
]
|
|
29464
|
-
},
|
|
29465
|
-
"key": {
|
|
29466
|
-
"type": "string"
|
|
29467
|
-
},
|
|
29468
|
-
"data": {
|
|
29469
|
-
"type": "object",
|
|
29470
|
-
"properties": {
|
|
29471
|
-
"start": {
|
|
29472
|
-
"type": "number",
|
|
29473
|
-
"description": "An integer to start counting from for the list items."
|
|
29474
|
-
}
|
|
29475
|
-
}
|
|
29476
|
-
},
|
|
29477
|
-
"nodes": {
|
|
29478
|
-
"type": "array",
|
|
29479
|
-
"items": {
|
|
29480
|
-
"oneOf": [
|
|
30215
|
+
"$ref": "#/components/schemas/DocumentBlockStepper"
|
|
30216
|
+
},
|
|
29481
30217
|
{
|
|
29482
|
-
"$ref": "#/components/schemas/
|
|
30218
|
+
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
29483
30219
|
}
|
|
29484
30220
|
]
|
|
29485
30221
|
}
|
|
@@ -29498,134 +30234,6 @@
|
|
|
29498
30234
|
"nodes"
|
|
29499
30235
|
]
|
|
29500
30236
|
},
|
|
29501
|
-
"DocumentBlockListUnordered": {
|
|
29502
|
-
"type": "object",
|
|
29503
|
-
"properties": {
|
|
29504
|
-
"object": {
|
|
29505
|
-
"type": "string",
|
|
29506
|
-
"enum": [
|
|
29507
|
-
"block"
|
|
29508
|
-
]
|
|
29509
|
-
},
|
|
29510
|
-
"type": {
|
|
29511
|
-
"type": "string",
|
|
29512
|
-
"enum": [
|
|
29513
|
-
"list-unordered"
|
|
29514
|
-
]
|
|
29515
|
-
},
|
|
29516
|
-
"key": {
|
|
29517
|
-
"type": "string"
|
|
29518
|
-
},
|
|
29519
|
-
"nodes": {
|
|
29520
|
-
"type": "array",
|
|
29521
|
-
"items": {
|
|
29522
|
-
"oneOf": [
|
|
29523
|
-
{
|
|
29524
|
-
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
29525
|
-
}
|
|
29526
|
-
]
|
|
29527
|
-
}
|
|
29528
|
-
},
|
|
29529
|
-
"data": {
|
|
29530
|
-
"type": "object",
|
|
29531
|
-
"additionalProperties": false
|
|
29532
|
-
},
|
|
29533
|
-
"isVoid": {
|
|
29534
|
-
"type": "boolean",
|
|
29535
|
-
"enum": [
|
|
29536
|
-
false
|
|
29537
|
-
]
|
|
29538
|
-
}
|
|
29539
|
-
},
|
|
29540
|
-
"required": [
|
|
29541
|
-
"object",
|
|
29542
|
-
"type",
|
|
29543
|
-
"nodes"
|
|
29544
|
-
]
|
|
29545
|
-
},
|
|
29546
|
-
"DocumentBlockListTasks": {
|
|
29547
|
-
"type": "object",
|
|
29548
|
-
"properties": {
|
|
29549
|
-
"object": {
|
|
29550
|
-
"type": "string",
|
|
29551
|
-
"enum": [
|
|
29552
|
-
"block"
|
|
29553
|
-
]
|
|
29554
|
-
},
|
|
29555
|
-
"type": {
|
|
29556
|
-
"type": "string",
|
|
29557
|
-
"enum": [
|
|
29558
|
-
"list-tasks"
|
|
29559
|
-
]
|
|
29560
|
-
},
|
|
29561
|
-
"key": {
|
|
29562
|
-
"type": "string"
|
|
29563
|
-
},
|
|
29564
|
-
"nodes": {
|
|
29565
|
-
"type": "array",
|
|
29566
|
-
"items": {
|
|
29567
|
-
"oneOf": [
|
|
29568
|
-
{
|
|
29569
|
-
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
29570
|
-
}
|
|
29571
|
-
]
|
|
29572
|
-
}
|
|
29573
|
-
},
|
|
29574
|
-
"isVoid": {
|
|
29575
|
-
"type": "boolean",
|
|
29576
|
-
"enum": [
|
|
29577
|
-
false
|
|
29578
|
-
]
|
|
29579
|
-
},
|
|
29580
|
-
"data": {
|
|
29581
|
-
"type": "object",
|
|
29582
|
-
"properties": {},
|
|
29583
|
-
"additionalProperties": false
|
|
29584
|
-
}
|
|
29585
|
-
},
|
|
29586
|
-
"required": [
|
|
29587
|
-
"object",
|
|
29588
|
-
"type",
|
|
29589
|
-
"nodes"
|
|
29590
|
-
]
|
|
29591
|
-
},
|
|
29592
|
-
"DocumentBlockDivider": {
|
|
29593
|
-
"type": "object",
|
|
29594
|
-
"properties": {
|
|
29595
|
-
"object": {
|
|
29596
|
-
"type": "string",
|
|
29597
|
-
"enum": [
|
|
29598
|
-
"block"
|
|
29599
|
-
]
|
|
29600
|
-
},
|
|
29601
|
-
"type": {
|
|
29602
|
-
"type": "string",
|
|
29603
|
-
"enum": [
|
|
29604
|
-
"divider"
|
|
29605
|
-
]
|
|
29606
|
-
},
|
|
29607
|
-
"key": {
|
|
29608
|
-
"type": "string"
|
|
29609
|
-
},
|
|
29610
|
-
"isVoid": {
|
|
29611
|
-
"type": "boolean",
|
|
29612
|
-
"enum": [
|
|
29613
|
-
true
|
|
29614
|
-
]
|
|
29615
|
-
},
|
|
29616
|
-
"data": {
|
|
29617
|
-
"type": "object",
|
|
29618
|
-
"properties": {},
|
|
29619
|
-
"additionalProperties": false
|
|
29620
|
-
}
|
|
29621
|
-
},
|
|
29622
|
-
"required": [
|
|
29623
|
-
"object",
|
|
29624
|
-
"type",
|
|
29625
|
-
"isVoid",
|
|
29626
|
-
"data"
|
|
29627
|
-
]
|
|
29628
|
-
},
|
|
29629
30237
|
"DocumentBlockPrompt": {
|
|
29630
30238
|
"type": "object",
|
|
29631
30239
|
"properties": {
|
|
@@ -29823,7 +30431,7 @@
|
|
|
29823
30431
|
"data"
|
|
29824
30432
|
]
|
|
29825
30433
|
},
|
|
29826
|
-
"
|
|
30434
|
+
"DocumentBlockReusableContent": {
|
|
29827
30435
|
"type": "object",
|
|
29828
30436
|
"properties": {
|
|
29829
30437
|
"object": {
|
|
@@ -29835,7 +30443,7 @@
|
|
|
29835
30443
|
"type": {
|
|
29836
30444
|
"type": "string",
|
|
29837
30445
|
"enum": [
|
|
29838
|
-
"
|
|
30446
|
+
"reusable-content"
|
|
29839
30447
|
]
|
|
29840
30448
|
},
|
|
29841
30449
|
"key": {
|
|
@@ -29845,11 +30453,7 @@
|
|
|
29845
30453
|
"type": "object",
|
|
29846
30454
|
"properties": {
|
|
29847
30455
|
"ref": {
|
|
29848
|
-
"
|
|
29849
|
-
{
|
|
29850
|
-
"$ref": "#/components/schemas/ContentRefFile"
|
|
29851
|
-
}
|
|
29852
|
-
]
|
|
30456
|
+
"$ref": "#/components/schemas/ContentRefReusableContent"
|
|
29853
30457
|
}
|
|
29854
30458
|
},
|
|
29855
30459
|
"required": [
|
|
@@ -29861,50 +30465,15 @@
|
|
|
29861
30465
|
"enum": [
|
|
29862
30466
|
true
|
|
29863
30467
|
]
|
|
29864
|
-
}
|
|
29865
|
-
},
|
|
29866
|
-
"required": [
|
|
29867
|
-
"object",
|
|
29868
|
-
"type",
|
|
29869
|
-
"data",
|
|
29870
|
-
"isVoid"
|
|
29871
|
-
]
|
|
29872
|
-
},
|
|
29873
|
-
"DocumentBlockDrawing": {
|
|
29874
|
-
"type": "object",
|
|
29875
|
-
"properties": {
|
|
29876
|
-
"object": {
|
|
29877
|
-
"type": "string",
|
|
29878
|
-
"enum": [
|
|
29879
|
-
"block"
|
|
29880
|
-
]
|
|
29881
|
-
},
|
|
29882
|
-
"type": {
|
|
29883
|
-
"type": "string",
|
|
29884
|
-
"enum": [
|
|
29885
|
-
"drawing"
|
|
29886
|
-
]
|
|
29887
30468
|
},
|
|
29888
|
-
"
|
|
29889
|
-
"type": "string"
|
|
29890
|
-
},
|
|
29891
|
-
"data": {
|
|
30469
|
+
"meta": {
|
|
29892
30470
|
"type": "object",
|
|
29893
30471
|
"properties": {
|
|
29894
|
-
"
|
|
29895
|
-
"
|
|
29896
|
-
|
|
29897
|
-
"$ref": "#/components/schemas/ContentRefFile"
|
|
29898
|
-
}
|
|
29899
|
-
]
|
|
30472
|
+
"token": {
|
|
30473
|
+
"description": "A content token that can be used to fetch the reusable content from the API.",
|
|
30474
|
+
"type": "string"
|
|
29900
30475
|
}
|
|
29901
30476
|
}
|
|
29902
|
-
},
|
|
29903
|
-
"isVoid": {
|
|
29904
|
-
"type": "boolean",
|
|
29905
|
-
"enum": [
|
|
29906
|
-
true
|
|
29907
|
-
]
|
|
29908
30477
|
}
|
|
29909
30478
|
},
|
|
29910
30479
|
"required": [
|
|
@@ -29914,7 +30483,7 @@
|
|
|
29914
30483
|
"isVoid"
|
|
29915
30484
|
]
|
|
29916
30485
|
},
|
|
29917
|
-
"
|
|
30486
|
+
"DocumentBlockContentRef": {
|
|
29918
30487
|
"type": "object",
|
|
29919
30488
|
"properties": {
|
|
29920
30489
|
"object": {
|
|
@@ -29926,7 +30495,7 @@
|
|
|
29926
30495
|
"type": {
|
|
29927
30496
|
"type": "string",
|
|
29928
30497
|
"enum": [
|
|
29929
|
-
"
|
|
30498
|
+
"content-ref"
|
|
29930
30499
|
]
|
|
29931
30500
|
},
|
|
29932
30501
|
"key": {
|
|
@@ -29936,7 +30505,7 @@
|
|
|
29936
30505
|
"type": "object",
|
|
29937
30506
|
"properties": {
|
|
29938
30507
|
"ref": {
|
|
29939
|
-
"$ref": "#/components/schemas/
|
|
30508
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
29940
30509
|
}
|
|
29941
30510
|
},
|
|
29942
30511
|
"required": [
|
|
@@ -29948,15 +30517,6 @@
|
|
|
29948
30517
|
"enum": [
|
|
29949
30518
|
true
|
|
29950
30519
|
]
|
|
29951
|
-
},
|
|
29952
|
-
"meta": {
|
|
29953
|
-
"type": "object",
|
|
29954
|
-
"properties": {
|
|
29955
|
-
"token": {
|
|
29956
|
-
"description": "A content token that can be used to fetch the reusable content from the API.",
|
|
29957
|
-
"type": "string"
|
|
29958
|
-
}
|
|
29959
|
-
}
|
|
29960
30520
|
}
|
|
29961
30521
|
},
|
|
29962
30522
|
"required": [
|
|
@@ -29966,7 +30526,7 @@
|
|
|
29966
30526
|
"isVoid"
|
|
29967
30527
|
]
|
|
29968
30528
|
},
|
|
29969
|
-
"
|
|
30529
|
+
"DocumentBlockMath": {
|
|
29970
30530
|
"type": "object",
|
|
29971
30531
|
"properties": {
|
|
29972
30532
|
"object": {
|
|
@@ -29978,7 +30538,7 @@
|
|
|
29978
30538
|
"type": {
|
|
29979
30539
|
"type": "string",
|
|
29980
30540
|
"enum": [
|
|
29981
|
-
"
|
|
30541
|
+
"math"
|
|
29982
30542
|
]
|
|
29983
30543
|
},
|
|
29984
30544
|
"key": {
|
|
@@ -29987,12 +30547,12 @@
|
|
|
29987
30547
|
"data": {
|
|
29988
30548
|
"type": "object",
|
|
29989
30549
|
"properties": {
|
|
29990
|
-
"
|
|
29991
|
-
"
|
|
30550
|
+
"formula": {
|
|
30551
|
+
"type": "string"
|
|
29992
30552
|
}
|
|
29993
30553
|
},
|
|
29994
30554
|
"required": [
|
|
29995
|
-
"
|
|
30555
|
+
"formula"
|
|
29996
30556
|
]
|
|
29997
30557
|
},
|
|
29998
30558
|
"isVoid": {
|
|
@@ -30145,6 +30705,9 @@
|
|
|
30145
30705
|
},
|
|
30146
30706
|
{
|
|
30147
30707
|
"$ref": "#/components/schemas/DocumentBlockStepper"
|
|
30708
|
+
},
|
|
30709
|
+
{
|
|
30710
|
+
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
30148
30711
|
}
|
|
30149
30712
|
]
|
|
30150
30713
|
},
|
|
@@ -30225,6 +30788,52 @@
|
|
|
30225
30788
|
"nodes"
|
|
30226
30789
|
]
|
|
30227
30790
|
},
|
|
30791
|
+
"DocumentBlockTabs": {
|
|
30792
|
+
"type": "object",
|
|
30793
|
+
"properties": {
|
|
30794
|
+
"object": {
|
|
30795
|
+
"type": "string",
|
|
30796
|
+
"enum": [
|
|
30797
|
+
"block"
|
|
30798
|
+
]
|
|
30799
|
+
},
|
|
30800
|
+
"type": {
|
|
30801
|
+
"type": "string",
|
|
30802
|
+
"enum": [
|
|
30803
|
+
"tabs"
|
|
30804
|
+
]
|
|
30805
|
+
},
|
|
30806
|
+
"key": {
|
|
30807
|
+
"type": "string"
|
|
30808
|
+
},
|
|
30809
|
+
"nodes": {
|
|
30810
|
+
"type": "array",
|
|
30811
|
+
"items": {
|
|
30812
|
+
"$ref": "#/components/schemas/DocumentBlockTabsItem"
|
|
30813
|
+
}
|
|
30814
|
+
},
|
|
30815
|
+
"isVoid": {
|
|
30816
|
+
"type": "boolean",
|
|
30817
|
+
"enum": [
|
|
30818
|
+
false
|
|
30819
|
+
]
|
|
30820
|
+
},
|
|
30821
|
+
"data": {
|
|
30822
|
+
"type": "object",
|
|
30823
|
+
"properties": {
|
|
30824
|
+
"fullWidth": {
|
|
30825
|
+
"type": "boolean"
|
|
30826
|
+
}
|
|
30827
|
+
},
|
|
30828
|
+
"additionalProperties": false
|
|
30829
|
+
}
|
|
30830
|
+
},
|
|
30831
|
+
"required": [
|
|
30832
|
+
"object",
|
|
30833
|
+
"type",
|
|
30834
|
+
"nodes"
|
|
30835
|
+
]
|
|
30836
|
+
},
|
|
30228
30837
|
"DocumentBlockTabsItem": {
|
|
30229
30838
|
"type": "object",
|
|
30230
30839
|
"properties": {
|
|
@@ -30297,6 +30906,9 @@
|
|
|
30297
30906
|
},
|
|
30298
30907
|
{
|
|
30299
30908
|
"$ref": "#/components/schemas/DocumentBlockStepper"
|
|
30909
|
+
},
|
|
30910
|
+
{
|
|
30911
|
+
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
30300
30912
|
}
|
|
30301
30913
|
]
|
|
30302
30914
|
}
|
|
@@ -30342,52 +30954,6 @@
|
|
|
30342
30954
|
"data"
|
|
30343
30955
|
]
|
|
30344
30956
|
},
|
|
30345
|
-
"DocumentBlockTabs": {
|
|
30346
|
-
"type": "object",
|
|
30347
|
-
"properties": {
|
|
30348
|
-
"object": {
|
|
30349
|
-
"type": "string",
|
|
30350
|
-
"enum": [
|
|
30351
|
-
"block"
|
|
30352
|
-
]
|
|
30353
|
-
},
|
|
30354
|
-
"type": {
|
|
30355
|
-
"type": "string",
|
|
30356
|
-
"enum": [
|
|
30357
|
-
"tabs"
|
|
30358
|
-
]
|
|
30359
|
-
},
|
|
30360
|
-
"key": {
|
|
30361
|
-
"type": "string"
|
|
30362
|
-
},
|
|
30363
|
-
"nodes": {
|
|
30364
|
-
"type": "array",
|
|
30365
|
-
"items": {
|
|
30366
|
-
"$ref": "#/components/schemas/DocumentBlockTabsItem"
|
|
30367
|
-
}
|
|
30368
|
-
},
|
|
30369
|
-
"isVoid": {
|
|
30370
|
-
"type": "boolean",
|
|
30371
|
-
"enum": [
|
|
30372
|
-
false
|
|
30373
|
-
]
|
|
30374
|
-
},
|
|
30375
|
-
"data": {
|
|
30376
|
-
"type": "object",
|
|
30377
|
-
"properties": {
|
|
30378
|
-
"fullWidth": {
|
|
30379
|
-
"type": "boolean"
|
|
30380
|
-
}
|
|
30381
|
-
},
|
|
30382
|
-
"additionalProperties": false
|
|
30383
|
-
}
|
|
30384
|
-
},
|
|
30385
|
-
"required": [
|
|
30386
|
-
"object",
|
|
30387
|
-
"type",
|
|
30388
|
-
"nodes"
|
|
30389
|
-
]
|
|
30390
|
-
},
|
|
30391
30957
|
"DocumentBlockStepperStep": {
|
|
30392
30958
|
"type": "object",
|
|
30393
30959
|
"properties": {
|
|
@@ -30489,6 +31055,252 @@
|
|
|
30489
31055
|
"data"
|
|
30490
31056
|
]
|
|
30491
31057
|
},
|
|
31058
|
+
"DocumentBlockListItem": {
|
|
31059
|
+
"type": "object",
|
|
31060
|
+
"properties": {
|
|
31061
|
+
"object": {
|
|
31062
|
+
"type": "string",
|
|
31063
|
+
"enum": [
|
|
31064
|
+
"block"
|
|
31065
|
+
]
|
|
31066
|
+
},
|
|
31067
|
+
"type": {
|
|
31068
|
+
"type": "string",
|
|
31069
|
+
"enum": [
|
|
31070
|
+
"list-item"
|
|
31071
|
+
]
|
|
31072
|
+
},
|
|
31073
|
+
"key": {
|
|
31074
|
+
"type": "string"
|
|
31075
|
+
},
|
|
31076
|
+
"nodes": {
|
|
31077
|
+
"type": "array",
|
|
31078
|
+
"items": {
|
|
31079
|
+
"oneOf": [
|
|
31080
|
+
{
|
|
31081
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
31082
|
+
},
|
|
31083
|
+
{
|
|
31084
|
+
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
31085
|
+
},
|
|
31086
|
+
{
|
|
31087
|
+
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
31088
|
+
},
|
|
31089
|
+
{
|
|
31090
|
+
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
31091
|
+
},
|
|
31092
|
+
{
|
|
31093
|
+
"$ref": "#/components/schemas/DocumentBlockMath"
|
|
31094
|
+
},
|
|
31095
|
+
{
|
|
31096
|
+
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
31097
|
+
},
|
|
31098
|
+
{
|
|
31099
|
+
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
31100
|
+
}
|
|
31101
|
+
]
|
|
31102
|
+
}
|
|
31103
|
+
},
|
|
31104
|
+
"isVoid": {
|
|
31105
|
+
"type": "boolean",
|
|
31106
|
+
"enum": [
|
|
31107
|
+
false
|
|
31108
|
+
]
|
|
31109
|
+
},
|
|
31110
|
+
"data": {
|
|
31111
|
+
"type": "object",
|
|
31112
|
+
"properties": {
|
|
31113
|
+
"checked": {
|
|
31114
|
+
"type": "boolean"
|
|
31115
|
+
}
|
|
31116
|
+
}
|
|
31117
|
+
}
|
|
31118
|
+
},
|
|
31119
|
+
"required": [
|
|
31120
|
+
"object",
|
|
31121
|
+
"type",
|
|
31122
|
+
"nodes"
|
|
31123
|
+
]
|
|
31124
|
+
},
|
|
31125
|
+
"DocumentBlockListOrdered": {
|
|
31126
|
+
"type": "object",
|
|
31127
|
+
"properties": {
|
|
31128
|
+
"object": {
|
|
31129
|
+
"type": "string",
|
|
31130
|
+
"enum": [
|
|
31131
|
+
"block"
|
|
31132
|
+
]
|
|
31133
|
+
},
|
|
31134
|
+
"type": {
|
|
31135
|
+
"type": "string",
|
|
31136
|
+
"enum": [
|
|
31137
|
+
"list-ordered"
|
|
31138
|
+
]
|
|
31139
|
+
},
|
|
31140
|
+
"key": {
|
|
31141
|
+
"type": "string"
|
|
31142
|
+
},
|
|
31143
|
+
"data": {
|
|
31144
|
+
"type": "object",
|
|
31145
|
+
"properties": {
|
|
31146
|
+
"start": {
|
|
31147
|
+
"type": "number",
|
|
31148
|
+
"description": "An integer to start counting from for the list items."
|
|
31149
|
+
}
|
|
31150
|
+
}
|
|
31151
|
+
},
|
|
31152
|
+
"nodes": {
|
|
31153
|
+
"type": "array",
|
|
31154
|
+
"items": {
|
|
31155
|
+
"oneOf": [
|
|
31156
|
+
{
|
|
31157
|
+
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
31158
|
+
}
|
|
31159
|
+
]
|
|
31160
|
+
}
|
|
31161
|
+
},
|
|
31162
|
+
"isVoid": {
|
|
31163
|
+
"type": "boolean",
|
|
31164
|
+
"enum": [
|
|
31165
|
+
false
|
|
31166
|
+
]
|
|
31167
|
+
}
|
|
31168
|
+
},
|
|
31169
|
+
"required": [
|
|
31170
|
+
"object",
|
|
31171
|
+
"type",
|
|
31172
|
+
"data",
|
|
31173
|
+
"nodes"
|
|
31174
|
+
]
|
|
31175
|
+
},
|
|
31176
|
+
"DocumentBlockListUnordered": {
|
|
31177
|
+
"type": "object",
|
|
31178
|
+
"properties": {
|
|
31179
|
+
"object": {
|
|
31180
|
+
"type": "string",
|
|
31181
|
+
"enum": [
|
|
31182
|
+
"block"
|
|
31183
|
+
]
|
|
31184
|
+
},
|
|
31185
|
+
"type": {
|
|
31186
|
+
"type": "string",
|
|
31187
|
+
"enum": [
|
|
31188
|
+
"list-unordered"
|
|
31189
|
+
]
|
|
31190
|
+
},
|
|
31191
|
+
"key": {
|
|
31192
|
+
"type": "string"
|
|
31193
|
+
},
|
|
31194
|
+
"nodes": {
|
|
31195
|
+
"type": "array",
|
|
31196
|
+
"items": {
|
|
31197
|
+
"oneOf": [
|
|
31198
|
+
{
|
|
31199
|
+
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
31200
|
+
}
|
|
31201
|
+
]
|
|
31202
|
+
}
|
|
31203
|
+
},
|
|
31204
|
+
"data": {
|
|
31205
|
+
"type": "object",
|
|
31206
|
+
"additionalProperties": false
|
|
31207
|
+
},
|
|
31208
|
+
"isVoid": {
|
|
31209
|
+
"type": "boolean",
|
|
31210
|
+
"enum": [
|
|
31211
|
+
false
|
|
31212
|
+
]
|
|
31213
|
+
}
|
|
31214
|
+
},
|
|
31215
|
+
"required": [
|
|
31216
|
+
"object",
|
|
31217
|
+
"type",
|
|
31218
|
+
"nodes"
|
|
31219
|
+
]
|
|
31220
|
+
},
|
|
31221
|
+
"DocumentBlockListTasks": {
|
|
31222
|
+
"type": "object",
|
|
31223
|
+
"properties": {
|
|
31224
|
+
"object": {
|
|
31225
|
+
"type": "string",
|
|
31226
|
+
"enum": [
|
|
31227
|
+
"block"
|
|
31228
|
+
]
|
|
31229
|
+
},
|
|
31230
|
+
"type": {
|
|
31231
|
+
"type": "string",
|
|
31232
|
+
"enum": [
|
|
31233
|
+
"list-tasks"
|
|
31234
|
+
]
|
|
31235
|
+
},
|
|
31236
|
+
"key": {
|
|
31237
|
+
"type": "string"
|
|
31238
|
+
},
|
|
31239
|
+
"nodes": {
|
|
31240
|
+
"type": "array",
|
|
31241
|
+
"items": {
|
|
31242
|
+
"oneOf": [
|
|
31243
|
+
{
|
|
31244
|
+
"$ref": "#/components/schemas/DocumentBlockListItem"
|
|
31245
|
+
}
|
|
31246
|
+
]
|
|
31247
|
+
}
|
|
31248
|
+
},
|
|
31249
|
+
"isVoid": {
|
|
31250
|
+
"type": "boolean",
|
|
31251
|
+
"enum": [
|
|
31252
|
+
false
|
|
31253
|
+
]
|
|
31254
|
+
},
|
|
31255
|
+
"data": {
|
|
31256
|
+
"type": "object",
|
|
31257
|
+
"properties": {},
|
|
31258
|
+
"additionalProperties": false
|
|
31259
|
+
}
|
|
31260
|
+
},
|
|
31261
|
+
"required": [
|
|
31262
|
+
"object",
|
|
31263
|
+
"type",
|
|
31264
|
+
"nodes"
|
|
31265
|
+
]
|
|
31266
|
+
},
|
|
31267
|
+
"DocumentBlockDivider": {
|
|
31268
|
+
"type": "object",
|
|
31269
|
+
"properties": {
|
|
31270
|
+
"object": {
|
|
31271
|
+
"type": "string",
|
|
31272
|
+
"enum": [
|
|
31273
|
+
"block"
|
|
31274
|
+
]
|
|
31275
|
+
},
|
|
31276
|
+
"type": {
|
|
31277
|
+
"type": "string",
|
|
31278
|
+
"enum": [
|
|
31279
|
+
"divider"
|
|
31280
|
+
]
|
|
31281
|
+
},
|
|
31282
|
+
"key": {
|
|
31283
|
+
"type": "string"
|
|
31284
|
+
},
|
|
31285
|
+
"isVoid": {
|
|
31286
|
+
"type": "boolean",
|
|
31287
|
+
"enum": [
|
|
31288
|
+
true
|
|
31289
|
+
]
|
|
31290
|
+
},
|
|
31291
|
+
"data": {
|
|
31292
|
+
"type": "object",
|
|
31293
|
+
"properties": {},
|
|
31294
|
+
"additionalProperties": false
|
|
31295
|
+
}
|
|
31296
|
+
},
|
|
31297
|
+
"required": [
|
|
31298
|
+
"object",
|
|
31299
|
+
"type",
|
|
31300
|
+
"isVoid",
|
|
31301
|
+
"data"
|
|
31302
|
+
]
|
|
31303
|
+
},
|
|
30492
31304
|
"OpenAPIOperationPointer": {
|
|
30493
31305
|
"type": "object",
|
|
30494
31306
|
"description": "Pointer to an operation in the OpenAPI spec.",
|
|
@@ -31051,7 +31863,17 @@
|
|
|
31051
31863
|
"type": "object",
|
|
31052
31864
|
"properties": {
|
|
31053
31865
|
"date": {
|
|
31054
|
-
"
|
|
31866
|
+
"type": "string",
|
|
31867
|
+
"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.",
|
|
31868
|
+
"oneOf": [
|
|
31869
|
+
{
|
|
31870
|
+
"type": "string",
|
|
31871
|
+
"format": "date"
|
|
31872
|
+
},
|
|
31873
|
+
{
|
|
31874
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
31875
|
+
}
|
|
31876
|
+
]
|
|
31055
31877
|
},
|
|
31056
31878
|
"tags": {
|
|
31057
31879
|
"type": "array",
|
|
@@ -33197,7 +34019,7 @@
|
|
|
33197
34019
|
"finding": {
|
|
33198
34020
|
"type": "string",
|
|
33199
34021
|
"deprecated": true,
|
|
33200
|
-
"description": "ID of the site finding the change request fixes. Use `
|
|
34022
|
+
"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."
|
|
33201
34023
|
}
|
|
33202
34024
|
},
|
|
33203
34025
|
"required": [
|
|
@@ -33206,8 +34028,9 @@
|
|
|
33206
34028
|
]
|
|
33207
34029
|
},
|
|
33208
34030
|
"siteFinding": {
|
|
34031
|
+
"deprecated": true,
|
|
33209
34032
|
"type": "object",
|
|
33210
|
-
"description": "
|
|
34033
|
+
"description": "First linked site finding. Use `siteFindings` to read all linked findings.",
|
|
33211
34034
|
"properties": {
|
|
33212
34035
|
"site": {
|
|
33213
34036
|
"type": "string",
|
|
@@ -33223,6 +34046,27 @@
|
|
|
33223
34046
|
"finding"
|
|
33224
34047
|
]
|
|
33225
34048
|
},
|
|
34049
|
+
"siteFindings": {
|
|
34050
|
+
"type": "array",
|
|
34051
|
+
"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.",
|
|
34052
|
+
"items": {
|
|
34053
|
+
"type": "object",
|
|
34054
|
+
"properties": {
|
|
34055
|
+
"site": {
|
|
34056
|
+
"type": "string",
|
|
34057
|
+
"description": "ID of the site the finding belongs to."
|
|
34058
|
+
},
|
|
34059
|
+
"finding": {
|
|
34060
|
+
"type": "string",
|
|
34061
|
+
"description": "ID of the site finding the change request fixes."
|
|
34062
|
+
}
|
|
34063
|
+
},
|
|
34064
|
+
"required": [
|
|
34065
|
+
"site",
|
|
34066
|
+
"finding"
|
|
34067
|
+
]
|
|
34068
|
+
}
|
|
34069
|
+
},
|
|
33226
34070
|
"styleguide": {
|
|
33227
34071
|
"type": "object",
|
|
33228
34072
|
"description": "Style guide check that opened the change request, when it came from one. A check can be run again on the change request already open on a space, rather than opening a second one, so several checks can share a change request.\n",
|
|
@@ -34282,6 +35126,12 @@
|
|
|
34282
35126
|
"type": "string",
|
|
34283
35127
|
"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."
|
|
34284
35128
|
},
|
|
35129
|
+
"stableKey": {
|
|
35130
|
+
"type": "string",
|
|
35131
|
+
"minLength": 1,
|
|
35132
|
+
"maxLength": 255,
|
|
35133
|
+
"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."
|
|
35134
|
+
},
|
|
34285
35135
|
"document": {
|
|
34286
35136
|
"description": "Document for the new page. When provided as markdown, its frontmatter is read to set the page metadata.",
|
|
34287
35137
|
"$ref": "#/components/schemas/Document"
|
|
@@ -34438,6 +35288,173 @@
|
|
|
34438
35288
|
]
|
|
34439
35289
|
}
|
|
34440
35290
|
},
|
|
35291
|
+
"ChangeRequestContentChangeInsertComputedPage": {
|
|
35292
|
+
"type": "object",
|
|
35293
|
+
"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.",
|
|
35294
|
+
"required": [
|
|
35295
|
+
"operation",
|
|
35296
|
+
"computed"
|
|
35297
|
+
],
|
|
35298
|
+
"properties": {
|
|
35299
|
+
"operation": {
|
|
35300
|
+
"type": "string",
|
|
35301
|
+
"enum": [
|
|
35302
|
+
"insert_computed_page"
|
|
35303
|
+
]
|
|
35304
|
+
},
|
|
35305
|
+
"computed": {
|
|
35306
|
+
"$ref": "#/components/schemas/ComputedContentSourceRevisionOpenAPI"
|
|
35307
|
+
},
|
|
35308
|
+
"title": {
|
|
35309
|
+
"type": "string",
|
|
35310
|
+
"minLength": 1,
|
|
35311
|
+
"description": "Title of the page, only shown in the editor since the generated pages take its place. Defaults to \"OpenAPI\"."
|
|
35312
|
+
},
|
|
35313
|
+
"into": {
|
|
35314
|
+
"type": "string",
|
|
35315
|
+
"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."
|
|
35316
|
+
},
|
|
35317
|
+
"at": {
|
|
35318
|
+
"type": "integer",
|
|
35319
|
+
"minimum": 0,
|
|
35320
|
+
"description": "Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end."
|
|
35321
|
+
}
|
|
35322
|
+
},
|
|
35323
|
+
"example": {
|
|
35324
|
+
"operation": "insert_computed_page",
|
|
35325
|
+
"title": "API reference",
|
|
35326
|
+
"computed": {
|
|
35327
|
+
"type": "builtin:openapi",
|
|
35328
|
+
"props": {
|
|
35329
|
+
"models": true
|
|
35330
|
+
},
|
|
35331
|
+
"dependencies": {
|
|
35332
|
+
"spec": {
|
|
35333
|
+
"ref": {
|
|
35334
|
+
"kind": "openapi",
|
|
35335
|
+
"spec": "my-api"
|
|
35336
|
+
}
|
|
35337
|
+
}
|
|
35338
|
+
}
|
|
35339
|
+
}
|
|
35340
|
+
}
|
|
35341
|
+
},
|
|
35342
|
+
"ChangeRequestContentChangeInsertReusableContents": {
|
|
35343
|
+
"type": "object",
|
|
35344
|
+
"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`.",
|
|
35345
|
+
"required": [
|
|
35346
|
+
"operation",
|
|
35347
|
+
"reusableContents"
|
|
35348
|
+
],
|
|
35349
|
+
"properties": {
|
|
35350
|
+
"operation": {
|
|
35351
|
+
"type": "string",
|
|
35352
|
+
"enum": [
|
|
35353
|
+
"insert_reusable_contents"
|
|
35354
|
+
]
|
|
35355
|
+
},
|
|
35356
|
+
"reusableContents": {
|
|
35357
|
+
"type": "array",
|
|
35358
|
+
"minItems": 1,
|
|
35359
|
+
"maxItems": 20,
|
|
35360
|
+
"items": {
|
|
35361
|
+
"type": "object",
|
|
35362
|
+
"description": "A reusable content to create.",
|
|
35363
|
+
"required": [
|
|
35364
|
+
"title",
|
|
35365
|
+
"document"
|
|
35366
|
+
],
|
|
35367
|
+
"properties": {
|
|
35368
|
+
"ref": {
|
|
35369
|
+
"type": "string",
|
|
35370
|
+
"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."
|
|
35371
|
+
},
|
|
35372
|
+
"title": {
|
|
35373
|
+
"type": "string",
|
|
35374
|
+
"minLength": 1,
|
|
35375
|
+
"maxLength": 100,
|
|
35376
|
+
"description": "Title of the reusable content, shown when picking it in the editor."
|
|
35377
|
+
},
|
|
35378
|
+
"document": {
|
|
35379
|
+
"description": "Body of the reusable content.",
|
|
35380
|
+
"$ref": "#/components/schemas/Document"
|
|
35381
|
+
}
|
|
35382
|
+
}
|
|
35383
|
+
}
|
|
35384
|
+
}
|
|
35385
|
+
},
|
|
35386
|
+
"example": {
|
|
35387
|
+
"operation": "insert_reusable_contents",
|
|
35388
|
+
"reusableContents": [
|
|
35389
|
+
{
|
|
35390
|
+
"ref": "disclaimer",
|
|
35391
|
+
"title": "Disclaimer",
|
|
35392
|
+
"document": {
|
|
35393
|
+
"markdown": "{% hint style=\"warning\" %}\nThis feature is in beta.\n{% endhint %}\n"
|
|
35394
|
+
}
|
|
35395
|
+
}
|
|
35396
|
+
]
|
|
35397
|
+
}
|
|
35398
|
+
},
|
|
35399
|
+
"ChangeRequestContentChangeUpdateReusableContent": {
|
|
35400
|
+
"type": "object",
|
|
35401
|
+
"description": "Update an existing reusable content's title and/or document. Its ID is unchanged, so every page including it shows the update.",
|
|
35402
|
+
"required": [
|
|
35403
|
+
"operation",
|
|
35404
|
+
"reusableContent"
|
|
35405
|
+
],
|
|
35406
|
+
"properties": {
|
|
35407
|
+
"operation": {
|
|
35408
|
+
"type": "string",
|
|
35409
|
+
"enum": [
|
|
35410
|
+
"update_reusable_content"
|
|
35411
|
+
]
|
|
35412
|
+
},
|
|
35413
|
+
"reusableContent": {
|
|
35414
|
+
"type": "string",
|
|
35415
|
+
"description": "ID of the reusable content to update."
|
|
35416
|
+
},
|
|
35417
|
+
"title": {
|
|
35418
|
+
"type": "string",
|
|
35419
|
+
"minLength": 1,
|
|
35420
|
+
"maxLength": 100,
|
|
35421
|
+
"description": "New title of the reusable content. Omit to keep the current title."
|
|
35422
|
+
},
|
|
35423
|
+
"document": {
|
|
35424
|
+
"description": "New body of the reusable content. Omit to keep the current body.",
|
|
35425
|
+
"$ref": "#/components/schemas/Document"
|
|
35426
|
+
}
|
|
35427
|
+
},
|
|
35428
|
+
"example": {
|
|
35429
|
+
"operation": "update_reusable_content",
|
|
35430
|
+
"reusableContent": "reusable_content_id",
|
|
35431
|
+
"title": "Beta disclaimer"
|
|
35432
|
+
}
|
|
35433
|
+
},
|
|
35434
|
+
"ChangeRequestContentChangeDeleteReusableContent": {
|
|
35435
|
+
"type": "object",
|
|
35436
|
+
"description": "Delete an existing reusable content from the change request.",
|
|
35437
|
+
"required": [
|
|
35438
|
+
"operation",
|
|
35439
|
+
"reusableContent"
|
|
35440
|
+
],
|
|
35441
|
+
"properties": {
|
|
35442
|
+
"operation": {
|
|
35443
|
+
"type": "string",
|
|
35444
|
+
"enum": [
|
|
35445
|
+
"delete_reusable_content"
|
|
35446
|
+
]
|
|
35447
|
+
},
|
|
35448
|
+
"reusableContent": {
|
|
35449
|
+
"type": "string",
|
|
35450
|
+
"description": "ID of the reusable content to delete."
|
|
35451
|
+
}
|
|
35452
|
+
},
|
|
35453
|
+
"example": {
|
|
35454
|
+
"operation": "delete_reusable_content",
|
|
35455
|
+
"reusableContent": "reusable_content_id"
|
|
35456
|
+
}
|
|
35457
|
+
},
|
|
34441
35458
|
"ChangeRequestContentChange": {
|
|
34442
35459
|
"oneOf": [
|
|
34443
35460
|
{
|
|
@@ -34454,6 +35471,18 @@
|
|
|
34454
35471
|
},
|
|
34455
35472
|
{
|
|
34456
35473
|
"$ref": "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
35474
|
+
},
|
|
35475
|
+
{
|
|
35476
|
+
"$ref": "#/components/schemas/ChangeRequestContentChangeInsertComputedPage"
|
|
35477
|
+
},
|
|
35478
|
+
{
|
|
35479
|
+
"$ref": "#/components/schemas/ChangeRequestContentChangeInsertReusableContents"
|
|
35480
|
+
},
|
|
35481
|
+
{
|
|
35482
|
+
"$ref": "#/components/schemas/ChangeRequestContentChangeUpdateReusableContent"
|
|
35483
|
+
},
|
|
35484
|
+
{
|
|
35485
|
+
"$ref": "#/components/schemas/ChangeRequestContentChangeDeleteReusableContent"
|
|
34457
35486
|
}
|
|
34458
35487
|
],
|
|
34459
35488
|
"discriminator": {
|
|
@@ -34463,7 +35492,11 @@
|
|
|
34463
35492
|
"insert_page": "#/components/schemas/ChangeRequestContentChangeInsertPage",
|
|
34464
35493
|
"delete_page": "#/components/schemas/ChangeRequestContentChangeDeletePage",
|
|
34465
35494
|
"revert_page": "#/components/schemas/ChangeRequestContentChangeRevertPage",
|
|
34466
|
-
"insert_files": "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
35495
|
+
"insert_files": "#/components/schemas/ChangeRequestContentChangeInsertFiles",
|
|
35496
|
+
"insert_computed_page": "#/components/schemas/ChangeRequestContentChangeInsertComputedPage",
|
|
35497
|
+
"insert_reusable_contents": "#/components/schemas/ChangeRequestContentChangeInsertReusableContents",
|
|
35498
|
+
"update_reusable_content": "#/components/schemas/ChangeRequestContentChangeUpdateReusableContent",
|
|
35499
|
+
"delete_reusable_content": "#/components/schemas/ChangeRequestContentChangeDeleteReusableContent"
|
|
34467
35500
|
}
|
|
34468
35501
|
}
|
|
34469
35502
|
},
|
|
@@ -34493,7 +35526,7 @@
|
|
|
34493
35526
|
],
|
|
34494
35527
|
"properties": {
|
|
34495
35528
|
"location": {
|
|
34496
|
-
"description": "API URL to fetch the page's full, normalized content.",
|
|
35529
|
+
"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.",
|
|
34497
35530
|
"$ref": "#/components/schemas/URL"
|
|
34498
35531
|
}
|
|
34499
35532
|
}
|
|
@@ -34614,6 +35647,13 @@
|
|
|
34614
35647
|
"items": {
|
|
34615
35648
|
"$ref": "#/components/schemas/RevisionFile"
|
|
34616
35649
|
}
|
|
35650
|
+
},
|
|
35651
|
+
"insertedReusableContents": {
|
|
35652
|
+
"type": "array",
|
|
35653
|
+
"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.",
|
|
35654
|
+
"items": {
|
|
35655
|
+
"$ref": "#/components/schemas/RevisionReusableContent"
|
|
35656
|
+
}
|
|
34617
35657
|
}
|
|
34618
35658
|
}
|
|
34619
35659
|
},
|
|
@@ -35196,6 +36236,12 @@
|
|
|
35196
36236
|
"properties": {
|
|
35197
36237
|
"label": {
|
|
35198
36238
|
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
36239
|
+
},
|
|
36240
|
+
"group": {
|
|
36241
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
36242
|
+
},
|
|
36243
|
+
"parent": {
|
|
36244
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
35199
36245
|
}
|
|
35200
36246
|
}
|
|
35201
36247
|
},
|
|
@@ -35221,6 +36267,102 @@
|
|
|
35221
36267
|
"attributes"
|
|
35222
36268
|
]
|
|
35223
36269
|
},
|
|
36270
|
+
"RevisionTagGroup": {
|
|
36271
|
+
"type": "object",
|
|
36272
|
+
"description": "A space-scoped group of tags in this revision. Groups may contain other groups.",
|
|
36273
|
+
"required": [
|
|
36274
|
+
"slug",
|
|
36275
|
+
"label",
|
|
36276
|
+
"orderIndex"
|
|
36277
|
+
],
|
|
36278
|
+
"properties": {
|
|
36279
|
+
"slug": {
|
|
36280
|
+
"type": "string",
|
|
36281
|
+
"description": "Immutable group identifier, unique within the revision."
|
|
36282
|
+
},
|
|
36283
|
+
"label": {
|
|
36284
|
+
"type": "string",
|
|
36285
|
+
"description": "Display name of the group."
|
|
36286
|
+
},
|
|
36287
|
+
"parent": {
|
|
36288
|
+
"type": "string",
|
|
36289
|
+
"description": "Parent group slug. Omitted for root groups."
|
|
36290
|
+
},
|
|
36291
|
+
"orderIndex": {
|
|
36292
|
+
"type": "string",
|
|
36293
|
+
"description": "Lexicographic sibling sort key. Break ties using the slug."
|
|
36294
|
+
}
|
|
36295
|
+
}
|
|
36296
|
+
},
|
|
36297
|
+
"RevisionSemanticChangeTagGroupCreated": {
|
|
36298
|
+
"type": "object",
|
|
36299
|
+
"required": [
|
|
36300
|
+
"type",
|
|
36301
|
+
"tagGroup"
|
|
36302
|
+
],
|
|
36303
|
+
"properties": {
|
|
36304
|
+
"type": {
|
|
36305
|
+
"type": "string",
|
|
36306
|
+
"enum": [
|
|
36307
|
+
"tag_group_created"
|
|
36308
|
+
]
|
|
36309
|
+
},
|
|
36310
|
+
"tagGroup": {
|
|
36311
|
+
"$ref": "#/components/schemas/RevisionTagGroup"
|
|
36312
|
+
}
|
|
36313
|
+
}
|
|
36314
|
+
},
|
|
36315
|
+
"RevisionSemanticChangeTagGroupEdited": {
|
|
36316
|
+
"type": "object",
|
|
36317
|
+
"required": [
|
|
36318
|
+
"type",
|
|
36319
|
+
"tagGroup",
|
|
36320
|
+
"attributes"
|
|
36321
|
+
],
|
|
36322
|
+
"properties": {
|
|
36323
|
+
"type": {
|
|
36324
|
+
"type": "string",
|
|
36325
|
+
"enum": [
|
|
36326
|
+
"tag_group_edited"
|
|
36327
|
+
]
|
|
36328
|
+
},
|
|
36329
|
+
"tagGroup": {
|
|
36330
|
+
"$ref": "#/components/schemas/RevisionTagGroup"
|
|
36331
|
+
},
|
|
36332
|
+
"attributes": {
|
|
36333
|
+
"type": "object",
|
|
36334
|
+
"properties": {
|
|
36335
|
+
"label": {
|
|
36336
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
36337
|
+
},
|
|
36338
|
+
"parent": {
|
|
36339
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
36340
|
+
},
|
|
36341
|
+
"orderIndex": {
|
|
36342
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
36343
|
+
}
|
|
36344
|
+
}
|
|
36345
|
+
}
|
|
36346
|
+
}
|
|
36347
|
+
},
|
|
36348
|
+
"RevisionSemanticChangeTagGroupDeleted": {
|
|
36349
|
+
"type": "object",
|
|
36350
|
+
"required": [
|
|
36351
|
+
"type",
|
|
36352
|
+
"tagGroup"
|
|
36353
|
+
],
|
|
36354
|
+
"properties": {
|
|
36355
|
+
"type": {
|
|
36356
|
+
"type": "string",
|
|
36357
|
+
"enum": [
|
|
36358
|
+
"tag_group_deleted"
|
|
36359
|
+
]
|
|
36360
|
+
},
|
|
36361
|
+
"tagGroup": {
|
|
36362
|
+
"$ref": "#/components/schemas/RevisionTagGroup"
|
|
36363
|
+
}
|
|
36364
|
+
}
|
|
36365
|
+
},
|
|
35224
36366
|
"RevisionSemanticChange": {
|
|
35225
36367
|
"oneOf": [
|
|
35226
36368
|
{
|
|
@@ -35264,6 +36406,15 @@
|
|
|
35264
36406
|
},
|
|
35265
36407
|
{
|
|
35266
36408
|
"$ref": "#/components/schemas/RevisionSemanticChangeTagEdited"
|
|
36409
|
+
},
|
|
36410
|
+
{
|
|
36411
|
+
"$ref": "#/components/schemas/RevisionSemanticChangeTagGroupCreated"
|
|
36412
|
+
},
|
|
36413
|
+
{
|
|
36414
|
+
"$ref": "#/components/schemas/RevisionSemanticChangeTagGroupEdited"
|
|
36415
|
+
},
|
|
36416
|
+
{
|
|
36417
|
+
"$ref": "#/components/schemas/RevisionSemanticChangeTagGroupDeleted"
|
|
35267
36418
|
}
|
|
35268
36419
|
]
|
|
35269
36420
|
},
|
|
@@ -35312,6 +36463,29 @@
|
|
|
35312
36463
|
}
|
|
35313
36464
|
}
|
|
35314
36465
|
},
|
|
36466
|
+
"MemberDisabledReason": {
|
|
36467
|
+
"type": "string",
|
|
36468
|
+
"description": "Why a member is disabled in an organization.\n\"billing\": The organization's plan has reached its maximum number of members.\n\"scim\": The member was deactivated by the organization's identity provider.\n\"admin\": An organization admin disabled the member.\n",
|
|
36469
|
+
"enum": [
|
|
36470
|
+
"billing",
|
|
36471
|
+
"scim",
|
|
36472
|
+
"admin"
|
|
36473
|
+
]
|
|
36474
|
+
},
|
|
36475
|
+
"MemberDisabled": {
|
|
36476
|
+
"description": "Why the member is disabled, or false when the member is active. A disabled member cannot access the organization or its content.",
|
|
36477
|
+
"oneOf": [
|
|
36478
|
+
{
|
|
36479
|
+
"type": "boolean",
|
|
36480
|
+
"enum": [
|
|
36481
|
+
false
|
|
36482
|
+
]
|
|
36483
|
+
},
|
|
36484
|
+
{
|
|
36485
|
+
"$ref": "#/components/schemas/MemberDisabledReason"
|
|
36486
|
+
}
|
|
36487
|
+
]
|
|
36488
|
+
},
|
|
35315
36489
|
"OrganizationMember": {
|
|
35316
36490
|
"type": "object",
|
|
35317
36491
|
"properties": {
|
|
@@ -35333,8 +36507,7 @@
|
|
|
35333
36507
|
"$ref": "#/components/schemas/User"
|
|
35334
36508
|
},
|
|
35335
36509
|
"disabled": {
|
|
35336
|
-
"
|
|
35337
|
-
"description": "Whatever the membership of this user is disabled and prevent them from accessing content."
|
|
36510
|
+
"$ref": "#/components/schemas/MemberDisabled"
|
|
35338
36511
|
},
|
|
35339
36512
|
"joinedAt": {
|
|
35340
36513
|
"description": "Date at which the user joined the organization.",
|
|
@@ -35852,9 +37025,6 @@
|
|
|
35852
37025
|
"pro_2024",
|
|
35853
37026
|
"enterprise_2024",
|
|
35854
37027
|
"community_2024",
|
|
35855
|
-
"free",
|
|
35856
|
-
"plus",
|
|
35857
|
-
"pro",
|
|
35858
37028
|
"internal"
|
|
35859
37029
|
]
|
|
35860
37030
|
},
|
|
@@ -36204,6 +37374,10 @@
|
|
|
36204
37374
|
"description": "If true, the organization is configured to use all our AI features.",
|
|
36205
37375
|
"type": "boolean"
|
|
36206
37376
|
},
|
|
37377
|
+
"aiPreference": {
|
|
37378
|
+
"description": "Whether the master AI setting is turned on, regardless of plan availability. Contract overrides forcing AI off take precedence.",
|
|
37379
|
+
"type": "boolean"
|
|
37380
|
+
},
|
|
36207
37381
|
"aiSettings": {
|
|
36208
37382
|
"$ref": "#/components/schemas/OrganizationAISettings"
|
|
36209
37383
|
},
|
|
@@ -36303,23 +37477,6 @@
|
|
|
36303
37477
|
"reason"
|
|
36304
37478
|
]
|
|
36305
37479
|
},
|
|
36306
|
-
"internal_billingMigration": {
|
|
36307
|
-
"type": "object",
|
|
36308
|
-
"properties": {
|
|
36309
|
-
"deadline": {
|
|
36310
|
-
"description": "When we will upgrade the organization onto new pricing, if they haven't already.",
|
|
36311
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
36312
|
-
},
|
|
36313
|
-
"discountPercent": {
|
|
36314
|
-
"description": "A discount the organization may have received thanks to migrating early.",
|
|
36315
|
-
"type": "number"
|
|
36316
|
-
},
|
|
36317
|
-
"discountEndDate": {
|
|
36318
|
-
"description": "The expiration date of the discount, after wich regular pricing resumes.",
|
|
36319
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
36320
|
-
}
|
|
36321
|
-
}
|
|
36322
|
-
},
|
|
36323
37480
|
"permissions": {
|
|
36324
37481
|
"type": "object",
|
|
36325
37482
|
"description": "The set of permissions for the organization",
|
|
@@ -38352,9 +39509,7 @@
|
|
|
38352
39509
|
"basic",
|
|
38353
39510
|
"premium",
|
|
38354
39511
|
"ultimate",
|
|
38355
|
-
"sponsored"
|
|
38356
|
-
"legacy-basic",
|
|
38357
|
-
"legacy-premium"
|
|
39512
|
+
"sponsored"
|
|
38358
39513
|
]
|
|
38359
39514
|
},
|
|
38360
39515
|
"SiteTitle": {
|
|
@@ -38576,7 +39731,6 @@
|
|
|
38576
39731
|
"sites-basic-customization",
|
|
38577
39732
|
"sites-broken-links",
|
|
38578
39733
|
"sites-custom-domain",
|
|
38579
|
-
"sites-custom-fonts",
|
|
38580
39734
|
"sites-custom-subdirectory",
|
|
38581
39735
|
"sites-full-text-search",
|
|
38582
39736
|
"sites-multivariant-site",
|
|
@@ -38661,6 +39815,14 @@
|
|
|
38661
39815
|
"$ref": "#/components/schemas/SiteType",
|
|
38662
39816
|
"description": "The currently applied type of the site. For example, frozen sites will have this set to Basic."
|
|
38663
39817
|
},
|
|
39818
|
+
"unpublishedBy": {
|
|
39819
|
+
"type": "string",
|
|
39820
|
+
"enum": [
|
|
39821
|
+
"user",
|
|
39822
|
+
"system"
|
|
39823
|
+
],
|
|
39824
|
+
"description": "Who unpublished this site last. Cleared when the site is published again."
|
|
39825
|
+
},
|
|
38664
39826
|
"title": {
|
|
38665
39827
|
"$ref": "#/components/schemas/SiteTitle"
|
|
38666
39828
|
},
|
|
@@ -40618,6 +41780,10 @@
|
|
|
40618
41780
|
"type": "boolean",
|
|
40619
41781
|
"description": "Whether the site section is draft and not live."
|
|
40620
41782
|
},
|
|
41783
|
+
"hidden": {
|
|
41784
|
+
"type": "boolean",
|
|
41785
|
+
"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."
|
|
41786
|
+
},
|
|
40621
41787
|
"path": {
|
|
40622
41788
|
"$ref": "#/components/schemas/SiteSectionPath"
|
|
40623
41789
|
},
|
|
@@ -40694,6 +41860,10 @@
|
|
|
40694
41860
|
"$ref": "#/components/schemas/SiteSection"
|
|
40695
41861
|
}
|
|
40696
41862
|
},
|
|
41863
|
+
"condition": {
|
|
41864
|
+
"description": "Conditional expression used to evaluate whether the site section group should be shown to the site's visitor.",
|
|
41865
|
+
"$ref": "#/components/schemas/Expression"
|
|
41866
|
+
},
|
|
40697
41867
|
"sectionGroup": {
|
|
40698
41868
|
"type": "string",
|
|
40699
41869
|
"description": "ID of the parent section group this group belongs to"
|
|
@@ -42508,97 +43678,6 @@
|
|
|
42508
43678
|
}
|
|
42509
43679
|
]
|
|
42510
43680
|
},
|
|
42511
|
-
"MigrateOrganizationParameters": {
|
|
42512
|
-
"type": "object",
|
|
42513
|
-
"properties": {
|
|
42514
|
-
"interval": {
|
|
42515
|
-
"description": "The desired billing interval",
|
|
42516
|
-
"$ref": "#/components/schemas/BillingInterval"
|
|
42517
|
-
},
|
|
42518
|
-
"product": {
|
|
42519
|
-
"type": "string",
|
|
42520
|
-
"description": "The new product to upgrade to",
|
|
42521
|
-
"enum": [
|
|
42522
|
-
"free_2024",
|
|
42523
|
-
"plus_2024",
|
|
42524
|
-
"pro_2024"
|
|
42525
|
-
]
|
|
42526
|
-
},
|
|
42527
|
-
"changes": {
|
|
42528
|
-
"$ref": "#/components/schemas/SubscriptionChanges"
|
|
42529
|
-
}
|
|
42530
|
-
},
|
|
42531
|
-
"required": [
|
|
42532
|
-
"product",
|
|
42533
|
-
"interval",
|
|
42534
|
-
"changes"
|
|
42535
|
-
]
|
|
42536
|
-
},
|
|
42537
|
-
"Error": {
|
|
42538
|
-
"type": "object",
|
|
42539
|
-
"required": [
|
|
42540
|
-
"error"
|
|
42541
|
-
],
|
|
42542
|
-
"properties": {
|
|
42543
|
-
"error": {
|
|
42544
|
-
"type": "object",
|
|
42545
|
-
"properties": {
|
|
42546
|
-
"code": {
|
|
42547
|
-
"type": "integer",
|
|
42548
|
-
"format": "int32"
|
|
42549
|
-
},
|
|
42550
|
-
"message": {
|
|
42551
|
-
"type": "string"
|
|
42552
|
-
}
|
|
42553
|
-
},
|
|
42554
|
-
"required": [
|
|
42555
|
-
"code",
|
|
42556
|
-
"message"
|
|
42557
|
-
]
|
|
42558
|
-
}
|
|
42559
|
-
}
|
|
42560
|
-
},
|
|
42561
|
-
"BillingDiscount": {
|
|
42562
|
-
"type": "object",
|
|
42563
|
-
"properties": {
|
|
42564
|
-
"duration": {
|
|
42565
|
-
"description": "How many months the discount will last",
|
|
42566
|
-
"type": "number"
|
|
42567
|
-
},
|
|
42568
|
-
"percentOff": {
|
|
42569
|
-
"description": "Percent that will be deducted from the subtotal of the invoice",
|
|
42570
|
-
"type": "number"
|
|
42571
|
-
}
|
|
42572
|
-
},
|
|
42573
|
-
"required": [
|
|
42574
|
-
"duration",
|
|
42575
|
-
"percentOff"
|
|
42576
|
-
]
|
|
42577
|
-
},
|
|
42578
|
-
"SitePageviews": {
|
|
42579
|
-
"type": "object",
|
|
42580
|
-
"properties": {
|
|
42581
|
-
"object": {
|
|
42582
|
-
"type": "string",
|
|
42583
|
-
"enum": [
|
|
42584
|
-
"site-pageviews"
|
|
42585
|
-
]
|
|
42586
|
-
},
|
|
42587
|
-
"siteId": {
|
|
42588
|
-
"type": "string",
|
|
42589
|
-
"description": "The identifier of the site"
|
|
42590
|
-
},
|
|
42591
|
-
"pageviews": {
|
|
42592
|
-
"description": "Number of pageviews in the past 30 days",
|
|
42593
|
-
"type": "number"
|
|
42594
|
-
}
|
|
42595
|
-
},
|
|
42596
|
-
"required": [
|
|
42597
|
-
"object",
|
|
42598
|
-
"siteId",
|
|
42599
|
-
"pageviews"
|
|
42600
|
-
]
|
|
42601
|
-
},
|
|
42602
43681
|
"BillingPortal": {
|
|
42603
43682
|
"type": "object",
|
|
42604
43683
|
"properties": {
|
|
@@ -42748,6 +43827,7 @@
|
|
|
42748
43827
|
"members-teams",
|
|
42749
43828
|
"members-team-owners",
|
|
42750
43829
|
"security-saml",
|
|
43830
|
+
"scim",
|
|
42751
43831
|
"change-requests-merge-rules"
|
|
42752
43832
|
]
|
|
42753
43833
|
},
|
|
@@ -43055,6 +44135,110 @@
|
|
|
43055
44135
|
"urls"
|
|
43056
44136
|
]
|
|
43057
44137
|
},
|
|
44138
|
+
"SCIMConnectionLabel": {
|
|
44139
|
+
"type": "string",
|
|
44140
|
+
"description": "Name of the SCIM connection, shown to organization admins.",
|
|
44141
|
+
"minLength": 1,
|
|
44142
|
+
"maxLength": 100
|
|
44143
|
+
},
|
|
44144
|
+
"SCIMConnectionProvider": {
|
|
44145
|
+
"type": "string",
|
|
44146
|
+
"description": "Identity provider that provisions members through the SCIM connection.",
|
|
44147
|
+
"enum": [
|
|
44148
|
+
"okta",
|
|
44149
|
+
"entra",
|
|
44150
|
+
"generic"
|
|
44151
|
+
]
|
|
44152
|
+
},
|
|
44153
|
+
"OrganizationSCIMConnection": {
|
|
44154
|
+
"type": "object",
|
|
44155
|
+
"description": "A SCIM connection through which an identity provider provisions organization members.",
|
|
44156
|
+
"properties": {
|
|
44157
|
+
"object": {
|
|
44158
|
+
"type": "string",
|
|
44159
|
+
"description": "The object type, which is always \"scim-connection\"",
|
|
44160
|
+
"enum": [
|
|
44161
|
+
"scim-connection"
|
|
44162
|
+
]
|
|
44163
|
+
},
|
|
44164
|
+
"id": {
|
|
44165
|
+
"type": "string",
|
|
44166
|
+
"description": "Unique identifier of the SCIM connection"
|
|
44167
|
+
},
|
|
44168
|
+
"label": {
|
|
44169
|
+
"$ref": "#/components/schemas/SCIMConnectionLabel"
|
|
44170
|
+
},
|
|
44171
|
+
"provider": {
|
|
44172
|
+
"$ref": "#/components/schemas/SCIMConnectionProvider"
|
|
44173
|
+
},
|
|
44174
|
+
"baseURL": {
|
|
44175
|
+
"description": "SCIM base URL to configure in the identity provider",
|
|
44176
|
+
"$ref": "#/components/schemas/URL"
|
|
44177
|
+
},
|
|
44178
|
+
"tokenHint": {
|
|
44179
|
+
"type": "string",
|
|
44180
|
+
"description": "Last characters of the current token, to identify it"
|
|
44181
|
+
},
|
|
44182
|
+
"tokenCreatedAt": {
|
|
44183
|
+
"description": "Date the current token was created",
|
|
44184
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
44185
|
+
},
|
|
44186
|
+
"lastUsedAt": {
|
|
44187
|
+
"description": "Date of the last request authenticated with the token",
|
|
44188
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
44189
|
+
},
|
|
44190
|
+
"createdAt": {
|
|
44191
|
+
"description": "Date of creation",
|
|
44192
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
44193
|
+
},
|
|
44194
|
+
"updatedAt": {
|
|
44195
|
+
"description": "Date of the last update",
|
|
44196
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
44197
|
+
},
|
|
44198
|
+
"urls": {
|
|
44199
|
+
"type": "object",
|
|
44200
|
+
"description": "URLs associated with the object",
|
|
44201
|
+
"properties": {
|
|
44202
|
+
"location": {
|
|
44203
|
+
"description": "URL of the SCIM connection in the API",
|
|
44204
|
+
"$ref": "#/components/schemas/URL"
|
|
44205
|
+
}
|
|
44206
|
+
},
|
|
44207
|
+
"required": [
|
|
44208
|
+
"location"
|
|
44209
|
+
]
|
|
44210
|
+
}
|
|
44211
|
+
},
|
|
44212
|
+
"required": [
|
|
44213
|
+
"object",
|
|
44214
|
+
"id",
|
|
44215
|
+
"label",
|
|
44216
|
+
"provider",
|
|
44217
|
+
"baseURL",
|
|
44218
|
+
"tokenHint",
|
|
44219
|
+
"tokenCreatedAt",
|
|
44220
|
+
"createdAt",
|
|
44221
|
+
"updatedAt",
|
|
44222
|
+
"urls"
|
|
44223
|
+
]
|
|
44224
|
+
},
|
|
44225
|
+
"OrganizationSCIMConnectionWithToken": {
|
|
44226
|
+
"description": "A SCIM connection with its token, returned only when the token is created.",
|
|
44227
|
+
"type": "object",
|
|
44228
|
+
"properties": {
|
|
44229
|
+
"connection": {
|
|
44230
|
+
"$ref": "#/components/schemas/OrganizationSCIMConnection"
|
|
44231
|
+
},
|
|
44232
|
+
"token": {
|
|
44233
|
+
"type": "string",
|
|
44234
|
+
"description": "Bearer token to configure in the identity provider. It can't be retrieved again."
|
|
44235
|
+
}
|
|
44236
|
+
},
|
|
44237
|
+
"required": [
|
|
44238
|
+
"connection",
|
|
44239
|
+
"token"
|
|
44240
|
+
]
|
|
44241
|
+
},
|
|
43058
44242
|
"OrganizationSSOProviderLogin": {
|
|
43059
44243
|
"type": "object",
|
|
43060
44244
|
"properties": {
|
|
@@ -43106,59 +44290,34 @@
|
|
|
43106
44290
|
"OrganizationUsageSites": {
|
|
43107
44291
|
"type": "object",
|
|
43108
44292
|
"description": "Sites usage metrics of an organization",
|
|
43109
|
-
"
|
|
43110
|
-
{
|
|
43111
|
-
"
|
|
43112
|
-
|
|
43113
|
-
"description": "Count of all sites",
|
|
43114
|
-
"type": "number"
|
|
43115
|
-
},
|
|
43116
|
-
"legacyBasic": {
|
|
43117
|
-
"description": "Count of all legacy basic sites",
|
|
43118
|
-
"type": "number"
|
|
43119
|
-
},
|
|
43120
|
-
"legacyPremium": {
|
|
43121
|
-
"description": "Count of all legacy premium sites",
|
|
43122
|
-
"type": "number"
|
|
43123
|
-
}
|
|
43124
|
-
},
|
|
43125
|
-
"required": [
|
|
43126
|
-
"total",
|
|
43127
|
-
"legacyBasic",
|
|
43128
|
-
"legacyPremium"
|
|
43129
|
-
]
|
|
44293
|
+
"properties": {
|
|
44294
|
+
"total": {
|
|
44295
|
+
"description": "Count of all sites",
|
|
44296
|
+
"type": "number"
|
|
43130
44297
|
},
|
|
43131
|
-
{
|
|
43132
|
-
"
|
|
43133
|
-
|
|
43134
|
-
|
|
43135
|
-
|
|
43136
|
-
|
|
43137
|
-
|
|
43138
|
-
|
|
43139
|
-
|
|
43140
|
-
|
|
43141
|
-
|
|
43142
|
-
|
|
43143
|
-
|
|
43144
|
-
|
|
43145
|
-
|
|
43146
|
-
"description": "Count of all ultimate sites",
|
|
43147
|
-
"type": "number"
|
|
43148
|
-
},
|
|
43149
|
-
"sponsored": {
|
|
43150
|
-
"description": "Count of all sponsored sites",
|
|
43151
|
-
"type": "number"
|
|
43152
|
-
}
|
|
43153
|
-
},
|
|
43154
|
-
"required": [
|
|
43155
|
-
"total",
|
|
43156
|
-
"basic",
|
|
43157
|
-
"premium",
|
|
43158
|
-
"ultimate",
|
|
43159
|
-
"sponsored"
|
|
43160
|
-
]
|
|
44298
|
+
"basic": {
|
|
44299
|
+
"description": "Count of all basic sites",
|
|
44300
|
+
"type": "number"
|
|
44301
|
+
},
|
|
44302
|
+
"premium": {
|
|
44303
|
+
"description": "Count of all premium sites",
|
|
44304
|
+
"type": "number"
|
|
44305
|
+
},
|
|
44306
|
+
"ultimate": {
|
|
44307
|
+
"description": "Count of all ultimate sites",
|
|
44308
|
+
"type": "number"
|
|
44309
|
+
},
|
|
44310
|
+
"sponsored": {
|
|
44311
|
+
"description": "Count of all sponsored sites",
|
|
44312
|
+
"type": "number"
|
|
43161
44313
|
}
|
|
44314
|
+
},
|
|
44315
|
+
"required": [
|
|
44316
|
+
"total",
|
|
44317
|
+
"basic",
|
|
44318
|
+
"premium",
|
|
44319
|
+
"ultimate",
|
|
44320
|
+
"sponsored"
|
|
43162
44321
|
]
|
|
43163
44322
|
},
|
|
43164
44323
|
"OrganizationUsageTeams": {
|
|
@@ -43179,11 +44338,35 @@
|
|
|
43179
44338
|
"description": "Members usage metrics of an organization",
|
|
43180
44339
|
"properties": {
|
|
43181
44340
|
"total": {
|
|
43182
|
-
"description": "Count of all members",
|
|
44341
|
+
"description": "Count of all members, including disabled ones",
|
|
43183
44342
|
"type": "number"
|
|
43184
44343
|
},
|
|
44344
|
+
"active": {
|
|
44345
|
+
"description": "Count of members that are not disabled",
|
|
44346
|
+
"type": "number"
|
|
44347
|
+
},
|
|
44348
|
+
"disabled": {
|
|
44349
|
+
"description": "Count of disabled members, by the reason they are disabled",
|
|
44350
|
+
"type": "object",
|
|
44351
|
+
"properties": {
|
|
44352
|
+
"billing": {
|
|
44353
|
+
"type": "number"
|
|
44354
|
+
},
|
|
44355
|
+
"scim": {
|
|
44356
|
+
"type": "number"
|
|
44357
|
+
},
|
|
44358
|
+
"admin": {
|
|
44359
|
+
"type": "number"
|
|
44360
|
+
}
|
|
44361
|
+
},
|
|
44362
|
+
"required": [
|
|
44363
|
+
"billing",
|
|
44364
|
+
"scim",
|
|
44365
|
+
"admin"
|
|
44366
|
+
]
|
|
44367
|
+
},
|
|
43185
44368
|
"seats": {
|
|
43186
|
-
"description": "Count of
|
|
44369
|
+
"description": "Count of paid seats. On the Free plan, it includes members disabled for billing, since\nupgrading re-enables them. On paid plans, it only includes active members.\n",
|
|
43187
44370
|
"type": "number"
|
|
43188
44371
|
},
|
|
43189
44372
|
"admin": {
|
|
@@ -43217,6 +44400,8 @@
|
|
|
43217
44400
|
},
|
|
43218
44401
|
"required": [
|
|
43219
44402
|
"total",
|
|
44403
|
+
"active",
|
|
44404
|
+
"disabled",
|
|
43220
44405
|
"seats",
|
|
43221
44406
|
"admin",
|
|
43222
44407
|
"create",
|
|
@@ -43817,7 +45002,8 @@
|
|
|
43817
45002
|
"enum": [
|
|
43818
45003
|
"pending",
|
|
43819
45004
|
"running",
|
|
43820
|
-
"completed"
|
|
45005
|
+
"completed",
|
|
45006
|
+
"failed"
|
|
43821
45007
|
]
|
|
43822
45008
|
},
|
|
43823
45009
|
"TranslationSource": {
|
|
@@ -44771,6 +45957,30 @@
|
|
|
44771
45957
|
}
|
|
44772
45958
|
]
|
|
44773
45959
|
},
|
|
45960
|
+
"Error": {
|
|
45961
|
+
"type": "object",
|
|
45962
|
+
"required": [
|
|
45963
|
+
"error"
|
|
45964
|
+
],
|
|
45965
|
+
"properties": {
|
|
45966
|
+
"error": {
|
|
45967
|
+
"type": "object",
|
|
45968
|
+
"properties": {
|
|
45969
|
+
"code": {
|
|
45970
|
+
"type": "integer",
|
|
45971
|
+
"format": "int32"
|
|
45972
|
+
},
|
|
45973
|
+
"message": {
|
|
45974
|
+
"type": "string"
|
|
45975
|
+
}
|
|
45976
|
+
},
|
|
45977
|
+
"required": [
|
|
45978
|
+
"code",
|
|
45979
|
+
"message"
|
|
45980
|
+
]
|
|
45981
|
+
}
|
|
45982
|
+
}
|
|
45983
|
+
},
|
|
44774
45984
|
"SiteAdaptiveRegions": {
|
|
44775
45985
|
"type": "object",
|
|
44776
45986
|
"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.",
|
|
@@ -46327,6 +47537,49 @@
|
|
|
46327
47537
|
"scripts"
|
|
46328
47538
|
]
|
|
46329
47539
|
},
|
|
47540
|
+
"SiteSetupStepId": {
|
|
47541
|
+
"type": "string",
|
|
47542
|
+
"description": "A step of the setup of a site, in the order they are done.",
|
|
47543
|
+
"enum": [
|
|
47544
|
+
"first-edit",
|
|
47545
|
+
"customize",
|
|
47546
|
+
"git-sync",
|
|
47547
|
+
"domain",
|
|
47548
|
+
"publish"
|
|
47549
|
+
]
|
|
47550
|
+
},
|
|
47551
|
+
"SiteSetup": {
|
|
47552
|
+
"type": "object",
|
|
47553
|
+
"description": "Steps to set up a site, each completed or not from the site's current data.",
|
|
47554
|
+
"properties": {
|
|
47555
|
+
"steps": {
|
|
47556
|
+
"type": "array",
|
|
47557
|
+
"description": "Every setup step, in order. Empty once the site has been published, which ends the setup even if other steps are not completed.",
|
|
47558
|
+
"items": {
|
|
47559
|
+
"type": "object",
|
|
47560
|
+
"properties": {
|
|
47561
|
+
"id": {
|
|
47562
|
+
"$ref": "#/components/schemas/SiteSetupStepId"
|
|
47563
|
+
},
|
|
47564
|
+
"completed": {
|
|
47565
|
+
"type": "boolean"
|
|
47566
|
+
},
|
|
47567
|
+
"action": {
|
|
47568
|
+
"type": "string",
|
|
47569
|
+
"description": "How to complete the step. Only present when it is not completed."
|
|
47570
|
+
}
|
|
47571
|
+
},
|
|
47572
|
+
"required": [
|
|
47573
|
+
"id",
|
|
47574
|
+
"completed"
|
|
47575
|
+
]
|
|
47576
|
+
}
|
|
47577
|
+
}
|
|
47578
|
+
},
|
|
47579
|
+
"required": [
|
|
47580
|
+
"steps"
|
|
47581
|
+
]
|
|
47582
|
+
},
|
|
46330
47583
|
"SiteChangeRequestMemberStatus": {
|
|
46331
47584
|
"type": "string",
|
|
46332
47585
|
"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.",
|
|
@@ -47564,6 +48817,25 @@
|
|
|
47564
48817
|
"high"
|
|
47565
48818
|
]
|
|
47566
48819
|
},
|
|
48820
|
+
"SiteFindingAutoResolution": {
|
|
48821
|
+
"type": "string",
|
|
48822
|
+
"description": "What GitBook did on its own to resolve a finding.\n - `drafted` drafted a fix that waits for approval.\n - `applied` has its fix live, applied on its own or approved from a draft, resolving the finding.\n - `undone` had its fix undone or rejected, so GitBook won't try again.\n",
|
|
48823
|
+
"enum": [
|
|
48824
|
+
"drafted",
|
|
48825
|
+
"applied",
|
|
48826
|
+
"undone"
|
|
48827
|
+
]
|
|
48828
|
+
},
|
|
48829
|
+
"SiteFindingState": {
|
|
48830
|
+
"type": "string",
|
|
48831
|
+
"description": "Where a link finding stands, from its status and what GitBook did with it.\n - `open` needs a fix.\n - `awaiting-approval` has a redirect GitBook drafted at its path, waiting to be approved or rejected.\n - `resolved` was fixed or closed: `servingRedirect` says whether a live redirect serves its path.\n - `ignored` was dismissed.\n",
|
|
48832
|
+
"enum": [
|
|
48833
|
+
"open",
|
|
48834
|
+
"awaiting-approval",
|
|
48835
|
+
"resolved",
|
|
48836
|
+
"ignored"
|
|
48837
|
+
]
|
|
48838
|
+
},
|
|
47567
48839
|
"SiteTriageFilterQuestions": {
|
|
47568
48840
|
"type": "string",
|
|
47569
48841
|
"description": "Findings source filter matching evidence coming from site questions.\n",
|
|
@@ -47592,6 +48864,65 @@
|
|
|
47592
48864
|
"description": "Short finding title",
|
|
47593
48865
|
"maxLength": 256
|
|
47594
48866
|
},
|
|
48867
|
+
"SiteFindingServingRedirect": {
|
|
48868
|
+
"type": "object",
|
|
48869
|
+
"title": "Serving redirect",
|
|
48870
|
+
"description": "The live redirect serving a `broken-link` finding's path.",
|
|
48871
|
+
"properties": {
|
|
48872
|
+
"redirect": {
|
|
48873
|
+
"type": "string",
|
|
48874
|
+
"description": "ID of the redirect."
|
|
48875
|
+
},
|
|
48876
|
+
"wildcard": {
|
|
48877
|
+
"type": "boolean",
|
|
48878
|
+
"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."
|
|
48879
|
+
},
|
|
48880
|
+
"createdByAgent": {
|
|
48881
|
+
"type": "boolean",
|
|
48882
|
+
"description": "Whether GitBook created the redirect on its own."
|
|
48883
|
+
}
|
|
48884
|
+
},
|
|
48885
|
+
"required": [
|
|
48886
|
+
"redirect",
|
|
48887
|
+
"wildcard",
|
|
48888
|
+
"createdByAgent"
|
|
48889
|
+
]
|
|
48890
|
+
},
|
|
48891
|
+
"SiteFindingAction": {
|
|
48892
|
+
"type": "string",
|
|
48893
|
+
"description": "An action that moves a finding to another state. A finding's `actions` lists the ones it allows.\n - `approve` makes the redirect GitBook drafted for a broken link live, which resolves the finding.\n - `reject` deletes the redirect GitBook drafted for a broken link; the finding stays open and GitBook won't draft a fix for it again.\n - `create-redirect` creates a redirect for a broken link's path with `createSiteRedirect`, prefilled with the suggestion; it resolves the finding.\n - `mark-resolved` resolves it. A broken link resolved this way has no redirect: visitors still get a 404.\n - `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.\n - `ignore` dismisses it.\n - `restore` reopens a dismissed finding.\n",
|
|
48894
|
+
"enum": [
|
|
48895
|
+
"approve",
|
|
48896
|
+
"reject",
|
|
48897
|
+
"create-redirect",
|
|
48898
|
+
"mark-resolved",
|
|
48899
|
+
"reopen",
|
|
48900
|
+
"ignore",
|
|
48901
|
+
"restore"
|
|
48902
|
+
]
|
|
48903
|
+
},
|
|
48904
|
+
"SiteFindingAvailableAction": {
|
|
48905
|
+
"type": "object",
|
|
48906
|
+
"title": "Available action",
|
|
48907
|
+
"description": "An action a finding allows now, with the site permission it needs.",
|
|
48908
|
+
"properties": {
|
|
48909
|
+
"action": {
|
|
48910
|
+
"$ref": "#/components/schemas/SiteFindingAction"
|
|
48911
|
+
},
|
|
48912
|
+
"permission": {
|
|
48913
|
+
"type": "string",
|
|
48914
|
+
"description": "Site permission the action needs.",
|
|
48915
|
+
"enum": [
|
|
48916
|
+
"edit",
|
|
48917
|
+
"admin"
|
|
48918
|
+
]
|
|
48919
|
+
}
|
|
48920
|
+
},
|
|
48921
|
+
"required": [
|
|
48922
|
+
"action",
|
|
48923
|
+
"permission"
|
|
48924
|
+
]
|
|
48925
|
+
},
|
|
47595
48926
|
"SiteRedirectSourcePath": {
|
|
47596
48927
|
"type": "string",
|
|
47597
48928
|
"description": "The source path to redirect from.",
|
|
@@ -47643,16 +48974,20 @@
|
|
|
47643
48974
|
},
|
|
47644
48975
|
"SiteFindingOutboundLink": {
|
|
47645
48976
|
"type": "object",
|
|
47646
|
-
"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.",
|
|
48977
|
+
"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.",
|
|
47647
48978
|
"properties": {
|
|
47648
48979
|
"url": {
|
|
47649
48980
|
"type": "string",
|
|
47650
48981
|
"format": "uri",
|
|
47651
|
-
"description": "The external URL that fails
|
|
48982
|
+
"description": "The external URL that fails. Absent when `host` is set."
|
|
48983
|
+
},
|
|
48984
|
+
"host": {
|
|
48985
|
+
"type": "string",
|
|
48986
|
+
"description": "The domain that doesn't resolve, set instead of `url` when the finding covers every link to that domain on the site."
|
|
47652
48987
|
},
|
|
47653
48988
|
"status": {
|
|
47654
48989
|
"type": "string",
|
|
47655
|
-
"description": "Current health status of the URL for this site.",
|
|
48990
|
+
"description": "Current health status of the URL or domain for this site.",
|
|
47656
48991
|
"enum": [
|
|
47657
48992
|
"pending",
|
|
47658
48993
|
"healthy",
|
|
@@ -47681,13 +49016,9 @@
|
|
|
47681
49016
|
},
|
|
47682
49017
|
"checkedAt": {
|
|
47683
49018
|
"$ref": "#/components/schemas/Timestamp",
|
|
47684
|
-
"description": "When the URL was last observed
|
|
49019
|
+
"description": "When the URL or domain was last observed."
|
|
47685
49020
|
}
|
|
47686
|
-
}
|
|
47687
|
-
"required": [
|
|
47688
|
-
"url",
|
|
47689
|
-
"status"
|
|
47690
|
-
]
|
|
49021
|
+
}
|
|
47691
49022
|
},
|
|
47692
49023
|
"SiteFinding": {
|
|
47693
49024
|
"type": "object",
|
|
@@ -47748,6 +49079,30 @@
|
|
|
47748
49079
|
"type": "boolean",
|
|
47749
49080
|
"description": "Whether an AI agent should be able to fix this finding directly"
|
|
47750
49081
|
},
|
|
49082
|
+
"autoResolution": {
|
|
49083
|
+
"description": "What GitBook did on its own to resolve the finding. Null when it never acted on the finding.",
|
|
49084
|
+
"oneOf": [
|
|
49085
|
+
{
|
|
49086
|
+
"$ref": "#/components/schemas/SiteFindingAutoResolution"
|
|
49087
|
+
},
|
|
49088
|
+
{
|
|
49089
|
+
"type": "null"
|
|
49090
|
+
}
|
|
49091
|
+
]
|
|
49092
|
+
},
|
|
49093
|
+
"state": {
|
|
49094
|
+
"$ref": "#/components/schemas/SiteFindingState"
|
|
49095
|
+
},
|
|
49096
|
+
"servingRedirect": {
|
|
49097
|
+
"$ref": "#/components/schemas/SiteFindingServingRedirect"
|
|
49098
|
+
},
|
|
49099
|
+
"actions": {
|
|
49100
|
+
"type": "array",
|
|
49101
|
+
"description": "Actions the finding allows now, applied with `applySiteFindingAction`.",
|
|
49102
|
+
"items": {
|
|
49103
|
+
"$ref": "#/components/schemas/SiteFindingAvailableAction"
|
|
49104
|
+
}
|
|
49105
|
+
},
|
|
47751
49106
|
"brokenLinkAction": {
|
|
47752
49107
|
"$ref": "#/components/schemas/SiteFindingBrokenLinkAction"
|
|
47753
49108
|
},
|
|
@@ -47790,6 +49145,7 @@
|
|
|
47790
49145
|
"severity",
|
|
47791
49146
|
"description",
|
|
47792
49147
|
"autoFixable",
|
|
49148
|
+
"autoResolution",
|
|
47793
49149
|
"createdAt",
|
|
47794
49150
|
"updatedAt",
|
|
47795
49151
|
"urls"
|
|
@@ -47939,6 +49295,30 @@
|
|
|
47939
49295
|
"type": "number"
|
|
47940
49296
|
}
|
|
47941
49297
|
},
|
|
49298
|
+
"SiteQuestionStatsVisitorTypes": {
|
|
49299
|
+
"type": "object",
|
|
49300
|
+
"description": "Count of answers by visitor type.",
|
|
49301
|
+
"properties": {
|
|
49302
|
+
"human": {
|
|
49303
|
+
"type": "number"
|
|
49304
|
+
},
|
|
49305
|
+
"agent": {
|
|
49306
|
+
"type": "number"
|
|
49307
|
+
},
|
|
49308
|
+
"bot": {
|
|
49309
|
+
"type": "number"
|
|
49310
|
+
},
|
|
49311
|
+
"unknown": {
|
|
49312
|
+
"type": "number"
|
|
49313
|
+
}
|
|
49314
|
+
},
|
|
49315
|
+
"required": [
|
|
49316
|
+
"human",
|
|
49317
|
+
"agent",
|
|
49318
|
+
"bot",
|
|
49319
|
+
"unknown"
|
|
49320
|
+
]
|
|
49321
|
+
},
|
|
47942
49322
|
"SiteQuestionStats": {
|
|
47943
49323
|
"type": "object",
|
|
47944
49324
|
"description": "Aggregated stats for questions and linked answers.",
|
|
@@ -47969,6 +49349,9 @@
|
|
|
47969
49349
|
"channels": {
|
|
47970
49350
|
"$ref": "#/components/schemas/SiteQuestionStatsChannels"
|
|
47971
49351
|
},
|
|
49352
|
+
"visitorTypes": {
|
|
49353
|
+
"$ref": "#/components/schemas/SiteQuestionStatsVisitorTypes"
|
|
49354
|
+
},
|
|
47972
49355
|
"weeklyPulse": {
|
|
47973
49356
|
"type": "array",
|
|
47974
49357
|
"minItems": 13,
|
|
@@ -47988,6 +49371,7 @@
|
|
|
47988
49371
|
"types",
|
|
47989
49372
|
"channelTypes",
|
|
47990
49373
|
"channels",
|
|
49374
|
+
"visitorTypes",
|
|
47991
49375
|
"weeklyPulse"
|
|
47992
49376
|
]
|
|
47993
49377
|
},
|
|
@@ -48934,6 +50318,16 @@
|
|
|
48934
50318
|
}
|
|
48935
50319
|
]
|
|
48936
50320
|
},
|
|
50321
|
+
"SiteQuestionVisitorType": {
|
|
50322
|
+
"type": "string",
|
|
50323
|
+
"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.",
|
|
50324
|
+
"enum": [
|
|
50325
|
+
"human",
|
|
50326
|
+
"agent",
|
|
50327
|
+
"bot",
|
|
50328
|
+
"unknown"
|
|
50329
|
+
]
|
|
50330
|
+
},
|
|
48937
50331
|
"SiteQuestionAnswerResolution": {
|
|
48938
50332
|
"type": "string",
|
|
48939
50333
|
"description": "Whether the response answered the question.",
|
|
@@ -49338,6 +50732,9 @@
|
|
|
49338
50732
|
}
|
|
49339
50733
|
]
|
|
49340
50734
|
},
|
|
50735
|
+
"visitorType": {
|
|
50736
|
+
"$ref": "#/components/schemas/SiteQuestionVisitorType"
|
|
50737
|
+
},
|
|
49341
50738
|
"createdAt": {
|
|
49342
50739
|
"$ref": "#/components/schemas/Timestamp"
|
|
49343
50740
|
},
|
|
@@ -49371,6 +50768,7 @@
|
|
|
49371
50768
|
"helpfulness",
|
|
49372
50769
|
"relevance",
|
|
49373
50770
|
"channel",
|
|
50771
|
+
"visitorType",
|
|
49374
50772
|
"createdAt",
|
|
49375
50773
|
"urls"
|
|
49376
50774
|
]
|
|
@@ -50161,6 +51559,30 @@
|
|
|
50161
51559
|
"reason"
|
|
50162
51560
|
]
|
|
50163
51561
|
},
|
|
51562
|
+
"AIToolCallMergeChangeRequest": {
|
|
51563
|
+
"type": "object",
|
|
51564
|
+
"properties": {
|
|
51565
|
+
"tool": {
|
|
51566
|
+
"type": "string",
|
|
51567
|
+
"enum": [
|
|
51568
|
+
"mergeChangeRequest"
|
|
51569
|
+
]
|
|
51570
|
+
},
|
|
51571
|
+
"spaceId": {
|
|
51572
|
+
"type": "string",
|
|
51573
|
+
"description": "The ID of the space the change request belongs to."
|
|
51574
|
+
},
|
|
51575
|
+
"changeRequestId": {
|
|
51576
|
+
"type": "string",
|
|
51577
|
+
"description": "The ID of the change request that was merged."
|
|
51578
|
+
}
|
|
51579
|
+
},
|
|
51580
|
+
"required": [
|
|
51581
|
+
"tool",
|
|
51582
|
+
"spaceId",
|
|
51583
|
+
"changeRequestId"
|
|
51584
|
+
]
|
|
51585
|
+
},
|
|
50164
51586
|
"AIToolCallComment": {
|
|
50165
51587
|
"type": "object",
|
|
50166
51588
|
"properties": {
|
|
@@ -50369,6 +51791,72 @@
|
|
|
50369
51791
|
"totalPages"
|
|
50370
51792
|
]
|
|
50371
51793
|
},
|
|
51794
|
+
"AIToolCallImportOpenAPISpec": {
|
|
51795
|
+
"type": "object",
|
|
51796
|
+
"properties": {
|
|
51797
|
+
"tool": {
|
|
51798
|
+
"type": "string",
|
|
51799
|
+
"enum": [
|
|
51800
|
+
"importOpenAPISpec"
|
|
51801
|
+
]
|
|
51802
|
+
},
|
|
51803
|
+
"spaceId": {
|
|
51804
|
+
"type": "string",
|
|
51805
|
+
"description": "The ID of the space the API reference is added to."
|
|
51806
|
+
},
|
|
51807
|
+
"changeRequestId": {
|
|
51808
|
+
"type": "string",
|
|
51809
|
+
"description": "The ID of the change request the API reference is added to."
|
|
51810
|
+
},
|
|
51811
|
+
"specSlug": {
|
|
51812
|
+
"type": "string",
|
|
51813
|
+
"description": "The slug of the OpenAPI spec the reference is generated from."
|
|
51814
|
+
},
|
|
51815
|
+
"url": {
|
|
51816
|
+
"type": "string",
|
|
51817
|
+
"description": "The URL the spec is imported from, when importing from a URL."
|
|
51818
|
+
},
|
|
51819
|
+
"file": {
|
|
51820
|
+
"type": "string",
|
|
51821
|
+
"description": "Name of the attached file the spec is imported from, when importing a file."
|
|
51822
|
+
}
|
|
51823
|
+
},
|
|
51824
|
+
"required": [
|
|
51825
|
+
"tool",
|
|
51826
|
+
"spaceId",
|
|
51827
|
+
"changeRequestId",
|
|
51828
|
+
"specSlug"
|
|
51829
|
+
]
|
|
51830
|
+
},
|
|
51831
|
+
"AIToolCallSiteSetupStep": {
|
|
51832
|
+
"type": "object",
|
|
51833
|
+
"properties": {
|
|
51834
|
+
"tool": {
|
|
51835
|
+
"type": "string",
|
|
51836
|
+
"enum": [
|
|
51837
|
+
"siteSetupStep"
|
|
51838
|
+
]
|
|
51839
|
+
},
|
|
51840
|
+
"step": {
|
|
51841
|
+
"$ref": "#/components/schemas/SiteSetupStepId"
|
|
51842
|
+
},
|
|
51843
|
+
"status": {
|
|
51844
|
+
"type": "string",
|
|
51845
|
+
"description": "Where the setup step stands in the conversation.\n* `current`: The step is being worked on.\n* `done`: The step is completed.\n* `skipped`: The user skipped the step.\n* `pending`: The step is not started: it waits again after the user went back to an earlier step.\n",
|
|
51846
|
+
"enum": [
|
|
51847
|
+
"current",
|
|
51848
|
+
"done",
|
|
51849
|
+
"skipped",
|
|
51850
|
+
"pending"
|
|
51851
|
+
]
|
|
51852
|
+
}
|
|
51853
|
+
},
|
|
51854
|
+
"required": [
|
|
51855
|
+
"tool",
|
|
51856
|
+
"step",
|
|
51857
|
+
"status"
|
|
51858
|
+
]
|
|
51859
|
+
},
|
|
50372
51860
|
"AIToolCallStartBackgroundAgent": {
|
|
50373
51861
|
"type": "object",
|
|
50374
51862
|
"description": "Tool call recording that the agent started a background agent: a child conversation running one bounded task on its own, in parallel with the conversation that started it. The client renders its live status from `AgentState.backgroundAgents`, matched on `agentId`, and can open the child conversation to read what it did.\n",
|
|
@@ -50547,6 +52035,9 @@
|
|
|
50547
52035
|
{
|
|
50548
52036
|
"$ref": "#/components/schemas/AIToolCallArchiveChangeRequest"
|
|
50549
52037
|
},
|
|
52038
|
+
{
|
|
52039
|
+
"$ref": "#/components/schemas/AIToolCallMergeChangeRequest"
|
|
52040
|
+
},
|
|
50550
52041
|
{
|
|
50551
52042
|
"$ref": "#/components/schemas/AIToolCallComment"
|
|
50552
52043
|
},
|
|
@@ -50565,6 +52056,12 @@
|
|
|
50565
52056
|
{
|
|
50566
52057
|
"$ref": "#/components/schemas/AIToolCallCheckContentImport"
|
|
50567
52058
|
},
|
|
52059
|
+
{
|
|
52060
|
+
"$ref": "#/components/schemas/AIToolCallImportOpenAPISpec"
|
|
52061
|
+
},
|
|
52062
|
+
{
|
|
52063
|
+
"$ref": "#/components/schemas/AIToolCallSiteSetupStep"
|
|
52064
|
+
},
|
|
50568
52065
|
{
|
|
50569
52066
|
"$ref": "#/components/schemas/AIToolCallStartBackgroundAgent"
|
|
50570
52067
|
},
|
|
@@ -50967,6 +52464,10 @@
|
|
|
50967
52464
|
"type": "string",
|
|
50968
52465
|
"format": "date-time",
|
|
50969
52466
|
"description": "When the message was added to the conversation. Absent on messages recorded before this field existed.\n"
|
|
52467
|
+
},
|
|
52468
|
+
"clientMessageId": {
|
|
52469
|
+
"type": "string",
|
|
52470
|
+
"description": "The identifier the client gave the message when it sent it. Absent on messages the agent wrote, and on messages sent without one.\n"
|
|
50970
52471
|
}
|
|
50971
52472
|
},
|
|
50972
52473
|
"required": [
|
|
@@ -51233,8 +52734,7 @@
|
|
|
51233
52734
|
"$ref": "#/components/schemas/UserSitePermissionOrigin"
|
|
51234
52735
|
},
|
|
51235
52736
|
"disabled": {
|
|
51236
|
-
"
|
|
51237
|
-
"description": "Whether the user is disabled"
|
|
52737
|
+
"$ref": "#/components/schemas/MemberDisabled"
|
|
51238
52738
|
},
|
|
51239
52739
|
"lastSeenAt": {
|
|
51240
52740
|
"description": "Date at which the user was last seen",
|
|
@@ -51306,6 +52806,11 @@
|
|
|
51306
52806
|
"items": {
|
|
51307
52807
|
"$ref": "#/components/schemas/AIAttachment"
|
|
51308
52808
|
}
|
|
52809
|
+
},
|
|
52810
|
+
"clientMessageId": {
|
|
52811
|
+
"type": "string",
|
|
52812
|
+
"maxLength": 64,
|
|
52813
|
+
"description": "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.\n"
|
|
51309
52814
|
}
|
|
51310
52815
|
},
|
|
51311
52816
|
"required": [
|
|
@@ -51750,6 +53255,32 @@
|
|
|
51750
53255
|
}
|
|
51751
53256
|
]
|
|
51752
53257
|
},
|
|
53258
|
+
"SiteSettingsBrokenLinksAutonomyLevel": {
|
|
53259
|
+
"type": "string",
|
|
53260
|
+
"description": "How much GitBook may do on its own when it resolves broken links automatically. GitBook never\napplies a fix it isn't sure about, at any level.\n - `suggest-fixes` drafts fixes for approval and applies none.\n - `fix-clear-matches` applies the clearest fixes and drafts the less certain ones for approval.\n - `fix-close-matches` applies the clear and the close fixes.\n",
|
|
53261
|
+
"enum": [
|
|
53262
|
+
"suggest-fixes",
|
|
53263
|
+
"fix-clear-matches",
|
|
53264
|
+
"fix-close-matches"
|
|
53265
|
+
]
|
|
53266
|
+
},
|
|
53267
|
+
"SiteSettingsBrokenLinks": {
|
|
53268
|
+
"type": "object",
|
|
53269
|
+
"description": "Settings for how GitBook resolves the broken links it finds on a site.",
|
|
53270
|
+
"properties": {
|
|
53271
|
+
"autoResolve": {
|
|
53272
|
+
"type": "boolean",
|
|
53273
|
+
"description": "Whether GitBook resolves broken links automatically."
|
|
53274
|
+
},
|
|
53275
|
+
"autonomyLevel": {
|
|
53276
|
+
"$ref": "#/components/schemas/SiteSettingsBrokenLinksAutonomyLevel"
|
|
53277
|
+
}
|
|
53278
|
+
},
|
|
53279
|
+
"required": [
|
|
53280
|
+
"autoResolve",
|
|
53281
|
+
"autonomyLevel"
|
|
53282
|
+
]
|
|
53283
|
+
},
|
|
51753
53284
|
"SiteSettingsScanTopics": {
|
|
51754
53285
|
"type": "string",
|
|
51755
53286
|
"enum": [
|
|
@@ -51805,6 +53336,9 @@
|
|
|
51805
53336
|
"required": [
|
|
51806
53337
|
"customInstructions"
|
|
51807
53338
|
]
|
|
53339
|
+
},
|
|
53340
|
+
"brokenLinks": {
|
|
53341
|
+
"$ref": "#/components/schemas/SiteSettingsBrokenLinks"
|
|
51808
53342
|
}
|
|
51809
53343
|
},
|
|
51810
53344
|
"required": [
|
|
@@ -51824,6 +53358,9 @@
|
|
|
51824
53358
|
"site-agent-settings"
|
|
51825
53359
|
]
|
|
51826
53360
|
},
|
|
53361
|
+
"brokenLinks": {
|
|
53362
|
+
"$ref": "#/components/schemas/SiteSettingsBrokenLinks"
|
|
53363
|
+
},
|
|
51827
53364
|
"updatedAt": {
|
|
51828
53365
|
"$ref": "#/components/schemas/Timestamp"
|
|
51829
53366
|
},
|
|
@@ -51846,6 +53383,7 @@
|
|
|
51846
53383
|
},
|
|
51847
53384
|
"required": [
|
|
51848
53385
|
"object",
|
|
53386
|
+
"brokenLinks",
|
|
51849
53387
|
"urls"
|
|
51850
53388
|
]
|
|
51851
53389
|
},
|
|
@@ -51900,6 +53438,10 @@
|
|
|
51900
53438
|
"createdBy"
|
|
51901
53439
|
]
|
|
51902
53440
|
},
|
|
53441
|
+
"SiteInsightsUserAgent": {
|
|
53442
|
+
"type": "string",
|
|
53443
|
+
"description": "User agent of the visitor.\nhttps://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent\n"
|
|
53444
|
+
},
|
|
51903
53445
|
"SiteInsightsEventSession": {
|
|
51904
53446
|
"allOf": [
|
|
51905
53447
|
{
|
|
@@ -51921,8 +53463,7 @@
|
|
|
51921
53463
|
"description": "IP address of the visitor.\nIf not defined, it'll default to the IP executing the request.\n"
|
|
51922
53464
|
},
|
|
51923
53465
|
"userAgent": {
|
|
51924
|
-
"
|
|
51925
|
-
"description": "User-agent of the visitor.\nhttps://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent\n"
|
|
53466
|
+
"$ref": "#/components/schemas/SiteInsightsUserAgent"
|
|
51926
53467
|
},
|
|
51927
53468
|
"language": {
|
|
51928
53469
|
"type": [
|
|
@@ -52842,7 +54383,7 @@
|
|
|
52842
54383
|
},
|
|
52843
54384
|
{
|
|
52844
54385
|
"type": "object",
|
|
52845
|
-
"description": "Day of the week the event happened
|
|
54386
|
+
"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.",
|
|
52846
54387
|
"required": [
|
|
52847
54388
|
"column"
|
|
52848
54389
|
],
|
|
@@ -52852,12 +54393,17 @@
|
|
|
52852
54393
|
"enum": [
|
|
52853
54394
|
"dayOfWeek"
|
|
52854
54395
|
]
|
|
54396
|
+
},
|
|
54397
|
+
"timezone": {
|
|
54398
|
+
"type": "string",
|
|
54399
|
+
"description": "IANA time zone the event is read in, UTC when omitted.",
|
|
54400
|
+
"example": "Europe/Paris"
|
|
52855
54401
|
}
|
|
52856
54402
|
}
|
|
52857
54403
|
},
|
|
52858
54404
|
{
|
|
52859
54405
|
"type": "object",
|
|
52860
|
-
"description": "Hour of the day the event happened
|
|
54406
|
+
"description": "Hour of the day the event happened in `timezone`, from 0 to 23.",
|
|
52861
54407
|
"required": [
|
|
52862
54408
|
"column"
|
|
52863
54409
|
],
|
|
@@ -52867,6 +54413,11 @@
|
|
|
52867
54413
|
"enum": [
|
|
52868
54414
|
"hourOfDay"
|
|
52869
54415
|
]
|
|
54416
|
+
},
|
|
54417
|
+
"timezone": {
|
|
54418
|
+
"type": "string",
|
|
54419
|
+
"description": "IANA time zone the event is read in, UTC when omitted.",
|
|
54420
|
+
"example": "Europe/Paris"
|
|
52870
54421
|
}
|
|
52871
54422
|
}
|
|
52872
54423
|
},
|
|
@@ -55838,6 +57389,141 @@
|
|
|
55838
57389
|
"expiresAt"
|
|
55839
57390
|
]
|
|
55840
57391
|
},
|
|
57392
|
+
"APIProfilingSession": {
|
|
57393
|
+
"type": "object",
|
|
57394
|
+
"required": [
|
|
57395
|
+
"object",
|
|
57396
|
+
"id",
|
|
57397
|
+
"status",
|
|
57398
|
+
"releaseVersion",
|
|
57399
|
+
"releaseBuild",
|
|
57400
|
+
"createdAt",
|
|
57401
|
+
"expiresAt",
|
|
57402
|
+
"startedBy",
|
|
57403
|
+
"urls"
|
|
57404
|
+
],
|
|
57405
|
+
"properties": {
|
|
57406
|
+
"object": {
|
|
57407
|
+
"type": "string",
|
|
57408
|
+
"enum": [
|
|
57409
|
+
"api_cpu_profiling_session"
|
|
57410
|
+
]
|
|
57411
|
+
},
|
|
57412
|
+
"id": {
|
|
57413
|
+
"type": "string",
|
|
57414
|
+
"format": "uuid"
|
|
57415
|
+
},
|
|
57416
|
+
"status": {
|
|
57417
|
+
"type": "string",
|
|
57418
|
+
"enum": [
|
|
57419
|
+
"active",
|
|
57420
|
+
"stopped",
|
|
57421
|
+
"expired"
|
|
57422
|
+
]
|
|
57423
|
+
},
|
|
57424
|
+
"mode": {
|
|
57425
|
+
"type": "string",
|
|
57426
|
+
"enum": [
|
|
57427
|
+
"cpu",
|
|
57428
|
+
"allocations"
|
|
57429
|
+
],
|
|
57430
|
+
"description": "The profiler selected for this session. Earlier sessions without this field use CPU profiling."
|
|
57431
|
+
},
|
|
57432
|
+
"releaseVersion": {
|
|
57433
|
+
"type": "string"
|
|
57434
|
+
},
|
|
57435
|
+
"releaseBuild": {
|
|
57436
|
+
"type": "string"
|
|
57437
|
+
},
|
|
57438
|
+
"createdAt": {
|
|
57439
|
+
"type": "string",
|
|
57440
|
+
"format": "date-time"
|
|
57441
|
+
},
|
|
57442
|
+
"expiresAt": {
|
|
57443
|
+
"type": "string",
|
|
57444
|
+
"format": "date-time"
|
|
57445
|
+
},
|
|
57446
|
+
"stoppedAt": {
|
|
57447
|
+
"type": "string",
|
|
57448
|
+
"format": "date-time"
|
|
57449
|
+
},
|
|
57450
|
+
"startedBy": {
|
|
57451
|
+
"type": "string"
|
|
57452
|
+
},
|
|
57453
|
+
"urls": {
|
|
57454
|
+
"type": "object",
|
|
57455
|
+
"required": [
|
|
57456
|
+
"location"
|
|
57457
|
+
],
|
|
57458
|
+
"properties": {
|
|
57459
|
+
"location": {
|
|
57460
|
+
"type": "string"
|
|
57461
|
+
}
|
|
57462
|
+
}
|
|
57463
|
+
}
|
|
57464
|
+
}
|
|
57465
|
+
},
|
|
57466
|
+
"APICPUProfile": {
|
|
57467
|
+
"type": "object",
|
|
57468
|
+
"required": [
|
|
57469
|
+
"object",
|
|
57470
|
+
"id",
|
|
57471
|
+
"instanceId",
|
|
57472
|
+
"startedAt",
|
|
57473
|
+
"endedAt",
|
|
57474
|
+
"bytes",
|
|
57475
|
+
"urls"
|
|
57476
|
+
],
|
|
57477
|
+
"properties": {
|
|
57478
|
+
"object": {
|
|
57479
|
+
"type": "string",
|
|
57480
|
+
"enum": [
|
|
57481
|
+
"api_cpu_profile",
|
|
57482
|
+
"api_allocation_profile"
|
|
57483
|
+
]
|
|
57484
|
+
},
|
|
57485
|
+
"mode": {
|
|
57486
|
+
"type": "string",
|
|
57487
|
+
"enum": [
|
|
57488
|
+
"cpu",
|
|
57489
|
+
"allocations"
|
|
57490
|
+
]
|
|
57491
|
+
},
|
|
57492
|
+
"id": {
|
|
57493
|
+
"type": "string",
|
|
57494
|
+
"format": "uuid"
|
|
57495
|
+
},
|
|
57496
|
+
"instanceId": {
|
|
57497
|
+
"type": "string"
|
|
57498
|
+
},
|
|
57499
|
+
"startedAt": {
|
|
57500
|
+
"type": "string",
|
|
57501
|
+
"format": "date-time"
|
|
57502
|
+
},
|
|
57503
|
+
"endedAt": {
|
|
57504
|
+
"type": "string",
|
|
57505
|
+
"format": "date-time"
|
|
57506
|
+
},
|
|
57507
|
+
"bytes": {
|
|
57508
|
+
"type": "integer"
|
|
57509
|
+
},
|
|
57510
|
+
"urls": {
|
|
57511
|
+
"type": "object",
|
|
57512
|
+
"required": [
|
|
57513
|
+
"location"
|
|
57514
|
+
],
|
|
57515
|
+
"properties": {
|
|
57516
|
+
"location": {
|
|
57517
|
+
"type": "string"
|
|
57518
|
+
},
|
|
57519
|
+
"devtools": {
|
|
57520
|
+
"type": "string",
|
|
57521
|
+
"description": "Download the raw .cpuprofile or .heapprofile for Chrome DevTools."
|
|
57522
|
+
}
|
|
57523
|
+
}
|
|
57524
|
+
}
|
|
57525
|
+
}
|
|
57526
|
+
},
|
|
55841
57527
|
"PurgeCDNCacheContext": {
|
|
55842
57528
|
"type": "object",
|
|
55843
57529
|
"description": "The context to send when purging the CDN Cache",
|
|
@@ -57623,6 +59309,9 @@
|
|
|
57623
59309
|
"icon": {
|
|
57624
59310
|
"$ref": "#/components/schemas/Icon"
|
|
57625
59311
|
},
|
|
59312
|
+
"condition": {
|
|
59313
|
+
"$ref": "#/components/schemas/Expression"
|
|
59314
|
+
},
|
|
57626
59315
|
"draft": {
|
|
57627
59316
|
"type": "boolean",
|
|
57628
59317
|
"description": "Whether the section group is draft and not live."
|
|
@@ -58087,6 +59776,88 @@
|
|
|
58087
59776
|
}
|
|
58088
59777
|
}
|
|
58089
59778
|
},
|
|
59779
|
+
"FeatureUpgradeRequirement": {
|
|
59780
|
+
"description": "The plan upgrade that would make a feature available.",
|
|
59781
|
+
"oneOf": [
|
|
59782
|
+
{
|
|
59783
|
+
"type": "object",
|
|
59784
|
+
"title": "Organization plan upgrade",
|
|
59785
|
+
"properties": {
|
|
59786
|
+
"type": {
|
|
59787
|
+
"type": "string",
|
|
59788
|
+
"enum": [
|
|
59789
|
+
"organization"
|
|
59790
|
+
]
|
|
59791
|
+
},
|
|
59792
|
+
"feature": {
|
|
59793
|
+
"$ref": "#/components/schemas/OrganizationFeature"
|
|
59794
|
+
},
|
|
59795
|
+
"requiredPlan": {
|
|
59796
|
+
"description": "The internal identifier of the minimum organization plan that includes the feature. The human-readable name is provided in requiredPlanName.",
|
|
59797
|
+
"$ref": "#/components/schemas/BillingProduct"
|
|
59798
|
+
},
|
|
59799
|
+
"requiredPlanName": {
|
|
59800
|
+
"type": "string",
|
|
59801
|
+
"description": "The human-readable name of the required organization plan.",
|
|
59802
|
+
"example": "Pro"
|
|
59803
|
+
},
|
|
59804
|
+
"url": {
|
|
59805
|
+
"type": "string",
|
|
59806
|
+
"format": "uri",
|
|
59807
|
+
"description": "Where an admin may upgrade the organization's plan."
|
|
59808
|
+
}
|
|
59809
|
+
},
|
|
59810
|
+
"additionalProperties": false,
|
|
59811
|
+
"required": [
|
|
59812
|
+
"type",
|
|
59813
|
+
"feature",
|
|
59814
|
+
"requiredPlan",
|
|
59815
|
+
"requiredPlanName",
|
|
59816
|
+
"url"
|
|
59817
|
+
]
|
|
59818
|
+
},
|
|
59819
|
+
{
|
|
59820
|
+
"type": "object",
|
|
59821
|
+
"title": "Site plan upgrade",
|
|
59822
|
+
"properties": {
|
|
59823
|
+
"type": {
|
|
59824
|
+
"type": "string",
|
|
59825
|
+
"enum": [
|
|
59826
|
+
"site"
|
|
59827
|
+
]
|
|
59828
|
+
},
|
|
59829
|
+
"feature": {
|
|
59830
|
+
"$ref": "#/components/schemas/SiteFeatureKey"
|
|
59831
|
+
},
|
|
59832
|
+
"requiredPlan": {
|
|
59833
|
+
"description": "The internal identifier of the minimum site plan that includes the feature. The human-readable name is provided in requiredPlanName.",
|
|
59834
|
+
"$ref": "#/components/schemas/SiteType"
|
|
59835
|
+
},
|
|
59836
|
+
"requiredPlanName": {
|
|
59837
|
+
"type": "string",
|
|
59838
|
+
"description": "The human-readable name of the required site plan.",
|
|
59839
|
+
"example": "Ultimate"
|
|
59840
|
+
},
|
|
59841
|
+
"url": {
|
|
59842
|
+
"type": "string",
|
|
59843
|
+
"format": "uri",
|
|
59844
|
+
"description": "Where an admin may upgrade the site's plan."
|
|
59845
|
+
}
|
|
59846
|
+
},
|
|
59847
|
+
"additionalProperties": false,
|
|
59848
|
+
"required": [
|
|
59849
|
+
"type",
|
|
59850
|
+
"feature",
|
|
59851
|
+
"requiredPlan",
|
|
59852
|
+
"requiredPlanName",
|
|
59853
|
+
"url"
|
|
59854
|
+
]
|
|
59855
|
+
}
|
|
59856
|
+
],
|
|
59857
|
+
"discriminator": {
|
|
59858
|
+
"propertyName": "type"
|
|
59859
|
+
}
|
|
59860
|
+
},
|
|
58090
59861
|
"BillingStatus": {
|
|
58091
59862
|
"type": "string",
|
|
58092
59863
|
"enum": [
|
|
@@ -58099,6 +59870,23 @@
|
|
|
58099
59870
|
"paused"
|
|
58100
59871
|
]
|
|
58101
59872
|
},
|
|
59873
|
+
"BillingDiscount": {
|
|
59874
|
+
"type": "object",
|
|
59875
|
+
"properties": {
|
|
59876
|
+
"duration": {
|
|
59877
|
+
"description": "How many months the discount will last",
|
|
59878
|
+
"type": "number"
|
|
59879
|
+
},
|
|
59880
|
+
"percentOff": {
|
|
59881
|
+
"description": "Percent that will be deducted from the subtotal of the invoice",
|
|
59882
|
+
"type": "number"
|
|
59883
|
+
}
|
|
59884
|
+
},
|
|
59885
|
+
"required": [
|
|
59886
|
+
"duration",
|
|
59887
|
+
"percentOff"
|
|
59888
|
+
]
|
|
59889
|
+
},
|
|
58102
59890
|
"APIIntegrationScope": {
|
|
58103
59891
|
"type": "string",
|
|
58104
59892
|
"enum": [
|
|
@@ -58141,6 +59929,10 @@
|
|
|
58141
59929
|
],
|
|
58142
59930
|
"description": "Whether the visitor, for which the token was generated, is a human or an AI agent. Defaults to human when omitted."
|
|
58143
59931
|
},
|
|
59932
|
+
"visitorIsAuthenticated": {
|
|
59933
|
+
"type": "boolean",
|
|
59934
|
+
"description": "Whether the visitor is authenticated. Only set for sites with adaptive content enabled when token verification succeeded."
|
|
59935
|
+
},
|
|
58144
59936
|
"visitorRegion": {
|
|
58145
59937
|
"type": "string",
|
|
58146
59938
|
"description": "The region containing the country of the visitor for whom the token was generated. Omitted if the country isn't in any region."
|
|
@@ -58882,6 +60674,25 @@
|
|
|
58882
60674
|
"organization"
|
|
58883
60675
|
]
|
|
58884
60676
|
},
|
|
60677
|
+
"APIChannelOrganizationSCIMConnections": {
|
|
60678
|
+
"type": "object",
|
|
60679
|
+
"description": "Subscription channel for changes in the SCIM connections of an organization.",
|
|
60680
|
+
"properties": {
|
|
60681
|
+
"channel": {
|
|
60682
|
+
"type": "string",
|
|
60683
|
+
"enum": [
|
|
60684
|
+
"organization-scim-connections"
|
|
60685
|
+
]
|
|
60686
|
+
},
|
|
60687
|
+
"organization": {
|
|
60688
|
+
"type": "string"
|
|
60689
|
+
}
|
|
60690
|
+
},
|
|
60691
|
+
"required": [
|
|
60692
|
+
"channel",
|
|
60693
|
+
"organization"
|
|
60694
|
+
]
|
|
60695
|
+
},
|
|
58885
60696
|
"APIChannelOrganizationCustomFonts": {
|
|
58886
60697
|
"type": "object",
|
|
58887
60698
|
"description": "Subscription channel for changes in custom fonts in an organization.",
|
|
@@ -59769,6 +61580,9 @@
|
|
|
59769
61580
|
{
|
|
59770
61581
|
"$ref": "#/components/schemas/APIChannelOrganizationTranslationsGlossary"
|
|
59771
61582
|
},
|
|
61583
|
+
{
|
|
61584
|
+
"$ref": "#/components/schemas/APIChannelOrganizationSCIMConnections"
|
|
61585
|
+
},
|
|
59772
61586
|
{
|
|
59773
61587
|
"$ref": "#/components/schemas/APIChannelOrganizationCustomFonts"
|
|
59774
61588
|
},
|
|
@@ -60889,6 +62703,53 @@
|
|
|
60889
62703
|
}
|
|
60890
62704
|
}
|
|
60891
62705
|
}
|
|
62706
|
+
},
|
|
62707
|
+
"FeatureNotAvailableError": {
|
|
62708
|
+
"description": "The requested feature is not available on the organization's or site's current plan.\nThe operation was not performed. The `error.type` value `feature-not-available`\nidentifies this response; `error.upgrade` provides the requirements for upgrading.\n",
|
|
62709
|
+
"content": {
|
|
62710
|
+
"application/json": {
|
|
62711
|
+
"schema": {
|
|
62712
|
+
"description": "`error.upgrade` identifies the unavailable feature, the minimum required\nplan, and the URL of the relevant plan settings.\n\n`error.upgrade.requiredPlanName` is the human-readable plan name, such as\n\"Pro\", \"Essential\", or \"Ultimate\", suitable for display to users.\n`error.upgrade.requiredPlan` is the internal plan identifier for\nprogrammatic use, such as \"pro_2024\" or \"premium\".\n\nThe required plan describes feature availability, not a price quote.\n\n`getOrganizationSubscription` (`GET /orgs/{organizationId}/subscription`)\nprovides the current plan and `canManageBilling`, which indicates whether\nthe caller can manage billing. Otherwise, an organization administrator\nmust perform the upgrade. Upgrades require billing permissions and approval\nof any price or billing changes.\n\nThe original operation can be retried after the upgrade is complete.\n",
|
|
62713
|
+
"type": "object",
|
|
62714
|
+
"required": [
|
|
62715
|
+
"error"
|
|
62716
|
+
],
|
|
62717
|
+
"properties": {
|
|
62718
|
+
"error": {
|
|
62719
|
+
"type": "object",
|
|
62720
|
+
"properties": {
|
|
62721
|
+
"type": {
|
|
62722
|
+
"description": "Identifies the FeatureNotAvailableError response in the OpenAPI spec.",
|
|
62723
|
+
"type": "string",
|
|
62724
|
+
"enum": [
|
|
62725
|
+
"feature-not-available"
|
|
62726
|
+
]
|
|
62727
|
+
},
|
|
62728
|
+
"code": {
|
|
62729
|
+
"type": "integer",
|
|
62730
|
+
"format": "int32",
|
|
62731
|
+
"enum": [
|
|
62732
|
+
403
|
|
62733
|
+
]
|
|
62734
|
+
},
|
|
62735
|
+
"message": {
|
|
62736
|
+
"type": "string"
|
|
62737
|
+
},
|
|
62738
|
+
"upgrade": {
|
|
62739
|
+
"$ref": "#/components/schemas/FeatureUpgradeRequirement"
|
|
62740
|
+
}
|
|
62741
|
+
},
|
|
62742
|
+
"required": [
|
|
62743
|
+
"type",
|
|
62744
|
+
"code",
|
|
62745
|
+
"message",
|
|
62746
|
+
"upgrade"
|
|
62747
|
+
]
|
|
62748
|
+
}
|
|
62749
|
+
}
|
|
62750
|
+
}
|
|
62751
|
+
}
|
|
62752
|
+
}
|
|
60892
62753
|
}
|
|
60893
62754
|
},
|
|
60894
62755
|
"headers": {
|