@gitbook/api 0.209.1 → 0.210.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 +436 -128
- package/dist/constants.d.ts +5 -0
- package/dist/index.cjs +121 -47
- package/dist/index.js +111 -47
- package/package.json +1 -1
- package/spec/openapi.json +1213 -347
- package/spec/openapi.yaml +819 -233
package/spec/openapi.json
CHANGED
|
@@ -4023,7 +4023,7 @@
|
|
|
4023
4023
|
"post": {
|
|
4024
4024
|
"operationId": "updateChangeRequestContent",
|
|
4025
4025
|
"summary": "Apply a batch of content changes to a change request",
|
|
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.\n**Tags**: create
|
|
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.\n**Tags and categories**: create with `insert_tags` using a `tags` array (1-50 entries), change appearance or placement with `update_tag`, and delete with `delete_tag`. A category (`kind: category`) must be empty before deletion and cannot be assigned to pages or blocks. Categories nest up to three levels deep; normal tags nest one level under other normal tags. Deleting a normal tag reparents its children to its parent. Changes apply in order, so newly created tags can be used by later changes, including page frontmatter. Tags within an insert apply in array order; create parents before children. For example: `{\"changes\":[{\"operation\":\"insert_tags\",\"tags\":[{\"label\":\"Products\",\"slug\":\"products\",\"kind\":\"category\"}, {\"label\":\"Autonomous DEM\",\"slug\":\"autonomous-dem\",\"parent\":\"products\"}, {\"label\":\"Core\",\"slug\":\"core\",\"parent\":\"autonomous-dem\"}]}]}`.\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**Variables** (space variables, Git Sync's `.gitbook/vars.yaml`) are created with `insert_variables`, changed with `update_variable` and removed with `delete_variable`. A variable is identified by its name, which content references as an expression: `<code class=\"expression\">space.vars.<name></code>` in markdown. Inserting a name the change request already uses, or updating or deleting one it does not, rejects the batch. Deleting a variable keeps the expressions referencing it, as in the editor: remove them from those pages too. A page's own variables (`page.vars.<name>`) are set with `insert_page`/`update_page`'s `variables`, or the `vars` frontmatter of a markdown document, which replace all of that page's variables. To change one of them without resending the rest, give `insert_variables`, `update_variable` or `delete_variable` a `page`; the same rules apply to that page's variables.\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
4027
|
"x-gitbook-mcp": {
|
|
4028
4028
|
"destructive": true
|
|
4029
4029
|
},
|
|
@@ -7505,6 +7505,7 @@
|
|
|
7505
7505
|
"get": {
|
|
7506
7506
|
"operationId": "renderIntegrationUIWithGet",
|
|
7507
7507
|
"summary": "Render an integration UI with GET method",
|
|
7508
|
+
"description": "Declared integration input errors return 422. Integration connection or configuration\nfailures return 424, independently of the caller's GitBook authentication.\nInvalid or failing integration responses return 502. Transport failures remain 5xx.\nFailed actions are not automatically retried.\n",
|
|
7508
7509
|
"tags": [
|
|
7509
7510
|
"integrations"
|
|
7510
7511
|
],
|
|
@@ -7539,12 +7540,33 @@
|
|
|
7539
7540
|
}
|
|
7540
7541
|
}
|
|
7541
7542
|
}
|
|
7543
|
+
},
|
|
7544
|
+
"422": {
|
|
7545
|
+
"description": "The integration rejected the input",
|
|
7546
|
+
"content": {
|
|
7547
|
+
"application/json": {
|
|
7548
|
+
"schema": {
|
|
7549
|
+
"$ref": "#/components/schemas/Error"
|
|
7550
|
+
}
|
|
7551
|
+
}
|
|
7552
|
+
}
|
|
7553
|
+
},
|
|
7554
|
+
"424": {
|
|
7555
|
+
"description": "The integration connection or configuration needs attention",
|
|
7556
|
+
"content": {
|
|
7557
|
+
"application/json": {
|
|
7558
|
+
"schema": {
|
|
7559
|
+
"$ref": "#/components/schemas/Error"
|
|
7560
|
+
}
|
|
7561
|
+
}
|
|
7562
|
+
}
|
|
7542
7563
|
}
|
|
7543
7564
|
}
|
|
7544
7565
|
},
|
|
7545
7566
|
"post": {
|
|
7546
7567
|
"operationId": "renderIntegrationUIWithPost",
|
|
7547
7568
|
"summary": "Render an integration UI with POST method",
|
|
7569
|
+
"description": "Declared integration input errors return 422. Integration connection or configuration\nfailures return 424, independently of the caller's GitBook authentication.\nInvalid or failing integration responses return 502. Transport failures remain 5xx.\nFailed actions are not automatically retried.\n",
|
|
7548
7570
|
"tags": [
|
|
7549
7571
|
"integrations"
|
|
7550
7572
|
],
|
|
@@ -7570,6 +7592,26 @@
|
|
|
7570
7592
|
}
|
|
7571
7593
|
}
|
|
7572
7594
|
}
|
|
7595
|
+
},
|
|
7596
|
+
"422": {
|
|
7597
|
+
"description": "The integration rejected the input",
|
|
7598
|
+
"content": {
|
|
7599
|
+
"application/json": {
|
|
7600
|
+
"schema": {
|
|
7601
|
+
"$ref": "#/components/schemas/Error"
|
|
7602
|
+
}
|
|
7603
|
+
}
|
|
7604
|
+
}
|
|
7605
|
+
},
|
|
7606
|
+
"424": {
|
|
7607
|
+
"description": "The integration connection or configuration needs attention",
|
|
7608
|
+
"content": {
|
|
7609
|
+
"application/json": {
|
|
7610
|
+
"schema": {
|
|
7611
|
+
"$ref": "#/components/schemas/Error"
|
|
7612
|
+
}
|
|
7613
|
+
}
|
|
7614
|
+
}
|
|
7573
7615
|
}
|
|
7574
7616
|
},
|
|
7575
7617
|
"requestBody": {
|
|
@@ -8971,7 +9013,7 @@
|
|
|
8971
9013
|
"operationId": "listOrganizationAuditEvents",
|
|
8972
9014
|
"x-gitbook-mcp": true,
|
|
8973
9015
|
"summary": "List organization audit events",
|
|
8974
|
-
"description": "Lists recorded changes for an activated organization. Access is restricted to organization administrators and GitBook staff, and results are ordered by occurrence time, newest first. An active Enterprise plan is required except for GitBook's own organization.\n",
|
|
9016
|
+
"description": "Lists recorded changes for an activated organization. Access is restricted to organization administrators and GitBook staff, and results are ordered by occurrence time, newest first. An active Enterprise plan is required except for GitBook's own organization. Only events from the latest 365 days are available, including in counts and facets.\n",
|
|
8975
9017
|
"tags": [
|
|
8976
9018
|
"organizations"
|
|
8977
9019
|
],
|
|
@@ -9001,7 +9043,7 @@
|
|
|
9001
9043
|
{
|
|
9002
9044
|
"name": "from",
|
|
9003
9045
|
"in": "query",
|
|
9004
|
-
"description": "Include events occurring at or after this time.",
|
|
9046
|
+
"description": "Include events occurring at or after this time, within the latest 365 days.",
|
|
9005
9047
|
"schema": {
|
|
9006
9048
|
"type": "string",
|
|
9007
9049
|
"format": "date-time"
|
|
@@ -9143,7 +9185,7 @@
|
|
|
9143
9185
|
"operationId": "getOrganizationAuditEvent",
|
|
9144
9186
|
"x-gitbook-mcp": true,
|
|
9145
9187
|
"summary": "Get an organization audit event",
|
|
9146
|
-
"description": "Returns the full allowlisted payload for one recorded organization change. Access is restricted to organization administrators and GitBook staff. The organization must be activated and on an active Enterprise plan, except for GitBook's own organization.\n",
|
|
9188
|
+
"description": "Returns the full allowlisted payload for one recorded organization change. Access is restricted to organization administrators and GitBook staff. The organization must be activated and on an active Enterprise plan, except for GitBook's own organization. Events older than 365 days are unavailable and return 404.\n",
|
|
9147
9189
|
"tags": [
|
|
9148
9190
|
"organizations"
|
|
9149
9191
|
],
|
|
@@ -10196,6 +10238,8 @@
|
|
|
10196
10238
|
"post": {
|
|
10197
10239
|
"operationId": "inviteUsersToOrganization",
|
|
10198
10240
|
"summary": "Invite users in an organization",
|
|
10241
|
+
"description": "Optionally adds invitees to teams using teamIds. Team owners may invite organization Guests into teams they own. Other organization invitations require an organization admin.",
|
|
10242
|
+
"x-gitbook-mcp": true,
|
|
10199
10243
|
"tags": [
|
|
10200
10244
|
"organization-invites"
|
|
10201
10245
|
],
|
|
@@ -10235,10 +10279,25 @@
|
|
|
10235
10279
|
},
|
|
10236
10280
|
"failedSSOEmails": {
|
|
10237
10281
|
"type": "array",
|
|
10282
|
+
"deprecated": true,
|
|
10238
10283
|
"items": {
|
|
10239
10284
|
"type": "string",
|
|
10240
10285
|
"description": "A list of emails who were invited to the organization, but who were not added as SSO users as they are members of another org"
|
|
10241
10286
|
}
|
|
10287
|
+
},
|
|
10288
|
+
"pendingConsentEmails": {
|
|
10289
|
+
"type": "array",
|
|
10290
|
+
"description": "Addresses awaiting acceptance of a team-owner invitation. Every requested address follows this flow, regardless of account existence or organization membership. No access is granted until acceptance.",
|
|
10291
|
+
"items": {
|
|
10292
|
+
"type": "string"
|
|
10293
|
+
}
|
|
10294
|
+
},
|
|
10295
|
+
"unverifiedEmails": {
|
|
10296
|
+
"type": "array",
|
|
10297
|
+
"description": "Email addresses that must be verified before their existing accounts can be invited.",
|
|
10298
|
+
"items": {
|
|
10299
|
+
"type": "string"
|
|
10300
|
+
}
|
|
10242
10301
|
}
|
|
10243
10302
|
},
|
|
10244
10303
|
"required": [
|
|
@@ -11527,8 +11586,14 @@
|
|
|
11527
11586
|
"defaultTeam": {
|
|
11528
11587
|
"type": "string"
|
|
11529
11588
|
},
|
|
11589
|
+
"defaultTeamFromDomain": {
|
|
11590
|
+
"type": "boolean"
|
|
11591
|
+
},
|
|
11530
11592
|
"defaultRole": {
|
|
11531
|
-
"$ref": "#/components/schemas/
|
|
11593
|
+
"$ref": "#/components/schemas/SAMLProviderDefaultRole"
|
|
11594
|
+
},
|
|
11595
|
+
"domains": {
|
|
11596
|
+
"$ref": "#/components/schemas/SAMLProviderDomains"
|
|
11532
11597
|
}
|
|
11533
11598
|
},
|
|
11534
11599
|
"required": [
|
|
@@ -11638,8 +11703,14 @@
|
|
|
11638
11703
|
"defaultTeam": {
|
|
11639
11704
|
"type": "string"
|
|
11640
11705
|
},
|
|
11706
|
+
"defaultTeamFromDomain": {
|
|
11707
|
+
"type": "boolean"
|
|
11708
|
+
},
|
|
11641
11709
|
"defaultRole": {
|
|
11642
|
-
"$ref": "#/components/schemas/
|
|
11710
|
+
"$ref": "#/components/schemas/SAMLProviderDefaultRole"
|
|
11711
|
+
},
|
|
11712
|
+
"domains": {
|
|
11713
|
+
"$ref": "#/components/schemas/SAMLProviderDomains"
|
|
11643
11714
|
}
|
|
11644
11715
|
}
|
|
11645
11716
|
}
|
|
@@ -14615,6 +14686,10 @@
|
|
|
14615
14686
|
"title": {
|
|
14616
14687
|
"$ref": "#/components/schemas/SiteTitle"
|
|
14617
14688
|
},
|
|
14689
|
+
"publicChangeRequestPreviews": {
|
|
14690
|
+
"type": "boolean",
|
|
14691
|
+
"description": "Allow visitors to preview change requests and historical revisions on the published site."
|
|
14692
|
+
},
|
|
14618
14693
|
"visibility": {
|
|
14619
14694
|
"$ref": "#/components/schemas/SiteVisibility"
|
|
14620
14695
|
},
|
|
@@ -17746,6 +17821,67 @@
|
|
|
17746
17821
|
}
|
|
17747
17822
|
}
|
|
17748
17823
|
},
|
|
17824
|
+
"/orgs/{organizationId}/sites/{siteId}/search/pass": {
|
|
17825
|
+
"post": {
|
|
17826
|
+
"operationId": "generateSiteSearchPass",
|
|
17827
|
+
"summary": "Generate a site search pass",
|
|
17828
|
+
"description": "Exchanges the content token of a published site's visitor for a short-lived search pass, which lets the visitor's browser call the site search operation directly. The reply has no pass when search passes are not enabled for the site, or when the visitor token of an authenticated visitor is missing, invalid or expired.",
|
|
17829
|
+
"tags": [
|
|
17830
|
+
"sites"
|
|
17831
|
+
],
|
|
17832
|
+
"security": [
|
|
17833
|
+
{
|
|
17834
|
+
"user": []
|
|
17835
|
+
},
|
|
17836
|
+
{
|
|
17837
|
+
"oauth": [
|
|
17838
|
+
"site:search"
|
|
17839
|
+
]
|
|
17840
|
+
}
|
|
17841
|
+
],
|
|
17842
|
+
"parameters": [
|
|
17843
|
+
{
|
|
17844
|
+
"$ref": "#/components/parameters/organizationId"
|
|
17845
|
+
},
|
|
17846
|
+
{
|
|
17847
|
+
"$ref": "#/components/parameters/siteId"
|
|
17848
|
+
}
|
|
17849
|
+
],
|
|
17850
|
+
"requestBody": {
|
|
17851
|
+
"required": false,
|
|
17852
|
+
"content": {
|
|
17853
|
+
"application/json": {
|
|
17854
|
+
"schema": {
|
|
17855
|
+
"type": "object",
|
|
17856
|
+
"properties": {
|
|
17857
|
+
"visitorToken": {
|
|
17858
|
+
"type": "string",
|
|
17859
|
+
"description": "Visitor token of the session the content token was resolved for. Required for a pass on a site with visitor authentication or for an authenticated visitor; the pass never outlives it."
|
|
17860
|
+
}
|
|
17861
|
+
}
|
|
17862
|
+
}
|
|
17863
|
+
}
|
|
17864
|
+
}
|
|
17865
|
+
},
|
|
17866
|
+
"responses": {
|
|
17867
|
+
"200": {
|
|
17868
|
+
"description": "The search pass, when one was issued.",
|
|
17869
|
+
"content": {
|
|
17870
|
+
"application/json": {
|
|
17871
|
+
"schema": {
|
|
17872
|
+
"type": "object",
|
|
17873
|
+
"properties": {
|
|
17874
|
+
"searchPass": {
|
|
17875
|
+
"$ref": "#/components/schemas/SiteSearchPass"
|
|
17876
|
+
}
|
|
17877
|
+
}
|
|
17878
|
+
}
|
|
17879
|
+
}
|
|
17880
|
+
}
|
|
17881
|
+
}
|
|
17882
|
+
}
|
|
17883
|
+
}
|
|
17884
|
+
},
|
|
17749
17885
|
"/orgs/{organizationId}/sites/{siteId}/search/prewarm": {
|
|
17750
17886
|
"post": {
|
|
17751
17887
|
"operationId": "prewarmSiteSearch",
|
|
@@ -19559,6 +19695,21 @@
|
|
|
19559
19695
|
{
|
|
19560
19696
|
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19561
19697
|
},
|
|
19698
|
+
{
|
|
19699
|
+
"$ref": "#/components/parameters/siteQuestionVisitorBot"
|
|
19700
|
+
},
|
|
19701
|
+
{
|
|
19702
|
+
"$ref": "#/components/parameters/siteQuestionIntent"
|
|
19703
|
+
},
|
|
19704
|
+
{
|
|
19705
|
+
"$ref": "#/components/parameters/siteQuestionSiteSaid"
|
|
19706
|
+
},
|
|
19707
|
+
{
|
|
19708
|
+
"$ref": "#/components/parameters/siteQuestionEscalation"
|
|
19709
|
+
},
|
|
19710
|
+
{
|
|
19711
|
+
"$ref": "#/components/parameters/siteQuestionVisitorAuthentication"
|
|
19712
|
+
},
|
|
19562
19713
|
{
|
|
19563
19714
|
"$ref": "#/components/parameters/siteQuestionCitedPage"
|
|
19564
19715
|
},
|
|
@@ -19816,6 +19967,21 @@
|
|
|
19816
19967
|
{
|
|
19817
19968
|
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19818
19969
|
},
|
|
19970
|
+
{
|
|
19971
|
+
"$ref": "#/components/parameters/siteQuestionVisitorBot"
|
|
19972
|
+
},
|
|
19973
|
+
{
|
|
19974
|
+
"$ref": "#/components/parameters/siteQuestionIntent"
|
|
19975
|
+
},
|
|
19976
|
+
{
|
|
19977
|
+
"$ref": "#/components/parameters/siteQuestionSiteSaid"
|
|
19978
|
+
},
|
|
19979
|
+
{
|
|
19980
|
+
"$ref": "#/components/parameters/siteQuestionEscalation"
|
|
19981
|
+
},
|
|
19982
|
+
{
|
|
19983
|
+
"$ref": "#/components/parameters/siteQuestionVisitorAuthentication"
|
|
19984
|
+
},
|
|
19819
19985
|
{
|
|
19820
19986
|
"$ref": "#/components/parameters/siteQuestionCitedPage"
|
|
19821
19987
|
},
|
|
@@ -19975,6 +20141,9 @@
|
|
|
19975
20141
|
{
|
|
19976
20142
|
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
19977
20143
|
},
|
|
20144
|
+
{
|
|
20145
|
+
"$ref": "#/components/parameters/siteQuestionVisitorAuthentication"
|
|
20146
|
+
},
|
|
19978
20147
|
{
|
|
19979
20148
|
"name": "answered",
|
|
19980
20149
|
"in": "query",
|
|
@@ -20077,6 +20246,9 @@
|
|
|
20077
20246
|
{
|
|
20078
20247
|
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
20079
20248
|
},
|
|
20249
|
+
{
|
|
20250
|
+
"$ref": "#/components/parameters/siteQuestionVisitorAuthentication"
|
|
20251
|
+
},
|
|
20080
20252
|
{
|
|
20081
20253
|
"name": "answered",
|
|
20082
20254
|
"in": "query",
|
|
@@ -20199,6 +20371,21 @@
|
|
|
20199
20371
|
{
|
|
20200
20372
|
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
20201
20373
|
},
|
|
20374
|
+
{
|
|
20375
|
+
"$ref": "#/components/parameters/siteQuestionVisitorBot"
|
|
20376
|
+
},
|
|
20377
|
+
{
|
|
20378
|
+
"$ref": "#/components/parameters/siteQuestionIntent"
|
|
20379
|
+
},
|
|
20380
|
+
{
|
|
20381
|
+
"$ref": "#/components/parameters/siteQuestionSiteSaid"
|
|
20382
|
+
},
|
|
20383
|
+
{
|
|
20384
|
+
"$ref": "#/components/parameters/siteQuestionEscalation"
|
|
20385
|
+
},
|
|
20386
|
+
{
|
|
20387
|
+
"$ref": "#/components/parameters/siteQuestionVisitorAuthentication"
|
|
20388
|
+
},
|
|
20202
20389
|
{
|
|
20203
20390
|
"$ref": "#/components/parameters/siteQuestionCitedPage"
|
|
20204
20391
|
},
|
|
@@ -20317,6 +20504,21 @@
|
|
|
20317
20504
|
{
|
|
20318
20505
|
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
20319
20506
|
},
|
|
20507
|
+
{
|
|
20508
|
+
"$ref": "#/components/parameters/siteQuestionVisitorBot"
|
|
20509
|
+
},
|
|
20510
|
+
{
|
|
20511
|
+
"$ref": "#/components/parameters/siteQuestionIntent"
|
|
20512
|
+
},
|
|
20513
|
+
{
|
|
20514
|
+
"$ref": "#/components/parameters/siteQuestionSiteSaid"
|
|
20515
|
+
},
|
|
20516
|
+
{
|
|
20517
|
+
"$ref": "#/components/parameters/siteQuestionEscalation"
|
|
20518
|
+
},
|
|
20519
|
+
{
|
|
20520
|
+
"$ref": "#/components/parameters/siteQuestionVisitorAuthentication"
|
|
20521
|
+
},
|
|
20320
20522
|
{
|
|
20321
20523
|
"$ref": "#/components/parameters/siteQuestionCitedPage"
|
|
20322
20524
|
},
|
|
@@ -20448,6 +20650,9 @@
|
|
|
20448
20650
|
{
|
|
20449
20651
|
"$ref": "#/components/parameters/siteQuestionVisitorType"
|
|
20450
20652
|
},
|
|
20653
|
+
{
|
|
20654
|
+
"$ref": "#/components/parameters/siteQuestionVisitorAuthentication"
|
|
20655
|
+
},
|
|
20451
20656
|
{
|
|
20452
20657
|
"name": "question.type",
|
|
20453
20658
|
"in": "query",
|
|
@@ -22664,7 +22869,7 @@
|
|
|
22664
22869
|
"post": {
|
|
22665
22870
|
"operationId": "aggregateSiteEvents",
|
|
22666
22871
|
"summary": "Query a site's analytics events",
|
|
22667
|
-
"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.",
|
|
22872
|
+
"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. A result holds at most `limit` rows; when more match, pass its `next.page` back as `page` to fetch the rest.",
|
|
22668
22873
|
"x-gitbook-mcp": {
|
|
22669
22874
|
"readOnly": true
|
|
22670
22875
|
},
|
|
@@ -25520,6 +25725,15 @@
|
|
|
25520
25725
|
}
|
|
25521
25726
|
},
|
|
25522
25727
|
"parameters": {
|
|
25728
|
+
"passkeyId": {
|
|
25729
|
+
"name": "passkeyId",
|
|
25730
|
+
"in": "path",
|
|
25731
|
+
"required": true,
|
|
25732
|
+
"description": "The ID of the passkey",
|
|
25733
|
+
"schema": {
|
|
25734
|
+
"type": "string"
|
|
25735
|
+
}
|
|
25736
|
+
},
|
|
25523
25737
|
"listPage": {
|
|
25524
25738
|
"name": "page",
|
|
25525
25739
|
"in": "query",
|
|
@@ -26230,6 +26444,61 @@
|
|
|
26230
26444
|
}
|
|
26231
26445
|
}
|
|
26232
26446
|
},
|
|
26447
|
+
"siteQuestionVisitorBot": {
|
|
26448
|
+
"name": "visitorBot",
|
|
26449
|
+
"in": "query",
|
|
26450
|
+
"description": "Filter by the AI agent or bot that asked the question.",
|
|
26451
|
+
"schema": {
|
|
26452
|
+
"type": "array",
|
|
26453
|
+
"items": {
|
|
26454
|
+
"$ref": "#/components/schemas/SiteInsightsVisitorBot"
|
|
26455
|
+
}
|
|
26456
|
+
}
|
|
26457
|
+
},
|
|
26458
|
+
"siteQuestionIntent": {
|
|
26459
|
+
"name": "intent",
|
|
26460
|
+
"in": "query",
|
|
26461
|
+
"description": "Filter by the intent of the question.",
|
|
26462
|
+
"schema": {
|
|
26463
|
+
"type": "array",
|
|
26464
|
+
"items": {
|
|
26465
|
+
"$ref": "#/components/schemas/SiteQuestionIntent"
|
|
26466
|
+
}
|
|
26467
|
+
}
|
|
26468
|
+
},
|
|
26469
|
+
"siteQuestionSiteSaid": {
|
|
26470
|
+
"name": "siteSaid",
|
|
26471
|
+
"in": "query",
|
|
26472
|
+
"description": "Filter by what the site said in the answer about the main thing asked.",
|
|
26473
|
+
"schema": {
|
|
26474
|
+
"type": "array",
|
|
26475
|
+
"items": {
|
|
26476
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerSiteSaid"
|
|
26477
|
+
}
|
|
26478
|
+
}
|
|
26479
|
+
},
|
|
26480
|
+
"siteQuestionEscalation": {
|
|
26481
|
+
"name": "escalation",
|
|
26482
|
+
"in": "query",
|
|
26483
|
+
"description": "Filter by who should act on the answer (docs, another team, support or nobody).",
|
|
26484
|
+
"schema": {
|
|
26485
|
+
"type": "array",
|
|
26486
|
+
"items": {
|
|
26487
|
+
"$ref": "#/components/schemas/SiteQuestionEscalation"
|
|
26488
|
+
}
|
|
26489
|
+
}
|
|
26490
|
+
},
|
|
26491
|
+
"siteQuestionVisitorAuthentication": {
|
|
26492
|
+
"name": "visitorAuthentication",
|
|
26493
|
+
"in": "query",
|
|
26494
|
+
"description": "Filter by whether the visitor who asked was signed in to the site.",
|
|
26495
|
+
"schema": {
|
|
26496
|
+
"type": "array",
|
|
26497
|
+
"items": {
|
|
26498
|
+
"$ref": "#/components/schemas/SiteQuestionVisitorAuthentication"
|
|
26499
|
+
}
|
|
26500
|
+
}
|
|
26501
|
+
},
|
|
26233
26502
|
"siteQuestionCitedPage": {
|
|
26234
26503
|
"name": "citedPage",
|
|
26235
26504
|
"in": "query",
|
|
@@ -26644,6 +26913,10 @@
|
|
|
26644
26913
|
"expiresAt": {
|
|
26645
26914
|
"$ref": "#/components/schemas/Timestamp",
|
|
26646
26915
|
"description": "When the API token stops authenticating. Absent for a token that never expires."
|
|
26916
|
+
},
|
|
26917
|
+
"lastUsedAt": {
|
|
26918
|
+
"$ref": "#/components/schemas/Timestamp",
|
|
26919
|
+
"description": "When the API token last authenticated a request, accurate to within an hour. Absent for a token that has never been used."
|
|
26647
26920
|
}
|
|
26648
26921
|
},
|
|
26649
26922
|
"required": [
|
|
@@ -29027,6 +29300,14 @@
|
|
|
29027
29300
|
"properties": {
|
|
29028
29301
|
"ref": {
|
|
29029
29302
|
"$ref": "#/components/schemas/ContentRef"
|
|
29303
|
+
},
|
|
29304
|
+
"target": {
|
|
29305
|
+
"type": "string",
|
|
29306
|
+
"description": "Where the link opens when clicked. When absent, the link follows the site's default behavior.\n- `self`: The link opens in the current tab.\n- `blank`: The link opens in a new browser tab.\n",
|
|
29307
|
+
"enum": [
|
|
29308
|
+
"self",
|
|
29309
|
+
"blank"
|
|
29310
|
+
]
|
|
29030
29311
|
}
|
|
29031
29312
|
},
|
|
29032
29313
|
"required": [
|
|
@@ -29936,6 +30217,7 @@
|
|
|
29936
30217
|
"type": "string",
|
|
29937
30218
|
"description": "Size of the cards. It indicates how many columns will be used",
|
|
29938
30219
|
"enum": [
|
|
30220
|
+
"small",
|
|
29939
30221
|
"medium",
|
|
29940
30222
|
"large"
|
|
29941
30223
|
]
|
|
@@ -31151,107 +31433,6 @@
|
|
|
31151
31433
|
}
|
|
31152
31434
|
]
|
|
31153
31435
|
},
|
|
31154
|
-
"DocumentBlockIf": {
|
|
31155
|
-
"type": "object",
|
|
31156
|
-
"properties": {
|
|
31157
|
-
"object": {
|
|
31158
|
-
"type": "string",
|
|
31159
|
-
"enum": [
|
|
31160
|
-
"block"
|
|
31161
|
-
]
|
|
31162
|
-
},
|
|
31163
|
-
"type": {
|
|
31164
|
-
"type": "string",
|
|
31165
|
-
"enum": [
|
|
31166
|
-
"if"
|
|
31167
|
-
]
|
|
31168
|
-
},
|
|
31169
|
-
"key": {
|
|
31170
|
-
"type": "string"
|
|
31171
|
-
},
|
|
31172
|
-
"nodes": {
|
|
31173
|
-
"type": "array",
|
|
31174
|
-
"items": {
|
|
31175
|
-
"$ref": "#/components/schemas/DocumentBlocksTopLevels"
|
|
31176
|
-
}
|
|
31177
|
-
},
|
|
31178
|
-
"isVoid": {
|
|
31179
|
-
"type": "boolean",
|
|
31180
|
-
"enum": [
|
|
31181
|
-
false
|
|
31182
|
-
]
|
|
31183
|
-
},
|
|
31184
|
-
"data": {
|
|
31185
|
-
"type": "object",
|
|
31186
|
-
"properties": {
|
|
31187
|
-
"expression": {
|
|
31188
|
-
"type": "string"
|
|
31189
|
-
}
|
|
31190
|
-
},
|
|
31191
|
-
"required": [
|
|
31192
|
-
"expression"
|
|
31193
|
-
]
|
|
31194
|
-
}
|
|
31195
|
-
},
|
|
31196
|
-
"required": [
|
|
31197
|
-
"object",
|
|
31198
|
-
"type",
|
|
31199
|
-
"nodes",
|
|
31200
|
-
"data"
|
|
31201
|
-
]
|
|
31202
|
-
},
|
|
31203
|
-
"DocumentBlockReusableContent": {
|
|
31204
|
-
"type": "object",
|
|
31205
|
-
"properties": {
|
|
31206
|
-
"object": {
|
|
31207
|
-
"type": "string",
|
|
31208
|
-
"enum": [
|
|
31209
|
-
"block"
|
|
31210
|
-
]
|
|
31211
|
-
},
|
|
31212
|
-
"type": {
|
|
31213
|
-
"type": "string",
|
|
31214
|
-
"enum": [
|
|
31215
|
-
"reusable-content"
|
|
31216
|
-
]
|
|
31217
|
-
},
|
|
31218
|
-
"key": {
|
|
31219
|
-
"type": "string"
|
|
31220
|
-
},
|
|
31221
|
-
"data": {
|
|
31222
|
-
"type": "object",
|
|
31223
|
-
"properties": {
|
|
31224
|
-
"ref": {
|
|
31225
|
-
"$ref": "#/components/schemas/ContentRefReusableContent"
|
|
31226
|
-
}
|
|
31227
|
-
},
|
|
31228
|
-
"required": [
|
|
31229
|
-
"ref"
|
|
31230
|
-
]
|
|
31231
|
-
},
|
|
31232
|
-
"isVoid": {
|
|
31233
|
-
"type": "boolean",
|
|
31234
|
-
"enum": [
|
|
31235
|
-
true
|
|
31236
|
-
]
|
|
31237
|
-
},
|
|
31238
|
-
"meta": {
|
|
31239
|
-
"type": "object",
|
|
31240
|
-
"properties": {
|
|
31241
|
-
"token": {
|
|
31242
|
-
"description": "A content token that can be used to fetch the reusable content from the API.",
|
|
31243
|
-
"type": "string"
|
|
31244
|
-
}
|
|
31245
|
-
}
|
|
31246
|
-
}
|
|
31247
|
-
},
|
|
31248
|
-
"required": [
|
|
31249
|
-
"object",
|
|
31250
|
-
"type",
|
|
31251
|
-
"data",
|
|
31252
|
-
"isVoid"
|
|
31253
|
-
]
|
|
31254
|
-
},
|
|
31255
31436
|
"DocumentBlockContentRef": {
|
|
31256
31437
|
"type": "object",
|
|
31257
31438
|
"properties": {
|
|
@@ -31515,6 +31696,161 @@
|
|
|
31515
31696
|
"data"
|
|
31516
31697
|
]
|
|
31517
31698
|
},
|
|
31699
|
+
"DocumentBlockIf": {
|
|
31700
|
+
"type": "object",
|
|
31701
|
+
"properties": {
|
|
31702
|
+
"object": {
|
|
31703
|
+
"type": "string",
|
|
31704
|
+
"enum": [
|
|
31705
|
+
"block"
|
|
31706
|
+
]
|
|
31707
|
+
},
|
|
31708
|
+
"type": {
|
|
31709
|
+
"type": "string",
|
|
31710
|
+
"enum": [
|
|
31711
|
+
"if"
|
|
31712
|
+
]
|
|
31713
|
+
},
|
|
31714
|
+
"key": {
|
|
31715
|
+
"type": "string"
|
|
31716
|
+
},
|
|
31717
|
+
"nodes": {
|
|
31718
|
+
"type": "array",
|
|
31719
|
+
"description": "Blocks shown when the expression is true. Directly inside an `updates` block, these are `update` blocks, and only there.",
|
|
31720
|
+
"items": {
|
|
31721
|
+
"oneOf": [
|
|
31722
|
+
{
|
|
31723
|
+
"$ref": "#/components/schemas/DocumentBlocksTopLevels"
|
|
31724
|
+
},
|
|
31725
|
+
{
|
|
31726
|
+
"$ref": "#/components/schemas/DocumentBlockUpdate"
|
|
31727
|
+
}
|
|
31728
|
+
]
|
|
31729
|
+
}
|
|
31730
|
+
},
|
|
31731
|
+
"isVoid": {
|
|
31732
|
+
"type": "boolean",
|
|
31733
|
+
"enum": [
|
|
31734
|
+
false
|
|
31735
|
+
]
|
|
31736
|
+
},
|
|
31737
|
+
"data": {
|
|
31738
|
+
"type": "object",
|
|
31739
|
+
"properties": {
|
|
31740
|
+
"expression": {
|
|
31741
|
+
"type": "string"
|
|
31742
|
+
}
|
|
31743
|
+
},
|
|
31744
|
+
"required": [
|
|
31745
|
+
"expression"
|
|
31746
|
+
]
|
|
31747
|
+
}
|
|
31748
|
+
},
|
|
31749
|
+
"required": [
|
|
31750
|
+
"object",
|
|
31751
|
+
"type",
|
|
31752
|
+
"nodes",
|
|
31753
|
+
"data"
|
|
31754
|
+
]
|
|
31755
|
+
},
|
|
31756
|
+
"DocumentBlockReusableContent": {
|
|
31757
|
+
"type": "object",
|
|
31758
|
+
"properties": {
|
|
31759
|
+
"object": {
|
|
31760
|
+
"type": "string",
|
|
31761
|
+
"enum": [
|
|
31762
|
+
"block"
|
|
31763
|
+
]
|
|
31764
|
+
},
|
|
31765
|
+
"type": {
|
|
31766
|
+
"type": "string",
|
|
31767
|
+
"enum": [
|
|
31768
|
+
"reusable-content"
|
|
31769
|
+
]
|
|
31770
|
+
},
|
|
31771
|
+
"key": {
|
|
31772
|
+
"type": "string"
|
|
31773
|
+
},
|
|
31774
|
+
"data": {
|
|
31775
|
+
"type": "object",
|
|
31776
|
+
"properties": {
|
|
31777
|
+
"ref": {
|
|
31778
|
+
"$ref": "#/components/schemas/ContentRefReusableContent"
|
|
31779
|
+
}
|
|
31780
|
+
},
|
|
31781
|
+
"required": [
|
|
31782
|
+
"ref"
|
|
31783
|
+
]
|
|
31784
|
+
},
|
|
31785
|
+
"isVoid": {
|
|
31786
|
+
"type": "boolean",
|
|
31787
|
+
"enum": [
|
|
31788
|
+
true
|
|
31789
|
+
]
|
|
31790
|
+
},
|
|
31791
|
+
"meta": {
|
|
31792
|
+
"type": "object",
|
|
31793
|
+
"properties": {
|
|
31794
|
+
"token": {
|
|
31795
|
+
"description": "A content token that can be used to fetch the reusable content from the API.",
|
|
31796
|
+
"type": "string"
|
|
31797
|
+
}
|
|
31798
|
+
}
|
|
31799
|
+
}
|
|
31800
|
+
},
|
|
31801
|
+
"required": [
|
|
31802
|
+
"object",
|
|
31803
|
+
"type",
|
|
31804
|
+
"data",
|
|
31805
|
+
"isVoid"
|
|
31806
|
+
]
|
|
31807
|
+
},
|
|
31808
|
+
"DocumentBlockTabs": {
|
|
31809
|
+
"type": "object",
|
|
31810
|
+
"properties": {
|
|
31811
|
+
"object": {
|
|
31812
|
+
"type": "string",
|
|
31813
|
+
"enum": [
|
|
31814
|
+
"block"
|
|
31815
|
+
]
|
|
31816
|
+
},
|
|
31817
|
+
"type": {
|
|
31818
|
+
"type": "string",
|
|
31819
|
+
"enum": [
|
|
31820
|
+
"tabs"
|
|
31821
|
+
]
|
|
31822
|
+
},
|
|
31823
|
+
"key": {
|
|
31824
|
+
"type": "string"
|
|
31825
|
+
},
|
|
31826
|
+
"nodes": {
|
|
31827
|
+
"type": "array",
|
|
31828
|
+
"items": {
|
|
31829
|
+
"$ref": "#/components/schemas/DocumentBlockTabsItem"
|
|
31830
|
+
}
|
|
31831
|
+
},
|
|
31832
|
+
"isVoid": {
|
|
31833
|
+
"type": "boolean",
|
|
31834
|
+
"enum": [
|
|
31835
|
+
false
|
|
31836
|
+
]
|
|
31837
|
+
},
|
|
31838
|
+
"data": {
|
|
31839
|
+
"type": "object",
|
|
31840
|
+
"properties": {
|
|
31841
|
+
"fullWidth": {
|
|
31842
|
+
"type": "boolean"
|
|
31843
|
+
}
|
|
31844
|
+
},
|
|
31845
|
+
"additionalProperties": false
|
|
31846
|
+
}
|
|
31847
|
+
},
|
|
31848
|
+
"required": [
|
|
31849
|
+
"object",
|
|
31850
|
+
"type",
|
|
31851
|
+
"nodes"
|
|
31852
|
+
]
|
|
31853
|
+
},
|
|
31518
31854
|
"DocumentBlockStepper": {
|
|
31519
31855
|
"type": "object",
|
|
31520
31856
|
"properties": {
|
|
@@ -31557,7 +31893,7 @@
|
|
|
31557
31893
|
"nodes"
|
|
31558
31894
|
]
|
|
31559
31895
|
},
|
|
31560
|
-
"
|
|
31896
|
+
"DocumentBlockStepperStep": {
|
|
31561
31897
|
"type": "object",
|
|
31562
31898
|
"properties": {
|
|
31563
31899
|
"object": {
|
|
@@ -31569,7 +31905,7 @@
|
|
|
31569
31905
|
"type": {
|
|
31570
31906
|
"type": "string",
|
|
31571
31907
|
"enum": [
|
|
31572
|
-
"
|
|
31908
|
+
"stepper-step"
|
|
31573
31909
|
]
|
|
31574
31910
|
},
|
|
31575
31911
|
"key": {
|
|
@@ -31578,7 +31914,70 @@
|
|
|
31578
31914
|
"nodes": {
|
|
31579
31915
|
"type": "array",
|
|
31580
31916
|
"items": {
|
|
31581
|
-
"
|
|
31917
|
+
"oneOf": [
|
|
31918
|
+
{
|
|
31919
|
+
"$ref": "#/components/schemas/DocumentBlocksEssentials"
|
|
31920
|
+
},
|
|
31921
|
+
{
|
|
31922
|
+
"$ref": "#/components/schemas/DocumentBlockContentRef"
|
|
31923
|
+
},
|
|
31924
|
+
{
|
|
31925
|
+
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
31926
|
+
},
|
|
31927
|
+
{
|
|
31928
|
+
"$ref": "#/components/schemas/DocumentBlockEmbed"
|
|
31929
|
+
},
|
|
31930
|
+
{
|
|
31931
|
+
"$ref": "#/components/schemas/DocumentBlockFile"
|
|
31932
|
+
},
|
|
31933
|
+
{
|
|
31934
|
+
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
31935
|
+
},
|
|
31936
|
+
{
|
|
31937
|
+
"$ref": "#/components/schemas/DocumentBlockDrawing"
|
|
31938
|
+
},
|
|
31939
|
+
{
|
|
31940
|
+
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
31941
|
+
},
|
|
31942
|
+
{
|
|
31943
|
+
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
31944
|
+
},
|
|
31945
|
+
{
|
|
31946
|
+
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
31947
|
+
},
|
|
31948
|
+
{
|
|
31949
|
+
"$ref": "#/components/schemas/DocumentBlockMath"
|
|
31950
|
+
},
|
|
31951
|
+
{
|
|
31952
|
+
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
31953
|
+
},
|
|
31954
|
+
{
|
|
31955
|
+
"$ref": "#/components/schemas/DocumentBlockExpandable"
|
|
31956
|
+
},
|
|
31957
|
+
{
|
|
31958
|
+
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
31959
|
+
},
|
|
31960
|
+
{
|
|
31961
|
+
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
31962
|
+
},
|
|
31963
|
+
{
|
|
31964
|
+
"$ref": "#/components/schemas/DocumentBlockIf"
|
|
31965
|
+
},
|
|
31966
|
+
{
|
|
31967
|
+
"$ref": "#/components/schemas/DocumentBlockReusableContent"
|
|
31968
|
+
},
|
|
31969
|
+
{
|
|
31970
|
+
"$ref": "#/components/schemas/DocumentBlockStepper"
|
|
31971
|
+
}
|
|
31972
|
+
]
|
|
31973
|
+
}
|
|
31974
|
+
},
|
|
31975
|
+
"data": {
|
|
31976
|
+
"type": "object",
|
|
31977
|
+
"properties": {
|
|
31978
|
+
"icon": {
|
|
31979
|
+
"type": "string"
|
|
31980
|
+
}
|
|
31582
31981
|
}
|
|
31583
31982
|
},
|
|
31584
31983
|
"isVoid": {
|
|
@@ -31586,21 +31985,13 @@
|
|
|
31586
31985
|
"enum": [
|
|
31587
31986
|
false
|
|
31588
31987
|
]
|
|
31589
|
-
},
|
|
31590
|
-
"data": {
|
|
31591
|
-
"type": "object",
|
|
31592
|
-
"properties": {
|
|
31593
|
-
"fullWidth": {
|
|
31594
|
-
"type": "boolean"
|
|
31595
|
-
}
|
|
31596
|
-
},
|
|
31597
|
-
"additionalProperties": false
|
|
31598
31988
|
}
|
|
31599
31989
|
},
|
|
31600
31990
|
"required": [
|
|
31601
31991
|
"object",
|
|
31602
31992
|
"type",
|
|
31603
|
-
"nodes"
|
|
31993
|
+
"nodes",
|
|
31994
|
+
"data"
|
|
31604
31995
|
]
|
|
31605
31996
|
},
|
|
31606
31997
|
"DocumentBlockTabsItem": {
|
|
@@ -31723,7 +32114,7 @@
|
|
|
31723
32114
|
"data"
|
|
31724
32115
|
]
|
|
31725
32116
|
},
|
|
31726
|
-
"
|
|
32117
|
+
"DocumentBlockUpdate": {
|
|
31727
32118
|
"type": "object",
|
|
31728
32119
|
"properties": {
|
|
31729
32120
|
"object": {
|
|
@@ -31735,7 +32126,7 @@
|
|
|
31735
32126
|
"type": {
|
|
31736
32127
|
"type": "string",
|
|
31737
32128
|
"enum": [
|
|
31738
|
-
"
|
|
32129
|
+
"update"
|
|
31739
32130
|
]
|
|
31740
32131
|
},
|
|
31741
32132
|
"key": {
|
|
@@ -31782,20 +32173,17 @@
|
|
|
31782
32173
|
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
31783
32174
|
},
|
|
31784
32175
|
{
|
|
31785
|
-
"$ref": "#/components/schemas/
|
|
32176
|
+
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
31786
32177
|
},
|
|
31787
32178
|
{
|
|
31788
|
-
"$ref": "#/components/schemas/
|
|
32179
|
+
"$ref": "#/components/schemas/DocumentBlockExpandable"
|
|
31789
32180
|
},
|
|
31790
32181
|
{
|
|
31791
|
-
"$ref": "#/components/schemas/
|
|
32182
|
+
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
31792
32183
|
},
|
|
31793
32184
|
{
|
|
31794
32185
|
"$ref": "#/components/schemas/DocumentBlockIf"
|
|
31795
32186
|
},
|
|
31796
|
-
{
|
|
31797
|
-
"$ref": "#/components/schemas/DocumentBlockReusableContent"
|
|
31798
|
-
},
|
|
31799
32187
|
{
|
|
31800
32188
|
"$ref": "#/components/schemas/DocumentBlockStepper"
|
|
31801
32189
|
}
|
|
@@ -31805,10 +32193,30 @@
|
|
|
31805
32193
|
"data": {
|
|
31806
32194
|
"type": "object",
|
|
31807
32195
|
"properties": {
|
|
31808
|
-
"
|
|
31809
|
-
"type": "string"
|
|
32196
|
+
"date": {
|
|
32197
|
+
"type": "string",
|
|
32198
|
+
"description": "Date of the update. Accepts a YYYY-MM-DD date or a timestamp. Timestamps are normalized to their UTC calendar date; responses use YYYY-MM-DD.",
|
|
32199
|
+
"oneOf": [
|
|
32200
|
+
{
|
|
32201
|
+
"type": "string",
|
|
32202
|
+
"format": "date"
|
|
32203
|
+
},
|
|
32204
|
+
{
|
|
32205
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32206
|
+
}
|
|
32207
|
+
]
|
|
32208
|
+
},
|
|
32209
|
+
"tags": {
|
|
32210
|
+
"type": "array",
|
|
32211
|
+
"description": "Array of tags. Each tag is id'ed by its slug.",
|
|
32212
|
+
"items": {
|
|
32213
|
+
"$ref": "#/components/schemas/ContentRefTag"
|
|
32214
|
+
}
|
|
31810
32215
|
}
|
|
31811
|
-
}
|
|
32216
|
+
},
|
|
32217
|
+
"required": [
|
|
32218
|
+
"date"
|
|
32219
|
+
]
|
|
31812
32220
|
},
|
|
31813
32221
|
"isVoid": {
|
|
31814
32222
|
"type": "boolean",
|
|
@@ -32552,7 +32960,7 @@
|
|
|
32552
32960
|
"isVoid"
|
|
32553
32961
|
]
|
|
32554
32962
|
},
|
|
32555
|
-
"
|
|
32963
|
+
"DocumentBlockUpdates": {
|
|
32556
32964
|
"type": "object",
|
|
32557
32965
|
"properties": {
|
|
32558
32966
|
"object": {
|
|
@@ -32564,7 +32972,7 @@
|
|
|
32564
32972
|
"type": {
|
|
32565
32973
|
"type": "string",
|
|
32566
32974
|
"enum": [
|
|
32567
|
-
"
|
|
32975
|
+
"updates"
|
|
32568
32976
|
]
|
|
32569
32977
|
},
|
|
32570
32978
|
"key": {
|
|
@@ -32572,128 +32980,18 @@
|
|
|
32572
32980
|
},
|
|
32573
32981
|
"nodes": {
|
|
32574
32982
|
"type": "array",
|
|
32983
|
+
"description": "The updates. An `if` block wraps updates shown only when its expression is true; it holds `update` blocks only.",
|
|
32575
32984
|
"items": {
|
|
32576
32985
|
"oneOf": [
|
|
32577
32986
|
{
|
|
32578
|
-
"$ref": "#/components/schemas/
|
|
32579
|
-
},
|
|
32580
|
-
{
|
|
32581
|
-
"$ref": "#/components/schemas/DocumentBlockContentRef"
|
|
32582
|
-
},
|
|
32583
|
-
{
|
|
32584
|
-
"$ref": "#/components/schemas/DocumentBlockCode"
|
|
32585
|
-
},
|
|
32586
|
-
{
|
|
32587
|
-
"$ref": "#/components/schemas/DocumentBlockEmbed"
|
|
32588
|
-
},
|
|
32589
|
-
{
|
|
32590
|
-
"$ref": "#/components/schemas/DocumentBlockFile"
|
|
32591
|
-
},
|
|
32592
|
-
{
|
|
32593
|
-
"$ref": "#/components/schemas/DocumentBlockImages"
|
|
32594
|
-
},
|
|
32595
|
-
{
|
|
32596
|
-
"$ref": "#/components/schemas/DocumentBlockDrawing"
|
|
32597
|
-
},
|
|
32598
|
-
{
|
|
32599
|
-
"$ref": "#/components/schemas/DocumentBlockHint"
|
|
32600
|
-
},
|
|
32601
|
-
{
|
|
32602
|
-
"$ref": "#/components/schemas/DocumentBlockPrompt"
|
|
32603
|
-
},
|
|
32604
|
-
{
|
|
32605
|
-
"$ref": "#/components/schemas/DocumentBlockQuote"
|
|
32606
|
-
},
|
|
32607
|
-
{
|
|
32608
|
-
"$ref": "#/components/schemas/DocumentBlockMath"
|
|
32609
|
-
},
|
|
32610
|
-
{
|
|
32611
|
-
"$ref": "#/components/schemas/DocumentBlockIntegration"
|
|
32612
|
-
},
|
|
32613
|
-
{
|
|
32614
|
-
"$ref": "#/components/schemas/DocumentBlockTabs"
|
|
32615
|
-
},
|
|
32616
|
-
{
|
|
32617
|
-
"$ref": "#/components/schemas/DocumentBlockExpandable"
|
|
32618
|
-
},
|
|
32619
|
-
{
|
|
32620
|
-
"$ref": "#/components/schemas/DocumentBlockTable"
|
|
32987
|
+
"$ref": "#/components/schemas/DocumentBlockUpdate"
|
|
32621
32988
|
},
|
|
32622
32989
|
{
|
|
32623
32990
|
"$ref": "#/components/schemas/DocumentBlockIf"
|
|
32624
|
-
},
|
|
32625
|
-
{
|
|
32626
|
-
"$ref": "#/components/schemas/DocumentBlockStepper"
|
|
32627
32991
|
}
|
|
32628
32992
|
]
|
|
32629
32993
|
}
|
|
32630
32994
|
},
|
|
32631
|
-
"data": {
|
|
32632
|
-
"type": "object",
|
|
32633
|
-
"properties": {
|
|
32634
|
-
"date": {
|
|
32635
|
-
"type": "string",
|
|
32636
|
-
"description": "Date of the update. Accepts a YYYY-MM-DD date or a timestamp. Timestamps are normalized to their UTC calendar date; responses use YYYY-MM-DD.",
|
|
32637
|
-
"oneOf": [
|
|
32638
|
-
{
|
|
32639
|
-
"type": "string",
|
|
32640
|
-
"format": "date"
|
|
32641
|
-
},
|
|
32642
|
-
{
|
|
32643
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
32644
|
-
}
|
|
32645
|
-
]
|
|
32646
|
-
},
|
|
32647
|
-
"tags": {
|
|
32648
|
-
"type": "array",
|
|
32649
|
-
"description": "Array of tags. Each tag is id'ed by its slug.",
|
|
32650
|
-
"items": {
|
|
32651
|
-
"$ref": "#/components/schemas/ContentRefTag"
|
|
32652
|
-
}
|
|
32653
|
-
}
|
|
32654
|
-
},
|
|
32655
|
-
"required": [
|
|
32656
|
-
"date"
|
|
32657
|
-
]
|
|
32658
|
-
},
|
|
32659
|
-
"isVoid": {
|
|
32660
|
-
"type": "boolean",
|
|
32661
|
-
"enum": [
|
|
32662
|
-
false
|
|
32663
|
-
]
|
|
32664
|
-
}
|
|
32665
|
-
},
|
|
32666
|
-
"required": [
|
|
32667
|
-
"object",
|
|
32668
|
-
"type",
|
|
32669
|
-
"nodes",
|
|
32670
|
-
"data"
|
|
32671
|
-
]
|
|
32672
|
-
},
|
|
32673
|
-
"DocumentBlockUpdates": {
|
|
32674
|
-
"type": "object",
|
|
32675
|
-
"properties": {
|
|
32676
|
-
"object": {
|
|
32677
|
-
"type": "string",
|
|
32678
|
-
"enum": [
|
|
32679
|
-
"block"
|
|
32680
|
-
]
|
|
32681
|
-
},
|
|
32682
|
-
"type": {
|
|
32683
|
-
"type": "string",
|
|
32684
|
-
"enum": [
|
|
32685
|
-
"updates"
|
|
32686
|
-
]
|
|
32687
|
-
},
|
|
32688
|
-
"key": {
|
|
32689
|
-
"type": "string"
|
|
32690
|
-
},
|
|
32691
|
-
"nodes": {
|
|
32692
|
-
"type": "array",
|
|
32693
|
-
"items": {
|
|
32694
|
-
"$ref": "#/components/schemas/DocumentBlockUpdate"
|
|
32695
|
-
}
|
|
32696
|
-
},
|
|
32697
32995
|
"isVoid": {
|
|
32698
32996
|
"type": "boolean",
|
|
32699
32997
|
"enum": [
|
|
@@ -34296,6 +34594,17 @@
|
|
|
34296
34594
|
"type": "string",
|
|
34297
34595
|
"description": "Display label for the tag. Can be renamed and differ from the slug."
|
|
34298
34596
|
},
|
|
34597
|
+
"kind": {
|
|
34598
|
+
"type": "string",
|
|
34599
|
+
"enum": [
|
|
34600
|
+
"category"
|
|
34601
|
+
],
|
|
34602
|
+
"description": "Categories organize tags and cannot be assigned to pages or blocks. Immutable after creation."
|
|
34603
|
+
},
|
|
34604
|
+
"parent": {
|
|
34605
|
+
"type": "string",
|
|
34606
|
+
"description": "Slug of the parent tag or category. Omitted for root tags. Normal tags nest one level beneath another normal tag; categories nest up to three levels deep."
|
|
34607
|
+
},
|
|
34299
34608
|
"color": {
|
|
34300
34609
|
"$ref": "#/components/schemas/DocumentTextColor"
|
|
34301
34610
|
}
|
|
@@ -34402,7 +34711,7 @@
|
|
|
34402
34711
|
},
|
|
34403
34712
|
"tags": {
|
|
34404
34713
|
"type": "array",
|
|
34405
|
-
"description": "
|
|
34714
|
+
"description": "Tags and categories in hierarchy order: parents before children, sibling categories by manual position, then normal tags by manual position inside a parent and by label at the top level",
|
|
34406
34715
|
"items": {
|
|
34407
34716
|
"$ref": "#/components/schemas/RevisionTag"
|
|
34408
34717
|
}
|
|
@@ -35440,12 +35749,15 @@
|
|
|
35440
35749
|
"ChangeRequestReviewStats": {
|
|
35441
35750
|
"type": "object",
|
|
35442
35751
|
"description": "Exact review totals for the applied filters, independent of pagination. Keyed by review status, with a count of zero for a status nobody used.",
|
|
35443
|
-
"
|
|
35444
|
-
"
|
|
35445
|
-
|
|
35446
|
-
|
|
35447
|
-
"
|
|
35752
|
+
"properties": {
|
|
35753
|
+
"approved": {
|
|
35754
|
+
"type": "number"
|
|
35755
|
+
},
|
|
35756
|
+
"changes-requested": {
|
|
35757
|
+
"type": "number"
|
|
35758
|
+
}
|
|
35448
35759
|
},
|
|
35760
|
+
"additionalProperties": false,
|
|
35449
35761
|
"required": [
|
|
35450
35762
|
"approved",
|
|
35451
35763
|
"changes-requested"
|
|
@@ -35837,7 +36149,7 @@
|
|
|
35837
36149
|
"description": "ID of the page to update."
|
|
35838
36150
|
},
|
|
35839
36151
|
"document": {
|
|
35840
|
-
"description": "New document for the page. When provided as markdown, its frontmatter is read to update the page metadata. Omit to update only the metadata fields.",
|
|
36152
|
+
"description": "New document for the page. When provided as markdown, its frontmatter is read to update the page metadata. A `tags` list replaces the page's tags; each must be an existing tag slug in the space. Omit to update only the metadata fields.",
|
|
35841
36153
|
"$ref": "#/components/schemas/Document"
|
|
35842
36154
|
},
|
|
35843
36155
|
"into": {
|
|
@@ -35906,7 +36218,7 @@
|
|
|
35906
36218
|
"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."
|
|
35907
36219
|
},
|
|
35908
36220
|
"document": {
|
|
35909
|
-
"description": "Document for the new page. When provided as markdown, its frontmatter is read to set the page metadata.",
|
|
36221
|
+
"description": "Document for the new page. When provided as markdown, its frontmatter is read to set the page metadata, including its `tags` (existing tag slugs in the space).",
|
|
35910
36222
|
"$ref": "#/components/schemas/Document"
|
|
35911
36223
|
}
|
|
35912
36224
|
}
|
|
@@ -36351,14 +36663,14 @@
|
|
|
36351
36663
|
},
|
|
36352
36664
|
"RevisionTagLabel": {
|
|
36353
36665
|
"type": "string",
|
|
36354
|
-
"description": "Display label of a tag.",
|
|
36666
|
+
"description": "Display label of a tag or category.",
|
|
36355
36667
|
"minLength": 1,
|
|
36356
36668
|
"maxLength": 50
|
|
36357
36669
|
},
|
|
36358
36670
|
"ChangeRequestContentChangeInsertTags": {
|
|
36359
36671
|
"type": "object",
|
|
36360
36672
|
"additionalProperties": false,
|
|
36361
|
-
"description": "Create
|
|
36673
|
+
"description": "Create normal tags and categories in array order. Parents must exist or appear earlier in the array. The batch is rejected atomically if any tag is invalid. Kind cannot be changed through an update or a delete-and-reinsert within the same batch. After deletion in an earlier request, the slug can be reused for a new definition.",
|
|
36362
36674
|
"required": [
|
|
36363
36675
|
"operation",
|
|
36364
36676
|
"tags"
|
|
@@ -36386,6 +36698,12 @@
|
|
|
36386
36698
|
"minLength": 1,
|
|
36387
36699
|
"description": "Stable tag identifier; generated from the label when omitted."
|
|
36388
36700
|
},
|
|
36701
|
+
"kind": {
|
|
36702
|
+
"type": "string",
|
|
36703
|
+
"enum": [
|
|
36704
|
+
"category"
|
|
36705
|
+
]
|
|
36706
|
+
},
|
|
36389
36707
|
"label": {
|
|
36390
36708
|
"$ref": "#/components/schemas/RevisionTagLabel"
|
|
36391
36709
|
},
|
|
@@ -36397,6 +36715,23 @@
|
|
|
36397
36715
|
},
|
|
36398
36716
|
"emoji": {
|
|
36399
36717
|
"$ref": "#/components/schemas/Emoji"
|
|
36718
|
+
},
|
|
36719
|
+
"parent": {
|
|
36720
|
+
"oneOf": [
|
|
36721
|
+
{
|
|
36722
|
+
"type": "string",
|
|
36723
|
+
"minLength": 1
|
|
36724
|
+
},
|
|
36725
|
+
{
|
|
36726
|
+
"type": "null"
|
|
36727
|
+
}
|
|
36728
|
+
],
|
|
36729
|
+
"description": "Parent category or normal tag slug. Null places the tag at the root."
|
|
36730
|
+
},
|
|
36731
|
+
"at": {
|
|
36732
|
+
"type": "integer",
|
|
36733
|
+
"minimum": 0,
|
|
36734
|
+
"description": "Zero-based position among siblings of the same kind (categories, or tags inside a category or parent tag). Top-level tags sort by label and take no position; omit to append when moving to another parent."
|
|
36400
36735
|
}
|
|
36401
36736
|
}
|
|
36402
36737
|
}
|
|
@@ -36406,7 +36741,7 @@
|
|
|
36406
36741
|
"ChangeRequestContentChangeUpdateTag": {
|
|
36407
36742
|
"type": "object",
|
|
36408
36743
|
"additionalProperties": false,
|
|
36409
|
-
"description": "Rename or
|
|
36744
|
+
"description": "Rename, restyle, reparent or reorder an existing tag or category. Moving a parent keeps all descendants attached. Kind cannot be changed.",
|
|
36410
36745
|
"required": [
|
|
36411
36746
|
"operation",
|
|
36412
36747
|
"tag"
|
|
@@ -36421,7 +36756,7 @@
|
|
|
36421
36756
|
"tag": {
|
|
36422
36757
|
"type": "string",
|
|
36423
36758
|
"minLength": 1,
|
|
36424
|
-
"description": "Slug of the tag to update."
|
|
36759
|
+
"description": "Slug of the tag or category to update."
|
|
36425
36760
|
},
|
|
36426
36761
|
"label": {
|
|
36427
36762
|
"$ref": "#/components/schemas/RevisionTagLabel"
|
|
@@ -36450,13 +36785,30 @@
|
|
|
36450
36785
|
}
|
|
36451
36786
|
],
|
|
36452
36787
|
"description": "Emoji to set. Null removes the emoji; omission preserves it."
|
|
36788
|
+
},
|
|
36789
|
+
"parent": {
|
|
36790
|
+
"oneOf": [
|
|
36791
|
+
{
|
|
36792
|
+
"type": "string",
|
|
36793
|
+
"minLength": 1
|
|
36794
|
+
},
|
|
36795
|
+
{
|
|
36796
|
+
"type": "null"
|
|
36797
|
+
}
|
|
36798
|
+
],
|
|
36799
|
+
"description": "Parent category or normal tag slug. Null places the tag at the root."
|
|
36800
|
+
},
|
|
36801
|
+
"at": {
|
|
36802
|
+
"type": "integer",
|
|
36803
|
+
"minimum": 0,
|
|
36804
|
+
"description": "Zero-based position among siblings of the same kind (categories, or tags inside a category or parent tag). Top-level tags sort by label and take no position; omit to append when moving to another parent."
|
|
36453
36805
|
}
|
|
36454
36806
|
}
|
|
36455
36807
|
},
|
|
36456
36808
|
"ChangeRequestContentChangeDeleteTag": {
|
|
36457
36809
|
"type": "object",
|
|
36458
36810
|
"additionalProperties": false,
|
|
36459
|
-
"description": "Delete an
|
|
36811
|
+
"description": "Delete an empty category or a normal tag. A normal tag's children are reparented to its parent. Page and block references to the deleted tag stop resolving.",
|
|
36460
36812
|
"required": [
|
|
36461
36813
|
"operation",
|
|
36462
36814
|
"tag"
|
|
@@ -37230,6 +37582,17 @@
|
|
|
37230
37582
|
},
|
|
37231
37583
|
"label": {
|
|
37232
37584
|
"type": "string"
|
|
37585
|
+
},
|
|
37586
|
+
"kind": {
|
|
37587
|
+
"type": "string",
|
|
37588
|
+
"enum": [
|
|
37589
|
+
"category"
|
|
37590
|
+
],
|
|
37591
|
+
"description": "Present for categories; omitted for normal tags."
|
|
37592
|
+
},
|
|
37593
|
+
"parent": {
|
|
37594
|
+
"type": "string",
|
|
37595
|
+
"description": "Parent tag or category slug. Omitted for root tags."
|
|
37233
37596
|
}
|
|
37234
37597
|
},
|
|
37235
37598
|
"required": [
|
|
@@ -37279,6 +37642,40 @@
|
|
|
37279
37642
|
"properties": {
|
|
37280
37643
|
"label": {
|
|
37281
37644
|
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
37645
|
+
},
|
|
37646
|
+
"kind": {
|
|
37647
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
37648
|
+
},
|
|
37649
|
+
"parent": {
|
|
37650
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
37651
|
+
},
|
|
37652
|
+
"orderIndex": {
|
|
37653
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
37654
|
+
},
|
|
37655
|
+
"color": {
|
|
37656
|
+
"$ref": "#/components/schemas/ChangeAttributeString"
|
|
37657
|
+
},
|
|
37658
|
+
"icon": {
|
|
37659
|
+
"type": "object",
|
|
37660
|
+
"properties": {
|
|
37661
|
+
"before": {
|
|
37662
|
+
"$ref": "#/components/schemas/Icon"
|
|
37663
|
+
},
|
|
37664
|
+
"after": {
|
|
37665
|
+
"$ref": "#/components/schemas/Icon"
|
|
37666
|
+
}
|
|
37667
|
+
}
|
|
37668
|
+
},
|
|
37669
|
+
"emoji": {
|
|
37670
|
+
"type": "object",
|
|
37671
|
+
"properties": {
|
|
37672
|
+
"before": {
|
|
37673
|
+
"$ref": "#/components/schemas/Emoji"
|
|
37674
|
+
},
|
|
37675
|
+
"after": {
|
|
37676
|
+
"$ref": "#/components/schemas/Emoji"
|
|
37677
|
+
}
|
|
37678
|
+
}
|
|
37282
37679
|
}
|
|
37283
37680
|
}
|
|
37284
37681
|
},
|
|
@@ -38301,7 +38698,15 @@
|
|
|
38301
38698
|
"$ref": "#/components/schemas/OrganizationDefaultContent"
|
|
38302
38699
|
},
|
|
38303
38700
|
"sso": {
|
|
38304
|
-
"description": "Whether SSO is enforced organization-wide",
|
|
38701
|
+
"description": "Whether SSO is enforced organization-wide. Requires an active SAML provider and at least one organization admin linked through SSO.",
|
|
38702
|
+
"type": "boolean"
|
|
38703
|
+
},
|
|
38704
|
+
"ssoPreference": {
|
|
38705
|
+
"description": "Whether Enforce SSO is turned on, regardless of whether its requirements are met.",
|
|
38706
|
+
"type": "boolean"
|
|
38707
|
+
},
|
|
38708
|
+
"ssoRequired": {
|
|
38709
|
+
"description": "Whether Enforce SSO applies to the current user, because one of the organization's SAML providers can sign in their email. Members no provider can sign in keep their other sign-in methods.",
|
|
38305
38710
|
"type": "boolean"
|
|
38306
38711
|
},
|
|
38307
38712
|
"ai": {
|
|
@@ -39763,6 +40168,10 @@
|
|
|
39763
40168
|
"editAdaptiveSchema"
|
|
39764
40169
|
]
|
|
39765
40170
|
},
|
|
40171
|
+
"publicChangeRequestPreviews": {
|
|
40172
|
+
"type": "boolean",
|
|
40173
|
+
"description": "Whether visitors can preview change requests and historical revisions on the published site. Previews inside GitBook are not affected."
|
|
40174
|
+
},
|
|
39766
40175
|
"published": {
|
|
39767
40176
|
"type": "boolean",
|
|
39768
40177
|
"description": "Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting."
|
|
@@ -39851,6 +40260,7 @@
|
|
|
39851
40260
|
"defaultLevel",
|
|
39852
40261
|
"permissions",
|
|
39853
40262
|
"published",
|
|
40263
|
+
"publicChangeRequestPreviews",
|
|
39854
40264
|
"createdAt",
|
|
39855
40265
|
"siteSpaces",
|
|
39856
40266
|
"features",
|
|
@@ -41200,6 +41610,30 @@
|
|
|
41200
41610
|
}
|
|
41201
41611
|
]
|
|
41202
41612
|
},
|
|
41613
|
+
"Error": {
|
|
41614
|
+
"type": "object",
|
|
41615
|
+
"required": [
|
|
41616
|
+
"error"
|
|
41617
|
+
],
|
|
41618
|
+
"properties": {
|
|
41619
|
+
"error": {
|
|
41620
|
+
"type": "object",
|
|
41621
|
+
"properties": {
|
|
41622
|
+
"code": {
|
|
41623
|
+
"type": "integer",
|
|
41624
|
+
"format": "int32"
|
|
41625
|
+
},
|
|
41626
|
+
"message": {
|
|
41627
|
+
"type": "string"
|
|
41628
|
+
}
|
|
41629
|
+
},
|
|
41630
|
+
"required": [
|
|
41631
|
+
"code",
|
|
41632
|
+
"message"
|
|
41633
|
+
]
|
|
41634
|
+
}
|
|
41635
|
+
}
|
|
41636
|
+
},
|
|
41203
41637
|
"ContentKitContextBase": {
|
|
41204
41638
|
"type": "object",
|
|
41205
41639
|
"description": "Common properties for ContentKit context.",
|
|
@@ -42788,6 +43222,15 @@
|
|
|
42788
43222
|
"description": "Default role to set on newly invited members.",
|
|
42789
43223
|
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
42790
43224
|
},
|
|
43225
|
+
"teamIds": {
|
|
43226
|
+
"description": "Teams to add the invitees to as Members, preserving existing team roles. The caller must be an owner of every team or an organization admin. Team-owner email invitations require acceptance before granting organization Guest and team Member access, including when the recipient already belongs to the organization. Existing roles are preserved. Granting an organization role or SSO access requires an organization admin.",
|
|
43227
|
+
"type": "array",
|
|
43228
|
+
"minItems": 1,
|
|
43229
|
+
"uniqueItems": true,
|
|
43230
|
+
"items": {
|
|
43231
|
+
"$ref": "#/components/schemas/EntityId"
|
|
43232
|
+
}
|
|
43233
|
+
},
|
|
42791
43234
|
"sso": {
|
|
42792
43235
|
"description": "If true, invites the user as an SSO user of the organization. Defaults to false.",
|
|
42793
43236
|
"type": "boolean"
|
|
@@ -42891,6 +43334,38 @@
|
|
|
42891
43334
|
"redundant": {
|
|
42892
43335
|
"type": "boolean",
|
|
42893
43336
|
"description": "An invite is redundant if the requesting user already has all necessary permissions."
|
|
43337
|
+
},
|
|
43338
|
+
"teamInvitation": {
|
|
43339
|
+
"type": "object",
|
|
43340
|
+
"description": "Details shown to the recipient before accepting a team invitation.",
|
|
43341
|
+
"properties": {
|
|
43342
|
+
"inviter": {
|
|
43343
|
+
"type": "string",
|
|
43344
|
+
"description": "Display name of the person who sent the invitation."
|
|
43345
|
+
},
|
|
43346
|
+
"teams": {
|
|
43347
|
+
"type": "array",
|
|
43348
|
+
"items": {
|
|
43349
|
+
"type": "object",
|
|
43350
|
+
"properties": {
|
|
43351
|
+
"id": {
|
|
43352
|
+
"type": "string"
|
|
43353
|
+
},
|
|
43354
|
+
"title": {
|
|
43355
|
+
"type": "string"
|
|
43356
|
+
}
|
|
43357
|
+
},
|
|
43358
|
+
"required": [
|
|
43359
|
+
"id",
|
|
43360
|
+
"title"
|
|
43361
|
+
]
|
|
43362
|
+
}
|
|
43363
|
+
}
|
|
43364
|
+
},
|
|
43365
|
+
"required": [
|
|
43366
|
+
"inviter",
|
|
43367
|
+
"teams"
|
|
43368
|
+
]
|
|
42894
43369
|
}
|
|
42895
43370
|
},
|
|
42896
43371
|
"required": [
|
|
@@ -44364,6 +44839,24 @@
|
|
|
44364
44839
|
"type": "string",
|
|
44365
44840
|
"maxLength": 10000
|
|
44366
44841
|
},
|
|
44842
|
+
"SAMLProviderDefaultRole": {
|
|
44843
|
+
"description": "Role given to people on their first sign-in through the provider. null adds them as guests, \"default\" uses the organization's default role, and \"domain\" uses the role of the verified email domain they signed in with.\n",
|
|
44844
|
+
"oneOf": [
|
|
44845
|
+
{
|
|
44846
|
+
"$ref": "#/components/schemas/MemberRole"
|
|
44847
|
+
},
|
|
44848
|
+
{
|
|
44849
|
+
"type": "null"
|
|
44850
|
+
},
|
|
44851
|
+
{
|
|
44852
|
+
"type": "string",
|
|
44853
|
+
"enum": [
|
|
44854
|
+
"default",
|
|
44855
|
+
"domain"
|
|
44856
|
+
]
|
|
44857
|
+
}
|
|
44858
|
+
]
|
|
44859
|
+
},
|
|
44367
44860
|
"SAMLProviderStatus": {
|
|
44368
44861
|
"type": "string",
|
|
44369
44862
|
"description": "Status of the provider.\n- `active`: The provider is active and can be used to authenticate users.\n- `pending`: The provider is pending and is not yet fully configured.\n",
|
|
@@ -44372,6 +44865,33 @@
|
|
|
44372
44865
|
"pending"
|
|
44373
44866
|
]
|
|
44374
44867
|
},
|
|
44868
|
+
"SAMLProviderDomainStatus": {
|
|
44869
|
+
"type": "string",
|
|
44870
|
+
"description": "State of a SAML provider's email domain in the organization.\n- `verified`: People with an email on this domain can sign in through the provider.\n- `pending`, `error`, `legacy`: The domain isn't verified yet, so it doesn't let anyone sign in.\n- `removed`: The organization no longer has this domain.\n",
|
|
44871
|
+
"enum": [
|
|
44872
|
+
"verified",
|
|
44873
|
+
"pending",
|
|
44874
|
+
"error",
|
|
44875
|
+
"legacy",
|
|
44876
|
+
"removed"
|
|
44877
|
+
]
|
|
44878
|
+
},
|
|
44879
|
+
"SAMLProviderDomain": {
|
|
44880
|
+
"type": "object",
|
|
44881
|
+
"description": "An email domain of a SAML provider, with its verification state in the organization.",
|
|
44882
|
+
"properties": {
|
|
44883
|
+
"domain": {
|
|
44884
|
+
"type": "string"
|
|
44885
|
+
},
|
|
44886
|
+
"status": {
|
|
44887
|
+
"$ref": "#/components/schemas/SAMLProviderDomainStatus"
|
|
44888
|
+
}
|
|
44889
|
+
},
|
|
44890
|
+
"required": [
|
|
44891
|
+
"domain",
|
|
44892
|
+
"status"
|
|
44893
|
+
]
|
|
44894
|
+
},
|
|
44375
44895
|
"OrganizationSAMLProvider": {
|
|
44376
44896
|
"type": "object",
|
|
44377
44897
|
"properties": {
|
|
@@ -44401,8 +44921,12 @@
|
|
|
44401
44921
|
"defaultTeam": {
|
|
44402
44922
|
"$ref": "#/components/schemas/OrganizationTeam"
|
|
44403
44923
|
},
|
|
44924
|
+
"defaultTeamFromDomain": {
|
|
44925
|
+
"type": "boolean",
|
|
44926
|
+
"description": "Whether people join the team of the verified email domain they signed in with, instead of `defaultTeam`.\n"
|
|
44927
|
+
},
|
|
44404
44928
|
"defaultRole": {
|
|
44405
|
-
"$ref": "#/components/schemas/
|
|
44929
|
+
"$ref": "#/components/schemas/SAMLProviderDefaultRole"
|
|
44406
44930
|
},
|
|
44407
44931
|
"createdAt": {
|
|
44408
44932
|
"description": "Date at which the provider was created.",
|
|
@@ -44411,6 +44935,13 @@
|
|
|
44411
44935
|
"status": {
|
|
44412
44936
|
"$ref": "#/components/schemas/SAMLProviderStatus"
|
|
44413
44937
|
},
|
|
44938
|
+
"domains": {
|
|
44939
|
+
"type": "array",
|
|
44940
|
+
"description": "Email domains the provider signs people in for. Absent on providers created before domains existed, which accept any email.\n",
|
|
44941
|
+
"items": {
|
|
44942
|
+
"$ref": "#/components/schemas/SAMLProviderDomain"
|
|
44943
|
+
}
|
|
44944
|
+
},
|
|
44414
44945
|
"service": {
|
|
44415
44946
|
"description": "Metadata about the service provider.",
|
|
44416
44947
|
"properties": {
|
|
@@ -44463,6 +44994,17 @@
|
|
|
44463
44994
|
"urls"
|
|
44464
44995
|
]
|
|
44465
44996
|
},
|
|
44997
|
+
"SAMLProviderDomains": {
|
|
44998
|
+
"type": "array",
|
|
44999
|
+
"description": "Email domains the provider signs people in for. Each one must be an email domain of the organization. Only emails on a verified domain in this list can sign in through the provider.\n",
|
|
45000
|
+
"maxItems": 50,
|
|
45001
|
+
"uniqueItems": true,
|
|
45002
|
+
"items": {
|
|
45003
|
+
"type": "string",
|
|
45004
|
+
"minLength": 1,
|
|
45005
|
+
"maxLength": 255
|
|
45006
|
+
}
|
|
45007
|
+
},
|
|
44466
45008
|
"OrganizationDomainStatus": {
|
|
44467
45009
|
"type": "string",
|
|
44468
45010
|
"description": "Verification status of the domain. \"legacy\" is a domain added before verification existed: it keeps letting people join automatically without being verified.\n",
|
|
@@ -46367,6 +46909,17 @@
|
|
|
46367
46909
|
"type": "string",
|
|
46368
46910
|
"description": "Identifier of the user who created the installation."
|
|
46369
46911
|
},
|
|
46912
|
+
"authorizedBy": {
|
|
46913
|
+
"description": "Identifier of the user who connected the Git provider credentials. Only this user can browse repositories or change the repository and branch with them. Null when it is unknown, for credentials connected before it was recorded, until someone reconnects the provider.",
|
|
46914
|
+
"oneOf": [
|
|
46915
|
+
{
|
|
46916
|
+
"type": "string"
|
|
46917
|
+
},
|
|
46918
|
+
{
|
|
46919
|
+
"type": "null"
|
|
46920
|
+
}
|
|
46921
|
+
]
|
|
46922
|
+
},
|
|
46370
46923
|
"updatedAt": {
|
|
46371
46924
|
"$ref": "#/components/schemas/Timestamp"
|
|
46372
46925
|
},
|
|
@@ -46392,36 +46945,13 @@
|
|
|
46392
46945
|
"status",
|
|
46393
46946
|
"createdAt",
|
|
46394
46947
|
"createdBy",
|
|
46948
|
+
"authorizedBy",
|
|
46395
46949
|
"updatedAt",
|
|
46396
46950
|
"urls"
|
|
46397
46951
|
]
|
|
46398
46952
|
}
|
|
46399
46953
|
]
|
|
46400
46954
|
},
|
|
46401
|
-
"Error": {
|
|
46402
|
-
"type": "object",
|
|
46403
|
-
"required": [
|
|
46404
|
-
"error"
|
|
46405
|
-
],
|
|
46406
|
-
"properties": {
|
|
46407
|
-
"error": {
|
|
46408
|
-
"type": "object",
|
|
46409
|
-
"properties": {
|
|
46410
|
-
"code": {
|
|
46411
|
-
"type": "integer",
|
|
46412
|
-
"format": "int32"
|
|
46413
|
-
},
|
|
46414
|
-
"message": {
|
|
46415
|
-
"type": "string"
|
|
46416
|
-
}
|
|
46417
|
-
},
|
|
46418
|
-
"required": [
|
|
46419
|
-
"code",
|
|
46420
|
-
"message"
|
|
46421
|
-
]
|
|
46422
|
-
}
|
|
46423
|
-
}
|
|
46424
|
-
},
|
|
46425
46955
|
"SiteAdaptiveRegions": {
|
|
46426
46956
|
"type": "object",
|
|
46427
46957
|
"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.",
|
|
@@ -48657,6 +49187,25 @@
|
|
|
48657
49187
|
"url"
|
|
48658
49188
|
]
|
|
48659
49189
|
},
|
|
49190
|
+
"SiteSearchPass": {
|
|
49191
|
+
"type": "object",
|
|
49192
|
+
"description": "Short-lived credential that lets a published site's visitor call the site search operation directly. It is opaque, accepted only by that operation for one site, and expires within five minutes.",
|
|
49193
|
+
"properties": {
|
|
49194
|
+
"token": {
|
|
49195
|
+
"type": "string",
|
|
49196
|
+
"description": "Credential to send as a bearer token in the Authorization header."
|
|
49197
|
+
},
|
|
49198
|
+
"expiresAt": {
|
|
49199
|
+
"type": "string",
|
|
49200
|
+
"format": "date-time",
|
|
49201
|
+
"description": "When the credential expires."
|
|
49202
|
+
}
|
|
49203
|
+
},
|
|
49204
|
+
"required": [
|
|
49205
|
+
"token",
|
|
49206
|
+
"expiresAt"
|
|
49207
|
+
]
|
|
49208
|
+
},
|
|
48660
49209
|
"AgentGoal": {
|
|
48661
49210
|
"type": "string",
|
|
48662
49211
|
"maxLength": 1024,
|
|
@@ -49657,6 +50206,21 @@
|
|
|
49657
50206
|
"unknown"
|
|
49658
50207
|
]
|
|
49659
50208
|
},
|
|
50209
|
+
"SiteQuestionIntent": {
|
|
50210
|
+
"type": "string",
|
|
50211
|
+
"description": "What the person was asking for, independent of the type of site: `can-it` whether it does, supports or integrates with something; `how-to` the steps to get something done; `how-it-works` rules, defaults and what happens when; `details` exact values, syntax, limits or lists; `troubleshoot` errors and why something fails; `pricing` price, plans and licensing; `trust` security, compliance and data handling; `fit` use-case fit, alternatives and switching from another tool; `other` anything else.",
|
|
50212
|
+
"enum": [
|
|
50213
|
+
"can-it",
|
|
50214
|
+
"how-to",
|
|
50215
|
+
"how-it-works",
|
|
50216
|
+
"details",
|
|
50217
|
+
"troubleshoot",
|
|
50218
|
+
"pricing",
|
|
50219
|
+
"trust",
|
|
50220
|
+
"fit",
|
|
50221
|
+
"other"
|
|
50222
|
+
]
|
|
50223
|
+
},
|
|
49660
50224
|
"SiteQuestionStatsFeedback": {
|
|
49661
50225
|
"type": "object",
|
|
49662
50226
|
"description": "Aggregated feedback for answers linked to a site question.",
|
|
@@ -49791,6 +50355,114 @@
|
|
|
49791
50355
|
"unknown"
|
|
49792
50356
|
]
|
|
49793
50357
|
},
|
|
50358
|
+
"SiteQuestionStatsIntents": {
|
|
50359
|
+
"type": "object",
|
|
50360
|
+
"description": "Count of answers by the intent of their question. `unlabelled` counts questions not labelled yet.",
|
|
50361
|
+
"properties": {
|
|
50362
|
+
"can-it": {
|
|
50363
|
+
"type": "number"
|
|
50364
|
+
},
|
|
50365
|
+
"how-to": {
|
|
50366
|
+
"type": "number"
|
|
50367
|
+
},
|
|
50368
|
+
"how-it-works": {
|
|
50369
|
+
"type": "number"
|
|
50370
|
+
},
|
|
50371
|
+
"details": {
|
|
50372
|
+
"type": "number"
|
|
50373
|
+
},
|
|
50374
|
+
"troubleshoot": {
|
|
50375
|
+
"type": "number"
|
|
50376
|
+
},
|
|
50377
|
+
"pricing": {
|
|
50378
|
+
"type": "number"
|
|
50379
|
+
},
|
|
50380
|
+
"trust": {
|
|
50381
|
+
"type": "number"
|
|
50382
|
+
},
|
|
50383
|
+
"fit": {
|
|
50384
|
+
"type": "number"
|
|
50385
|
+
},
|
|
50386
|
+
"other": {
|
|
50387
|
+
"type": "number"
|
|
50388
|
+
},
|
|
50389
|
+
"unlabelled": {
|
|
50390
|
+
"type": "number"
|
|
50391
|
+
}
|
|
50392
|
+
},
|
|
50393
|
+
"required": [
|
|
50394
|
+
"can-it",
|
|
50395
|
+
"how-to",
|
|
50396
|
+
"how-it-works",
|
|
50397
|
+
"details",
|
|
50398
|
+
"troubleshoot",
|
|
50399
|
+
"pricing",
|
|
50400
|
+
"trust",
|
|
50401
|
+
"fit",
|
|
50402
|
+
"other",
|
|
50403
|
+
"unlabelled"
|
|
50404
|
+
]
|
|
50405
|
+
},
|
|
50406
|
+
"SiteQuestionStatsSiteSaid": {
|
|
50407
|
+
"type": "object",
|
|
50408
|
+
"description": "Count of answers by what the site said about the main thing asked. `unlabelled` counts answers not labelled yet.",
|
|
50409
|
+
"properties": {
|
|
50410
|
+
"covered": {
|
|
50411
|
+
"type": "number"
|
|
50412
|
+
},
|
|
50413
|
+
"limited": {
|
|
50414
|
+
"type": "number"
|
|
50415
|
+
},
|
|
50416
|
+
"unsupported": {
|
|
50417
|
+
"type": "number"
|
|
50418
|
+
},
|
|
50419
|
+
"no-answer": {
|
|
50420
|
+
"type": "number"
|
|
50421
|
+
},
|
|
50422
|
+
"needs-support": {
|
|
50423
|
+
"type": "number"
|
|
50424
|
+
},
|
|
50425
|
+
"unlabelled": {
|
|
50426
|
+
"type": "number"
|
|
50427
|
+
}
|
|
50428
|
+
},
|
|
50429
|
+
"required": [
|
|
50430
|
+
"covered",
|
|
50431
|
+
"limited",
|
|
50432
|
+
"unsupported",
|
|
50433
|
+
"no-answer",
|
|
50434
|
+
"needs-support",
|
|
50435
|
+
"unlabelled"
|
|
50436
|
+
]
|
|
50437
|
+
},
|
|
50438
|
+
"SiteQuestionStatsEscalations": {
|
|
50439
|
+
"type": "object",
|
|
50440
|
+
"description": "Count of answers by who should act on them (see `SiteQuestionEscalation`). `unlabelled` counts answers that cannot be escalated until their question and answer are labelled.",
|
|
50441
|
+
"properties": {
|
|
50442
|
+
"docs": {
|
|
50443
|
+
"type": "number"
|
|
50444
|
+
},
|
|
50445
|
+
"team": {
|
|
50446
|
+
"type": "number"
|
|
50447
|
+
},
|
|
50448
|
+
"support": {
|
|
50449
|
+
"type": "number"
|
|
50450
|
+
},
|
|
50451
|
+
"none": {
|
|
50452
|
+
"type": "number"
|
|
50453
|
+
},
|
|
50454
|
+
"unlabelled": {
|
|
50455
|
+
"type": "number"
|
|
50456
|
+
}
|
|
50457
|
+
},
|
|
50458
|
+
"required": [
|
|
50459
|
+
"docs",
|
|
50460
|
+
"team",
|
|
50461
|
+
"support",
|
|
50462
|
+
"none",
|
|
50463
|
+
"unlabelled"
|
|
50464
|
+
]
|
|
50465
|
+
},
|
|
49794
50466
|
"SiteQuestionStats": {
|
|
49795
50467
|
"type": "object",
|
|
49796
50468
|
"description": "Aggregated stats for questions and linked answers.",
|
|
@@ -49824,6 +50496,19 @@
|
|
|
49824
50496
|
"visitorTypes": {
|
|
49825
50497
|
"$ref": "#/components/schemas/SiteQuestionStatsVisitorTypes"
|
|
49826
50498
|
},
|
|
50499
|
+
"intents": {
|
|
50500
|
+
"$ref": "#/components/schemas/SiteQuestionStatsIntents"
|
|
50501
|
+
},
|
|
50502
|
+
"siteSaid": {
|
|
50503
|
+
"$ref": "#/components/schemas/SiteQuestionStatsSiteSaid"
|
|
50504
|
+
},
|
|
50505
|
+
"escalations": {
|
|
50506
|
+
"$ref": "#/components/schemas/SiteQuestionStatsEscalations"
|
|
50507
|
+
},
|
|
50508
|
+
"goals": {
|
|
50509
|
+
"type": "number",
|
|
50510
|
+
"description": "Count of distinct goals agents gave with the answers."
|
|
50511
|
+
},
|
|
49827
50512
|
"weeklyPulse": {
|
|
49828
50513
|
"type": "array",
|
|
49829
50514
|
"minItems": 13,
|
|
@@ -49844,6 +50529,10 @@
|
|
|
49844
50529
|
"channelTypes",
|
|
49845
50530
|
"channels",
|
|
49846
50531
|
"visitorTypes",
|
|
50532
|
+
"intents",
|
|
50533
|
+
"siteSaid",
|
|
50534
|
+
"escalations",
|
|
50535
|
+
"goals",
|
|
49847
50536
|
"weeklyPulse"
|
|
49848
50537
|
]
|
|
49849
50538
|
},
|
|
@@ -49867,6 +50556,17 @@
|
|
|
49867
50556
|
"type": {
|
|
49868
50557
|
"$ref": "#/components/schemas/SiteQuestionType"
|
|
49869
50558
|
},
|
|
50559
|
+
"intent": {
|
|
50560
|
+
"description": "What the person was asking for; `null` until the question is labelled.",
|
|
50561
|
+
"oneOf": [
|
|
50562
|
+
{
|
|
50563
|
+
"$ref": "#/components/schemas/SiteQuestionIntent"
|
|
50564
|
+
},
|
|
50565
|
+
{
|
|
50566
|
+
"type": "null"
|
|
50567
|
+
}
|
|
50568
|
+
]
|
|
50569
|
+
},
|
|
49870
50570
|
"createdAt": {
|
|
49871
50571
|
"$ref": "#/components/schemas/Timestamp"
|
|
49872
50572
|
},
|
|
@@ -49896,6 +50596,7 @@
|
|
|
49896
50596
|
"id",
|
|
49897
50597
|
"question",
|
|
49898
50598
|
"type",
|
|
50599
|
+
"intent",
|
|
49899
50600
|
"createdAt",
|
|
49900
50601
|
"askedAt",
|
|
49901
50602
|
"stats",
|
|
@@ -50800,6 +51501,87 @@
|
|
|
50800
51501
|
"unknown"
|
|
50801
51502
|
]
|
|
50802
51503
|
},
|
|
51504
|
+
"SiteInsightsVisitorBot": {
|
|
51505
|
+
"type": [
|
|
51506
|
+
"string",
|
|
51507
|
+
"null"
|
|
51508
|
+
],
|
|
51509
|
+
"enum": [
|
|
51510
|
+
null,
|
|
51511
|
+
"unknown",
|
|
51512
|
+
"googlebot",
|
|
51513
|
+
"bingbot",
|
|
51514
|
+
"duckduckbot",
|
|
51515
|
+
"facebookbot",
|
|
51516
|
+
"applebot",
|
|
51517
|
+
"chatgpt",
|
|
51518
|
+
"openai",
|
|
51519
|
+
"claude",
|
|
51520
|
+
"anthropic",
|
|
51521
|
+
"gemini",
|
|
51522
|
+
"perplexity",
|
|
51523
|
+
"cohere",
|
|
51524
|
+
"mistral",
|
|
51525
|
+
"deepseek",
|
|
51526
|
+
"meta",
|
|
51527
|
+
"bytespider",
|
|
51528
|
+
"ccbot",
|
|
51529
|
+
"amazonbot",
|
|
51530
|
+
"youbot",
|
|
51531
|
+
"cursor",
|
|
51532
|
+
"vscode",
|
|
51533
|
+
"claude-code",
|
|
51534
|
+
"codex",
|
|
51535
|
+
"opencode",
|
|
51536
|
+
"gptbot",
|
|
51537
|
+
"claudebot",
|
|
51538
|
+
"meta-fetcher",
|
|
51539
|
+
"grok",
|
|
51540
|
+
"github-copilot",
|
|
51541
|
+
"meta-webindexer",
|
|
51542
|
+
"meta-ads",
|
|
51543
|
+
"duckassist",
|
|
51544
|
+
"amzn-searchbot",
|
|
51545
|
+
"amzn-user",
|
|
51546
|
+
"other-bot",
|
|
51547
|
+
"parallel",
|
|
51548
|
+
"exa",
|
|
51549
|
+
"linkup",
|
|
51550
|
+
"vertex-ai",
|
|
51551
|
+
"atlassian",
|
|
51552
|
+
"kapa",
|
|
51553
|
+
"bedrock"
|
|
51554
|
+
]
|
|
51555
|
+
},
|
|
51556
|
+
"SiteQuestionAnswerSiteSaid": {
|
|
51557
|
+
"type": "string",
|
|
51558
|
+
"description": "What the site's content said about the main thing asked, judged from the answer. Unlike `answered`, which measures the assistant, it tells a product limit from a content gap: `covered` the site confirms it is possible or explains how it works; `limited` possible only under a named condition such as a plan, version, role or quota; `unsupported` the site says it cannot be done; `no-answer` the site gave no answer to a question a page could answer for everyone; `needs-support` only a person can resolve it, because it concerns the asker's own account, order, data or contract.",
|
|
51559
|
+
"enum": [
|
|
51560
|
+
"covered",
|
|
51561
|
+
"limited",
|
|
51562
|
+
"unsupported",
|
|
51563
|
+
"no-answer",
|
|
51564
|
+
"needs-support"
|
|
51565
|
+
]
|
|
51566
|
+
},
|
|
51567
|
+
"SiteQuestionEscalation": {
|
|
51568
|
+
"type": "string",
|
|
51569
|
+
"description": "Who should act on an answer, derived from what was asked and what the site said. `docs` the site had no answer, or only a weak one, to a question a page could answer for everyone, so the content should be written or fixed; `team` the question needs a decision or clarification from a team beyond the docs, such as product, sales or marketing, for example when the site said something is not supported or only available on another plan; `support` only a person can resolve it, because it concerns the asker's own account, order, data or contract; `none` the site answered it.",
|
|
51570
|
+
"enum": [
|
|
51571
|
+
"docs",
|
|
51572
|
+
"team",
|
|
51573
|
+
"support",
|
|
51574
|
+
"none"
|
|
51575
|
+
]
|
|
51576
|
+
},
|
|
51577
|
+
"SiteQuestionVisitorAuthentication": {
|
|
51578
|
+
"type": "string",
|
|
51579
|
+
"description": "Whether the visitor who asked was signed in to the site: `authenticated` on a site behind authenticated access, or when they asked with a verified visitor token, and `anonymous` otherwise. Questions asked through the API or a connected channel, and those asked before this was recorded, are neither.",
|
|
51580
|
+
"enum": [
|
|
51581
|
+
"authenticated",
|
|
51582
|
+
"anonymous"
|
|
51583
|
+
]
|
|
51584
|
+
},
|
|
50803
51585
|
"SiteQuestionAnswerResolution": {
|
|
50804
51586
|
"type": "string",
|
|
50805
51587
|
"description": "Whether the response answered the question.",
|
|
@@ -51102,6 +51884,59 @@
|
|
|
51102
51884
|
"items"
|
|
51103
51885
|
]
|
|
51104
51886
|
},
|
|
51887
|
+
"SiteGoal": {
|
|
51888
|
+
"type": "object",
|
|
51889
|
+
"description": "A distinct goal AI agents gave when asking a site's questions: the task they were working on for someone. Agents giving the same goal in the same words share one goal.",
|
|
51890
|
+
"properties": {
|
|
51891
|
+
"object": {
|
|
51892
|
+
"type": "string",
|
|
51893
|
+
"enum": [
|
|
51894
|
+
"site-goal"
|
|
51895
|
+
]
|
|
51896
|
+
},
|
|
51897
|
+
"id": {
|
|
51898
|
+
"type": "string",
|
|
51899
|
+
"description": "The ID of the site goal."
|
|
51900
|
+
},
|
|
51901
|
+
"goal": {
|
|
51902
|
+
"type": "string",
|
|
51903
|
+
"description": "The goal as the first agent to give it wrote it."
|
|
51904
|
+
},
|
|
51905
|
+
"createdAt": {
|
|
51906
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
51907
|
+
},
|
|
51908
|
+
"stats": {
|
|
51909
|
+
"type": "object",
|
|
51910
|
+
"description": "Activity of the goal within the requested filters.",
|
|
51911
|
+
"properties": {
|
|
51912
|
+
"questions": {
|
|
51913
|
+
"type": "number",
|
|
51914
|
+
"description": "Count of distinct questions agents asked with this goal."
|
|
51915
|
+
},
|
|
51916
|
+
"answers": {
|
|
51917
|
+
"type": "number",
|
|
51918
|
+
"description": "Count of answers given to questions asked with this goal."
|
|
51919
|
+
},
|
|
51920
|
+
"askedAt": {
|
|
51921
|
+
"description": "When a question was last asked with this goal.",
|
|
51922
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
51923
|
+
}
|
|
51924
|
+
},
|
|
51925
|
+
"required": [
|
|
51926
|
+
"questions",
|
|
51927
|
+
"answers",
|
|
51928
|
+
"askedAt"
|
|
51929
|
+
]
|
|
51930
|
+
}
|
|
51931
|
+
},
|
|
51932
|
+
"required": [
|
|
51933
|
+
"object",
|
|
51934
|
+
"id",
|
|
51935
|
+
"goal",
|
|
51936
|
+
"createdAt",
|
|
51937
|
+
"stats"
|
|
51938
|
+
]
|
|
51939
|
+
},
|
|
51105
51940
|
"SiteQuestionAnswerHelpfulness": {
|
|
51106
51941
|
"type": "string",
|
|
51107
51942
|
"description": "Helpfulness of the response for the end user need.",
|
|
@@ -55726,58 +56561,6 @@
|
|
|
55726
56561
|
"unknown"
|
|
55727
56562
|
]
|
|
55728
56563
|
},
|
|
55729
|
-
"SiteInsightsVisitorBot": {
|
|
55730
|
-
"type": [
|
|
55731
|
-
"string",
|
|
55732
|
-
"null"
|
|
55733
|
-
],
|
|
55734
|
-
"enum": [
|
|
55735
|
-
null,
|
|
55736
|
-
"unknown",
|
|
55737
|
-
"googlebot",
|
|
55738
|
-
"bingbot",
|
|
55739
|
-
"duckduckbot",
|
|
55740
|
-
"facebookbot",
|
|
55741
|
-
"applebot",
|
|
55742
|
-
"chatgpt",
|
|
55743
|
-
"openai",
|
|
55744
|
-
"claude",
|
|
55745
|
-
"anthropic",
|
|
55746
|
-
"gemini",
|
|
55747
|
-
"perplexity",
|
|
55748
|
-
"cohere",
|
|
55749
|
-
"mistral",
|
|
55750
|
-
"deepseek",
|
|
55751
|
-
"meta",
|
|
55752
|
-
"bytespider",
|
|
55753
|
-
"ccbot",
|
|
55754
|
-
"amazonbot",
|
|
55755
|
-
"youbot",
|
|
55756
|
-
"cursor",
|
|
55757
|
-
"vscode",
|
|
55758
|
-
"claude-code",
|
|
55759
|
-
"codex",
|
|
55760
|
-
"opencode",
|
|
55761
|
-
"gptbot",
|
|
55762
|
-
"claudebot",
|
|
55763
|
-
"meta-fetcher",
|
|
55764
|
-
"grok",
|
|
55765
|
-
"github-copilot",
|
|
55766
|
-
"meta-webindexer",
|
|
55767
|
-
"meta-ads",
|
|
55768
|
-
"duckassist",
|
|
55769
|
-
"amzn-searchbot",
|
|
55770
|
-
"amzn-user",
|
|
55771
|
-
"other-bot",
|
|
55772
|
-
"parallel",
|
|
55773
|
-
"exa",
|
|
55774
|
-
"linkup",
|
|
55775
|
-
"vertex-ai",
|
|
55776
|
-
"atlassian",
|
|
55777
|
-
"kapa",
|
|
55778
|
-
"bedrock"
|
|
55779
|
-
]
|
|
55780
|
-
},
|
|
55781
56564
|
"SiteInsightsPageNotFoundType": {
|
|
55782
56565
|
"description": "Why a site URL returned a 404. `conditional` means the URL targets content gated by an adaptive-content condition, so the visitor lacked access to a page that exists. Computed by GitBook when the event is ingested; 404s recorded before this existed, and those on genuinely missing pages, carry no value.",
|
|
55783
56566
|
"type": "string",
|
|
@@ -57165,22 +57948,33 @@
|
|
|
57165
57948
|
"default": 1000,
|
|
57166
57949
|
"minimum": 1,
|
|
57167
57950
|
"maximum": 1000
|
|
57951
|
+
},
|
|
57952
|
+
"page": {
|
|
57953
|
+
"type": "string",
|
|
57954
|
+
"description": "The `next.page` value of a previous result, to fetch the rows that follow it. Send the rest of the query unchanged. Relative ranges stay fixed to the time of the first page, but events recorded while paging can still move rows between pages."
|
|
57168
57955
|
}
|
|
57169
57956
|
}
|
|
57170
57957
|
},
|
|
57171
57958
|
"SiteInsightsQueryEventsAggregationResult": {
|
|
57172
|
-
"
|
|
57173
|
-
|
|
57174
|
-
|
|
57175
|
-
|
|
57176
|
-
|
|
57177
|
-
|
|
57178
|
-
"
|
|
57179
|
-
|
|
57180
|
-
|
|
57959
|
+
"allOf": [
|
|
57960
|
+
{
|
|
57961
|
+
"$ref": "#/components/schemas/List"
|
|
57962
|
+
},
|
|
57963
|
+
{
|
|
57964
|
+
"type": "object",
|
|
57965
|
+
"required": [
|
|
57966
|
+
"columns"
|
|
57967
|
+
],
|
|
57968
|
+
"properties": {
|
|
57969
|
+
"columns": {
|
|
57970
|
+
"type": "array",
|
|
57971
|
+
"items": {
|
|
57972
|
+
"$ref": "#/components/schemas/SiteInsightsQueryEventsValues"
|
|
57973
|
+
}
|
|
57974
|
+
}
|
|
57181
57975
|
}
|
|
57182
57976
|
}
|
|
57183
|
-
|
|
57977
|
+
]
|
|
57184
57978
|
},
|
|
57185
57979
|
"SiteInsightsVisitorSegment": {
|
|
57186
57980
|
"type": "object",
|
|
@@ -57804,6 +58598,78 @@
|
|
|
57804
58598
|
"urls"
|
|
57805
58599
|
]
|
|
57806
58600
|
},
|
|
58601
|
+
"PasskeyAuthenticationResponse": {
|
|
58602
|
+
"type": "object",
|
|
58603
|
+
"description": "The browser's answer to the passkey sign-in options (AuthenticationResponseJSON).",
|
|
58604
|
+
"properties": {
|
|
58605
|
+
"id": {
|
|
58606
|
+
"type": "string"
|
|
58607
|
+
},
|
|
58608
|
+
"rawId": {
|
|
58609
|
+
"type": "string"
|
|
58610
|
+
},
|
|
58611
|
+
"type": {
|
|
58612
|
+
"type": "string",
|
|
58613
|
+
"enum": [
|
|
58614
|
+
"public-key"
|
|
58615
|
+
]
|
|
58616
|
+
},
|
|
58617
|
+
"response": {
|
|
58618
|
+
"type": "object",
|
|
58619
|
+
"properties": {
|
|
58620
|
+
"clientDataJSON": {
|
|
58621
|
+
"type": "string"
|
|
58622
|
+
},
|
|
58623
|
+
"authenticatorData": {
|
|
58624
|
+
"type": "string"
|
|
58625
|
+
},
|
|
58626
|
+
"signature": {
|
|
58627
|
+
"type": "string"
|
|
58628
|
+
},
|
|
58629
|
+
"userHandle": {
|
|
58630
|
+
"type": "string"
|
|
58631
|
+
}
|
|
58632
|
+
},
|
|
58633
|
+
"required": [
|
|
58634
|
+
"clientDataJSON",
|
|
58635
|
+
"authenticatorData",
|
|
58636
|
+
"signature"
|
|
58637
|
+
]
|
|
58638
|
+
},
|
|
58639
|
+
"clientExtensionResults": {
|
|
58640
|
+
"type": "object",
|
|
58641
|
+
"additionalProperties": true
|
|
58642
|
+
},
|
|
58643
|
+
"authenticatorAttachment": {
|
|
58644
|
+
"type": "string",
|
|
58645
|
+
"enum": [
|
|
58646
|
+
"platform",
|
|
58647
|
+
"cross-platform"
|
|
58648
|
+
]
|
|
58649
|
+
}
|
|
58650
|
+
},
|
|
58651
|
+
"required": [
|
|
58652
|
+
"id",
|
|
58653
|
+
"rawId",
|
|
58654
|
+
"type",
|
|
58655
|
+
"response",
|
|
58656
|
+
"clientExtensionResults"
|
|
58657
|
+
]
|
|
58658
|
+
},
|
|
58659
|
+
"PasskeySignInOptions": {
|
|
58660
|
+
"type": "object",
|
|
58661
|
+
"description": "WebAuthn options for signing in with a passkey (PublicKeyCredentialRequestOptionsJSON), to pass unchanged to the browser.",
|
|
58662
|
+
"additionalProperties": true,
|
|
58663
|
+
"properties": {
|
|
58664
|
+
"challenge": {
|
|
58665
|
+
"type": "string",
|
|
58666
|
+
"description": "Single-use challenge the passkey must sign."
|
|
58667
|
+
}
|
|
58668
|
+
},
|
|
58669
|
+
"required": [
|
|
58670
|
+
"challenge"
|
|
58671
|
+
]
|
|
58672
|
+
},
|
|
57807
58673
|
"UnsplashImage": {
|
|
57808
58674
|
"type": "object",
|
|
57809
58675
|
"required": [
|