@gitbook/api 0.204.0 → 0.206.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 +487 -245
- package/dist/constants.d.ts +9 -1
- package/dist/index.cjs +47 -2
- package/dist/index.js +37 -2
- package/package.json +1 -1
- package/spec/openapi.json +1631 -847
- package/spec/openapi.yaml +1055 -545
package/spec/openapi.yaml
CHANGED
|
@@ -1537,7 +1537,7 @@ paths:
|
|
|
1537
1537
|
post:
|
|
1538
1538
|
operationId: createChangeRequest
|
|
1539
1539
|
summary: Create a new change request in a space
|
|
1540
|
-
description: Creates a new change request, which is a draft working copy of the space's content — similar to a Git branch or pull request. Use this before making content edits to avoid modifying the live published content directly. Optionally supply a subject and a template to pre-populate the change request with content. Once created, use the change-request content endpoints to read and modify pages within the draft, then merge it when ready.
|
|
1540
|
+
description: Creates a new change request, which is a draft working copy of the space's content — similar to a Git branch or pull request. Use this before making content edits to avoid modifying the live published content directly. Optionally supply a subject and a template to pre-populate the change request with content. Once created, use the change-request content endpoints to read and modify pages within the draft, then merge it when ready. Pass `siteFindingIds` to link the documentation findings this change request fixes. Outbound broken links are resolved by the outbound checker, rather than by merging.
|
|
1541
1541
|
x-gitbook-mcp: true
|
|
1542
1542
|
tags:
|
|
1543
1543
|
- change-requests
|
|
@@ -1577,7 +1577,14 @@ paths:
|
|
|
1577
1577
|
description: Description of the change request, explaining what it changes and why, for whoever reviews it. Only paragraphs and lists are kept; other blocks are stripped along with their text.
|
|
1578
1578
|
siteFindingId:
|
|
1579
1579
|
type: string
|
|
1580
|
-
|
|
1580
|
+
deprecated: true
|
|
1581
|
+
description: The site finding this change request fixes. Use `siteFindingIds` instead. The finding's site must contain this space.
|
|
1582
|
+
siteFindingIds:
|
|
1583
|
+
type: array
|
|
1584
|
+
maxItems: 25
|
|
1585
|
+
items:
|
|
1586
|
+
type: string
|
|
1587
|
+
description: Site findings this change request fixes. Each finding's site must contain this space, and the caller must have edit permission on each site. Takes precedence over `siteFindingId` when both are supplied.
|
|
1581
1588
|
additionalProperties: true
|
|
1582
1589
|
get:
|
|
1583
1590
|
operationId: listChangeRequestsForSpace
|
|
@@ -1674,7 +1681,7 @@ paths:
|
|
|
1674
1681
|
patch:
|
|
1675
1682
|
operationId: updateChangeRequestById
|
|
1676
1683
|
summary: Update a change request's subject, description, or status
|
|
1677
|
-
description: Updates the metadata of a change request. Use this to rename a change request, add context before requesting a review, or change the workflow status without merging. To update page content within the change request, use the content endpoint instead. Set `
|
|
1684
|
+
description: Updates the metadata of a change request. Use this to rename a change request, add context before requesting a review, or change the workflow status without merging. To update page content within the change request, use the content endpoint instead. Set `siteFindingIds` to replace the documentation findings linked to the change request. Outbound broken links are resolved by the outbound checker, rather than by merging.
|
|
1678
1685
|
x-gitbook-mcp: true
|
|
1679
1686
|
x-gitbook-return-preference: true
|
|
1680
1687
|
tags:
|
|
@@ -1711,10 +1718,19 @@ paths:
|
|
|
1711
1718
|
- open
|
|
1712
1719
|
- archived
|
|
1713
1720
|
siteFindingId:
|
|
1721
|
+
deprecated: true
|
|
1714
1722
|
type:
|
|
1715
1723
|
- string
|
|
1716
1724
|
- "null"
|
|
1717
|
-
description: The site finding this change request fixes.
|
|
1725
|
+
description: The site finding this change request fixes. Use `siteFindingIds` instead. The finding's site must contain this space. Replaces the whole set of linked findings with this finding. Pass null to unlink all findings.
|
|
1726
|
+
siteFindingIds:
|
|
1727
|
+
type:
|
|
1728
|
+
- array
|
|
1729
|
+
- "null"
|
|
1730
|
+
maxItems: 25
|
|
1731
|
+
items:
|
|
1732
|
+
type: string
|
|
1733
|
+
description: Replaces the linked site findings. Each finding's site must contain this space, and the caller must have edit permission on each site. Pass null or an empty list to unlink all findings. Omit to keep the current links. Takes precedence over `siteFindingId` when both are supplied.
|
|
1718
1734
|
responses:
|
|
1719
1735
|
"200":
|
|
1720
1736
|
description: The change request has been updated
|
|
@@ -2454,6 +2470,7 @@ paths:
|
|
|
2454
2470
|
**Renaming a page** — `update_page` can change a page's `title` and/or its `slug` (the path segment used to build its URL within its current parent). Both fields are independent: to rename only the title without changing the URL, set `title` and omit `slug`; to change the URL without changing the title, set `slug` and omit `title`.
|
|
2455
2471
|
**Moving a page** — `update_page` can also change a page's parent and/or its position among siblings with `into`/`at`. Set `into` to the new parent's page ID, or `null` to move the page to the root of the tree; omit `into` to leave the parent unchanged. Set `at` to place the page at a specific zero-based index among its new siblings; omit it to leave the position unchanged (when the parent isn't changing) or append at the end (when it is). A page cannot be moved under itself or one of its own descendants. `insert_page`'s `into`/`at` remain the way to place a **new** page at creation time.
|
|
2456
2472
|
To put an image or attachment in a page, upload it with an `insert_files` change. Give the file a `ref` and a page inserted in the same batch can reference it as `` or `[File](./<ref>)`, which resolves to the file's ID at apply time regardless of operation order. Uploaded files are also listed as `insertedFiles` when `compat=false`, and a file already in the change request can be referenced directly as `/files/<fileId>`. Inline `data:` URIs in markdown are not ingested and large image blocks are dropped, so upload the bytes with `insert_files` instead.
|
|
2473
|
+
**Publishing an OpenAPI spec** — an OpenAPI spec belongs to the organization (see `createOpenAPISpec`) and appears in a space only through a page that renders it. Insert that page with an `insert_computed_page` change: `{ "operation": "insert_computed_page", "title": "API reference", "computed": { "type": "builtin:openapi", "props": { "models": true }, "dependencies": { "spec": { "ref": { "kind": "openapi", "spec": "<spec slug>" } } } } }`. GitBook replaces that page, at its position, with the API reference: one page per tag (or per operation with `"grouping": "by-operation"` in `props`), plus a models page when `models` is true, regenerated whenever the spec changes. Use `into` to nest the reference under an existing page. Do not recreate a spec with `insert_page`: `openapi-operation` blocks in a document only render the operations they name.
|
|
2457
2474
|
When page content is provided as markdown, links to other pages are resolved against the change request's current page tree. You can link a page by:
|
|
2458
2475
|
- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).
|
|
2459
2476
|
- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`
|
|
@@ -6634,6 +6651,7 @@ paths:
|
|
|
6634
6651
|
post:
|
|
6635
6652
|
operationId: createOpenAPISpec
|
|
6636
6653
|
summary: Create an OpenAPI spec
|
|
6654
|
+
description: "Adds an OpenAPI spec to the organization, from a URL or from its text. The spec is processed asynchronously and no page is created: to publish its API reference in a space, insert a page that renders it with an `insert_computed_page` change, through the `updateChangeRequestContent` operation. That reference fills in once processing completes and is regenerated each time the spec is updated."
|
|
6637
6655
|
x-gitbook-mcp: true
|
|
6638
6656
|
tags:
|
|
6639
6657
|
- openapi
|
|
@@ -6693,6 +6711,7 @@ paths:
|
|
|
6693
6711
|
put:
|
|
6694
6712
|
operationId: createOrUpdateOpenAPISpecBySlug
|
|
6695
6713
|
summary: Create or update an OpenAPI spec
|
|
6714
|
+
description: "Creates the organization's OpenAPI spec with this slug, or replaces its source with a new version. The spec is processed asynchronously, and pages that already render it are regenerated once it is. Creating a spec adds no page: to publish its API reference in a space, insert a page that renders it with an `insert_computed_page` change, through the `updateChangeRequestContent` operation."
|
|
6696
6715
|
x-gitbook-mcp: true
|
|
6697
6716
|
tags:
|
|
6698
6717
|
- openapi
|
|
@@ -8601,6 +8620,11 @@ paths:
|
|
|
8601
8620
|
description: ISO 3166-1 alpha-2 code of the country of the visitor for which we want to preview the site. It is matched against the `regions` of the site adaptive schema to resolve `visitor.region`.
|
|
8602
8621
|
schema:
|
|
8603
8622
|
type: string
|
|
8623
|
+
- name: visitorAuthenticated
|
|
8624
|
+
in: query
|
|
8625
|
+
description: Whether the visitor for which we want to preview the site is signed in, as `visitor.isAuthenticated` reports it. Claims outside `unsigned` already imply a signed-in visitor; set this to preview one that is signed in while carrying no claim.
|
|
8626
|
+
schema:
|
|
8627
|
+
type: boolean
|
|
8604
8628
|
- name: draft
|
|
8605
8629
|
in: query
|
|
8606
8630
|
description: Whether to include draft content in the preview. Defaults to true
|
|
@@ -8749,7 +8773,7 @@ paths:
|
|
|
8749
8773
|
post:
|
|
8750
8774
|
operationId: addSpaceToSite
|
|
8751
8775
|
summary: Add a space to a site as a content source
|
|
8752
|
-
description: Pass an existing space ID to link it, or pass `null` to create and link a new space. New spaces
|
|
8776
|
+
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).
|
|
8753
8777
|
x-gitbook-mcp: true
|
|
8754
8778
|
x-gitbook-return-preference: true
|
|
8755
8779
|
tags:
|
|
@@ -8789,6 +8813,10 @@ paths:
|
|
|
8789
8813
|
- type: string
|
|
8790
8814
|
- type: "null"
|
|
8791
8815
|
description: Custom home page within an existing space, rendered at the site space's path root instead of the space's default landing page. Providing it when `spaceId` is `null` returns a 400 error.
|
|
8816
|
+
empty:
|
|
8817
|
+
type: boolean
|
|
8818
|
+
default: false
|
|
8819
|
+
description: Create the new space without any content, not even a blank page. Useful when the content is about to be populated, for example by an import. Only valid when `spaceId` is `null` and no template is provided.
|
|
8792
8820
|
title:
|
|
8793
8821
|
$ref: "#/components/schemas/SiteTitle"
|
|
8794
8822
|
description: Site-specific title override for the variant. Also used as the space title when `spaceId` is `null` and no template is provided.
|
|
@@ -9015,7 +9043,7 @@ paths:
|
|
|
9015
9043
|
post:
|
|
9016
9044
|
operationId: addSectionToSite
|
|
9017
9045
|
summary: Add a new navigation section to a site backed by a space
|
|
9018
|
-
description: Creates a new top-level navigation section in the site. The section appears as a tab or sidebar entry in the site navigation. Pass an existing space ID to link it as the section's primary content source, or pass `null` to create and link a new space. New spaces
|
|
9046
|
+
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).
|
|
9019
9047
|
x-gitbook-mcp: true
|
|
9020
9048
|
tags:
|
|
9021
9049
|
- site-sections
|
|
@@ -9041,6 +9069,10 @@ paths:
|
|
|
9041
9069
|
template:
|
|
9042
9070
|
$ref: "#/components/schemas/ApplySpaceTemplate"
|
|
9043
9071
|
description: Template for the new space when `spaceId` is `null`. Templates that provision organization-level resources, such as OpenAPI specifications, are not supported by this site-scoped operation.
|
|
9072
|
+
empty:
|
|
9073
|
+
type: boolean
|
|
9074
|
+
default: false
|
|
9075
|
+
description: Create the new space without any content, not even a blank page. Useful when the content is about to be populated, for example by an import. Only valid when `spaceId` is `null` and no template is provided.
|
|
9044
9076
|
title:
|
|
9045
9077
|
oneOf:
|
|
9046
9078
|
- $ref: "#/components/schemas/SiteSectionTitle"
|
|
@@ -10291,6 +10323,34 @@ paths:
|
|
|
10291
10323
|
schema:
|
|
10292
10324
|
anyOf:
|
|
10293
10325
|
- $ref: "#/components/schemas/ContextConnectorSetup"
|
|
10326
|
+
- type: object
|
|
10327
|
+
description: Update a Jira connection. Omit `setupSettings.apiToken` to keep the stored token.
|
|
10328
|
+
required:
|
|
10329
|
+
- connector
|
|
10330
|
+
- setupSettings
|
|
10331
|
+
properties:
|
|
10332
|
+
connector:
|
|
10333
|
+
type: string
|
|
10334
|
+
enum:
|
|
10335
|
+
- builtin:jira
|
|
10336
|
+
label:
|
|
10337
|
+
$ref: "#/components/schemas/ContextConnectionLabel"
|
|
10338
|
+
setupSettings:
|
|
10339
|
+
type: object
|
|
10340
|
+
required:
|
|
10341
|
+
- baseUrl
|
|
10342
|
+
- apiEmail
|
|
10343
|
+
properties:
|
|
10344
|
+
baseUrl:
|
|
10345
|
+
$ref: "#/components/schemas/baseUrl"
|
|
10346
|
+
apiEmail:
|
|
10347
|
+
$ref: "#/components/schemas/apiEmail"
|
|
10348
|
+
apiToken:
|
|
10349
|
+
$ref: "#/components/schemas/apiToken"
|
|
10350
|
+
projectKeys:
|
|
10351
|
+
$ref: "#/components/schemas/projectKeys"
|
|
10352
|
+
statusMapping:
|
|
10353
|
+
$ref: "#/components/schemas/statusMapping"
|
|
10294
10354
|
- type: object
|
|
10295
10355
|
properties:
|
|
10296
10356
|
usageSettings:
|
|
@@ -10389,6 +10449,27 @@ paths:
|
|
|
10389
10449
|
description: Filter stats to answers created at or before this timestamp.
|
|
10390
10450
|
schema:
|
|
10391
10451
|
$ref: "#/components/schemas/Timestamp"
|
|
10452
|
+
- name: relevance
|
|
10453
|
+
in: query
|
|
10454
|
+
description: Filter stats by question relevance.
|
|
10455
|
+
schema:
|
|
10456
|
+
type: array
|
|
10457
|
+
items:
|
|
10458
|
+
$ref: "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
10459
|
+
- name: channelType
|
|
10460
|
+
in: query
|
|
10461
|
+
description: Filter stats by answer channel type.
|
|
10462
|
+
schema:
|
|
10463
|
+
type: array
|
|
10464
|
+
items:
|
|
10465
|
+
$ref: "#/components/schemas/SiteChannelType"
|
|
10466
|
+
- name: answered
|
|
10467
|
+
in: query
|
|
10468
|
+
description: Filter stats by answer resolution.
|
|
10469
|
+
schema:
|
|
10470
|
+
type: array
|
|
10471
|
+
items:
|
|
10472
|
+
$ref: "#/components/schemas/SiteQuestionAnswerResolution"
|
|
10392
10473
|
responses:
|
|
10393
10474
|
"200":
|
|
10394
10475
|
description: OK
|
|
@@ -11530,7 +11611,12 @@ paths:
|
|
|
11530
11611
|
- type: object
|
|
11531
11612
|
required:
|
|
11532
11613
|
- items
|
|
11614
|
+
- membersCount
|
|
11533
11615
|
properties:
|
|
11616
|
+
membersCount:
|
|
11617
|
+
type: integer
|
|
11618
|
+
minimum: 0
|
|
11619
|
+
description: Number of users with a role in the site, guests excluded. It ignores the filters and the pagination of the request.
|
|
11534
11620
|
items:
|
|
11535
11621
|
type: array
|
|
11536
11622
|
items:
|
|
@@ -11801,7 +11887,7 @@ paths:
|
|
|
11801
11887
|
put:
|
|
11802
11888
|
operationId: updateSiteAgentSettingsById
|
|
11803
11889
|
summary: Update the AI agent configuration for a site
|
|
11804
|
-
description: Replaces the configuration for the AI built into the GitBook editor that helps authors draft, review, and refine content changes. Use this to customize how the AI behaves when assisting authors working on content for this site.
|
|
11890
|
+
description: Replaces the configuration for the AI built into the GitBook editor that helps authors draft, review, and refine content changes. Use this to customize how the AI behaves when assisting authors working on content for this site. When `brokenLinks` is omitted, the current broken links settings are kept.
|
|
11805
11891
|
x-gitbook-mcp: true
|
|
11806
11892
|
tags:
|
|
11807
11893
|
- site-agent-settings
|
|
@@ -12668,7 +12754,7 @@ paths:
|
|
|
12668
12754
|
post:
|
|
12669
12755
|
operationId: listSiteChannelScopes
|
|
12670
12756
|
summary: List available site channel scopes
|
|
12671
|
-
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 credentials
|
|
12757
|
+
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.
|
|
12672
12758
|
x-gitbook-mcp: true
|
|
12673
12759
|
tags:
|
|
12674
12760
|
- site-channels
|
|
@@ -12722,6 +12808,18 @@ paths:
|
|
|
12722
12808
|
siteChannelId:
|
|
12723
12809
|
type: string
|
|
12724
12810
|
description: ID of an already-connected channel belonging to this site and matching the provider.
|
|
12811
|
+
- type: object
|
|
12812
|
+
required:
|
|
12813
|
+
- provider
|
|
12814
|
+
- siteContextConnectionId
|
|
12815
|
+
properties:
|
|
12816
|
+
provider:
|
|
12817
|
+
type: string
|
|
12818
|
+
enum:
|
|
12819
|
+
- jira
|
|
12820
|
+
siteContextConnectionId:
|
|
12821
|
+
type: string
|
|
12822
|
+
description: ID of a Jira context connection belonging to this site, whose stored credentials are used.
|
|
12725
12823
|
- type: object
|
|
12726
12824
|
required:
|
|
12727
12825
|
- provider
|
|
@@ -13760,16 +13858,17 @@ components:
|
|
|
13760
13858
|
name: dereferenced
|
|
13761
13859
|
in: query
|
|
13762
13860
|
description: |
|
|
13763
|
-
Controls whether
|
|
13764
|
-
- When set to `
|
|
13765
|
-
- When set to `
|
|
13861
|
+
Controls whether references to other content are resolved and expanded.
|
|
13862
|
+
- When set to `false`, references are preserved, including reusable content includes in Markdown.
|
|
13863
|
+
- When set to `true`, all supported content references are expanded.
|
|
13864
|
+
- When set to `reusable-contents`, only reusable content references are expanded.
|
|
13865
|
+
When omitted, Markdown responses expand all supported content references, while document responses preserve them.
|
|
13766
13866
|
schema:
|
|
13767
13867
|
oneOf:
|
|
13768
13868
|
- type: boolean
|
|
13769
13869
|
- type: string
|
|
13770
13870
|
enum:
|
|
13771
13871
|
- reusable-contents
|
|
13772
|
-
default: false
|
|
13773
13872
|
pagePath:
|
|
13774
13873
|
name: pagePath
|
|
13775
13874
|
in: path
|
|
@@ -14594,6 +14693,9 @@ components:
|
|
|
14594
14693
|
- lv
|
|
14595
14694
|
- et
|
|
14596
14695
|
- sl
|
|
14696
|
+
- fr-ca
|
|
14697
|
+
- es-mx
|
|
14698
|
+
- es-419
|
|
14597
14699
|
GitSyncInstallationStatus:
|
|
14598
14700
|
type: string
|
|
14599
14701
|
enum:
|
|
@@ -15786,6 +15888,64 @@ components:
|
|
|
15786
15888
|
- type
|
|
15787
15889
|
- data
|
|
15788
15890
|
- isVoid
|
|
15891
|
+
DocumentInlineMath:
|
|
15892
|
+
type: object
|
|
15893
|
+
properties:
|
|
15894
|
+
object:
|
|
15895
|
+
type: string
|
|
15896
|
+
enum:
|
|
15897
|
+
- inline
|
|
15898
|
+
type:
|
|
15899
|
+
type: string
|
|
15900
|
+
enum:
|
|
15901
|
+
- inline-math
|
|
15902
|
+
key:
|
|
15903
|
+
type: string
|
|
15904
|
+
data:
|
|
15905
|
+
type: object
|
|
15906
|
+
properties:
|
|
15907
|
+
formula:
|
|
15908
|
+
type: string
|
|
15909
|
+
required:
|
|
15910
|
+
- formula
|
|
15911
|
+
isVoid:
|
|
15912
|
+
type: boolean
|
|
15913
|
+
enum:
|
|
15914
|
+
- true
|
|
15915
|
+
required:
|
|
15916
|
+
- object
|
|
15917
|
+
- type
|
|
15918
|
+
- data
|
|
15919
|
+
- isVoid
|
|
15920
|
+
DocumentInlineExpression:
|
|
15921
|
+
type: object
|
|
15922
|
+
properties:
|
|
15923
|
+
object:
|
|
15924
|
+
type: string
|
|
15925
|
+
enum:
|
|
15926
|
+
- inline
|
|
15927
|
+
type:
|
|
15928
|
+
type: string
|
|
15929
|
+
enum:
|
|
15930
|
+
- expression
|
|
15931
|
+
key:
|
|
15932
|
+
type: string
|
|
15933
|
+
data:
|
|
15934
|
+
type: object
|
|
15935
|
+
properties:
|
|
15936
|
+
expression:
|
|
15937
|
+
type: string
|
|
15938
|
+
required:
|
|
15939
|
+
- expression
|
|
15940
|
+
isVoid:
|
|
15941
|
+
type: boolean
|
|
15942
|
+
enum:
|
|
15943
|
+
- true
|
|
15944
|
+
required:
|
|
15945
|
+
- object
|
|
15946
|
+
- type
|
|
15947
|
+
- data
|
|
15948
|
+
- isVoid
|
|
15789
15949
|
ContentRefPage:
|
|
15790
15950
|
type: object
|
|
15791
15951
|
properties:
|
|
@@ -15912,7 +16072,7 @@ components:
|
|
|
15912
16072
|
- $ref: "#/components/schemas/ContentRefReusableContent"
|
|
15913
16073
|
- $ref: "#/components/schemas/ContentRefTag"
|
|
15914
16074
|
- $ref: "#/components/schemas/ContentRefOpenAPI"
|
|
15915
|
-
|
|
16075
|
+
DocumentInlineMention:
|
|
15916
16076
|
type: object
|
|
15917
16077
|
properties:
|
|
15918
16078
|
object:
|
|
@@ -15922,15 +16082,9 @@ components:
|
|
|
15922
16082
|
type:
|
|
15923
16083
|
type: string
|
|
15924
16084
|
enum:
|
|
15925
|
-
-
|
|
16085
|
+
- mention
|
|
15926
16086
|
key:
|
|
15927
16087
|
type: string
|
|
15928
|
-
nodes:
|
|
15929
|
-
type: array
|
|
15930
|
-
items:
|
|
15931
|
-
oneOf:
|
|
15932
|
-
- $ref: "#/components/schemas/DocumentText"
|
|
15933
|
-
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
15934
16088
|
data:
|
|
15935
16089
|
type: object
|
|
15936
16090
|
properties:
|
|
@@ -15938,35 +16092,6 @@ components:
|
|
|
15938
16092
|
$ref: "#/components/schemas/ContentRef"
|
|
15939
16093
|
required:
|
|
15940
16094
|
- ref
|
|
15941
|
-
isVoid:
|
|
15942
|
-
type: boolean
|
|
15943
|
-
enum:
|
|
15944
|
-
- false
|
|
15945
|
-
required:
|
|
15946
|
-
- object
|
|
15947
|
-
- type
|
|
15948
|
-
- nodes
|
|
15949
|
-
- data
|
|
15950
|
-
DocumentInlineEmoji:
|
|
15951
|
-
type: object
|
|
15952
|
-
properties:
|
|
15953
|
-
object:
|
|
15954
|
-
type: string
|
|
15955
|
-
enum:
|
|
15956
|
-
- inline
|
|
15957
|
-
type:
|
|
15958
|
-
type: string
|
|
15959
|
-
enum:
|
|
15960
|
-
- emoji
|
|
15961
|
-
key:
|
|
15962
|
-
type: string
|
|
15963
|
-
data:
|
|
15964
|
-
type: object
|
|
15965
|
-
properties:
|
|
15966
|
-
code:
|
|
15967
|
-
type: string
|
|
15968
|
-
required:
|
|
15969
|
-
- code
|
|
15970
16095
|
isVoid:
|
|
15971
16096
|
type: boolean
|
|
15972
16097
|
enum:
|
|
@@ -15976,7 +16101,7 @@ components:
|
|
|
15976
16101
|
- type
|
|
15977
16102
|
- data
|
|
15978
16103
|
- isVoid
|
|
15979
|
-
|
|
16104
|
+
DocumentInlineLink:
|
|
15980
16105
|
type: object
|
|
15981
16106
|
properties:
|
|
15982
16107
|
object:
|
|
@@ -15986,28 +16111,35 @@ components:
|
|
|
15986
16111
|
type:
|
|
15987
16112
|
type: string
|
|
15988
16113
|
enum:
|
|
15989
|
-
-
|
|
16114
|
+
- link
|
|
15990
16115
|
key:
|
|
15991
16116
|
type: string
|
|
16117
|
+
nodes:
|
|
16118
|
+
type: array
|
|
16119
|
+
items:
|
|
16120
|
+
oneOf:
|
|
16121
|
+
- $ref: "#/components/schemas/DocumentText"
|
|
16122
|
+
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
16123
|
+
- $ref: "#/components/schemas/DocumentInlineMath"
|
|
16124
|
+
- $ref: "#/components/schemas/DocumentInlineExpression"
|
|
16125
|
+
- $ref: "#/components/schemas/DocumentInlineMention"
|
|
15992
16126
|
data:
|
|
15993
16127
|
type: object
|
|
15994
16128
|
properties:
|
|
15995
|
-
|
|
15996
|
-
|
|
15997
|
-
color:
|
|
15998
|
-
$ref: "#/components/schemas/DocumentTextColor"
|
|
16129
|
+
ref:
|
|
16130
|
+
$ref: "#/components/schemas/ContentRef"
|
|
15999
16131
|
required:
|
|
16000
|
-
-
|
|
16132
|
+
- ref
|
|
16001
16133
|
isVoid:
|
|
16002
16134
|
type: boolean
|
|
16003
16135
|
enum:
|
|
16004
|
-
-
|
|
16136
|
+
- false
|
|
16005
16137
|
required:
|
|
16006
16138
|
- object
|
|
16007
16139
|
- type
|
|
16140
|
+
- nodes
|
|
16008
16141
|
- data
|
|
16009
|
-
|
|
16010
|
-
DocumentInlineExpression:
|
|
16142
|
+
DocumentInlineEmoji:
|
|
16011
16143
|
type: object
|
|
16012
16144
|
properties:
|
|
16013
16145
|
object:
|
|
@@ -16017,16 +16149,16 @@ components:
|
|
|
16017
16149
|
type:
|
|
16018
16150
|
type: string
|
|
16019
16151
|
enum:
|
|
16020
|
-
-
|
|
16152
|
+
- emoji
|
|
16021
16153
|
key:
|
|
16022
16154
|
type: string
|
|
16023
16155
|
data:
|
|
16024
16156
|
type: object
|
|
16025
16157
|
properties:
|
|
16026
|
-
|
|
16158
|
+
code:
|
|
16027
16159
|
type: string
|
|
16028
16160
|
required:
|
|
16029
|
-
-
|
|
16161
|
+
- code
|
|
16030
16162
|
isVoid:
|
|
16031
16163
|
type: boolean
|
|
16032
16164
|
enum:
|
|
@@ -16036,7 +16168,7 @@ components:
|
|
|
16036
16168
|
- type
|
|
16037
16169
|
- data
|
|
16038
16170
|
- isVoid
|
|
16039
|
-
|
|
16171
|
+
DocumentInlineIcon:
|
|
16040
16172
|
type: object
|
|
16041
16173
|
properties:
|
|
16042
16174
|
object:
|
|
@@ -16046,16 +16178,18 @@ components:
|
|
|
16046
16178
|
type:
|
|
16047
16179
|
type: string
|
|
16048
16180
|
enum:
|
|
16049
|
-
-
|
|
16181
|
+
- icon
|
|
16050
16182
|
key:
|
|
16051
16183
|
type: string
|
|
16052
16184
|
data:
|
|
16053
16185
|
type: object
|
|
16054
16186
|
properties:
|
|
16055
|
-
|
|
16187
|
+
icon:
|
|
16056
16188
|
type: string
|
|
16189
|
+
color:
|
|
16190
|
+
$ref: "#/components/schemas/DocumentTextColor"
|
|
16057
16191
|
required:
|
|
16058
|
-
-
|
|
16192
|
+
- icon
|
|
16059
16193
|
isVoid:
|
|
16060
16194
|
type: boolean
|
|
16061
16195
|
enum:
|
|
@@ -16305,6 +16439,26 @@ components:
|
|
|
16305
16439
|
- type
|
|
16306
16440
|
- data
|
|
16307
16441
|
- nodes
|
|
16442
|
+
DocumentFragment:
|
|
16443
|
+
type: object
|
|
16444
|
+
properties:
|
|
16445
|
+
object:
|
|
16446
|
+
type: string
|
|
16447
|
+
enum:
|
|
16448
|
+
- fragment
|
|
16449
|
+
key:
|
|
16450
|
+
type: string
|
|
16451
|
+
fragment:
|
|
16452
|
+
type: string
|
|
16453
|
+
type:
|
|
16454
|
+
type: string
|
|
16455
|
+
nodes:
|
|
16456
|
+
type: array
|
|
16457
|
+
items:
|
|
16458
|
+
$ref: "#/components/schemas/DocumentBlock"
|
|
16459
|
+
required:
|
|
16460
|
+
- object
|
|
16461
|
+
- nodes
|
|
16308
16462
|
DocumentBlockEmbed:
|
|
16309
16463
|
type: object
|
|
16310
16464
|
properties:
|
|
@@ -16327,6 +16481,24 @@ components:
|
|
|
16327
16481
|
type: boolean
|
|
16328
16482
|
required:
|
|
16329
16483
|
- url
|
|
16484
|
+
fragments:
|
|
16485
|
+
type: array
|
|
16486
|
+
items:
|
|
16487
|
+
allOf:
|
|
16488
|
+
- $ref: "#/components/schemas/DocumentFragment"
|
|
16489
|
+
- type: object
|
|
16490
|
+
properties:
|
|
16491
|
+
fragment:
|
|
16492
|
+
type: string
|
|
16493
|
+
enum:
|
|
16494
|
+
- caption
|
|
16495
|
+
nodes:
|
|
16496
|
+
type: array
|
|
16497
|
+
items:
|
|
16498
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
16499
|
+
required:
|
|
16500
|
+
- nodes
|
|
16501
|
+
- fragment
|
|
16330
16502
|
isVoid:
|
|
16331
16503
|
type: boolean
|
|
16332
16504
|
enum:
|
|
@@ -16805,26 +16977,6 @@ components:
|
|
|
16805
16977
|
- anchor
|
|
16806
16978
|
- rowSpan
|
|
16807
16979
|
- colSpan
|
|
16808
|
-
DocumentFragment:
|
|
16809
|
-
type: object
|
|
16810
|
-
properties:
|
|
16811
|
-
object:
|
|
16812
|
-
type: string
|
|
16813
|
-
enum:
|
|
16814
|
-
- fragment
|
|
16815
|
-
key:
|
|
16816
|
-
type: string
|
|
16817
|
-
fragment:
|
|
16818
|
-
type: string
|
|
16819
|
-
type:
|
|
16820
|
-
type: string
|
|
16821
|
-
nodes:
|
|
16822
|
-
type: array
|
|
16823
|
-
items:
|
|
16824
|
-
$ref: "#/components/schemas/DocumentBlock"
|
|
16825
|
-
required:
|
|
16826
|
-
- object
|
|
16827
|
-
- nodes
|
|
16828
16980
|
DocumentBlockTable:
|
|
16829
16981
|
type: object
|
|
16830
16982
|
properties:
|
|
@@ -16882,50 +17034,6 @@ components:
|
|
|
16882
17034
|
- data
|
|
16883
17035
|
- isVoid
|
|
16884
17036
|
- fragments
|
|
16885
|
-
DocumentBlockHint:
|
|
16886
|
-
type: object
|
|
16887
|
-
properties:
|
|
16888
|
-
object:
|
|
16889
|
-
type: string
|
|
16890
|
-
enum:
|
|
16891
|
-
- block
|
|
16892
|
-
type:
|
|
16893
|
-
type: string
|
|
16894
|
-
enum:
|
|
16895
|
-
- hint
|
|
16896
|
-
key:
|
|
16897
|
-
type: string
|
|
16898
|
-
data:
|
|
16899
|
-
type: object
|
|
16900
|
-
properties:
|
|
16901
|
-
style:
|
|
16902
|
-
type: string
|
|
16903
|
-
enum:
|
|
16904
|
-
- info
|
|
16905
|
-
- warning
|
|
16906
|
-
- danger
|
|
16907
|
-
- success
|
|
16908
|
-
icon:
|
|
16909
|
-
$ref: "#/components/schemas/Icon"
|
|
16910
|
-
required:
|
|
16911
|
-
- style
|
|
16912
|
-
nodes:
|
|
16913
|
-
type: array
|
|
16914
|
-
items:
|
|
16915
|
-
oneOf:
|
|
16916
|
-
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
16917
|
-
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
16918
|
-
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
16919
|
-
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
16920
|
-
isVoid:
|
|
16921
|
-
type: boolean
|
|
16922
|
-
enum:
|
|
16923
|
-
- false
|
|
16924
|
-
required:
|
|
16925
|
-
- object
|
|
16926
|
-
- type
|
|
16927
|
-
- data
|
|
16928
|
-
- nodes
|
|
16929
17037
|
DocumentBlockQuote:
|
|
16930
17038
|
type: object
|
|
16931
17039
|
properties:
|
|
@@ -16945,6 +17053,17 @@ components:
|
|
|
16945
17053
|
oneOf:
|
|
16946
17054
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
16947
17055
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17056
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17057
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17058
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17059
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17060
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17061
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17062
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17063
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17064
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17065
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17066
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
16948
17067
|
isVoid:
|
|
16949
17068
|
type: boolean
|
|
16950
17069
|
enum:
|
|
@@ -16957,7 +17076,7 @@ components:
|
|
|
16957
17076
|
- object
|
|
16958
17077
|
- type
|
|
16959
17078
|
- nodes
|
|
16960
|
-
|
|
17079
|
+
DocumentBlockDrawing:
|
|
16961
17080
|
type: object
|
|
16962
17081
|
properties:
|
|
16963
17082
|
object:
|
|
@@ -16967,16 +17086,33 @@ components:
|
|
|
16967
17086
|
type:
|
|
16968
17087
|
type: string
|
|
16969
17088
|
enum:
|
|
16970
|
-
-
|
|
17089
|
+
- drawing
|
|
16971
17090
|
key:
|
|
16972
17091
|
type: string
|
|
16973
17092
|
data:
|
|
16974
17093
|
type: object
|
|
16975
17094
|
properties:
|
|
16976
|
-
|
|
16977
|
-
|
|
16978
|
-
|
|
16979
|
-
|
|
17095
|
+
ref:
|
|
17096
|
+
oneOf:
|
|
17097
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
17098
|
+
fragments:
|
|
17099
|
+
type: array
|
|
17100
|
+
items:
|
|
17101
|
+
allOf:
|
|
17102
|
+
- $ref: "#/components/schemas/DocumentFragment"
|
|
17103
|
+
- type: object
|
|
17104
|
+
properties:
|
|
17105
|
+
fragment:
|
|
17106
|
+
type: string
|
|
17107
|
+
enum:
|
|
17108
|
+
- caption
|
|
17109
|
+
nodes:
|
|
17110
|
+
type: array
|
|
17111
|
+
items:
|
|
17112
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
17113
|
+
required:
|
|
17114
|
+
- nodes
|
|
17115
|
+
- fragment
|
|
16980
17116
|
isVoid:
|
|
16981
17117
|
type: boolean
|
|
16982
17118
|
enum:
|
|
@@ -16986,7 +17122,7 @@ components:
|
|
|
16986
17122
|
- type
|
|
16987
17123
|
- data
|
|
16988
17124
|
- isVoid
|
|
16989
|
-
|
|
17125
|
+
DocumentBlockFile:
|
|
16990
17126
|
type: object
|
|
16991
17127
|
properties:
|
|
16992
17128
|
object:
|
|
@@ -16996,33 +17132,57 @@ components:
|
|
|
16996
17132
|
type:
|
|
16997
17133
|
type: string
|
|
16998
17134
|
enum:
|
|
16999
|
-
-
|
|
17135
|
+
- file
|
|
17000
17136
|
key:
|
|
17001
17137
|
type: string
|
|
17002
|
-
|
|
17138
|
+
data:
|
|
17139
|
+
type: object
|
|
17140
|
+
properties:
|
|
17141
|
+
ref:
|
|
17142
|
+
oneOf:
|
|
17143
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
17144
|
+
required:
|
|
17145
|
+
- ref
|
|
17146
|
+
fragments:
|
|
17003
17147
|
type: array
|
|
17004
17148
|
items:
|
|
17005
|
-
|
|
17006
|
-
- $ref: "#/components/schemas/
|
|
17007
|
-
-
|
|
17008
|
-
|
|
17009
|
-
|
|
17010
|
-
|
|
17011
|
-
|
|
17149
|
+
allOf:
|
|
17150
|
+
- $ref: "#/components/schemas/DocumentFragment"
|
|
17151
|
+
- type: object
|
|
17152
|
+
properties:
|
|
17153
|
+
fragment:
|
|
17154
|
+
type: string
|
|
17155
|
+
enum:
|
|
17156
|
+
- caption
|
|
17157
|
+
nodes:
|
|
17158
|
+
type: array
|
|
17159
|
+
items:
|
|
17160
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
17161
|
+
required:
|
|
17162
|
+
- nodes
|
|
17163
|
+
- fragment
|
|
17012
17164
|
isVoid:
|
|
17013
17165
|
type: boolean
|
|
17014
17166
|
enum:
|
|
17015
|
-
-
|
|
17016
|
-
data:
|
|
17017
|
-
type: object
|
|
17018
|
-
properties:
|
|
17019
|
-
checked:
|
|
17020
|
-
type: boolean
|
|
17167
|
+
- true
|
|
17021
17168
|
required:
|
|
17022
17169
|
- object
|
|
17023
17170
|
- type
|
|
17024
|
-
-
|
|
17025
|
-
|
|
17171
|
+
- data
|
|
17172
|
+
- isVoid
|
|
17173
|
+
Length:
|
|
17174
|
+
oneOf:
|
|
17175
|
+
- type: number
|
|
17176
|
+
- type: object
|
|
17177
|
+
properties:
|
|
17178
|
+
unit:
|
|
17179
|
+
type: string
|
|
17180
|
+
value:
|
|
17181
|
+
type: number
|
|
17182
|
+
required:
|
|
17183
|
+
- unit
|
|
17184
|
+
- value
|
|
17185
|
+
DocumentBlockImage:
|
|
17026
17186
|
type: object
|
|
17027
17187
|
properties:
|
|
17028
17188
|
object:
|
|
@@ -17032,30 +17192,57 @@ components:
|
|
|
17032
17192
|
type:
|
|
17033
17193
|
type: string
|
|
17034
17194
|
enum:
|
|
17035
|
-
-
|
|
17195
|
+
- image
|
|
17036
17196
|
key:
|
|
17037
17197
|
type: string
|
|
17038
17198
|
data:
|
|
17039
17199
|
type: object
|
|
17040
17200
|
properties:
|
|
17041
|
-
|
|
17042
|
-
|
|
17043
|
-
|
|
17044
|
-
|
|
17201
|
+
ref:
|
|
17202
|
+
oneOf:
|
|
17203
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
17204
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
17205
|
+
refDark:
|
|
17206
|
+
oneOf:
|
|
17207
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
17208
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
17209
|
+
width:
|
|
17210
|
+
$ref: "#/components/schemas/Length"
|
|
17211
|
+
height:
|
|
17212
|
+
$ref: "#/components/schemas/Length"
|
|
17213
|
+
alt:
|
|
17214
|
+
type: string
|
|
17215
|
+
required:
|
|
17216
|
+
- ref
|
|
17217
|
+
fragments:
|
|
17045
17218
|
type: array
|
|
17046
17219
|
items:
|
|
17047
|
-
|
|
17048
|
-
- $ref: "#/components/schemas/
|
|
17220
|
+
allOf:
|
|
17221
|
+
- $ref: "#/components/schemas/DocumentFragment"
|
|
17222
|
+
- type: object
|
|
17223
|
+
properties:
|
|
17224
|
+
fragment:
|
|
17225
|
+
type: string
|
|
17226
|
+
enum:
|
|
17227
|
+
- caption
|
|
17228
|
+
nodes:
|
|
17229
|
+
type: array
|
|
17230
|
+
items:
|
|
17231
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
17232
|
+
required:
|
|
17233
|
+
- nodes
|
|
17234
|
+
- fragment
|
|
17049
17235
|
isVoid:
|
|
17050
17236
|
type: boolean
|
|
17051
17237
|
enum:
|
|
17052
|
-
-
|
|
17238
|
+
- true
|
|
17053
17239
|
required:
|
|
17054
17240
|
- object
|
|
17055
17241
|
- type
|
|
17056
17242
|
- data
|
|
17057
|
-
-
|
|
17058
|
-
|
|
17243
|
+
- fragments
|
|
17244
|
+
- isVoid
|
|
17245
|
+
DocumentBlockImages:
|
|
17059
17246
|
type: object
|
|
17060
17247
|
properties:
|
|
17061
17248
|
object:
|
|
@@ -17065,17 +17252,26 @@ components:
|
|
|
17065
17252
|
type:
|
|
17066
17253
|
type: string
|
|
17067
17254
|
enum:
|
|
17068
|
-
-
|
|
17255
|
+
- images
|
|
17069
17256
|
key:
|
|
17070
17257
|
type: string
|
|
17258
|
+
data:
|
|
17259
|
+
type: object
|
|
17260
|
+
properties:
|
|
17261
|
+
align:
|
|
17262
|
+
type: string
|
|
17263
|
+
enum:
|
|
17264
|
+
- center
|
|
17265
|
+
- left
|
|
17266
|
+
- right
|
|
17267
|
+
fullWidth:
|
|
17268
|
+
type: boolean
|
|
17269
|
+
withFrame:
|
|
17270
|
+
type: boolean
|
|
17071
17271
|
nodes:
|
|
17072
17272
|
type: array
|
|
17073
17273
|
items:
|
|
17074
|
-
|
|
17075
|
-
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17076
|
-
data:
|
|
17077
|
-
type: object
|
|
17078
|
-
additionalProperties: false
|
|
17274
|
+
$ref: "#/components/schemas/DocumentBlockImage"
|
|
17079
17275
|
isVoid:
|
|
17080
17276
|
type: boolean
|
|
17081
17277
|
enum:
|
|
@@ -17083,8 +17279,10 @@ components:
|
|
|
17083
17279
|
required:
|
|
17084
17280
|
- object
|
|
17085
17281
|
- type
|
|
17282
|
+
- data
|
|
17086
17283
|
- nodes
|
|
17087
|
-
|
|
17284
|
+
- isVoid
|
|
17285
|
+
DocumentBlockHint:
|
|
17088
17286
|
type: object
|
|
17089
17287
|
properties:
|
|
17090
17288
|
object:
|
|
@@ -17094,52 +17292,51 @@ components:
|
|
|
17094
17292
|
type:
|
|
17095
17293
|
type: string
|
|
17096
17294
|
enum:
|
|
17097
|
-
-
|
|
17295
|
+
- hint
|
|
17098
17296
|
key:
|
|
17099
17297
|
type: string
|
|
17298
|
+
data:
|
|
17299
|
+
type: object
|
|
17300
|
+
properties:
|
|
17301
|
+
style:
|
|
17302
|
+
type: string
|
|
17303
|
+
enum:
|
|
17304
|
+
- info
|
|
17305
|
+
- warning
|
|
17306
|
+
- danger
|
|
17307
|
+
- success
|
|
17308
|
+
icon:
|
|
17309
|
+
$ref: "#/components/schemas/Icon"
|
|
17310
|
+
required:
|
|
17311
|
+
- style
|
|
17100
17312
|
nodes:
|
|
17101
17313
|
type: array
|
|
17102
17314
|
items:
|
|
17103
17315
|
oneOf:
|
|
17104
|
-
- $ref: "#/components/schemas/
|
|
17316
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17317
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17318
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
17319
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
17320
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17321
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17322
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17323
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17324
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17325
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17326
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17327
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17328
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17329
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17330
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
17105
17331
|
isVoid:
|
|
17106
17332
|
type: boolean
|
|
17107
17333
|
enum:
|
|
17108
17334
|
- false
|
|
17109
|
-
data:
|
|
17110
|
-
type: object
|
|
17111
|
-
properties: {}
|
|
17112
|
-
additionalProperties: false
|
|
17113
17335
|
required:
|
|
17114
17336
|
- object
|
|
17115
17337
|
- type
|
|
17116
|
-
- nodes
|
|
17117
|
-
DocumentBlockDivider:
|
|
17118
|
-
type: object
|
|
17119
|
-
properties:
|
|
17120
|
-
object:
|
|
17121
|
-
type: string
|
|
17122
|
-
enum:
|
|
17123
|
-
- block
|
|
17124
|
-
type:
|
|
17125
|
-
type: string
|
|
17126
|
-
enum:
|
|
17127
|
-
- divider
|
|
17128
|
-
key:
|
|
17129
|
-
type: string
|
|
17130
|
-
isVoid:
|
|
17131
|
-
type: boolean
|
|
17132
|
-
enum:
|
|
17133
|
-
- true
|
|
17134
|
-
data:
|
|
17135
|
-
type: object
|
|
17136
|
-
properties: {}
|
|
17137
|
-
additionalProperties: false
|
|
17138
|
-
required:
|
|
17139
|
-
- object
|
|
17140
|
-
- type
|
|
17141
|
-
- isVoid
|
|
17142
17338
|
- data
|
|
17339
|
+
- nodes
|
|
17143
17340
|
DocumentBlockPrompt:
|
|
17144
17341
|
type: object
|
|
17145
17342
|
properties:
|
|
@@ -17248,19 +17445,7 @@ components:
|
|
|
17248
17445
|
- type
|
|
17249
17446
|
- nodes
|
|
17250
17447
|
- data
|
|
17251
|
-
|
|
17252
|
-
oneOf:
|
|
17253
|
-
- type: number
|
|
17254
|
-
- type: object
|
|
17255
|
-
properties:
|
|
17256
|
-
unit:
|
|
17257
|
-
type: string
|
|
17258
|
-
value:
|
|
17259
|
-
type: number
|
|
17260
|
-
required:
|
|
17261
|
-
- unit
|
|
17262
|
-
- value
|
|
17263
|
-
DocumentBlockImage:
|
|
17448
|
+
DocumentBlockReusableContent:
|
|
17264
17449
|
type: object
|
|
17265
17450
|
properties:
|
|
17266
17451
|
object:
|
|
@@ -17270,97 +17455,32 @@ components:
|
|
|
17270
17455
|
type:
|
|
17271
17456
|
type: string
|
|
17272
17457
|
enum:
|
|
17273
|
-
-
|
|
17458
|
+
- reusable-content
|
|
17274
17459
|
key:
|
|
17275
17460
|
type: string
|
|
17276
17461
|
data:
|
|
17277
17462
|
type: object
|
|
17278
17463
|
properties:
|
|
17279
17464
|
ref:
|
|
17280
|
-
|
|
17281
|
-
- $ref: "#/components/schemas/ContentRefURL"
|
|
17282
|
-
- $ref: "#/components/schemas/ContentRefFile"
|
|
17283
|
-
refDark:
|
|
17284
|
-
oneOf:
|
|
17285
|
-
- $ref: "#/components/schemas/ContentRefURL"
|
|
17286
|
-
- $ref: "#/components/schemas/ContentRefFile"
|
|
17287
|
-
width:
|
|
17288
|
-
$ref: "#/components/schemas/Length"
|
|
17289
|
-
height:
|
|
17290
|
-
$ref: "#/components/schemas/Length"
|
|
17291
|
-
alt:
|
|
17292
|
-
type: string
|
|
17465
|
+
$ref: "#/components/schemas/ContentRefReusableContent"
|
|
17293
17466
|
required:
|
|
17294
17467
|
- ref
|
|
17295
|
-
fragments:
|
|
17296
|
-
type: array
|
|
17297
|
-
items:
|
|
17298
|
-
allOf:
|
|
17299
|
-
- $ref: "#/components/schemas/DocumentFragment"
|
|
17300
|
-
- type: object
|
|
17301
|
-
properties:
|
|
17302
|
-
fragment:
|
|
17303
|
-
type: string
|
|
17304
|
-
enum:
|
|
17305
|
-
- caption
|
|
17306
|
-
nodes:
|
|
17307
|
-
type: array
|
|
17308
|
-
items:
|
|
17309
|
-
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
17310
|
-
required:
|
|
17311
|
-
- nodes
|
|
17312
|
-
- fragment
|
|
17313
17468
|
isVoid:
|
|
17314
17469
|
type: boolean
|
|
17315
17470
|
enum:
|
|
17316
17471
|
- true
|
|
17317
|
-
|
|
17318
|
-
- object
|
|
17319
|
-
- type
|
|
17320
|
-
- data
|
|
17321
|
-
- fragments
|
|
17322
|
-
- isVoid
|
|
17323
|
-
DocumentBlockImages:
|
|
17324
|
-
type: object
|
|
17325
|
-
properties:
|
|
17326
|
-
object:
|
|
17327
|
-
type: string
|
|
17328
|
-
enum:
|
|
17329
|
-
- block
|
|
17330
|
-
type:
|
|
17331
|
-
type: string
|
|
17332
|
-
enum:
|
|
17333
|
-
- images
|
|
17334
|
-
key:
|
|
17335
|
-
type: string
|
|
17336
|
-
data:
|
|
17472
|
+
meta:
|
|
17337
17473
|
type: object
|
|
17338
17474
|
properties:
|
|
17339
|
-
|
|
17475
|
+
token:
|
|
17476
|
+
description: A content token that can be used to fetch the reusable content from the API.
|
|
17340
17477
|
type: string
|
|
17341
|
-
enum:
|
|
17342
|
-
- center
|
|
17343
|
-
- left
|
|
17344
|
-
- right
|
|
17345
|
-
fullWidth:
|
|
17346
|
-
type: boolean
|
|
17347
|
-
withFrame:
|
|
17348
|
-
type: boolean
|
|
17349
|
-
nodes:
|
|
17350
|
-
type: array
|
|
17351
|
-
items:
|
|
17352
|
-
$ref: "#/components/schemas/DocumentBlockImage"
|
|
17353
|
-
isVoid:
|
|
17354
|
-
type: boolean
|
|
17355
|
-
enum:
|
|
17356
|
-
- false
|
|
17357
17478
|
required:
|
|
17358
17479
|
- object
|
|
17359
17480
|
- type
|
|
17360
17481
|
- data
|
|
17361
|
-
- nodes
|
|
17362
17482
|
- isVoid
|
|
17363
|
-
|
|
17483
|
+
DocumentBlockContentRef:
|
|
17364
17484
|
type: object
|
|
17365
17485
|
properties:
|
|
17366
17486
|
object:
|
|
@@ -17370,15 +17490,14 @@ components:
|
|
|
17370
17490
|
type:
|
|
17371
17491
|
type: string
|
|
17372
17492
|
enum:
|
|
17373
|
-
-
|
|
17493
|
+
- content-ref
|
|
17374
17494
|
key:
|
|
17375
17495
|
type: string
|
|
17376
17496
|
data:
|
|
17377
17497
|
type: object
|
|
17378
17498
|
properties:
|
|
17379
17499
|
ref:
|
|
17380
|
-
|
|
17381
|
-
- $ref: "#/components/schemas/ContentRefFile"
|
|
17500
|
+
$ref: "#/components/schemas/ContentRef"
|
|
17382
17501
|
required:
|
|
17383
17502
|
- ref
|
|
17384
17503
|
isVoid:
|
|
@@ -17390,35 +17509,7 @@ components:
|
|
|
17390
17509
|
- type
|
|
17391
17510
|
- data
|
|
17392
17511
|
- isVoid
|
|
17393
|
-
|
|
17394
|
-
type: object
|
|
17395
|
-
properties:
|
|
17396
|
-
object:
|
|
17397
|
-
type: string
|
|
17398
|
-
enum:
|
|
17399
|
-
- block
|
|
17400
|
-
type:
|
|
17401
|
-
type: string
|
|
17402
|
-
enum:
|
|
17403
|
-
- drawing
|
|
17404
|
-
key:
|
|
17405
|
-
type: string
|
|
17406
|
-
data:
|
|
17407
|
-
type: object
|
|
17408
|
-
properties:
|
|
17409
|
-
ref:
|
|
17410
|
-
oneOf:
|
|
17411
|
-
- $ref: "#/components/schemas/ContentRefFile"
|
|
17412
|
-
isVoid:
|
|
17413
|
-
type: boolean
|
|
17414
|
-
enum:
|
|
17415
|
-
- true
|
|
17416
|
-
required:
|
|
17417
|
-
- object
|
|
17418
|
-
- type
|
|
17419
|
-
- data
|
|
17420
|
-
- isVoid
|
|
17421
|
-
DocumentBlockReusableContent:
|
|
17512
|
+
DocumentBlockMath:
|
|
17422
17513
|
type: object
|
|
17423
17514
|
properties:
|
|
17424
17515
|
object:
|
|
@@ -17428,26 +17519,20 @@ components:
|
|
|
17428
17519
|
type:
|
|
17429
17520
|
type: string
|
|
17430
17521
|
enum:
|
|
17431
|
-
-
|
|
17522
|
+
- math
|
|
17432
17523
|
key:
|
|
17433
17524
|
type: string
|
|
17434
17525
|
data:
|
|
17435
17526
|
type: object
|
|
17436
17527
|
properties:
|
|
17437
|
-
|
|
17438
|
-
|
|
17528
|
+
formula:
|
|
17529
|
+
type: string
|
|
17439
17530
|
required:
|
|
17440
|
-
-
|
|
17531
|
+
- formula
|
|
17441
17532
|
isVoid:
|
|
17442
17533
|
type: boolean
|
|
17443
17534
|
enum:
|
|
17444
17535
|
- true
|
|
17445
|
-
meta:
|
|
17446
|
-
type: object
|
|
17447
|
-
properties:
|
|
17448
|
-
token:
|
|
17449
|
-
description: A content token that can be used to fetch the reusable content from the API.
|
|
17450
|
-
type: string
|
|
17451
17536
|
required:
|
|
17452
17537
|
- object
|
|
17453
17538
|
- type
|
|
@@ -17519,6 +17604,7 @@ components:
|
|
|
17519
17604
|
items:
|
|
17520
17605
|
oneOf:
|
|
17521
17606
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17607
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17522
17608
|
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17523
17609
|
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
17524
17610
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
@@ -17526,8 +17612,10 @@ components:
|
|
|
17526
17612
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17527
17613
|
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17528
17614
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17615
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17529
17616
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
17530
17617
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
17618
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17531
17619
|
minItems: 1
|
|
17532
17620
|
required:
|
|
17533
17621
|
- nodes
|
|
@@ -17547,7 +17635,7 @@ components:
|
|
|
17547
17635
|
- isVoid
|
|
17548
17636
|
- fragments
|
|
17549
17637
|
- data
|
|
17550
|
-
|
|
17638
|
+
DocumentBlockStepper:
|
|
17551
17639
|
type: object
|
|
17552
17640
|
properties:
|
|
17553
17641
|
object:
|
|
@@ -17557,25 +17645,56 @@ components:
|
|
|
17557
17645
|
type:
|
|
17558
17646
|
type: string
|
|
17559
17647
|
enum:
|
|
17560
|
-
-
|
|
17648
|
+
- stepper
|
|
17561
17649
|
key:
|
|
17562
17650
|
type: string
|
|
17651
|
+
nodes:
|
|
17652
|
+
type: array
|
|
17653
|
+
items:
|
|
17654
|
+
$ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
17655
|
+
isVoid:
|
|
17656
|
+
type: boolean
|
|
17657
|
+
enum:
|
|
17658
|
+
- false
|
|
17563
17659
|
data:
|
|
17564
17660
|
type: object
|
|
17565
|
-
properties:
|
|
17566
|
-
|
|
17567
|
-
|
|
17568
|
-
|
|
17569
|
-
|
|
17661
|
+
properties: {}
|
|
17662
|
+
additionalProperties: false
|
|
17663
|
+
required:
|
|
17664
|
+
- object
|
|
17665
|
+
- type
|
|
17666
|
+
- nodes
|
|
17667
|
+
DocumentBlockTabs:
|
|
17668
|
+
type: object
|
|
17669
|
+
properties:
|
|
17670
|
+
object:
|
|
17671
|
+
type: string
|
|
17672
|
+
enum:
|
|
17673
|
+
- block
|
|
17674
|
+
type:
|
|
17675
|
+
type: string
|
|
17676
|
+
enum:
|
|
17677
|
+
- tabs
|
|
17678
|
+
key:
|
|
17679
|
+
type: string
|
|
17680
|
+
nodes:
|
|
17681
|
+
type: array
|
|
17682
|
+
items:
|
|
17683
|
+
$ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
17570
17684
|
isVoid:
|
|
17571
17685
|
type: boolean
|
|
17572
17686
|
enum:
|
|
17573
|
-
-
|
|
17687
|
+
- false
|
|
17688
|
+
data:
|
|
17689
|
+
type: object
|
|
17690
|
+
properties:
|
|
17691
|
+
fullWidth:
|
|
17692
|
+
type: boolean
|
|
17693
|
+
additionalProperties: false
|
|
17574
17694
|
required:
|
|
17575
17695
|
- object
|
|
17576
17696
|
- type
|
|
17577
|
-
-
|
|
17578
|
-
- isVoid
|
|
17697
|
+
- nodes
|
|
17579
17698
|
DocumentBlockTabsItem:
|
|
17580
17699
|
type: object
|
|
17581
17700
|
properties:
|
|
@@ -17605,6 +17724,12 @@ components:
|
|
|
17605
17724
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17606
17725
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17607
17726
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
17727
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
17728
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17729
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17730
|
+
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
17731
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17732
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
17608
17733
|
data:
|
|
17609
17734
|
type: object
|
|
17610
17735
|
properties:
|
|
@@ -17632,7 +17757,7 @@ components:
|
|
|
17632
17757
|
- type
|
|
17633
17758
|
- nodes
|
|
17634
17759
|
- data
|
|
17635
|
-
|
|
17760
|
+
DocumentBlockStepperStep:
|
|
17636
17761
|
type: object
|
|
17637
17762
|
properties:
|
|
17638
17763
|
object:
|
|
@@ -17642,13 +17767,69 @@ components:
|
|
|
17642
17767
|
type:
|
|
17643
17768
|
type: string
|
|
17644
17769
|
enum:
|
|
17645
|
-
-
|
|
17770
|
+
- stepper-step
|
|
17646
17771
|
key:
|
|
17647
17772
|
type: string
|
|
17648
17773
|
nodes:
|
|
17649
17774
|
type: array
|
|
17650
17775
|
items:
|
|
17651
|
-
|
|
17776
|
+
oneOf:
|
|
17777
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17778
|
+
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
17779
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17780
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17781
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17782
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
17783
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17784
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17785
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17786
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17787
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17788
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
17789
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17790
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
17791
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
17792
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17793
|
+
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
17794
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17795
|
+
data:
|
|
17796
|
+
type: object
|
|
17797
|
+
properties:
|
|
17798
|
+
icon:
|
|
17799
|
+
type: string
|
|
17800
|
+
isVoid:
|
|
17801
|
+
type: boolean
|
|
17802
|
+
enum:
|
|
17803
|
+
- false
|
|
17804
|
+
required:
|
|
17805
|
+
- object
|
|
17806
|
+
- type
|
|
17807
|
+
- nodes
|
|
17808
|
+
- data
|
|
17809
|
+
DocumentBlockListItem:
|
|
17810
|
+
type: object
|
|
17811
|
+
properties:
|
|
17812
|
+
object:
|
|
17813
|
+
type: string
|
|
17814
|
+
enum:
|
|
17815
|
+
- block
|
|
17816
|
+
type:
|
|
17817
|
+
type: string
|
|
17818
|
+
enum:
|
|
17819
|
+
- list-item
|
|
17820
|
+
key:
|
|
17821
|
+
type: string
|
|
17822
|
+
nodes:
|
|
17823
|
+
type: array
|
|
17824
|
+
items:
|
|
17825
|
+
oneOf:
|
|
17826
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17827
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17828
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17829
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17830
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17831
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
17832
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
17652
17833
|
isVoid:
|
|
17653
17834
|
type: boolean
|
|
17654
17835
|
enum:
|
|
@@ -17656,13 +17837,130 @@ components:
|
|
|
17656
17837
|
data:
|
|
17657
17838
|
type: object
|
|
17658
17839
|
properties:
|
|
17659
|
-
|
|
17840
|
+
checked:
|
|
17660
17841
|
type: boolean
|
|
17842
|
+
required:
|
|
17843
|
+
- object
|
|
17844
|
+
- type
|
|
17845
|
+
- nodes
|
|
17846
|
+
DocumentBlockListOrdered:
|
|
17847
|
+
type: object
|
|
17848
|
+
properties:
|
|
17849
|
+
object:
|
|
17850
|
+
type: string
|
|
17851
|
+
enum:
|
|
17852
|
+
- block
|
|
17853
|
+
type:
|
|
17854
|
+
type: string
|
|
17855
|
+
enum:
|
|
17856
|
+
- list-ordered
|
|
17857
|
+
key:
|
|
17858
|
+
type: string
|
|
17859
|
+
data:
|
|
17860
|
+
type: object
|
|
17861
|
+
properties:
|
|
17862
|
+
start:
|
|
17863
|
+
type: number
|
|
17864
|
+
description: An integer to start counting from for the list items.
|
|
17865
|
+
nodes:
|
|
17866
|
+
type: array
|
|
17867
|
+
items:
|
|
17868
|
+
oneOf:
|
|
17869
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17870
|
+
isVoid:
|
|
17871
|
+
type: boolean
|
|
17872
|
+
enum:
|
|
17873
|
+
- false
|
|
17874
|
+
required:
|
|
17875
|
+
- object
|
|
17876
|
+
- type
|
|
17877
|
+
- data
|
|
17878
|
+
- nodes
|
|
17879
|
+
DocumentBlockListUnordered:
|
|
17880
|
+
type: object
|
|
17881
|
+
properties:
|
|
17882
|
+
object:
|
|
17883
|
+
type: string
|
|
17884
|
+
enum:
|
|
17885
|
+
- block
|
|
17886
|
+
type:
|
|
17887
|
+
type: string
|
|
17888
|
+
enum:
|
|
17889
|
+
- list-unordered
|
|
17890
|
+
key:
|
|
17891
|
+
type: string
|
|
17892
|
+
nodes:
|
|
17893
|
+
type: array
|
|
17894
|
+
items:
|
|
17895
|
+
oneOf:
|
|
17896
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17897
|
+
data:
|
|
17898
|
+
type: object
|
|
17899
|
+
additionalProperties: false
|
|
17900
|
+
isVoid:
|
|
17901
|
+
type: boolean
|
|
17902
|
+
enum:
|
|
17903
|
+
- false
|
|
17904
|
+
required:
|
|
17905
|
+
- object
|
|
17906
|
+
- type
|
|
17907
|
+
- nodes
|
|
17908
|
+
DocumentBlockListTasks:
|
|
17909
|
+
type: object
|
|
17910
|
+
properties:
|
|
17911
|
+
object:
|
|
17912
|
+
type: string
|
|
17913
|
+
enum:
|
|
17914
|
+
- block
|
|
17915
|
+
type:
|
|
17916
|
+
type: string
|
|
17917
|
+
enum:
|
|
17918
|
+
- list-tasks
|
|
17919
|
+
key:
|
|
17920
|
+
type: string
|
|
17921
|
+
nodes:
|
|
17922
|
+
type: array
|
|
17923
|
+
items:
|
|
17924
|
+
oneOf:
|
|
17925
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17926
|
+
isVoid:
|
|
17927
|
+
type: boolean
|
|
17928
|
+
enum:
|
|
17929
|
+
- false
|
|
17930
|
+
data:
|
|
17931
|
+
type: object
|
|
17932
|
+
properties: {}
|
|
17661
17933
|
additionalProperties: false
|
|
17662
17934
|
required:
|
|
17663
17935
|
- object
|
|
17664
17936
|
- type
|
|
17665
17937
|
- nodes
|
|
17938
|
+
DocumentBlockDivider:
|
|
17939
|
+
type: object
|
|
17940
|
+
properties:
|
|
17941
|
+
object:
|
|
17942
|
+
type: string
|
|
17943
|
+
enum:
|
|
17944
|
+
- block
|
|
17945
|
+
type:
|
|
17946
|
+
type: string
|
|
17947
|
+
enum:
|
|
17948
|
+
- divider
|
|
17949
|
+
key:
|
|
17950
|
+
type: string
|
|
17951
|
+
isVoid:
|
|
17952
|
+
type: boolean
|
|
17953
|
+
enum:
|
|
17954
|
+
- true
|
|
17955
|
+
data:
|
|
17956
|
+
type: object
|
|
17957
|
+
properties: {}
|
|
17958
|
+
additionalProperties: false
|
|
17959
|
+
required:
|
|
17960
|
+
- object
|
|
17961
|
+
- type
|
|
17962
|
+
- isVoid
|
|
17963
|
+
- data
|
|
17666
17964
|
OpenAPIOperationPointer:
|
|
17667
17965
|
type: object
|
|
17668
17966
|
description: Pointer to an operation in the OpenAPI spec.
|
|
@@ -17880,79 +18178,6 @@ components:
|
|
|
17880
18178
|
- type
|
|
17881
18179
|
- data
|
|
17882
18180
|
- isVoid
|
|
17883
|
-
DocumentBlockStepperStep:
|
|
17884
|
-
type: object
|
|
17885
|
-
properties:
|
|
17886
|
-
object:
|
|
17887
|
-
type: string
|
|
17888
|
-
enum:
|
|
17889
|
-
- block
|
|
17890
|
-
type:
|
|
17891
|
-
type: string
|
|
17892
|
-
enum:
|
|
17893
|
-
- stepper-step
|
|
17894
|
-
key:
|
|
17895
|
-
type: string
|
|
17896
|
-
nodes:
|
|
17897
|
-
type: array
|
|
17898
|
-
items:
|
|
17899
|
-
oneOf:
|
|
17900
|
-
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17901
|
-
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
17902
|
-
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17903
|
-
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17904
|
-
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17905
|
-
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
17906
|
-
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17907
|
-
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17908
|
-
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17909
|
-
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17910
|
-
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17911
|
-
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
17912
|
-
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17913
|
-
data:
|
|
17914
|
-
type: object
|
|
17915
|
-
properties:
|
|
17916
|
-
icon:
|
|
17917
|
-
type: string
|
|
17918
|
-
isVoid:
|
|
17919
|
-
type: boolean
|
|
17920
|
-
enum:
|
|
17921
|
-
- false
|
|
17922
|
-
required:
|
|
17923
|
-
- object
|
|
17924
|
-
- type
|
|
17925
|
-
- nodes
|
|
17926
|
-
- data
|
|
17927
|
-
DocumentBlockStepper:
|
|
17928
|
-
type: object
|
|
17929
|
-
properties:
|
|
17930
|
-
object:
|
|
17931
|
-
type: string
|
|
17932
|
-
enum:
|
|
17933
|
-
- block
|
|
17934
|
-
type:
|
|
17935
|
-
type: string
|
|
17936
|
-
enum:
|
|
17937
|
-
- stepper
|
|
17938
|
-
key:
|
|
17939
|
-
type: string
|
|
17940
|
-
nodes:
|
|
17941
|
-
type: array
|
|
17942
|
-
items:
|
|
17943
|
-
$ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
17944
|
-
isVoid:
|
|
17945
|
-
type: boolean
|
|
17946
|
-
enum:
|
|
17947
|
-
- false
|
|
17948
|
-
data:
|
|
17949
|
-
type: object
|
|
17950
|
-
properties: {}
|
|
17951
|
-
additionalProperties: false
|
|
17952
|
-
required:
|
|
17953
|
-
- object
|
|
17954
|
-
- type
|
|
17955
|
-
- nodes
|
|
17956
18181
|
DocumentBlockColumn:
|
|
17957
18182
|
type: object
|
|
17958
18183
|
properties:
|
|
@@ -17985,6 +18210,7 @@ components:
|
|
|
17985
18210
|
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
17986
18211
|
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17987
18212
|
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
18213
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17988
18214
|
isVoid:
|
|
17989
18215
|
type: boolean
|
|
17990
18216
|
enum:
|
|
@@ -18065,11 +18291,19 @@ components:
|
|
|
18065
18291
|
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
18066
18292
|
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
18067
18293
|
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
18294
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
18295
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
18296
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
18068
18297
|
data:
|
|
18069
18298
|
type: object
|
|
18070
18299
|
properties:
|
|
18071
18300
|
date:
|
|
18072
|
-
|
|
18301
|
+
type: string
|
|
18302
|
+
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.
|
|
18303
|
+
oneOf:
|
|
18304
|
+
- type: string
|
|
18305
|
+
format: date
|
|
18306
|
+
- $ref: "#/components/schemas/Timestamp"
|
|
18073
18307
|
tags:
|
|
18074
18308
|
type: array
|
|
18075
18309
|
description: Array of tags. Each tag is id'ed by its slug.
|
|
@@ -18163,35 +18397,6 @@ components:
|
|
|
18163
18397
|
- $ref: "#/components/schemas/DocumentBlockColumn"
|
|
18164
18398
|
- $ref: "#/components/schemas/DocumentBlockUpdates"
|
|
18165
18399
|
- $ref: "#/components/schemas/DocumentBlockUpdate"
|
|
18166
|
-
DocumentInlineMention:
|
|
18167
|
-
type: object
|
|
18168
|
-
properties:
|
|
18169
|
-
object:
|
|
18170
|
-
type: string
|
|
18171
|
-
enum:
|
|
18172
|
-
- inline
|
|
18173
|
-
type:
|
|
18174
|
-
type: string
|
|
18175
|
-
enum:
|
|
18176
|
-
- mention
|
|
18177
|
-
key:
|
|
18178
|
-
type: string
|
|
18179
|
-
data:
|
|
18180
|
-
type: object
|
|
18181
|
-
properties:
|
|
18182
|
-
ref:
|
|
18183
|
-
$ref: "#/components/schemas/ContentRef"
|
|
18184
|
-
required:
|
|
18185
|
-
- ref
|
|
18186
|
-
isVoid:
|
|
18187
|
-
type: boolean
|
|
18188
|
-
enum:
|
|
18189
|
-
- true
|
|
18190
|
-
required:
|
|
18191
|
-
- object
|
|
18192
|
-
- type
|
|
18193
|
-
- data
|
|
18194
|
-
- isVoid
|
|
18195
18400
|
DocumentAction:
|
|
18196
18401
|
description: Action to perform when an inline button is clicked.
|
|
18197
18402
|
type: object
|
|
@@ -18206,6 +18411,13 @@ components:
|
|
|
18206
18411
|
query:
|
|
18207
18412
|
type: string
|
|
18208
18413
|
description: The search query to prefill.
|
|
18414
|
+
scope:
|
|
18415
|
+
type: string
|
|
18416
|
+
description: |
|
|
18417
|
+
Where to search. `site` searches the whole site; `space` limits the search to the space the visitor is reading.
|
|
18418
|
+
enum:
|
|
18419
|
+
- site
|
|
18420
|
+
- space
|
|
18209
18421
|
required:
|
|
18210
18422
|
- action
|
|
18211
18423
|
additionalProperties: false
|
|
@@ -18278,14 +18490,12 @@ components:
|
|
|
18278
18490
|
$ref: "#/components/schemas/ContentRef"
|
|
18279
18491
|
required:
|
|
18280
18492
|
- ref
|
|
18281
|
-
additionalProperties: false
|
|
18282
18493
|
- type: object
|
|
18283
18494
|
properties:
|
|
18284
18495
|
action:
|
|
18285
18496
|
$ref: "#/components/schemas/DocumentAction"
|
|
18286
18497
|
required:
|
|
18287
18498
|
- action
|
|
18288
|
-
additionalProperties: false
|
|
18289
18499
|
isVoid:
|
|
18290
18500
|
type: boolean
|
|
18291
18501
|
enum:
|
|
@@ -19249,6 +19459,44 @@ components:
|
|
|
19249
19459
|
description: Subject of the change request
|
|
19250
19460
|
minLength: 0
|
|
19251
19461
|
maxLength: 100
|
|
19462
|
+
ChangeRequestChangeCountsByType:
|
|
19463
|
+
type: object
|
|
19464
|
+
description: Counts of entities grouped by how they changed relative to the change request base.
|
|
19465
|
+
properties:
|
|
19466
|
+
added:
|
|
19467
|
+
type: integer
|
|
19468
|
+
minimum: 0
|
|
19469
|
+
modified:
|
|
19470
|
+
type: integer
|
|
19471
|
+
minimum: 0
|
|
19472
|
+
deleted:
|
|
19473
|
+
type: integer
|
|
19474
|
+
minimum: 0
|
|
19475
|
+
required:
|
|
19476
|
+
- added
|
|
19477
|
+
- modified
|
|
19478
|
+
- deleted
|
|
19479
|
+
ChangeRequestChangeCounts:
|
|
19480
|
+
type: object
|
|
19481
|
+
description: Exact semantic entity and page-document block counts for a change request at its current head and base revisions.
|
|
19482
|
+
properties:
|
|
19483
|
+
pages:
|
|
19484
|
+
$ref: "#/components/schemas/ChangeRequestChangeCountsByType"
|
|
19485
|
+
library:
|
|
19486
|
+
$ref: "#/components/schemas/ChangeRequestChangeCountsByType"
|
|
19487
|
+
blocks:
|
|
19488
|
+
description: Nested user-visible page-document block counts. Absent when `blocksOmittedReason` is set.
|
|
19489
|
+
$ref: "#/components/schemas/ChangeRequestChangeCountsByType"
|
|
19490
|
+
blocksOmittedReason:
|
|
19491
|
+
type: string
|
|
19492
|
+
enum:
|
|
19493
|
+
- too-many-pages
|
|
19494
|
+
- too-many-blocks
|
|
19495
|
+
- timeout
|
|
19496
|
+
description: "Why `blocks` is absent: too many pages changed (`too-many-pages`), the changed pages hold too many blocks to compare within the counting budget (`too-many-blocks`; this is not a count of changed blocks), or counting ran out of time (`timeout`). Page and library counts are still exact."
|
|
19497
|
+
required:
|
|
19498
|
+
- pages
|
|
19499
|
+
- library
|
|
19252
19500
|
ChangeRequestLinkTitle:
|
|
19253
19501
|
type: string
|
|
19254
19502
|
description: Optional title to display for the link.
|
|
@@ -19407,6 +19655,9 @@ components:
|
|
|
19407
19655
|
comments:
|
|
19408
19656
|
type: number
|
|
19409
19657
|
description: Count of opened comments on the change request.
|
|
19658
|
+
changeCounts:
|
|
19659
|
+
description: Change counts computed when the change request gets a new revision, for its current head and base revisions. Merged change requests keep their last computed counts. Absent until computed.
|
|
19660
|
+
$ref: "#/components/schemas/ChangeRequestChangeCounts"
|
|
19410
19661
|
siteTopic:
|
|
19411
19662
|
type: object
|
|
19412
19663
|
description: Site topic the change request was created from, when it came from one.
|
|
@@ -19420,13 +19671,14 @@ components:
|
|
|
19420
19671
|
finding:
|
|
19421
19672
|
type: string
|
|
19422
19673
|
deprecated: true
|
|
19423
|
-
description: "ID of the site finding the change request fixes. Use `
|
|
19674
|
+
description: "ID of the site finding the change request fixes. Use `siteFindings` instead: a change request can fix a finding without belonging to a topic, and this field is absent in that case."
|
|
19424
19675
|
required:
|
|
19425
19676
|
- site
|
|
19426
19677
|
- topic
|
|
19427
19678
|
siteFinding:
|
|
19679
|
+
deprecated: true
|
|
19428
19680
|
type: object
|
|
19429
|
-
description:
|
|
19681
|
+
description: First linked site finding. Use `siteFindings` to read all linked findings.
|
|
19430
19682
|
properties:
|
|
19431
19683
|
site:
|
|
19432
19684
|
type: string
|
|
@@ -19437,6 +19689,21 @@ components:
|
|
|
19437
19689
|
required:
|
|
19438
19690
|
- site
|
|
19439
19691
|
- finding
|
|
19692
|
+
siteFindings:
|
|
19693
|
+
type: array
|
|
19694
|
+
description: Site findings linked to the change request, in link order. Absent when none are linked. Merging resolves findings once every linked change request is merged, except outbound broken links, which are resolved by the outbound checker.
|
|
19695
|
+
items:
|
|
19696
|
+
type: object
|
|
19697
|
+
properties:
|
|
19698
|
+
site:
|
|
19699
|
+
type: string
|
|
19700
|
+
description: ID of the site the finding belongs to.
|
|
19701
|
+
finding:
|
|
19702
|
+
type: string
|
|
19703
|
+
description: ID of the site finding the change request fixes.
|
|
19704
|
+
required:
|
|
19705
|
+
- site
|
|
19706
|
+
- finding
|
|
19440
19707
|
styleguide:
|
|
19441
19708
|
type: object
|
|
19442
19709
|
description: |
|
|
@@ -20277,6 +20544,42 @@ components:
|
|
|
20277
20544
|
- ref: architecture.png
|
|
20278
20545
|
name: architecture.png
|
|
20279
20546
|
url: https://example.com/architecture.png
|
|
20547
|
+
ChangeRequestContentChangeInsertComputedPage:
|
|
20548
|
+
type: object
|
|
20549
|
+
description: "Insert a page whose content GitBook generates from a source instead of a document: an OpenAPI spec of the organization, rendered as an API reference. GitBook replaces the page, at its position, with the pages it generates and regenerates them whenever the source changes."
|
|
20550
|
+
required:
|
|
20551
|
+
- operation
|
|
20552
|
+
- computed
|
|
20553
|
+
properties:
|
|
20554
|
+
operation:
|
|
20555
|
+
type: string
|
|
20556
|
+
enum:
|
|
20557
|
+
- insert_computed_page
|
|
20558
|
+
computed:
|
|
20559
|
+
$ref: "#/components/schemas/ComputedContentSourceRevisionOpenAPI"
|
|
20560
|
+
title:
|
|
20561
|
+
type: string
|
|
20562
|
+
minLength: 1
|
|
20563
|
+
description: Title of the page, only shown in the editor since the generated pages take its place. Defaults to "OpenAPI".
|
|
20564
|
+
into:
|
|
20565
|
+
type: string
|
|
20566
|
+
description: ID of the parent page to insert the page into, so the generated pages are nested under it. If omitted, the page is inserted at the root.
|
|
20567
|
+
at:
|
|
20568
|
+
type: integer
|
|
20569
|
+
minimum: 0
|
|
20570
|
+
description: Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end.
|
|
20571
|
+
example:
|
|
20572
|
+
operation: insert_computed_page
|
|
20573
|
+
title: API reference
|
|
20574
|
+
computed:
|
|
20575
|
+
type: builtin:openapi
|
|
20576
|
+
props:
|
|
20577
|
+
models: true
|
|
20578
|
+
dependencies:
|
|
20579
|
+
spec:
|
|
20580
|
+
ref:
|
|
20581
|
+
kind: openapi
|
|
20582
|
+
spec: my-api
|
|
20280
20583
|
ChangeRequestContentChange:
|
|
20281
20584
|
oneOf:
|
|
20282
20585
|
- $ref: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
@@ -20284,6 +20587,7 @@ components:
|
|
|
20284
20587
|
- $ref: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
20285
20588
|
- $ref: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
20286
20589
|
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
20590
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertComputedPage"
|
|
20287
20591
|
discriminator:
|
|
20288
20592
|
propertyName: operation
|
|
20289
20593
|
mapping:
|
|
@@ -20292,6 +20596,7 @@ components:
|
|
|
20292
20596
|
delete_page: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
20293
20597
|
revert_page: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
20294
20598
|
insert_files: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
20599
|
+
insert_computed_page: "#/components/schemas/ChangeRequestContentChangeInsertComputedPage"
|
|
20295
20600
|
ChangeRequestContentUpdatePageRef:
|
|
20296
20601
|
type: object
|
|
20297
20602
|
required:
|
|
@@ -20313,7 +20618,7 @@ components:
|
|
|
20313
20618
|
- location
|
|
20314
20619
|
properties:
|
|
20315
20620
|
location:
|
|
20316
|
-
description: API URL to fetch the page's full, normalized content.
|
|
20621
|
+
description: API URL to fetch the page's full, normalized content. For a computed page, it reads the page as stored (`computed=false`), since the computed content replaces the page with the pages it generates.
|
|
20317
20622
|
$ref: "#/components/schemas/URL"
|
|
20318
20623
|
ChangeRequestContentUpdateInsertedPage:
|
|
20319
20624
|
type: object
|
|
@@ -21161,13 +21466,9 @@ components:
|
|
|
21161
21466
|
- type: "null"
|
|
21162
21467
|
OrganizationAISettings:
|
|
21163
21468
|
type: object
|
|
21164
|
-
description: AI preferences
|
|
21469
|
+
description: AI preferences. Missing feature keys leave features enabled, subject to the master AI setting and feature eligibility.
|
|
21165
21470
|
additionalProperties: false
|
|
21166
21471
|
properties:
|
|
21167
|
-
aiPaused:
|
|
21168
|
-
type: boolean
|
|
21169
|
-
readOnly: true
|
|
21170
|
-
description: Whether AI features are automatically paused because credits are low.
|
|
21171
21472
|
ai-agent:
|
|
21172
21473
|
type: boolean
|
|
21173
21474
|
enum:
|
|
@@ -21479,6 +21780,9 @@ components:
|
|
|
21479
21780
|
type: boolean
|
|
21480
21781
|
aiSettings:
|
|
21481
21782
|
$ref: "#/components/schemas/OrganizationAISettings"
|
|
21783
|
+
aiPaused:
|
|
21784
|
+
description: Whether AI features have been paused automatically due to lack of AI credits.
|
|
21785
|
+
type: boolean
|
|
21482
21786
|
inviteLinks:
|
|
21483
21787
|
description: If true, invite links are enabled for this organization.
|
|
21484
21788
|
type: boolean
|
|
@@ -25359,6 +25663,15 @@ components:
|
|
|
25359
25663
|
required:
|
|
25360
25664
|
- type
|
|
25361
25665
|
- amount
|
|
25666
|
+
AICreditGrantType:
|
|
25667
|
+
type: string
|
|
25668
|
+
description: "Where AI credits come from: - `paid`: credits included in the monthly bundle - `bonus`: free credits included with the monthly bundle - `site`: credits from published paid sites - `rollover`: unused paid credits carried over from the previous period - `custom`: credits granted manually by Sales or Support"
|
|
25669
|
+
enum:
|
|
25670
|
+
- paid
|
|
25671
|
+
- bonus
|
|
25672
|
+
- site
|
|
25673
|
+
- rollover
|
|
25674
|
+
- custom
|
|
25362
25675
|
BillingCreditsTotals:
|
|
25363
25676
|
type: object
|
|
25364
25677
|
description: A total of AI credits, and how much of it is left.
|
|
@@ -25431,14 +25744,7 @@ components:
|
|
|
25431
25744
|
description: AI credits granted to the organization for the current AI billing period.
|
|
25432
25745
|
properties:
|
|
25433
25746
|
type:
|
|
25434
|
-
|
|
25435
|
-
description: Where the credits come from. `paid` is the credits the monthly bundle pays for, `bonus` the ones included with it, `site` the allowance of the organization's published paid sites, and `rollover` what was left of the previous period. `custom` is a grant created outside GitBook.
|
|
25436
|
-
enum:
|
|
25437
|
-
- paid
|
|
25438
|
-
- bonus
|
|
25439
|
-
- site
|
|
25440
|
-
- rollover
|
|
25441
|
-
- custom
|
|
25747
|
+
$ref: "#/components/schemas/AICreditGrantType"
|
|
25442
25748
|
priority:
|
|
25443
25749
|
type: number
|
|
25444
25750
|
description: Stripe spending priority. Lower values are consumed first.
|
|
@@ -25625,14 +25931,7 @@ components:
|
|
|
25625
25931
|
description: AI credits granted to the organization for the current AI billing period.
|
|
25626
25932
|
properties:
|
|
25627
25933
|
type:
|
|
25628
|
-
|
|
25629
|
-
description: Where the credits come from. `paid` is the credits the monthly bundle pays for, `bonus` the ones included with it, `site` the allowance of the organization's published paid sites, and `rollover` what was left of the previous period. `custom` is a grant created outside GitBook.
|
|
25630
|
-
enum:
|
|
25631
|
-
- paid
|
|
25632
|
-
- bonus
|
|
25633
|
-
- site
|
|
25634
|
-
- rollover
|
|
25635
|
-
- custom
|
|
25934
|
+
$ref: "#/components/schemas/AICreditGrantType"
|
|
25636
25935
|
priority:
|
|
25637
25936
|
type: number
|
|
25638
25937
|
description: Stripe spending priority. Lower values are consumed first.
|
|
@@ -29951,6 +30250,48 @@ components:
|
|
|
29951
30250
|
oneOf:
|
|
29952
30251
|
- $ref: "#/components/schemas/YoutubeChannelId"
|
|
29953
30252
|
- $ref: "#/components/schemas/YoutubeChannelName"
|
|
30253
|
+
JiraConnectorSetupSettings:
|
|
30254
|
+
type: object
|
|
30255
|
+
properties:
|
|
30256
|
+
baseUrl:
|
|
30257
|
+
type: string
|
|
30258
|
+
format: uri
|
|
30259
|
+
minLength: 1
|
|
30260
|
+
maxLength: 2048
|
|
30261
|
+
description: Base URL of the Jira Cloud site, e.g. https://your-team.atlassian.net.
|
|
30262
|
+
apiEmail:
|
|
30263
|
+
type: string
|
|
30264
|
+
format: email
|
|
30265
|
+
minLength: 1
|
|
30266
|
+
maxLength: 254
|
|
30267
|
+
description: Email of the Atlassian account whose API token is used.
|
|
30268
|
+
apiToken:
|
|
30269
|
+
type: string
|
|
30270
|
+
minLength: 1
|
|
30271
|
+
maxLength: 1024
|
|
30272
|
+
description: Atlassian API token used for outbound writes. Redacted when read back. Omit it when updating a connection to keep the stored token; required when the site URL or account email changes.
|
|
30273
|
+
projectKeys:
|
|
30274
|
+
type: array
|
|
30275
|
+
maxItems: 100
|
|
30276
|
+
uniqueItems: true
|
|
30277
|
+
description: Projects where GitBook handles issues. Empty means all accessible projects.
|
|
30278
|
+
items:
|
|
30279
|
+
type: string
|
|
30280
|
+
minLength: 1
|
|
30281
|
+
maxLength: 255
|
|
30282
|
+
statusMapping:
|
|
30283
|
+
type: object
|
|
30284
|
+
description: 'Jira status to move the linked issue to when the change request reaches a given status, e.g. `{ "merged": "Done" }`. A status left out is not synced.'
|
|
30285
|
+
propertyNames:
|
|
30286
|
+
$ref: "#/components/schemas/ChangeRequestStatus"
|
|
30287
|
+
additionalProperties:
|
|
30288
|
+
type: string
|
|
30289
|
+
minLength: 1
|
|
30290
|
+
maxLength: 255
|
|
30291
|
+
required:
|
|
30292
|
+
- baseUrl
|
|
30293
|
+
- apiEmail
|
|
30294
|
+
- apiToken
|
|
29954
30295
|
ContextConnectorSetup:
|
|
29955
30296
|
oneOf:
|
|
29956
30297
|
- type: object
|
|
@@ -30227,47 +30568,7 @@ components:
|
|
|
30227
30568
|
enum:
|
|
30228
30569
|
- builtin:jira
|
|
30229
30570
|
setupSettings:
|
|
30230
|
-
|
|
30231
|
-
properties:
|
|
30232
|
-
baseUrl:
|
|
30233
|
-
type: string
|
|
30234
|
-
format: uri
|
|
30235
|
-
minLength: 1
|
|
30236
|
-
maxLength: 2048
|
|
30237
|
-
description: Base URL of the Jira Cloud site, e.g. https://your-team.atlassian.net.
|
|
30238
|
-
apiEmail:
|
|
30239
|
-
type: string
|
|
30240
|
-
format: email
|
|
30241
|
-
minLength: 1
|
|
30242
|
-
maxLength: 254
|
|
30243
|
-
description: Email of the Atlassian account whose API token is used.
|
|
30244
|
-
apiToken:
|
|
30245
|
-
type: string
|
|
30246
|
-
minLength: 1
|
|
30247
|
-
maxLength: 1024
|
|
30248
|
-
description: Atlassian API token used for outbound writes. Redacted when read back.
|
|
30249
|
-
projectKeys:
|
|
30250
|
-
type: array
|
|
30251
|
-
maxItems: 100
|
|
30252
|
-
uniqueItems: true
|
|
30253
|
-
description: Projects where GitBook handles issues. Empty means all accessible projects.
|
|
30254
|
-
items:
|
|
30255
|
-
type: string
|
|
30256
|
-
minLength: 1
|
|
30257
|
-
maxLength: 255
|
|
30258
|
-
statusMapping:
|
|
30259
|
-
type: object
|
|
30260
|
-
description: 'Jira status to move the linked issue to when the change request reaches a given status, e.g. `{ "merged": "Done" }`. A status left out is not synced.'
|
|
30261
|
-
propertyNames:
|
|
30262
|
-
$ref: "#/components/schemas/ChangeRequestStatus"
|
|
30263
|
-
additionalProperties:
|
|
30264
|
-
type: string
|
|
30265
|
-
minLength: 1
|
|
30266
|
-
maxLength: 255
|
|
30267
|
-
required:
|
|
30268
|
-
- baseUrl
|
|
30269
|
-
- apiEmail
|
|
30270
|
-
- apiToken
|
|
30571
|
+
$ref: "#/components/schemas/JiraConnectorSetupSettings"
|
|
30271
30572
|
required:
|
|
30272
30573
|
- connector
|
|
30273
30574
|
- setupSettings
|
|
@@ -30331,6 +30632,41 @@ components:
|
|
|
30331
30632
|
- usageSettings
|
|
30332
30633
|
- urls
|
|
30333
30634
|
- $ref: "#/components/schemas/ContextConnectorSetup"
|
|
30635
|
+
baseUrl:
|
|
30636
|
+
type: string
|
|
30637
|
+
format: uri
|
|
30638
|
+
minLength: 1
|
|
30639
|
+
maxLength: 2048
|
|
30640
|
+
description: Base URL of the Jira Cloud site, e.g. https://your-team.atlassian.net.
|
|
30641
|
+
apiEmail:
|
|
30642
|
+
type: string
|
|
30643
|
+
format: email
|
|
30644
|
+
minLength: 1
|
|
30645
|
+
maxLength: 254
|
|
30646
|
+
description: Email of the Atlassian account whose API token is used.
|
|
30647
|
+
apiToken:
|
|
30648
|
+
type: string
|
|
30649
|
+
minLength: 1
|
|
30650
|
+
maxLength: 1024
|
|
30651
|
+
description: Atlassian API token used for outbound writes. Redacted when read back. Omit it when updating a connection to keep the stored token; required when the site URL or account email changes.
|
|
30652
|
+
projectKeys:
|
|
30653
|
+
type: array
|
|
30654
|
+
maxItems: 100
|
|
30655
|
+
uniqueItems: true
|
|
30656
|
+
description: Projects where GitBook handles issues. Empty means all accessible projects.
|
|
30657
|
+
items:
|
|
30658
|
+
type: string
|
|
30659
|
+
minLength: 1
|
|
30660
|
+
maxLength: 255
|
|
30661
|
+
statusMapping:
|
|
30662
|
+
type: object
|
|
30663
|
+
description: 'Jira status to move the linked issue to when the change request reaches a given status, e.g. `{ "merged": "Done" }`. A status left out is not synced.'
|
|
30664
|
+
propertyNames:
|
|
30665
|
+
$ref: "#/components/schemas/ChangeRequestStatus"
|
|
30666
|
+
additionalProperties:
|
|
30667
|
+
type: string
|
|
30668
|
+
minLength: 1
|
|
30669
|
+
maxLength: 255
|
|
30334
30670
|
ContextConnectionTestResult:
|
|
30335
30671
|
type: object
|
|
30336
30672
|
required:
|
|
@@ -30347,6 +30683,38 @@ components:
|
|
|
30347
30683
|
error:
|
|
30348
30684
|
type: string
|
|
30349
30685
|
description: A human-readable reason for the failure, when the test failed.
|
|
30686
|
+
SiteQuestionAnswerRelevance:
|
|
30687
|
+
type: string
|
|
30688
|
+
description: Relevance classification of the user question.
|
|
30689
|
+
enum:
|
|
30690
|
+
- relevant
|
|
30691
|
+
- spam
|
|
30692
|
+
- off-topic
|
|
30693
|
+
- unclear
|
|
30694
|
+
SiteCoreChannelType:
|
|
30695
|
+
type: string
|
|
30696
|
+
enum:
|
|
30697
|
+
- site
|
|
30698
|
+
- embed
|
|
30699
|
+
- api
|
|
30700
|
+
SiteConfigurableChannelType:
|
|
30701
|
+
type: string
|
|
30702
|
+
enum:
|
|
30703
|
+
- builtin:slack
|
|
30704
|
+
- builtin:discord
|
|
30705
|
+
- builtin:github
|
|
30706
|
+
- builtin:linear
|
|
30707
|
+
SiteChannelType:
|
|
30708
|
+
oneOf:
|
|
30709
|
+
- $ref: "#/components/schemas/SiteCoreChannelType"
|
|
30710
|
+
- $ref: "#/components/schemas/SiteConfigurableChannelType"
|
|
30711
|
+
SiteQuestionAnswerResolution:
|
|
30712
|
+
type: string
|
|
30713
|
+
description: Whether the response answered the question.
|
|
30714
|
+
enum:
|
|
30715
|
+
- no
|
|
30716
|
+
- partially
|
|
30717
|
+
- yes
|
|
30350
30718
|
SiteTopicUsageSettings:
|
|
30351
30719
|
type: object
|
|
30352
30720
|
properties:
|
|
@@ -30436,38 +30804,6 @@ components:
|
|
|
30436
30804
|
- createdAt
|
|
30437
30805
|
- updatedAt
|
|
30438
30806
|
- urls
|
|
30439
|
-
SiteQuestionAnswerRelevance:
|
|
30440
|
-
type: string
|
|
30441
|
-
description: Relevance classification of the user question.
|
|
30442
|
-
enum:
|
|
30443
|
-
- relevant
|
|
30444
|
-
- spam
|
|
30445
|
-
- off-topic
|
|
30446
|
-
- unclear
|
|
30447
|
-
SiteCoreChannelType:
|
|
30448
|
-
type: string
|
|
30449
|
-
enum:
|
|
30450
|
-
- site
|
|
30451
|
-
- embed
|
|
30452
|
-
- api
|
|
30453
|
-
SiteConfigurableChannelType:
|
|
30454
|
-
type: string
|
|
30455
|
-
enum:
|
|
30456
|
-
- builtin:slack
|
|
30457
|
-
- builtin:discord
|
|
30458
|
-
- builtin:github
|
|
30459
|
-
- builtin:linear
|
|
30460
|
-
SiteChannelType:
|
|
30461
|
-
oneOf:
|
|
30462
|
-
- $ref: "#/components/schemas/SiteCoreChannelType"
|
|
30463
|
-
- $ref: "#/components/schemas/SiteConfigurableChannelType"
|
|
30464
|
-
SiteQuestionAnswerResolution:
|
|
30465
|
-
type: string
|
|
30466
|
-
description: Whether the response answered the question.
|
|
30467
|
-
enum:
|
|
30468
|
-
- no
|
|
30469
|
-
- partially
|
|
30470
|
-
- yes
|
|
30471
30807
|
SiteQuestionAnswerSourceBase:
|
|
30472
30808
|
type: object
|
|
30473
30809
|
properties:
|
|
@@ -32335,6 +32671,30 @@ components:
|
|
|
32335
32671
|
- $ref: "#/components/schemas/AIStreamResponseFollowupSuggestion"
|
|
32336
32672
|
- $ref: "#/components/schemas/AIStreamResponseAttachment"
|
|
32337
32673
|
- $ref: "#/components/schemas/AIStreamResponseCompaction"
|
|
32674
|
+
SiteSettingsBrokenLinksAutonomyLevel:
|
|
32675
|
+
type: string
|
|
32676
|
+
description: |
|
|
32677
|
+
How much GitBook may do on its own when it resolves broken links automatically. GitBook never
|
|
32678
|
+
applies a fix it isn't sure about, at any level.
|
|
32679
|
+
- `suggest-fixes` drafts fixes for approval and applies none.
|
|
32680
|
+
- `fix-clear-matches` applies the clearest fixes and drafts the less certain ones for approval.
|
|
32681
|
+
- `fix-close-matches` applies the clear and the close fixes.
|
|
32682
|
+
enum:
|
|
32683
|
+
- suggest-fixes
|
|
32684
|
+
- fix-clear-matches
|
|
32685
|
+
- fix-close-matches
|
|
32686
|
+
SiteSettingsBrokenLinks:
|
|
32687
|
+
type: object
|
|
32688
|
+
description: Settings for how GitBook resolves the broken links it finds on a site.
|
|
32689
|
+
properties:
|
|
32690
|
+
autoResolve:
|
|
32691
|
+
type: boolean
|
|
32692
|
+
description: Whether GitBook resolves broken links automatically.
|
|
32693
|
+
autonomyLevel:
|
|
32694
|
+
$ref: "#/components/schemas/SiteSettingsBrokenLinksAutonomyLevel"
|
|
32695
|
+
required:
|
|
32696
|
+
- autoResolve
|
|
32697
|
+
- autonomyLevel
|
|
32338
32698
|
SiteSettingsScanTopics:
|
|
32339
32699
|
type: string
|
|
32340
32700
|
enum:
|
|
@@ -32375,6 +32735,8 @@ components:
|
|
|
32375
32735
|
$ref: "#/components/schemas/JSONDocument"
|
|
32376
32736
|
required:
|
|
32377
32737
|
- customInstructions
|
|
32738
|
+
brokenLinks:
|
|
32739
|
+
$ref: "#/components/schemas/SiteSettingsBrokenLinks"
|
|
32378
32740
|
required:
|
|
32379
32741
|
- scans
|
|
32380
32742
|
- findings
|
|
@@ -32387,6 +32749,8 @@ components:
|
|
|
32387
32749
|
type: string
|
|
32388
32750
|
enum:
|
|
32389
32751
|
- site-agent-settings
|
|
32752
|
+
brokenLinks:
|
|
32753
|
+
$ref: "#/components/schemas/SiteSettingsBrokenLinks"
|
|
32390
32754
|
updatedAt:
|
|
32391
32755
|
$ref: "#/components/schemas/Timestamp"
|
|
32392
32756
|
updatedBy:
|
|
@@ -32402,6 +32766,7 @@ components:
|
|
|
32402
32766
|
- location
|
|
32403
32767
|
required:
|
|
32404
32768
|
- object
|
|
32769
|
+
- brokenLinks
|
|
32405
32770
|
- urls
|
|
32406
32771
|
- $ref: "#/components/schemas/SiteAgentSettingsInput"
|
|
32407
32772
|
SiteStyleguideRun:
|
|
@@ -33170,6 +33535,24 @@ components:
|
|
|
33170
33535
|
type: string
|
|
33171
33536
|
enum:
|
|
33172
33537
|
- visitorLanguage
|
|
33538
|
+
- type: object
|
|
33539
|
+
description: The raw `User-Agent` header of the request. `visitorBot`, `visitorBrowser`, `visitorOS` and `visitorDevice` are parsed from it.
|
|
33540
|
+
required:
|
|
33541
|
+
- column
|
|
33542
|
+
properties:
|
|
33543
|
+
column:
|
|
33544
|
+
type: string
|
|
33545
|
+
enum:
|
|
33546
|
+
- visitorUserAgent
|
|
33547
|
+
- type: object
|
|
33548
|
+
description: "Pseudonymous identifier of the visitor, stable across a browser's visits. Events served by the server (`displayContext` of `server` or `mcp`: markdown pages, llms.txt, RSS, MCP) get a new one per request, so it only tells visitors apart on `site` and `embed`."
|
|
33549
|
+
required:
|
|
33550
|
+
- column
|
|
33551
|
+
properties:
|
|
33552
|
+
column:
|
|
33553
|
+
type: string
|
|
33554
|
+
enum:
|
|
33555
|
+
- visitorId
|
|
33173
33556
|
- type: object
|
|
33174
33557
|
required:
|
|
33175
33558
|
- column
|
|
@@ -33979,6 +34362,32 @@ components:
|
|
|
33979
34362
|
type:
|
|
33980
34363
|
- string
|
|
33981
34364
|
- "null"
|
|
34365
|
+
- type: object
|
|
34366
|
+
required:
|
|
34367
|
+
- column
|
|
34368
|
+
- values
|
|
34369
|
+
properties:
|
|
34370
|
+
column:
|
|
34371
|
+
type: string
|
|
34372
|
+
enum:
|
|
34373
|
+
- visitorUserAgent
|
|
34374
|
+
values:
|
|
34375
|
+
type: array
|
|
34376
|
+
items:
|
|
34377
|
+
type: string
|
|
34378
|
+
- type: object
|
|
34379
|
+
required:
|
|
34380
|
+
- column
|
|
34381
|
+
- values
|
|
34382
|
+
properties:
|
|
34383
|
+
column:
|
|
34384
|
+
type: string
|
|
34385
|
+
enum:
|
|
34386
|
+
- visitorId
|
|
34387
|
+
values:
|
|
34388
|
+
type: array
|
|
34389
|
+
items:
|
|
34390
|
+
type: string
|
|
33982
34391
|
- type: object
|
|
33983
34392
|
required:
|
|
33984
34393
|
- column
|
|
@@ -36538,6 +36947,55 @@ components:
|
|
|
36538
36947
|
type: array
|
|
36539
36948
|
items:
|
|
36540
36949
|
$ref: "#/components/schemas/InputFile"
|
|
36950
|
+
FeatureUpgradeRequirement:
|
|
36951
|
+
description: The plan upgrade that would make a feature available.
|
|
36952
|
+
oneOf:
|
|
36953
|
+
- type: object
|
|
36954
|
+
title: Organization plan upgrade
|
|
36955
|
+
properties:
|
|
36956
|
+
type:
|
|
36957
|
+
type: string
|
|
36958
|
+
enum:
|
|
36959
|
+
- organization
|
|
36960
|
+
feature:
|
|
36961
|
+
$ref: "#/components/schemas/OrganizationFeature"
|
|
36962
|
+
requiredPlan:
|
|
36963
|
+
description: The minimum organization plan that includes the feature.
|
|
36964
|
+
$ref: "#/components/schemas/BillingProduct"
|
|
36965
|
+
url:
|
|
36966
|
+
type: string
|
|
36967
|
+
format: uri
|
|
36968
|
+
description: Where an admin may upgrade the organization's plan.
|
|
36969
|
+
additionalProperties: false
|
|
36970
|
+
required:
|
|
36971
|
+
- type
|
|
36972
|
+
- feature
|
|
36973
|
+
- requiredPlan
|
|
36974
|
+
- url
|
|
36975
|
+
- type: object
|
|
36976
|
+
title: Site plan upgrade
|
|
36977
|
+
properties:
|
|
36978
|
+
type:
|
|
36979
|
+
type: string
|
|
36980
|
+
enum:
|
|
36981
|
+
- site
|
|
36982
|
+
feature:
|
|
36983
|
+
$ref: "#/components/schemas/SiteFeatureKey"
|
|
36984
|
+
requiredPlan:
|
|
36985
|
+
description: The minimum site plan that includes the feature.
|
|
36986
|
+
$ref: "#/components/schemas/SiteType"
|
|
36987
|
+
url:
|
|
36988
|
+
type: string
|
|
36989
|
+
format: uri
|
|
36990
|
+
description: Where an admin may upgrade the site's plan.
|
|
36991
|
+
additionalProperties: false
|
|
36992
|
+
required:
|
|
36993
|
+
- type
|
|
36994
|
+
- feature
|
|
36995
|
+
- requiredPlan
|
|
36996
|
+
- url
|
|
36997
|
+
discriminator:
|
|
36998
|
+
propertyName: type
|
|
36541
36999
|
BillingStatus:
|
|
36542
37000
|
type: string
|
|
36543
37001
|
enum:
|
|
@@ -36577,6 +37035,9 @@ components:
|
|
|
36577
37035
|
- human
|
|
36578
37036
|
- agent
|
|
36579
37037
|
description: Whether the visitor, for which the token was generated, is a human or an AI agent. Defaults to human when omitted.
|
|
37038
|
+
visitorIsAuthenticated:
|
|
37039
|
+
type: boolean
|
|
37040
|
+
description: Whether the visitor is authenticated. Only set for sites with adaptive content enabled when token verification succeeded.
|
|
36580
37041
|
visitorRegion:
|
|
36581
37042
|
type: string
|
|
36582
37043
|
description: The region containing the country of the visitor for whom the token was generated. Omitted if the country isn't in any region.
|
|
@@ -38378,6 +38839,55 @@ components:
|
|
|
38378
38839
|
application/json:
|
|
38379
38840
|
schema:
|
|
38380
38841
|
$ref: "#/components/schemas/Error"
|
|
38842
|
+
FeatureNotAvailableError:
|
|
38843
|
+
description: |
|
|
38844
|
+
The requested feature is not available on the organization's or site's current plan.
|
|
38845
|
+
The operation was not performed. The `error.type` value `feature-not-available`
|
|
38846
|
+
identifies this response; `error.upgrade` provides the requirements for upgrading.
|
|
38847
|
+
content:
|
|
38848
|
+
application/json:
|
|
38849
|
+
schema:
|
|
38850
|
+
description: |
|
|
38851
|
+
API clients and agents can use `error.upgrade` to identify the
|
|
38852
|
+
unavailable feature, required plan, and upgrade URL.
|
|
38853
|
+
|
|
38854
|
+
Call `getOrganizationSubscription` (`GET /orgs/{organizationId}/subscription`),
|
|
38855
|
+
or the MCP `get_subscription_information` tool, to check the current plan
|
|
38856
|
+
and `canManageBilling`. If false, ask an organization administrator to upgrade.
|
|
38857
|
+
|
|
38858
|
+
Before initiating an upgrade, verify billing permissions and obtain
|
|
38859
|
+
explicit approval of the price and billing changes at `error.upgrade.url`.
|
|
38860
|
+
|
|
38861
|
+
The required plan is not a price quote; it's the plan needed to be
|
|
38862
|
+
able to perform the original operation.
|
|
38863
|
+
|
|
38864
|
+
Retry the original operation after the upgrade is complete.
|
|
38865
|
+
type: object
|
|
38866
|
+
required:
|
|
38867
|
+
- error
|
|
38868
|
+
properties:
|
|
38869
|
+
error:
|
|
38870
|
+
type: object
|
|
38871
|
+
properties:
|
|
38872
|
+
type:
|
|
38873
|
+
description: Identifies the FeatureNotAvailableError response in the OpenAPI spec.
|
|
38874
|
+
type: string
|
|
38875
|
+
enum:
|
|
38876
|
+
- feature-not-available
|
|
38877
|
+
code:
|
|
38878
|
+
type: integer
|
|
38879
|
+
format: int32
|
|
38880
|
+
enum:
|
|
38881
|
+
- 403
|
|
38882
|
+
message:
|
|
38883
|
+
type: string
|
|
38884
|
+
upgrade:
|
|
38885
|
+
$ref: "#/components/schemas/FeatureUpgradeRequirement"
|
|
38886
|
+
required:
|
|
38887
|
+
- type
|
|
38888
|
+
- code
|
|
38889
|
+
- message
|
|
38890
|
+
- upgrade
|
|
38381
38891
|
headers:
|
|
38382
38892
|
returnPreferenceApplied:
|
|
38383
38893
|
description: Confirms that the requested minimal response preference was applied.
|