@gitbook/api 0.206.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 +669 -82
- package/dist/constants.d.ts +14 -5
- package/dist/index.cjs +160 -12
- package/dist/index.js +144 -12
- package/package.json +1 -1
- package/spec/openapi.json +1632 -223
- package/spec/openapi.yaml +1151 -183
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
|
],
|
|
@@ -2298,7 +2321,9 @@
|
|
|
2298
2321
|
"operationId": "createChangeRequest",
|
|
2299
2322
|
"summary": "Create a new change request in a space",
|
|
2300
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.",
|
|
2301
|
-
"x-gitbook-mcp":
|
|
2324
|
+
"x-gitbook-mcp": {
|
|
2325
|
+
"curatedBy": "create_change_request"
|
|
2326
|
+
},
|
|
2302
2327
|
"tags": [
|
|
2303
2328
|
"change-requests"
|
|
2304
2329
|
],
|
|
@@ -2645,7 +2670,10 @@
|
|
|
2645
2670
|
"operationId": "mergeChangeRequest",
|
|
2646
2671
|
"summary": "Merge a change request into the space's live content",
|
|
2647
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.",
|
|
2648
|
-
"x-gitbook-mcp":
|
|
2673
|
+
"x-gitbook-mcp": {
|
|
2674
|
+
"destructive": true,
|
|
2675
|
+
"curatedBy": "submit_or_merge_change_request"
|
|
2676
|
+
},
|
|
2649
2677
|
"tags": [
|
|
2650
2678
|
"change-requests"
|
|
2651
2679
|
],
|
|
@@ -2703,7 +2731,9 @@
|
|
|
2703
2731
|
"operationId": "updateChangeRequest",
|
|
2704
2732
|
"summary": "Sync a change request with the latest live space content",
|
|
2705
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.",
|
|
2706
|
-
"x-gitbook-mcp":
|
|
2734
|
+
"x-gitbook-mcp": {
|
|
2735
|
+
"destructive": true
|
|
2736
|
+
},
|
|
2707
2737
|
"tags": [
|
|
2708
2738
|
"change-requests"
|
|
2709
2739
|
],
|
|
@@ -3993,8 +4023,10 @@
|
|
|
3993
4023
|
"post": {
|
|
3994
4024
|
"operationId": "updateChangeRequestContent",
|
|
3995
4025
|
"summary": "Apply a batch of content changes to a change request",
|
|
3996
|
-
"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**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.\n
|
|
3997
|
-
"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
|
+
},
|
|
3998
4030
|
"tags": [
|
|
3999
4031
|
"change-request-content"
|
|
4000
4032
|
],
|
|
@@ -4035,6 +4067,11 @@
|
|
|
4035
4067
|
"changes"
|
|
4036
4068
|
],
|
|
4037
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
|
+
},
|
|
4038
4075
|
"changes": {
|
|
4039
4076
|
"type": "array",
|
|
4040
4077
|
"minItems": 1,
|
|
@@ -4070,6 +4107,10 @@
|
|
|
4070
4107
|
"404": {
|
|
4071
4108
|
"description": "The change request could not be found.",
|
|
4072
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"
|
|
4073
4114
|
}
|
|
4074
4115
|
}
|
|
4075
4116
|
}
|
|
@@ -9127,6 +9168,10 @@
|
|
|
9127
9168
|
"properties": {
|
|
9128
9169
|
"role": {
|
|
9129
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."
|
|
9130
9175
|
}
|
|
9131
9176
|
}
|
|
9132
9177
|
}
|
|
@@ -9137,6 +9182,7 @@
|
|
|
9137
9182
|
"delete": {
|
|
9138
9183
|
"operationId": "removeMemberFromOrganizationById",
|
|
9139
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.",
|
|
9140
9186
|
"tags": [
|
|
9141
9187
|
"organization-members"
|
|
9142
9188
|
],
|
|
@@ -11384,6 +11430,283 @@
|
|
|
11384
11430
|
}
|
|
11385
11431
|
}
|
|
11386
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
|
+
},
|
|
11387
11710
|
"/orgs/{organizationId}/sso": {
|
|
11388
11711
|
"get": {
|
|
11389
11712
|
"operationId": "listSSOProviderLoginsInOrganization",
|
|
@@ -13509,7 +13832,9 @@
|
|
|
13509
13832
|
"operationId": "listSites",
|
|
13510
13833
|
"summary": "List all documentation sites in an organization",
|
|
13511
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.",
|
|
13512
|
-
"x-gitbook-mcp":
|
|
13835
|
+
"x-gitbook-mcp": {
|
|
13836
|
+
"curatedBy": "list_sites"
|
|
13837
|
+
},
|
|
13513
13838
|
"tags": [
|
|
13514
13839
|
"sites",
|
|
13515
13840
|
"critical"
|
|
@@ -14115,7 +14440,10 @@
|
|
|
14115
14440
|
"operationId": "publishSite",
|
|
14116
14441
|
"summary": "Publish a site to make it publicly accessible",
|
|
14117
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.",
|
|
14118
|
-
"x-gitbook-mcp":
|
|
14443
|
+
"x-gitbook-mcp": {
|
|
14444
|
+
"destructive": true,
|
|
14445
|
+
"idempotent": true
|
|
14446
|
+
},
|
|
14119
14447
|
"tags": [
|
|
14120
14448
|
"sites"
|
|
14121
14449
|
],
|
|
@@ -14190,12 +14518,59 @@
|
|
|
14190
14518
|
}
|
|
14191
14519
|
}
|
|
14192
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
|
+
},
|
|
14193
14565
|
"/orgs/{organizationId}/sites/{siteId}/unpublish": {
|
|
14194
14566
|
"post": {
|
|
14195
14567
|
"operationId": "unpublishSite",
|
|
14196
14568
|
"summary": "Take a site offline by unpublishing it",
|
|
14197
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.",
|
|
14198
|
-
"x-gitbook-mcp":
|
|
14570
|
+
"x-gitbook-mcp": {
|
|
14571
|
+
"destructive": true,
|
|
14572
|
+
"idempotent": true
|
|
14573
|
+
},
|
|
14199
14574
|
"tags": [
|
|
14200
14575
|
"sites"
|
|
14201
14576
|
],
|
|
@@ -14843,7 +15218,9 @@
|
|
|
14843
15218
|
"operationId": "getSiteStructure",
|
|
14844
15219
|
"summary": "Get the full navigation structure of a site",
|
|
14845
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.",
|
|
14846
|
-
"x-gitbook-mcp":
|
|
15221
|
+
"x-gitbook-mcp": {
|
|
15222
|
+
"curatedBy": "get_site_structure"
|
|
15223
|
+
},
|
|
14847
15224
|
"tags": [
|
|
14848
15225
|
"site-structure"
|
|
14849
15226
|
],
|
|
@@ -15075,7 +15452,9 @@
|
|
|
15075
15452
|
"operationId": "regenerateSitePublishingAuthById",
|
|
15076
15453
|
"summary": "Regenerate the private key for a site's published content authentication",
|
|
15077
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.",
|
|
15078
|
-
"x-gitbook-mcp":
|
|
15455
|
+
"x-gitbook-mcp": {
|
|
15456
|
+
"destructive": true
|
|
15457
|
+
},
|
|
15079
15458
|
"tags": [
|
|
15080
15459
|
"site-publishing-auth"
|
|
15081
15460
|
],
|
|
@@ -15442,7 +15821,9 @@
|
|
|
15442
15821
|
"operationId": "addSpaceToSite",
|
|
15443
15822
|
"summary": "Add a space to a site as a content source",
|
|
15444
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).",
|
|
15445
|
-
"x-gitbook-mcp":
|
|
15824
|
+
"x-gitbook-mcp": {
|
|
15825
|
+
"destructive": true
|
|
15826
|
+
},
|
|
15446
15827
|
"x-gitbook-return-preference": true,
|
|
15447
15828
|
"tags": [
|
|
15448
15829
|
"site-spaces"
|
|
@@ -15700,7 +16081,9 @@
|
|
|
15700
16081
|
"operationId": "addSectionGroupToSite",
|
|
15701
16082
|
"summary": "Add a section group to a site's navigation structure",
|
|
15702
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.",
|
|
15703
|
-
"x-gitbook-mcp":
|
|
16084
|
+
"x-gitbook-mcp": {
|
|
16085
|
+
"destructive": true
|
|
16086
|
+
},
|
|
15704
16087
|
"tags": [
|
|
15705
16088
|
"site-section-groups"
|
|
15706
16089
|
],
|
|
@@ -15732,6 +16115,10 @@
|
|
|
15732
16115
|
"title": {
|
|
15733
16116
|
"$ref": "#/components/schemas/SiteSectionGroupTitle"
|
|
15734
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
|
+
},
|
|
15735
16122
|
"icon": {
|
|
15736
16123
|
"oneOf": [
|
|
15737
16124
|
{
|
|
@@ -15846,6 +16233,17 @@
|
|
|
15846
16233
|
"localizedTitle": {
|
|
15847
16234
|
"$ref": "#/components/schemas/LocalizedString128"
|
|
15848
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
|
+
},
|
|
15849
16247
|
"icon": {
|
|
15850
16248
|
"oneOf": [
|
|
15851
16249
|
{
|
|
@@ -15939,7 +16337,9 @@
|
|
|
15939
16337
|
"operationId": "addSectionToSite",
|
|
15940
16338
|
"summary": "Add a new navigation section to a site backed by a space",
|
|
15941
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).",
|
|
15942
|
-
"x-gitbook-mcp":
|
|
16340
|
+
"x-gitbook-mcp": {
|
|
16341
|
+
"destructive": true
|
|
16342
|
+
},
|
|
15943
16343
|
"tags": [
|
|
15944
16344
|
"site-sections"
|
|
15945
16345
|
],
|
|
@@ -16184,6 +16584,10 @@
|
|
|
16184
16584
|
"type": "string",
|
|
16185
16585
|
"description": "ID of the site-space to be used as the default in this section."
|
|
16186
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
|
+
},
|
|
16187
16591
|
"condition": {
|
|
16188
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.",
|
|
16189
16593
|
"oneOf": [
|
|
@@ -16301,7 +16705,9 @@
|
|
|
16301
16705
|
"operationId": "addExternalLinkToSite",
|
|
16302
16706
|
"summary": "Add an external link to a site's navigation",
|
|
16303
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.",
|
|
16304
|
-
"x-gitbook-mcp":
|
|
16708
|
+
"x-gitbook-mcp": {
|
|
16709
|
+
"destructive": true
|
|
16710
|
+
},
|
|
16305
16711
|
"tags": [
|
|
16306
16712
|
"site-external-links"
|
|
16307
16713
|
],
|
|
@@ -16628,7 +17034,9 @@
|
|
|
16628
17034
|
"operationId": "searchSiteContent",
|
|
16629
17035
|
"summary": "Full-text search across all content in a site",
|
|
16630
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.",
|
|
16631
|
-
"x-gitbook-mcp":
|
|
17037
|
+
"x-gitbook-mcp": {
|
|
17038
|
+
"readOnly": true
|
|
17039
|
+
},
|
|
16632
17040
|
"tags": [
|
|
16633
17041
|
"sites"
|
|
16634
17042
|
],
|
|
@@ -17000,6 +17408,12 @@
|
|
|
17000
17408
|
{
|
|
17001
17409
|
"$ref": "#/components/parameters/siteId"
|
|
17002
17410
|
},
|
|
17411
|
+
{
|
|
17412
|
+
"$ref": "#/components/parameters/xOriginalUserAgent"
|
|
17413
|
+
},
|
|
17414
|
+
{
|
|
17415
|
+
"$ref": "#/components/parameters/xOriginalSignatureAgent"
|
|
17416
|
+
},
|
|
17003
17417
|
{
|
|
17004
17418
|
"$ref": "#/components/parameters/documentFormat"
|
|
17005
17419
|
}
|
|
@@ -17498,6 +17912,23 @@
|
|
|
17498
17912
|
"$ref": "#/components/schemas/SiteFindingSeverity"
|
|
17499
17913
|
}
|
|
17500
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
|
+
},
|
|
17501
17932
|
{
|
|
17502
17933
|
"name": "hasChangeRequests",
|
|
17503
17934
|
"in": "query",
|
|
@@ -17506,6 +17937,14 @@
|
|
|
17506
17937
|
"type": "boolean"
|
|
17507
17938
|
}
|
|
17508
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
|
+
},
|
|
17509
17948
|
{
|
|
17510
17949
|
"name": "source",
|
|
17511
17950
|
"in": "query",
|
|
@@ -17628,8 +18067,9 @@
|
|
|
17628
18067
|
},
|
|
17629
18068
|
"patch": {
|
|
17630
18069
|
"operationId": "updateSiteFindingById",
|
|
17631
|
-
"
|
|
17632
|
-
"
|
|
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`.",
|
|
17633
18073
|
"x-gitbook-mcp": true,
|
|
17634
18074
|
"tags": [
|
|
17635
18075
|
"site-context"
|
|
@@ -17994,6 +18434,70 @@
|
|
|
17994
18434
|
}
|
|
17995
18435
|
}
|
|
17996
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
|
+
},
|
|
17997
18501
|
"/orgs/{organizationId}/sites/{siteId}/stats/findings": {
|
|
17998
18502
|
"get": {
|
|
17999
18503
|
"operationId": "getSiteFindingStats",
|
|
@@ -18055,6 +18559,23 @@
|
|
|
18055
18559
|
"$ref": "#/components/schemas/SiteFindingSeverity"
|
|
18056
18560
|
}
|
|
18057
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
|
+
},
|
|
18058
18579
|
{
|
|
18059
18580
|
"name": "hasChangeRequests",
|
|
18060
18581
|
"in": "query",
|
|
@@ -18554,6 +19075,9 @@
|
|
|
18554
19075
|
}
|
|
18555
19076
|
}
|
|
18556
19077
|
},
|
|
19078
|
+
{
|
|
19079
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19080
|
+
},
|
|
18557
19081
|
{
|
|
18558
19082
|
"name": "answered",
|
|
18559
19083
|
"in": "query",
|
|
@@ -18697,7 +19221,7 @@
|
|
|
18697
19221
|
"delete": {
|
|
18698
19222
|
"operationId": "deleteSiteTopicFindings",
|
|
18699
19223
|
"summary": "Delete all documentation issues found under a topic",
|
|
18700
|
-
"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.",
|
|
18701
19225
|
"x-gitbook-mcp": true,
|
|
18702
19226
|
"tags": [
|
|
18703
19227
|
"site-context"
|
|
@@ -18805,6 +19329,9 @@
|
|
|
18805
19329
|
}
|
|
18806
19330
|
}
|
|
18807
19331
|
},
|
|
19332
|
+
{
|
|
19333
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19334
|
+
},
|
|
18808
19335
|
{
|
|
18809
19336
|
"name": "answered",
|
|
18810
19337
|
"in": "query",
|
|
@@ -18950,6 +19477,9 @@
|
|
|
18950
19477
|
}
|
|
18951
19478
|
}
|
|
18952
19479
|
},
|
|
19480
|
+
{
|
|
19481
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19482
|
+
},
|
|
18953
19483
|
{
|
|
18954
19484
|
"name": "answered",
|
|
18955
19485
|
"in": "query",
|
|
@@ -19049,6 +19579,9 @@
|
|
|
19049
19579
|
}
|
|
19050
19580
|
}
|
|
19051
19581
|
},
|
|
19582
|
+
{
|
|
19583
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19584
|
+
},
|
|
19052
19585
|
{
|
|
19053
19586
|
"name": "answered",
|
|
19054
19587
|
"in": "query",
|
|
@@ -19168,6 +19701,9 @@
|
|
|
19168
19701
|
}
|
|
19169
19702
|
}
|
|
19170
19703
|
},
|
|
19704
|
+
{
|
|
19705
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19706
|
+
},
|
|
19171
19707
|
{
|
|
19172
19708
|
"name": "answered",
|
|
19173
19709
|
"in": "query",
|
|
@@ -19293,6 +19829,9 @@
|
|
|
19293
19829
|
}
|
|
19294
19830
|
}
|
|
19295
19831
|
},
|
|
19832
|
+
{
|
|
19833
|
+
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19834
|
+
},
|
|
19296
19835
|
{
|
|
19297
19836
|
"name": "question.type",
|
|
19298
19837
|
"in": "query",
|
|
@@ -19661,7 +20200,9 @@
|
|
|
19661
20200
|
"operationId": "duplicateSiteSpace",
|
|
19662
20201
|
"summary": "Duplicate a space in a site",
|
|
19663
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.",
|
|
19664
|
-
"x-gitbook-mcp":
|
|
20203
|
+
"x-gitbook-mcp": {
|
|
20204
|
+
"destructive": true
|
|
20205
|
+
},
|
|
19665
20206
|
"tags": [
|
|
19666
20207
|
"site-spaces",
|
|
19667
20208
|
"spaces"
|
|
@@ -21023,6 +21564,12 @@
|
|
|
21023
21564
|
},
|
|
21024
21565
|
{
|
|
21025
21566
|
"$ref": "#/components/parameters/siteId"
|
|
21567
|
+
},
|
|
21568
|
+
{
|
|
21569
|
+
"$ref": "#/components/parameters/xOriginalUserAgent"
|
|
21570
|
+
},
|
|
21571
|
+
{
|
|
21572
|
+
"$ref": "#/components/parameters/xOriginalSignatureAgent"
|
|
21026
21573
|
}
|
|
21027
21574
|
],
|
|
21028
21575
|
"requestBody": {
|
|
@@ -21098,7 +21645,9 @@
|
|
|
21098
21645
|
"operationId": "applyTemplateToSite",
|
|
21099
21646
|
"summary": "Apply the default documentation template to a site",
|
|
21100
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.",
|
|
21101
|
-
"x-gitbook-mcp":
|
|
21648
|
+
"x-gitbook-mcp": {
|
|
21649
|
+
"destructive": true
|
|
21650
|
+
},
|
|
21102
21651
|
"tags": [
|
|
21103
21652
|
"sites"
|
|
21104
21653
|
],
|
|
@@ -21231,7 +21780,9 @@
|
|
|
21231
21780
|
"operationId": "createSiteStyleguideById",
|
|
21232
21781
|
"summary": "Create or retrieve the style guide space for a site",
|
|
21233
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.",
|
|
21234
|
-
"x-gitbook-mcp":
|
|
21783
|
+
"x-gitbook-mcp": {
|
|
21784
|
+
"idempotent": true
|
|
21785
|
+
},
|
|
21235
21786
|
"tags": [
|
|
21236
21787
|
"sites"
|
|
21237
21788
|
],
|
|
@@ -21481,7 +22032,9 @@
|
|
|
21481
22032
|
"operationId": "aggregateSiteEvents",
|
|
21482
22033
|
"summary": "Query a site's analytics events",
|
|
21483
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.",
|
|
21484
|
-
"x-gitbook-mcp":
|
|
22035
|
+
"x-gitbook-mcp": {
|
|
22036
|
+
"readOnly": true
|
|
22037
|
+
},
|
|
21485
22038
|
"security": [
|
|
21486
22039
|
{
|
|
21487
22040
|
"user": []
|
|
@@ -21579,7 +22132,10 @@
|
|
|
21579
22132
|
"operationId": "updateSiteAdsById",
|
|
21580
22133
|
"summary": "Update the advertising settings for a site",
|
|
21581
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.",
|
|
21582
|
-
"x-gitbook-mcp":
|
|
22135
|
+
"x-gitbook-mcp": {
|
|
22136
|
+
"destructive": true,
|
|
22137
|
+
"idempotent": true
|
|
22138
|
+
},
|
|
21583
22139
|
"tags": [
|
|
21584
22140
|
"site-ads"
|
|
21585
22141
|
],
|
|
@@ -21635,7 +22191,9 @@
|
|
|
21635
22191
|
"operationId": "createSiteRedirect",
|
|
21636
22192
|
"summary": "Create a URL redirect rule for a site",
|
|
21637
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.",
|
|
21638
|
-
"x-gitbook-mcp":
|
|
22194
|
+
"x-gitbook-mcp": {
|
|
22195
|
+
"destructive": true
|
|
22196
|
+
},
|
|
21639
22197
|
"tags": [
|
|
21640
22198
|
"site-redirects"
|
|
21641
22199
|
],
|
|
@@ -22688,7 +23246,9 @@
|
|
|
22688
23246
|
"operationId": "listSiteChannelScopes",
|
|
22689
23247
|
"summary": "List available site channel scopes",
|
|
22690
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.",
|
|
22691
|
-
"x-gitbook-mcp":
|
|
23249
|
+
"x-gitbook-mcp": {
|
|
23250
|
+
"readOnly": true
|
|
23251
|
+
},
|
|
22692
23252
|
"tags": [
|
|
22693
23253
|
"site-channels"
|
|
22694
23254
|
],
|
|
@@ -24845,6 +25405,15 @@
|
|
|
24845
25405
|
"type": "string"
|
|
24846
25406
|
}
|
|
24847
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
|
+
},
|
|
24848
25417
|
"openapiSpecSlug": {
|
|
24849
25418
|
"name": "specSlug",
|
|
24850
25419
|
"in": "path",
|
|
@@ -24954,6 +25523,24 @@
|
|
|
24954
25523
|
"type": "string"
|
|
24955
25524
|
}
|
|
24956
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
|
+
},
|
|
24957
25544
|
"siteContextRecordId": {
|
|
24958
25545
|
"name": "siteContextRecordId",
|
|
24959
25546
|
"in": "path",
|
|
@@ -24990,6 +25577,17 @@
|
|
|
24990
25577
|
"type": "string"
|
|
24991
25578
|
}
|
|
24992
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
|
+
},
|
|
24993
25591
|
"siteTopicId": {
|
|
24994
25592
|
"name": "siteTopicId",
|
|
24995
25593
|
"in": "path",
|
|
@@ -30107,6 +30705,9 @@
|
|
|
30107
30705
|
},
|
|
30108
30706
|
{
|
|
30109
30707
|
"$ref": "#/components/schemas/DocumentBlockStepper"
|
|
30708
|
+
},
|
|
30709
|
+
{
|
|
30710
|
+
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
30110
30711
|
}
|
|
30111
30712
|
]
|
|
30112
30713
|
},
|
|
@@ -34525,6 +35126,12 @@
|
|
|
34525
35126
|
"type": "string",
|
|
34526
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."
|
|
34527
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
|
+
},
|
|
34528
35135
|
"document": {
|
|
34529
35136
|
"description": "Document for the new page. When provided as markdown, its frontmatter is read to set the page metadata.",
|
|
34530
35137
|
"$ref": "#/components/schemas/Document"
|
|
@@ -34732,6 +35339,122 @@
|
|
|
34732
35339
|
}
|
|
34733
35340
|
}
|
|
34734
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
|
+
},
|
|
34735
35458
|
"ChangeRequestContentChange": {
|
|
34736
35459
|
"oneOf": [
|
|
34737
35460
|
{
|
|
@@ -34751,6 +35474,15 @@
|
|
|
34751
35474
|
},
|
|
34752
35475
|
{
|
|
34753
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"
|
|
34754
35486
|
}
|
|
34755
35487
|
],
|
|
34756
35488
|
"discriminator": {
|
|
@@ -34761,7 +35493,10 @@
|
|
|
34761
35493
|
"delete_page": "#/components/schemas/ChangeRequestContentChangeDeletePage",
|
|
34762
35494
|
"revert_page": "#/components/schemas/ChangeRequestContentChangeRevertPage",
|
|
34763
35495
|
"insert_files": "#/components/schemas/ChangeRequestContentChangeInsertFiles",
|
|
34764
|
-
"insert_computed_page": "#/components/schemas/ChangeRequestContentChangeInsertComputedPage"
|
|
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"
|
|
34765
35500
|
}
|
|
34766
35501
|
}
|
|
34767
35502
|
},
|
|
@@ -34912,6 +35647,13 @@
|
|
|
34912
35647
|
"items": {
|
|
34913
35648
|
"$ref": "#/components/schemas/RevisionFile"
|
|
34914
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
|
+
}
|
|
34915
35657
|
}
|
|
34916
35658
|
}
|
|
34917
35659
|
},
|
|
@@ -35494,6 +36236,12 @@
|
|
|
35494
36236
|
"properties": {
|
|
35495
36237
|
"label": {
|
|
35496
36238
|
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
36239
|
+
},
|
|
36240
|
+
"group": {
|
|
36241
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
36242
|
+
},
|
|
36243
|
+
"parent": {
|
|
36244
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
35497
36245
|
}
|
|
35498
36246
|
}
|
|
35499
36247
|
},
|
|
@@ -35519,6 +36267,102 @@
|
|
|
35519
36267
|
"attributes"
|
|
35520
36268
|
]
|
|
35521
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
|
+
},
|
|
35522
36366
|
"RevisionSemanticChange": {
|
|
35523
36367
|
"oneOf": [
|
|
35524
36368
|
{
|
|
@@ -35562,6 +36406,15 @@
|
|
|
35562
36406
|
},
|
|
35563
36407
|
{
|
|
35564
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"
|
|
35565
36418
|
}
|
|
35566
36419
|
]
|
|
35567
36420
|
},
|
|
@@ -35610,6 +36463,29 @@
|
|
|
35610
36463
|
}
|
|
35611
36464
|
}
|
|
35612
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
|
+
},
|
|
35613
36489
|
"OrganizationMember": {
|
|
35614
36490
|
"type": "object",
|
|
35615
36491
|
"properties": {
|
|
@@ -35631,8 +36507,7 @@
|
|
|
35631
36507
|
"$ref": "#/components/schemas/User"
|
|
35632
36508
|
},
|
|
35633
36509
|
"disabled": {
|
|
35634
|
-
"
|
|
35635
|
-
"description": "Whatever the membership of this user is disabled and prevent them from accessing content."
|
|
36510
|
+
"$ref": "#/components/schemas/MemberDisabled"
|
|
35636
36511
|
},
|
|
35637
36512
|
"joinedAt": {
|
|
35638
36513
|
"description": "Date at which the user joined the organization.",
|
|
@@ -36150,9 +37025,6 @@
|
|
|
36150
37025
|
"pro_2024",
|
|
36151
37026
|
"enterprise_2024",
|
|
36152
37027
|
"community_2024",
|
|
36153
|
-
"free",
|
|
36154
|
-
"plus",
|
|
36155
|
-
"pro",
|
|
36156
37028
|
"internal"
|
|
36157
37029
|
]
|
|
36158
37030
|
},
|
|
@@ -36502,6 +37374,10 @@
|
|
|
36502
37374
|
"description": "If true, the organization is configured to use all our AI features.",
|
|
36503
37375
|
"type": "boolean"
|
|
36504
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
|
+
},
|
|
36505
37381
|
"aiSettings": {
|
|
36506
37382
|
"$ref": "#/components/schemas/OrganizationAISettings"
|
|
36507
37383
|
},
|
|
@@ -36601,23 +37477,6 @@
|
|
|
36601
37477
|
"reason"
|
|
36602
37478
|
]
|
|
36603
37479
|
},
|
|
36604
|
-
"internal_billingMigration": {
|
|
36605
|
-
"type": "object",
|
|
36606
|
-
"properties": {
|
|
36607
|
-
"deadline": {
|
|
36608
|
-
"description": "When we will upgrade the organization onto new pricing, if they haven't already.",
|
|
36609
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
36610
|
-
},
|
|
36611
|
-
"discountPercent": {
|
|
36612
|
-
"description": "A discount the organization may have received thanks to migrating early.",
|
|
36613
|
-
"type": "number"
|
|
36614
|
-
},
|
|
36615
|
-
"discountEndDate": {
|
|
36616
|
-
"description": "The expiration date of the discount, after wich regular pricing resumes.",
|
|
36617
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
36618
|
-
}
|
|
36619
|
-
}
|
|
36620
|
-
},
|
|
36621
37480
|
"permissions": {
|
|
36622
37481
|
"type": "object",
|
|
36623
37482
|
"description": "The set of permissions for the organization",
|
|
@@ -38650,9 +39509,7 @@
|
|
|
38650
39509
|
"basic",
|
|
38651
39510
|
"premium",
|
|
38652
39511
|
"ultimate",
|
|
38653
|
-
"sponsored"
|
|
38654
|
-
"legacy-basic",
|
|
38655
|
-
"legacy-premium"
|
|
39512
|
+
"sponsored"
|
|
38656
39513
|
]
|
|
38657
39514
|
},
|
|
38658
39515
|
"SiteTitle": {
|
|
@@ -38874,7 +39731,6 @@
|
|
|
38874
39731
|
"sites-basic-customization",
|
|
38875
39732
|
"sites-broken-links",
|
|
38876
39733
|
"sites-custom-domain",
|
|
38877
|
-
"sites-custom-fonts",
|
|
38878
39734
|
"sites-custom-subdirectory",
|
|
38879
39735
|
"sites-full-text-search",
|
|
38880
39736
|
"sites-multivariant-site",
|
|
@@ -38959,6 +39815,14 @@
|
|
|
38959
39815
|
"$ref": "#/components/schemas/SiteType",
|
|
38960
39816
|
"description": "The currently applied type of the site. For example, frozen sites will have this set to Basic."
|
|
38961
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
|
+
},
|
|
38962
39826
|
"title": {
|
|
38963
39827
|
"$ref": "#/components/schemas/SiteTitle"
|
|
38964
39828
|
},
|
|
@@ -40916,6 +41780,10 @@
|
|
|
40916
41780
|
"type": "boolean",
|
|
40917
41781
|
"description": "Whether the site section is draft and not live."
|
|
40918
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
|
+
},
|
|
40919
41787
|
"path": {
|
|
40920
41788
|
"$ref": "#/components/schemas/SiteSectionPath"
|
|
40921
41789
|
},
|
|
@@ -40992,6 +41860,10 @@
|
|
|
40992
41860
|
"$ref": "#/components/schemas/SiteSection"
|
|
40993
41861
|
}
|
|
40994
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
|
+
},
|
|
40995
41867
|
"sectionGroup": {
|
|
40996
41868
|
"type": "string",
|
|
40997
41869
|
"description": "ID of the parent section group this group belongs to"
|
|
@@ -42806,97 +43678,6 @@
|
|
|
42806
43678
|
}
|
|
42807
43679
|
]
|
|
42808
43680
|
},
|
|
42809
|
-
"MigrateOrganizationParameters": {
|
|
42810
|
-
"type": "object",
|
|
42811
|
-
"properties": {
|
|
42812
|
-
"interval": {
|
|
42813
|
-
"description": "The desired billing interval",
|
|
42814
|
-
"$ref": "#/components/schemas/BillingInterval"
|
|
42815
|
-
},
|
|
42816
|
-
"product": {
|
|
42817
|
-
"type": "string",
|
|
42818
|
-
"description": "The new product to upgrade to",
|
|
42819
|
-
"enum": [
|
|
42820
|
-
"free_2024",
|
|
42821
|
-
"plus_2024",
|
|
42822
|
-
"pro_2024"
|
|
42823
|
-
]
|
|
42824
|
-
},
|
|
42825
|
-
"changes": {
|
|
42826
|
-
"$ref": "#/components/schemas/SubscriptionChanges"
|
|
42827
|
-
}
|
|
42828
|
-
},
|
|
42829
|
-
"required": [
|
|
42830
|
-
"product",
|
|
42831
|
-
"interval",
|
|
42832
|
-
"changes"
|
|
42833
|
-
]
|
|
42834
|
-
},
|
|
42835
|
-
"Error": {
|
|
42836
|
-
"type": "object",
|
|
42837
|
-
"required": [
|
|
42838
|
-
"error"
|
|
42839
|
-
],
|
|
42840
|
-
"properties": {
|
|
42841
|
-
"error": {
|
|
42842
|
-
"type": "object",
|
|
42843
|
-
"properties": {
|
|
42844
|
-
"code": {
|
|
42845
|
-
"type": "integer",
|
|
42846
|
-
"format": "int32"
|
|
42847
|
-
},
|
|
42848
|
-
"message": {
|
|
42849
|
-
"type": "string"
|
|
42850
|
-
}
|
|
42851
|
-
},
|
|
42852
|
-
"required": [
|
|
42853
|
-
"code",
|
|
42854
|
-
"message"
|
|
42855
|
-
]
|
|
42856
|
-
}
|
|
42857
|
-
}
|
|
42858
|
-
},
|
|
42859
|
-
"BillingDiscount": {
|
|
42860
|
-
"type": "object",
|
|
42861
|
-
"properties": {
|
|
42862
|
-
"duration": {
|
|
42863
|
-
"description": "How many months the discount will last",
|
|
42864
|
-
"type": "number"
|
|
42865
|
-
},
|
|
42866
|
-
"percentOff": {
|
|
42867
|
-
"description": "Percent that will be deducted from the subtotal of the invoice",
|
|
42868
|
-
"type": "number"
|
|
42869
|
-
}
|
|
42870
|
-
},
|
|
42871
|
-
"required": [
|
|
42872
|
-
"duration",
|
|
42873
|
-
"percentOff"
|
|
42874
|
-
]
|
|
42875
|
-
},
|
|
42876
|
-
"SitePageviews": {
|
|
42877
|
-
"type": "object",
|
|
42878
|
-
"properties": {
|
|
42879
|
-
"object": {
|
|
42880
|
-
"type": "string",
|
|
42881
|
-
"enum": [
|
|
42882
|
-
"site-pageviews"
|
|
42883
|
-
]
|
|
42884
|
-
},
|
|
42885
|
-
"siteId": {
|
|
42886
|
-
"type": "string",
|
|
42887
|
-
"description": "The identifier of the site"
|
|
42888
|
-
},
|
|
42889
|
-
"pageviews": {
|
|
42890
|
-
"description": "Number of pageviews in the past 30 days",
|
|
42891
|
-
"type": "number"
|
|
42892
|
-
}
|
|
42893
|
-
},
|
|
42894
|
-
"required": [
|
|
42895
|
-
"object",
|
|
42896
|
-
"siteId",
|
|
42897
|
-
"pageviews"
|
|
42898
|
-
]
|
|
42899
|
-
},
|
|
42900
43681
|
"BillingPortal": {
|
|
42901
43682
|
"type": "object",
|
|
42902
43683
|
"properties": {
|
|
@@ -43046,6 +43827,7 @@
|
|
|
43046
43827
|
"members-teams",
|
|
43047
43828
|
"members-team-owners",
|
|
43048
43829
|
"security-saml",
|
|
43830
|
+
"scim",
|
|
43049
43831
|
"change-requests-merge-rules"
|
|
43050
43832
|
]
|
|
43051
43833
|
},
|
|
@@ -43353,6 +44135,110 @@
|
|
|
43353
44135
|
"urls"
|
|
43354
44136
|
]
|
|
43355
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
|
+
},
|
|
43356
44242
|
"OrganizationSSOProviderLogin": {
|
|
43357
44243
|
"type": "object",
|
|
43358
44244
|
"properties": {
|
|
@@ -43404,59 +44290,34 @@
|
|
|
43404
44290
|
"OrganizationUsageSites": {
|
|
43405
44291
|
"type": "object",
|
|
43406
44292
|
"description": "Sites usage metrics of an organization",
|
|
43407
|
-
"
|
|
43408
|
-
{
|
|
43409
|
-
"
|
|
43410
|
-
|
|
43411
|
-
"description": "Count of all sites",
|
|
43412
|
-
"type": "number"
|
|
43413
|
-
},
|
|
43414
|
-
"legacyBasic": {
|
|
43415
|
-
"description": "Count of all legacy basic sites",
|
|
43416
|
-
"type": "number"
|
|
43417
|
-
},
|
|
43418
|
-
"legacyPremium": {
|
|
43419
|
-
"description": "Count of all legacy premium sites",
|
|
43420
|
-
"type": "number"
|
|
43421
|
-
}
|
|
43422
|
-
},
|
|
43423
|
-
"required": [
|
|
43424
|
-
"total",
|
|
43425
|
-
"legacyBasic",
|
|
43426
|
-
"legacyPremium"
|
|
43427
|
-
]
|
|
44293
|
+
"properties": {
|
|
44294
|
+
"total": {
|
|
44295
|
+
"description": "Count of all sites",
|
|
44296
|
+
"type": "number"
|
|
43428
44297
|
},
|
|
43429
|
-
{
|
|
43430
|
-
"
|
|
43431
|
-
|
|
43432
|
-
|
|
43433
|
-
|
|
43434
|
-
|
|
43435
|
-
|
|
43436
|
-
|
|
43437
|
-
|
|
43438
|
-
|
|
43439
|
-
|
|
43440
|
-
|
|
43441
|
-
|
|
43442
|
-
|
|
43443
|
-
|
|
43444
|
-
"description": "Count of all ultimate sites",
|
|
43445
|
-
"type": "number"
|
|
43446
|
-
},
|
|
43447
|
-
"sponsored": {
|
|
43448
|
-
"description": "Count of all sponsored sites",
|
|
43449
|
-
"type": "number"
|
|
43450
|
-
}
|
|
43451
|
-
},
|
|
43452
|
-
"required": [
|
|
43453
|
-
"total",
|
|
43454
|
-
"basic",
|
|
43455
|
-
"premium",
|
|
43456
|
-
"ultimate",
|
|
43457
|
-
"sponsored"
|
|
43458
|
-
]
|
|
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"
|
|
43459
44313
|
}
|
|
44314
|
+
},
|
|
44315
|
+
"required": [
|
|
44316
|
+
"total",
|
|
44317
|
+
"basic",
|
|
44318
|
+
"premium",
|
|
44319
|
+
"ultimate",
|
|
44320
|
+
"sponsored"
|
|
43460
44321
|
]
|
|
43461
44322
|
},
|
|
43462
44323
|
"OrganizationUsageTeams": {
|
|
@@ -43477,11 +44338,35 @@
|
|
|
43477
44338
|
"description": "Members usage metrics of an organization",
|
|
43478
44339
|
"properties": {
|
|
43479
44340
|
"total": {
|
|
43480
|
-
"description": "Count of all members",
|
|
44341
|
+
"description": "Count of all members, including disabled ones",
|
|
44342
|
+
"type": "number"
|
|
44343
|
+
},
|
|
44344
|
+
"active": {
|
|
44345
|
+
"description": "Count of members that are not disabled",
|
|
43481
44346
|
"type": "number"
|
|
43482
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
|
+
},
|
|
43483
44368
|
"seats": {
|
|
43484
|
-
"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",
|
|
43485
44370
|
"type": "number"
|
|
43486
44371
|
},
|
|
43487
44372
|
"admin": {
|
|
@@ -43515,6 +44400,8 @@
|
|
|
43515
44400
|
},
|
|
43516
44401
|
"required": [
|
|
43517
44402
|
"total",
|
|
44403
|
+
"active",
|
|
44404
|
+
"disabled",
|
|
43518
44405
|
"seats",
|
|
43519
44406
|
"admin",
|
|
43520
44407
|
"create",
|
|
@@ -44115,7 +45002,8 @@
|
|
|
44115
45002
|
"enum": [
|
|
44116
45003
|
"pending",
|
|
44117
45004
|
"running",
|
|
44118
|
-
"completed"
|
|
45005
|
+
"completed",
|
|
45006
|
+
"failed"
|
|
44119
45007
|
]
|
|
44120
45008
|
},
|
|
44121
45009
|
"TranslationSource": {
|
|
@@ -45069,6 +45957,30 @@
|
|
|
45069
45957
|
}
|
|
45070
45958
|
]
|
|
45071
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
|
+
},
|
|
45072
45984
|
"SiteAdaptiveRegions": {
|
|
45073
45985
|
"type": "object",
|
|
45074
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.",
|
|
@@ -46625,6 +47537,49 @@
|
|
|
46625
47537
|
"scripts"
|
|
46626
47538
|
]
|
|
46627
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
|
+
},
|
|
46628
47583
|
"SiteChangeRequestMemberStatus": {
|
|
46629
47584
|
"type": "string",
|
|
46630
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.",
|
|
@@ -47862,6 +48817,25 @@
|
|
|
47862
48817
|
"high"
|
|
47863
48818
|
]
|
|
47864
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
|
+
},
|
|
47865
48839
|
"SiteTriageFilterQuestions": {
|
|
47866
48840
|
"type": "string",
|
|
47867
48841
|
"description": "Findings source filter matching evidence coming from site questions.\n",
|
|
@@ -47890,6 +48864,65 @@
|
|
|
47890
48864
|
"description": "Short finding title",
|
|
47891
48865
|
"maxLength": 256
|
|
47892
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
|
+
},
|
|
47893
48926
|
"SiteRedirectSourcePath": {
|
|
47894
48927
|
"type": "string",
|
|
47895
48928
|
"description": "The source path to redirect from.",
|
|
@@ -47941,16 +48974,20 @@
|
|
|
47941
48974
|
},
|
|
47942
48975
|
"SiteFindingOutboundLink": {
|
|
47943
48976
|
"type": "object",
|
|
47944
|
-
"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.",
|
|
47945
48978
|
"properties": {
|
|
47946
48979
|
"url": {
|
|
47947
48980
|
"type": "string",
|
|
47948
48981
|
"format": "uri",
|
|
47949
|
-
"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."
|
|
47950
48987
|
},
|
|
47951
48988
|
"status": {
|
|
47952
48989
|
"type": "string",
|
|
47953
|
-
"description": "Current health status of the URL for this site.",
|
|
48990
|
+
"description": "Current health status of the URL or domain for this site.",
|
|
47954
48991
|
"enum": [
|
|
47955
48992
|
"pending",
|
|
47956
48993
|
"healthy",
|
|
@@ -47979,13 +49016,9 @@
|
|
|
47979
49016
|
},
|
|
47980
49017
|
"checkedAt": {
|
|
47981
49018
|
"$ref": "#/components/schemas/Timestamp",
|
|
47982
|
-
"description": "When the URL was last observed
|
|
49019
|
+
"description": "When the URL or domain was last observed."
|
|
47983
49020
|
}
|
|
47984
|
-
}
|
|
47985
|
-
"required": [
|
|
47986
|
-
"url",
|
|
47987
|
-
"status"
|
|
47988
|
-
]
|
|
49021
|
+
}
|
|
47989
49022
|
},
|
|
47990
49023
|
"SiteFinding": {
|
|
47991
49024
|
"type": "object",
|
|
@@ -48046,6 +49079,30 @@
|
|
|
48046
49079
|
"type": "boolean",
|
|
48047
49080
|
"description": "Whether an AI agent should be able to fix this finding directly"
|
|
48048
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
|
+
},
|
|
48049
49106
|
"brokenLinkAction": {
|
|
48050
49107
|
"$ref": "#/components/schemas/SiteFindingBrokenLinkAction"
|
|
48051
49108
|
},
|
|
@@ -48088,6 +49145,7 @@
|
|
|
48088
49145
|
"severity",
|
|
48089
49146
|
"description",
|
|
48090
49147
|
"autoFixable",
|
|
49148
|
+
"autoResolution",
|
|
48091
49149
|
"createdAt",
|
|
48092
49150
|
"updatedAt",
|
|
48093
49151
|
"urls"
|
|
@@ -48237,6 +49295,30 @@
|
|
|
48237
49295
|
"type": "number"
|
|
48238
49296
|
}
|
|
48239
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
|
+
},
|
|
48240
49322
|
"SiteQuestionStats": {
|
|
48241
49323
|
"type": "object",
|
|
48242
49324
|
"description": "Aggregated stats for questions and linked answers.",
|
|
@@ -48267,6 +49349,9 @@
|
|
|
48267
49349
|
"channels": {
|
|
48268
49350
|
"$ref": "#/components/schemas/SiteQuestionStatsChannels"
|
|
48269
49351
|
},
|
|
49352
|
+
"visitorTypes": {
|
|
49353
|
+
"$ref": "#/components/schemas/SiteQuestionStatsVisitorTypes"
|
|
49354
|
+
},
|
|
48270
49355
|
"weeklyPulse": {
|
|
48271
49356
|
"type": "array",
|
|
48272
49357
|
"minItems": 13,
|
|
@@ -48286,6 +49371,7 @@
|
|
|
48286
49371
|
"types",
|
|
48287
49372
|
"channelTypes",
|
|
48288
49373
|
"channels",
|
|
49374
|
+
"visitorTypes",
|
|
48289
49375
|
"weeklyPulse"
|
|
48290
49376
|
]
|
|
48291
49377
|
},
|
|
@@ -49232,6 +50318,16 @@
|
|
|
49232
50318
|
}
|
|
49233
50319
|
]
|
|
49234
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
|
+
},
|
|
49235
50331
|
"SiteQuestionAnswerResolution": {
|
|
49236
50332
|
"type": "string",
|
|
49237
50333
|
"description": "Whether the response answered the question.",
|
|
@@ -49636,6 +50732,9 @@
|
|
|
49636
50732
|
}
|
|
49637
50733
|
]
|
|
49638
50734
|
},
|
|
50735
|
+
"visitorType": {
|
|
50736
|
+
"$ref": "#/components/schemas/SiteQuestionVisitorType"
|
|
50737
|
+
},
|
|
49639
50738
|
"createdAt": {
|
|
49640
50739
|
"$ref": "#/components/schemas/Timestamp"
|
|
49641
50740
|
},
|
|
@@ -49669,6 +50768,7 @@
|
|
|
49669
50768
|
"helpfulness",
|
|
49670
50769
|
"relevance",
|
|
49671
50770
|
"channel",
|
|
50771
|
+
"visitorType",
|
|
49672
50772
|
"createdAt",
|
|
49673
50773
|
"urls"
|
|
49674
50774
|
]
|
|
@@ -50459,6 +51559,30 @@
|
|
|
50459
51559
|
"reason"
|
|
50460
51560
|
]
|
|
50461
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
|
+
},
|
|
50462
51586
|
"AIToolCallComment": {
|
|
50463
51587
|
"type": "object",
|
|
50464
51588
|
"properties": {
|
|
@@ -50667,6 +51791,72 @@
|
|
|
50667
51791
|
"totalPages"
|
|
50668
51792
|
]
|
|
50669
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
|
+
},
|
|
50670
51860
|
"AIToolCallStartBackgroundAgent": {
|
|
50671
51861
|
"type": "object",
|
|
50672
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",
|
|
@@ -50845,6 +52035,9 @@
|
|
|
50845
52035
|
{
|
|
50846
52036
|
"$ref": "#/components/schemas/AIToolCallArchiveChangeRequest"
|
|
50847
52037
|
},
|
|
52038
|
+
{
|
|
52039
|
+
"$ref": "#/components/schemas/AIToolCallMergeChangeRequest"
|
|
52040
|
+
},
|
|
50848
52041
|
{
|
|
50849
52042
|
"$ref": "#/components/schemas/AIToolCallComment"
|
|
50850
52043
|
},
|
|
@@ -50863,6 +52056,12 @@
|
|
|
50863
52056
|
{
|
|
50864
52057
|
"$ref": "#/components/schemas/AIToolCallCheckContentImport"
|
|
50865
52058
|
},
|
|
52059
|
+
{
|
|
52060
|
+
"$ref": "#/components/schemas/AIToolCallImportOpenAPISpec"
|
|
52061
|
+
},
|
|
52062
|
+
{
|
|
52063
|
+
"$ref": "#/components/schemas/AIToolCallSiteSetupStep"
|
|
52064
|
+
},
|
|
50866
52065
|
{
|
|
50867
52066
|
"$ref": "#/components/schemas/AIToolCallStartBackgroundAgent"
|
|
50868
52067
|
},
|
|
@@ -51265,6 +52464,10 @@
|
|
|
51265
52464
|
"type": "string",
|
|
51266
52465
|
"format": "date-time",
|
|
51267
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"
|
|
51268
52471
|
}
|
|
51269
52472
|
},
|
|
51270
52473
|
"required": [
|
|
@@ -51531,8 +52734,7 @@
|
|
|
51531
52734
|
"$ref": "#/components/schemas/UserSitePermissionOrigin"
|
|
51532
52735
|
},
|
|
51533
52736
|
"disabled": {
|
|
51534
|
-
"
|
|
51535
|
-
"description": "Whether the user is disabled"
|
|
52737
|
+
"$ref": "#/components/schemas/MemberDisabled"
|
|
51536
52738
|
},
|
|
51537
52739
|
"lastSeenAt": {
|
|
51538
52740
|
"description": "Date at which the user was last seen",
|
|
@@ -51604,6 +52806,11 @@
|
|
|
51604
52806
|
"items": {
|
|
51605
52807
|
"$ref": "#/components/schemas/AIAttachment"
|
|
51606
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"
|
|
51607
52814
|
}
|
|
51608
52815
|
},
|
|
51609
52816
|
"required": [
|
|
@@ -52231,6 +53438,10 @@
|
|
|
52231
53438
|
"createdBy"
|
|
52232
53439
|
]
|
|
52233
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
|
+
},
|
|
52234
53445
|
"SiteInsightsEventSession": {
|
|
52235
53446
|
"allOf": [
|
|
52236
53447
|
{
|
|
@@ -52252,8 +53463,7 @@
|
|
|
52252
53463
|
"description": "IP address of the visitor.\nIf not defined, it'll default to the IP executing the request.\n"
|
|
52253
53464
|
},
|
|
52254
53465
|
"userAgent": {
|
|
52255
|
-
"
|
|
52256
|
-
"description": "User-agent of the visitor.\nhttps://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent\n"
|
|
53466
|
+
"$ref": "#/components/schemas/SiteInsightsUserAgent"
|
|
52257
53467
|
},
|
|
52258
53468
|
"language": {
|
|
52259
53469
|
"type": [
|
|
@@ -53173,7 +54383,7 @@
|
|
|
53173
54383
|
},
|
|
53174
54384
|
{
|
|
53175
54385
|
"type": "object",
|
|
53176
|
-
"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.",
|
|
53177
54387
|
"required": [
|
|
53178
54388
|
"column"
|
|
53179
54389
|
],
|
|
@@ -53183,12 +54393,17 @@
|
|
|
53183
54393
|
"enum": [
|
|
53184
54394
|
"dayOfWeek"
|
|
53185
54395
|
]
|
|
54396
|
+
},
|
|
54397
|
+
"timezone": {
|
|
54398
|
+
"type": "string",
|
|
54399
|
+
"description": "IANA time zone the event is read in, UTC when omitted.",
|
|
54400
|
+
"example": "Europe/Paris"
|
|
53186
54401
|
}
|
|
53187
54402
|
}
|
|
53188
54403
|
},
|
|
53189
54404
|
{
|
|
53190
54405
|
"type": "object",
|
|
53191
|
-
"description": "Hour of the day the event happened
|
|
54406
|
+
"description": "Hour of the day the event happened in `timezone`, from 0 to 23.",
|
|
53192
54407
|
"required": [
|
|
53193
54408
|
"column"
|
|
53194
54409
|
],
|
|
@@ -53198,6 +54413,11 @@
|
|
|
53198
54413
|
"enum": [
|
|
53199
54414
|
"hourOfDay"
|
|
53200
54415
|
]
|
|
54416
|
+
},
|
|
54417
|
+
"timezone": {
|
|
54418
|
+
"type": "string",
|
|
54419
|
+
"description": "IANA time zone the event is read in, UTC when omitted.",
|
|
54420
|
+
"example": "Europe/Paris"
|
|
53201
54421
|
}
|
|
53202
54422
|
}
|
|
53203
54423
|
},
|
|
@@ -56169,6 +57389,141 @@
|
|
|
56169
57389
|
"expiresAt"
|
|
56170
57390
|
]
|
|
56171
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
|
+
},
|
|
56172
57527
|
"PurgeCDNCacheContext": {
|
|
56173
57528
|
"type": "object",
|
|
56174
57529
|
"description": "The context to send when purging the CDN Cache",
|
|
@@ -57954,6 +59309,9 @@
|
|
|
57954
59309
|
"icon": {
|
|
57955
59310
|
"$ref": "#/components/schemas/Icon"
|
|
57956
59311
|
},
|
|
59312
|
+
"condition": {
|
|
59313
|
+
"$ref": "#/components/schemas/Expression"
|
|
59314
|
+
},
|
|
57957
59315
|
"draft": {
|
|
57958
59316
|
"type": "boolean",
|
|
57959
59317
|
"description": "Whether the section group is draft and not live."
|
|
@@ -58435,9 +59793,14 @@
|
|
|
58435
59793
|
"$ref": "#/components/schemas/OrganizationFeature"
|
|
58436
59794
|
},
|
|
58437
59795
|
"requiredPlan": {
|
|
58438
|
-
"description": "The minimum organization plan that includes the feature.",
|
|
59796
|
+
"description": "The internal identifier of the minimum organization plan that includes the feature. The human-readable name is provided in requiredPlanName.",
|
|
58439
59797
|
"$ref": "#/components/schemas/BillingProduct"
|
|
58440
59798
|
},
|
|
59799
|
+
"requiredPlanName": {
|
|
59800
|
+
"type": "string",
|
|
59801
|
+
"description": "The human-readable name of the required organization plan.",
|
|
59802
|
+
"example": "Pro"
|
|
59803
|
+
},
|
|
58441
59804
|
"url": {
|
|
58442
59805
|
"type": "string",
|
|
58443
59806
|
"format": "uri",
|
|
@@ -58449,6 +59812,7 @@
|
|
|
58449
59812
|
"type",
|
|
58450
59813
|
"feature",
|
|
58451
59814
|
"requiredPlan",
|
|
59815
|
+
"requiredPlanName",
|
|
58452
59816
|
"url"
|
|
58453
59817
|
]
|
|
58454
59818
|
},
|
|
@@ -58466,9 +59830,14 @@
|
|
|
58466
59830
|
"$ref": "#/components/schemas/SiteFeatureKey"
|
|
58467
59831
|
},
|
|
58468
59832
|
"requiredPlan": {
|
|
58469
|
-
"description": "The minimum site plan that includes the feature.",
|
|
59833
|
+
"description": "The internal identifier of the minimum site plan that includes the feature. The human-readable name is provided in requiredPlanName.",
|
|
58470
59834
|
"$ref": "#/components/schemas/SiteType"
|
|
58471
59835
|
},
|
|
59836
|
+
"requiredPlanName": {
|
|
59837
|
+
"type": "string",
|
|
59838
|
+
"description": "The human-readable name of the required site plan.",
|
|
59839
|
+
"example": "Ultimate"
|
|
59840
|
+
},
|
|
58472
59841
|
"url": {
|
|
58473
59842
|
"type": "string",
|
|
58474
59843
|
"format": "uri",
|
|
@@ -58480,6 +59849,7 @@
|
|
|
58480
59849
|
"type",
|
|
58481
59850
|
"feature",
|
|
58482
59851
|
"requiredPlan",
|
|
59852
|
+
"requiredPlanName",
|
|
58483
59853
|
"url"
|
|
58484
59854
|
]
|
|
58485
59855
|
}
|
|
@@ -58500,6 +59870,23 @@
|
|
|
58500
59870
|
"paused"
|
|
58501
59871
|
]
|
|
58502
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
|
+
},
|
|
58503
59890
|
"APIIntegrationScope": {
|
|
58504
59891
|
"type": "string",
|
|
58505
59892
|
"enum": [
|
|
@@ -59287,6 +60674,25 @@
|
|
|
59287
60674
|
"organization"
|
|
59288
60675
|
]
|
|
59289
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
|
+
},
|
|
59290
60696
|
"APIChannelOrganizationCustomFonts": {
|
|
59291
60697
|
"type": "object",
|
|
59292
60698
|
"description": "Subscription channel for changes in custom fonts in an organization.",
|
|
@@ -60174,6 +61580,9 @@
|
|
|
60174
61580
|
{
|
|
60175
61581
|
"$ref": "#/components/schemas/APIChannelOrganizationTranslationsGlossary"
|
|
60176
61582
|
},
|
|
61583
|
+
{
|
|
61584
|
+
"$ref": "#/components/schemas/APIChannelOrganizationSCIMConnections"
|
|
61585
|
+
},
|
|
60177
61586
|
{
|
|
60178
61587
|
"$ref": "#/components/schemas/APIChannelOrganizationCustomFonts"
|
|
60179
61588
|
},
|
|
@@ -61300,7 +62709,7 @@
|
|
|
61300
62709
|
"content": {
|
|
61301
62710
|
"application/json": {
|
|
61302
62711
|
"schema": {
|
|
61303
|
-
"description": "
|
|
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",
|
|
61304
62713
|
"type": "object",
|
|
61305
62714
|
"required": [
|
|
61306
62715
|
"error"
|