@gitbook/api 0.205.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 +281 -136
- package/dist/constants.d.ts +2 -1
- package/dist/index.cjs +16 -2
- package/dist/index.js +14 -2
- package/package.json +1 -1
- package/spec/openapi.json +842 -390
- package/spec/openapi.yaml +574 -267
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"
|
|
@@ -11579,7 +11611,12 @@ paths:
|
|
|
11579
11611
|
- type: object
|
|
11580
11612
|
required:
|
|
11581
11613
|
- items
|
|
11614
|
+
- membersCount
|
|
11582
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.
|
|
11583
11620
|
items:
|
|
11584
11621
|
type: array
|
|
11585
11622
|
items:
|
|
@@ -11850,7 +11887,7 @@ paths:
|
|
|
11850
11887
|
put:
|
|
11851
11888
|
operationId: updateSiteAgentSettingsById
|
|
11852
11889
|
summary: Update the AI agent configuration for a site
|
|
11853
|
-
description: Replaces the configuration for the AI built into the GitBook editor that helps authors draft, review, and refine content changes. Use this to customize how the AI behaves when assisting authors working on content for this site.
|
|
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.
|
|
11854
11891
|
x-gitbook-mcp: true
|
|
11855
11892
|
tags:
|
|
11856
11893
|
- site-agent-settings
|
|
@@ -13821,16 +13858,17 @@ components:
|
|
|
13821
13858
|
name: dereferenced
|
|
13822
13859
|
in: query
|
|
13823
13860
|
description: |
|
|
13824
|
-
Controls whether
|
|
13825
|
-
- When set to `
|
|
13826
|
-
- 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.
|
|
13827
13866
|
schema:
|
|
13828
13867
|
oneOf:
|
|
13829
13868
|
- type: boolean
|
|
13830
13869
|
- type: string
|
|
13831
13870
|
enum:
|
|
13832
13871
|
- reusable-contents
|
|
13833
|
-
default: false
|
|
13834
13872
|
pagePath:
|
|
13835
13873
|
name: pagePath
|
|
13836
13874
|
in: path
|
|
@@ -14655,6 +14693,9 @@ components:
|
|
|
14655
14693
|
- lv
|
|
14656
14694
|
- et
|
|
14657
14695
|
- sl
|
|
14696
|
+
- fr-ca
|
|
14697
|
+
- es-mx
|
|
14698
|
+
- es-419
|
|
14658
14699
|
GitSyncInstallationStatus:
|
|
14659
14700
|
type: string
|
|
14660
14701
|
enum:
|
|
@@ -16398,6 +16439,26 @@ components:
|
|
|
16398
16439
|
- type
|
|
16399
16440
|
- data
|
|
16400
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
|
|
16401
16462
|
DocumentBlockEmbed:
|
|
16402
16463
|
type: object
|
|
16403
16464
|
properties:
|
|
@@ -16420,6 +16481,24 @@ components:
|
|
|
16420
16481
|
type: boolean
|
|
16421
16482
|
required:
|
|
16422
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
|
|
16423
16502
|
isVoid:
|
|
16424
16503
|
type: boolean
|
|
16425
16504
|
enum:
|
|
@@ -16898,26 +16977,6 @@ components:
|
|
|
16898
16977
|
- anchor
|
|
16899
16978
|
- rowSpan
|
|
16900
16979
|
- colSpan
|
|
16901
|
-
DocumentFragment:
|
|
16902
|
-
type: object
|
|
16903
|
-
properties:
|
|
16904
|
-
object:
|
|
16905
|
-
type: string
|
|
16906
|
-
enum:
|
|
16907
|
-
- fragment
|
|
16908
|
-
key:
|
|
16909
|
-
type: string
|
|
16910
|
-
fragment:
|
|
16911
|
-
type: string
|
|
16912
|
-
type:
|
|
16913
|
-
type: string
|
|
16914
|
-
nodes:
|
|
16915
|
-
type: array
|
|
16916
|
-
items:
|
|
16917
|
-
$ref: "#/components/schemas/DocumentBlock"
|
|
16918
|
-
required:
|
|
16919
|
-
- object
|
|
16920
|
-
- nodes
|
|
16921
16980
|
DocumentBlockTable:
|
|
16922
16981
|
type: object
|
|
16923
16982
|
properties:
|
|
@@ -16975,7 +17034,7 @@ components:
|
|
|
16975
17034
|
- data
|
|
16976
17035
|
- isVoid
|
|
16977
17036
|
- fragments
|
|
16978
|
-
|
|
17037
|
+
DocumentBlockQuote:
|
|
16979
17038
|
type: object
|
|
16980
17039
|
properties:
|
|
16981
17040
|
object:
|
|
@@ -16985,41 +17044,39 @@ components:
|
|
|
16985
17044
|
type:
|
|
16986
17045
|
type: string
|
|
16987
17046
|
enum:
|
|
16988
|
-
-
|
|
17047
|
+
- blockquote
|
|
16989
17048
|
key:
|
|
16990
17049
|
type: string
|
|
16991
|
-
data:
|
|
16992
|
-
type: object
|
|
16993
|
-
properties:
|
|
16994
|
-
style:
|
|
16995
|
-
type: string
|
|
16996
|
-
enum:
|
|
16997
|
-
- info
|
|
16998
|
-
- warning
|
|
16999
|
-
- danger
|
|
17000
|
-
- success
|
|
17001
|
-
icon:
|
|
17002
|
-
$ref: "#/components/schemas/Icon"
|
|
17003
|
-
required:
|
|
17004
|
-
- style
|
|
17005
17050
|
nodes:
|
|
17006
17051
|
type: array
|
|
17007
17052
|
items:
|
|
17008
17053
|
oneOf:
|
|
17009
17054
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17055
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17056
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17057
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17010
17058
|
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17011
|
-
- $ref: "#/components/schemas/
|
|
17012
|
-
- $ref: "#/components/schemas/
|
|
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"
|
|
17013
17067
|
isVoid:
|
|
17014
17068
|
type: boolean
|
|
17015
17069
|
enum:
|
|
17016
17070
|
- false
|
|
17071
|
+
data:
|
|
17072
|
+
type: object
|
|
17073
|
+
properties: {}
|
|
17074
|
+
additionalProperties: false
|
|
17017
17075
|
required:
|
|
17018
17076
|
- object
|
|
17019
17077
|
- type
|
|
17020
|
-
- data
|
|
17021
17078
|
- nodes
|
|
17022
|
-
|
|
17079
|
+
DocumentBlockDrawing:
|
|
17023
17080
|
type: object
|
|
17024
17081
|
properties:
|
|
17025
17082
|
object:
|
|
@@ -17029,28 +17086,43 @@ components:
|
|
|
17029
17086
|
type:
|
|
17030
17087
|
type: string
|
|
17031
17088
|
enum:
|
|
17032
|
-
-
|
|
17089
|
+
- drawing
|
|
17033
17090
|
key:
|
|
17034
17091
|
type: string
|
|
17035
|
-
|
|
17092
|
+
data:
|
|
17093
|
+
type: object
|
|
17094
|
+
properties:
|
|
17095
|
+
ref:
|
|
17096
|
+
oneOf:
|
|
17097
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
17098
|
+
fragments:
|
|
17036
17099
|
type: array
|
|
17037
17100
|
items:
|
|
17038
|
-
|
|
17039
|
-
- $ref: "#/components/schemas/
|
|
17040
|
-
-
|
|
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
|
|
17041
17116
|
isVoid:
|
|
17042
17117
|
type: boolean
|
|
17043
17118
|
enum:
|
|
17044
|
-
-
|
|
17045
|
-
data:
|
|
17046
|
-
type: object
|
|
17047
|
-
properties: {}
|
|
17048
|
-
additionalProperties: false
|
|
17119
|
+
- true
|
|
17049
17120
|
required:
|
|
17050
17121
|
- object
|
|
17051
17122
|
- type
|
|
17052
|
-
-
|
|
17053
|
-
|
|
17123
|
+
- data
|
|
17124
|
+
- isVoid
|
|
17125
|
+
DocumentBlockFile:
|
|
17054
17126
|
type: object
|
|
17055
17127
|
properties:
|
|
17056
17128
|
object:
|
|
@@ -17060,16 +17132,35 @@ components:
|
|
|
17060
17132
|
type:
|
|
17061
17133
|
type: string
|
|
17062
17134
|
enum:
|
|
17063
|
-
-
|
|
17135
|
+
- file
|
|
17064
17136
|
key:
|
|
17065
17137
|
type: string
|
|
17066
17138
|
data:
|
|
17067
17139
|
type: object
|
|
17068
17140
|
properties:
|
|
17069
|
-
|
|
17070
|
-
|
|
17141
|
+
ref:
|
|
17142
|
+
oneOf:
|
|
17143
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
17071
17144
|
required:
|
|
17072
|
-
-
|
|
17145
|
+
- ref
|
|
17146
|
+
fragments:
|
|
17147
|
+
type: array
|
|
17148
|
+
items:
|
|
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
|
|
17073
17164
|
isVoid:
|
|
17074
17165
|
type: boolean
|
|
17075
17166
|
enum:
|
|
@@ -17191,7 +17282,7 @@ components:
|
|
|
17191
17282
|
- data
|
|
17192
17283
|
- nodes
|
|
17193
17284
|
- isVoid
|
|
17194
|
-
|
|
17285
|
+
DocumentBlockHint:
|
|
17195
17286
|
type: object
|
|
17196
17287
|
properties:
|
|
17197
17288
|
object:
|
|
@@ -17201,57 +17292,42 @@ components:
|
|
|
17201
17292
|
type:
|
|
17202
17293
|
type: string
|
|
17203
17294
|
enum:
|
|
17204
|
-
-
|
|
17295
|
+
- hint
|
|
17205
17296
|
key:
|
|
17206
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
|
|
17207
17312
|
nodes:
|
|
17208
17313
|
type: array
|
|
17209
17314
|
items:
|
|
17210
17315
|
oneOf:
|
|
17211
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"
|
|
17212
17321
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17322
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17323
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17324
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17213
17325
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17214
|
-
- $ref: "#/components/schemas/
|
|
17326
|
+
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17215
17327
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17216
|
-
- $ref: "#/components/schemas/
|
|
17217
|
-
- $ref: "#/components/schemas/
|
|
17218
|
-
|
|
17219
|
-
type: boolean
|
|
17220
|
-
enum:
|
|
17221
|
-
- false
|
|
17222
|
-
data:
|
|
17223
|
-
type: object
|
|
17224
|
-
properties:
|
|
17225
|
-
checked:
|
|
17226
|
-
type: boolean
|
|
17227
|
-
required:
|
|
17228
|
-
- object
|
|
17229
|
-
- type
|
|
17230
|
-
- nodes
|
|
17231
|
-
DocumentBlockListOrdered:
|
|
17232
|
-
type: object
|
|
17233
|
-
properties:
|
|
17234
|
-
object:
|
|
17235
|
-
type: string
|
|
17236
|
-
enum:
|
|
17237
|
-
- block
|
|
17238
|
-
type:
|
|
17239
|
-
type: string
|
|
17240
|
-
enum:
|
|
17241
|
-
- list-ordered
|
|
17242
|
-
key:
|
|
17243
|
-
type: string
|
|
17244
|
-
data:
|
|
17245
|
-
type: object
|
|
17246
|
-
properties:
|
|
17247
|
-
start:
|
|
17248
|
-
type: number
|
|
17249
|
-
description: An integer to start counting from for the list items.
|
|
17250
|
-
nodes:
|
|
17251
|
-
type: array
|
|
17252
|
-
items:
|
|
17253
|
-
oneOf:
|
|
17254
|
-
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17328
|
+
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17329
|
+
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17330
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
17255
17331
|
isVoid:
|
|
17256
17332
|
type: boolean
|
|
17257
17333
|
enum:
|
|
@@ -17261,91 +17337,6 @@ components:
|
|
|
17261
17337
|
- type
|
|
17262
17338
|
- data
|
|
17263
17339
|
- nodes
|
|
17264
|
-
DocumentBlockListUnordered:
|
|
17265
|
-
type: object
|
|
17266
|
-
properties:
|
|
17267
|
-
object:
|
|
17268
|
-
type: string
|
|
17269
|
-
enum:
|
|
17270
|
-
- block
|
|
17271
|
-
type:
|
|
17272
|
-
type: string
|
|
17273
|
-
enum:
|
|
17274
|
-
- list-unordered
|
|
17275
|
-
key:
|
|
17276
|
-
type: string
|
|
17277
|
-
nodes:
|
|
17278
|
-
type: array
|
|
17279
|
-
items:
|
|
17280
|
-
oneOf:
|
|
17281
|
-
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17282
|
-
data:
|
|
17283
|
-
type: object
|
|
17284
|
-
additionalProperties: false
|
|
17285
|
-
isVoid:
|
|
17286
|
-
type: boolean
|
|
17287
|
-
enum:
|
|
17288
|
-
- false
|
|
17289
|
-
required:
|
|
17290
|
-
- object
|
|
17291
|
-
- type
|
|
17292
|
-
- nodes
|
|
17293
|
-
DocumentBlockListTasks:
|
|
17294
|
-
type: object
|
|
17295
|
-
properties:
|
|
17296
|
-
object:
|
|
17297
|
-
type: string
|
|
17298
|
-
enum:
|
|
17299
|
-
- block
|
|
17300
|
-
type:
|
|
17301
|
-
type: string
|
|
17302
|
-
enum:
|
|
17303
|
-
- list-tasks
|
|
17304
|
-
key:
|
|
17305
|
-
type: string
|
|
17306
|
-
nodes:
|
|
17307
|
-
type: array
|
|
17308
|
-
items:
|
|
17309
|
-
oneOf:
|
|
17310
|
-
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
17311
|
-
isVoid:
|
|
17312
|
-
type: boolean
|
|
17313
|
-
enum:
|
|
17314
|
-
- false
|
|
17315
|
-
data:
|
|
17316
|
-
type: object
|
|
17317
|
-
properties: {}
|
|
17318
|
-
additionalProperties: false
|
|
17319
|
-
required:
|
|
17320
|
-
- object
|
|
17321
|
-
- type
|
|
17322
|
-
- nodes
|
|
17323
|
-
DocumentBlockDivider:
|
|
17324
|
-
type: object
|
|
17325
|
-
properties:
|
|
17326
|
-
object:
|
|
17327
|
-
type: string
|
|
17328
|
-
enum:
|
|
17329
|
-
- block
|
|
17330
|
-
type:
|
|
17331
|
-
type: string
|
|
17332
|
-
enum:
|
|
17333
|
-
- divider
|
|
17334
|
-
key:
|
|
17335
|
-
type: string
|
|
17336
|
-
isVoid:
|
|
17337
|
-
type: boolean
|
|
17338
|
-
enum:
|
|
17339
|
-
- true
|
|
17340
|
-
data:
|
|
17341
|
-
type: object
|
|
17342
|
-
properties: {}
|
|
17343
|
-
additionalProperties: false
|
|
17344
|
-
required:
|
|
17345
|
-
- object
|
|
17346
|
-
- type
|
|
17347
|
-
- isVoid
|
|
17348
|
-
- data
|
|
17349
17340
|
DocumentBlockPrompt:
|
|
17350
17341
|
type: object
|
|
17351
17342
|
properties:
|
|
@@ -17454,7 +17445,7 @@ components:
|
|
|
17454
17445
|
- type
|
|
17455
17446
|
- nodes
|
|
17456
17447
|
- data
|
|
17457
|
-
|
|
17448
|
+
DocumentBlockReusableContent:
|
|
17458
17449
|
type: object
|
|
17459
17450
|
properties:
|
|
17460
17451
|
object:
|
|
@@ -17464,55 +17455,32 @@ components:
|
|
|
17464
17455
|
type:
|
|
17465
17456
|
type: string
|
|
17466
17457
|
enum:
|
|
17467
|
-
-
|
|
17458
|
+
- reusable-content
|
|
17468
17459
|
key:
|
|
17469
17460
|
type: string
|
|
17470
17461
|
data:
|
|
17471
17462
|
type: object
|
|
17472
17463
|
properties:
|
|
17473
17464
|
ref:
|
|
17474
|
-
|
|
17475
|
-
- $ref: "#/components/schemas/ContentRefFile"
|
|
17465
|
+
$ref: "#/components/schemas/ContentRefReusableContent"
|
|
17476
17466
|
required:
|
|
17477
17467
|
- ref
|
|
17478
17468
|
isVoid:
|
|
17479
17469
|
type: boolean
|
|
17480
17470
|
enum:
|
|
17481
17471
|
- true
|
|
17482
|
-
|
|
17483
|
-
- object
|
|
17484
|
-
- type
|
|
17485
|
-
- data
|
|
17486
|
-
- isVoid
|
|
17487
|
-
DocumentBlockDrawing:
|
|
17488
|
-
type: object
|
|
17489
|
-
properties:
|
|
17490
|
-
object:
|
|
17491
|
-
type: string
|
|
17492
|
-
enum:
|
|
17493
|
-
- block
|
|
17494
|
-
type:
|
|
17495
|
-
type: string
|
|
17496
|
-
enum:
|
|
17497
|
-
- drawing
|
|
17498
|
-
key:
|
|
17499
|
-
type: string
|
|
17500
|
-
data:
|
|
17472
|
+
meta:
|
|
17501
17473
|
type: object
|
|
17502
17474
|
properties:
|
|
17503
|
-
|
|
17504
|
-
|
|
17505
|
-
|
|
17506
|
-
isVoid:
|
|
17507
|
-
type: boolean
|
|
17508
|
-
enum:
|
|
17509
|
-
- true
|
|
17475
|
+
token:
|
|
17476
|
+
description: A content token that can be used to fetch the reusable content from the API.
|
|
17477
|
+
type: string
|
|
17510
17478
|
required:
|
|
17511
17479
|
- object
|
|
17512
17480
|
- type
|
|
17513
17481
|
- data
|
|
17514
17482
|
- isVoid
|
|
17515
|
-
|
|
17483
|
+
DocumentBlockContentRef:
|
|
17516
17484
|
type: object
|
|
17517
17485
|
properties:
|
|
17518
17486
|
object:
|
|
@@ -17522,32 +17490,26 @@ components:
|
|
|
17522
17490
|
type:
|
|
17523
17491
|
type: string
|
|
17524
17492
|
enum:
|
|
17525
|
-
-
|
|
17493
|
+
- content-ref
|
|
17526
17494
|
key:
|
|
17527
17495
|
type: string
|
|
17528
17496
|
data:
|
|
17529
17497
|
type: object
|
|
17530
17498
|
properties:
|
|
17531
17499
|
ref:
|
|
17532
|
-
$ref: "#/components/schemas/
|
|
17500
|
+
$ref: "#/components/schemas/ContentRef"
|
|
17533
17501
|
required:
|
|
17534
17502
|
- ref
|
|
17535
17503
|
isVoid:
|
|
17536
17504
|
type: boolean
|
|
17537
17505
|
enum:
|
|
17538
17506
|
- true
|
|
17539
|
-
meta:
|
|
17540
|
-
type: object
|
|
17541
|
-
properties:
|
|
17542
|
-
token:
|
|
17543
|
-
description: A content token that can be used to fetch the reusable content from the API.
|
|
17544
|
-
type: string
|
|
17545
17507
|
required:
|
|
17546
17508
|
- object
|
|
17547
17509
|
- type
|
|
17548
17510
|
- data
|
|
17549
17511
|
- isVoid
|
|
17550
|
-
|
|
17512
|
+
DocumentBlockMath:
|
|
17551
17513
|
type: object
|
|
17552
17514
|
properties:
|
|
17553
17515
|
object:
|
|
@@ -17557,16 +17519,16 @@ components:
|
|
|
17557
17519
|
type:
|
|
17558
17520
|
type: string
|
|
17559
17521
|
enum:
|
|
17560
|
-
-
|
|
17522
|
+
- math
|
|
17561
17523
|
key:
|
|
17562
17524
|
type: string
|
|
17563
17525
|
data:
|
|
17564
17526
|
type: object
|
|
17565
17527
|
properties:
|
|
17566
|
-
|
|
17567
|
-
|
|
17528
|
+
formula:
|
|
17529
|
+
type: string
|
|
17568
17530
|
required:
|
|
17569
|
-
-
|
|
17531
|
+
- formula
|
|
17570
17532
|
isVoid:
|
|
17571
17533
|
type: boolean
|
|
17572
17534
|
enum:
|
|
@@ -17702,6 +17664,37 @@ components:
|
|
|
17702
17664
|
- object
|
|
17703
17665
|
- type
|
|
17704
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"
|
|
17684
|
+
isVoid:
|
|
17685
|
+
type: boolean
|
|
17686
|
+
enum:
|
|
17687
|
+
- false
|
|
17688
|
+
data:
|
|
17689
|
+
type: object
|
|
17690
|
+
properties:
|
|
17691
|
+
fullWidth:
|
|
17692
|
+
type: boolean
|
|
17693
|
+
additionalProperties: false
|
|
17694
|
+
required:
|
|
17695
|
+
- object
|
|
17696
|
+
- type
|
|
17697
|
+
- nodes
|
|
17705
17698
|
DocumentBlockTabsItem:
|
|
17706
17699
|
type: object
|
|
17707
17700
|
properties:
|
|
@@ -17736,6 +17729,7 @@ components:
|
|
|
17736
17729
|
- $ref: "#/components/schemas/DocumentBlockIf"
|
|
17737
17730
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
17738
17731
|
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
17732
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
17739
17733
|
data:
|
|
17740
17734
|
type: object
|
|
17741
17735
|
properties:
|
|
@@ -17763,7 +17757,7 @@ components:
|
|
|
17763
17757
|
- type
|
|
17764
17758
|
- nodes
|
|
17765
17759
|
- data
|
|
17766
|
-
|
|
17760
|
+
DocumentBlockStepperStep:
|
|
17767
17761
|
type: object
|
|
17768
17762
|
properties:
|
|
17769
17763
|
object:
|
|
@@ -17773,28 +17767,46 @@ components:
|
|
|
17773
17767
|
type:
|
|
17774
17768
|
type: string
|
|
17775
17769
|
enum:
|
|
17776
|
-
-
|
|
17770
|
+
- stepper-step
|
|
17777
17771
|
key:
|
|
17778
17772
|
type: string
|
|
17779
17773
|
nodes:
|
|
17780
17774
|
type: array
|
|
17781
17775
|
items:
|
|
17782
|
-
|
|
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
|
|
17783
17800
|
isVoid:
|
|
17784
17801
|
type: boolean
|
|
17785
17802
|
enum:
|
|
17786
17803
|
- false
|
|
17787
|
-
data:
|
|
17788
|
-
type: object
|
|
17789
|
-
properties:
|
|
17790
|
-
fullWidth:
|
|
17791
|
-
type: boolean
|
|
17792
|
-
additionalProperties: false
|
|
17793
17804
|
required:
|
|
17794
17805
|
- object
|
|
17795
17806
|
- type
|
|
17796
17807
|
- nodes
|
|
17797
|
-
|
|
17808
|
+
- data
|
|
17809
|
+
DocumentBlockListItem:
|
|
17798
17810
|
type: object
|
|
17799
17811
|
properties:
|
|
17800
17812
|
object:
|
|
@@ -17804,7 +17816,7 @@ components:
|
|
|
17804
17816
|
type:
|
|
17805
17817
|
type: string
|
|
17806
17818
|
enum:
|
|
17807
|
-
-
|
|
17819
|
+
- list-item
|
|
17808
17820
|
key:
|
|
17809
17821
|
type: string
|
|
17810
17822
|
nodes:
|
|
@@ -17812,36 +17824,142 @@ components:
|
|
|
17812
17824
|
items:
|
|
17813
17825
|
oneOf:
|
|
17814
17826
|
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
17815
|
-
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
17816
17827
|
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
17817
|
-
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
17818
|
-
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
17819
|
-
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
17820
|
-
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
17821
17828
|
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
17822
|
-
- $ref: "#/components/schemas/DocumentBlockPrompt"
|
|
17823
17829
|
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
17824
17830
|
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
17825
|
-
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
17826
|
-
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
17827
17831
|
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
17828
|
-
- $ref: "#/components/schemas/
|
|
17829
|
-
|
|
17830
|
-
|
|
17831
|
-
|
|
17832
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
17833
|
+
isVoid:
|
|
17834
|
+
type: boolean
|
|
17835
|
+
enum:
|
|
17836
|
+
- false
|
|
17832
17837
|
data:
|
|
17833
17838
|
type: object
|
|
17834
17839
|
properties:
|
|
17835
|
-
|
|
17836
|
-
type:
|
|
17840
|
+
checked:
|
|
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"
|
|
17837
17926
|
isVoid:
|
|
17838
17927
|
type: boolean
|
|
17839
17928
|
enum:
|
|
17840
17929
|
- false
|
|
17930
|
+
data:
|
|
17931
|
+
type: object
|
|
17932
|
+
properties: {}
|
|
17933
|
+
additionalProperties: false
|
|
17841
17934
|
required:
|
|
17842
17935
|
- object
|
|
17843
17936
|
- type
|
|
17844
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
|
|
17845
17963
|
- data
|
|
17846
17964
|
OpenAPIOperationPointer:
|
|
17847
17965
|
type: object
|
|
@@ -18180,7 +18298,12 @@ components:
|
|
|
18180
18298
|
type: object
|
|
18181
18299
|
properties:
|
|
18182
18300
|
date:
|
|
18183
|
-
|
|
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"
|
|
18184
18307
|
tags:
|
|
18185
18308
|
type: array
|
|
18186
18309
|
description: Array of tags. Each tag is id'ed by its slug.
|
|
@@ -19548,13 +19671,14 @@ components:
|
|
|
19548
19671
|
finding:
|
|
19549
19672
|
type: string
|
|
19550
19673
|
deprecated: true
|
|
19551
|
-
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."
|
|
19552
19675
|
required:
|
|
19553
19676
|
- site
|
|
19554
19677
|
- topic
|
|
19555
19678
|
siteFinding:
|
|
19679
|
+
deprecated: true
|
|
19556
19680
|
type: object
|
|
19557
|
-
description:
|
|
19681
|
+
description: First linked site finding. Use `siteFindings` to read all linked findings.
|
|
19558
19682
|
properties:
|
|
19559
19683
|
site:
|
|
19560
19684
|
type: string
|
|
@@ -19565,6 +19689,21 @@ components:
|
|
|
19565
19689
|
required:
|
|
19566
19690
|
- site
|
|
19567
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
|
|
19568
19707
|
styleguide:
|
|
19569
19708
|
type: object
|
|
19570
19709
|
description: |
|
|
@@ -20405,6 +20544,42 @@ components:
|
|
|
20405
20544
|
- ref: architecture.png
|
|
20406
20545
|
name: architecture.png
|
|
20407
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
|
|
20408
20583
|
ChangeRequestContentChange:
|
|
20409
20584
|
oneOf:
|
|
20410
20585
|
- $ref: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
@@ -20412,6 +20587,7 @@ components:
|
|
|
20412
20587
|
- $ref: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
20413
20588
|
- $ref: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
20414
20589
|
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
20590
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertComputedPage"
|
|
20415
20591
|
discriminator:
|
|
20416
20592
|
propertyName: operation
|
|
20417
20593
|
mapping:
|
|
@@ -20420,6 +20596,7 @@ components:
|
|
|
20420
20596
|
delete_page: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
20421
20597
|
revert_page: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
20422
20598
|
insert_files: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
20599
|
+
insert_computed_page: "#/components/schemas/ChangeRequestContentChangeInsertComputedPage"
|
|
20423
20600
|
ChangeRequestContentUpdatePageRef:
|
|
20424
20601
|
type: object
|
|
20425
20602
|
required:
|
|
@@ -20441,7 +20618,7 @@ components:
|
|
|
20441
20618
|
- location
|
|
20442
20619
|
properties:
|
|
20443
20620
|
location:
|
|
20444
|
-
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.
|
|
20445
20622
|
$ref: "#/components/schemas/URL"
|
|
20446
20623
|
ChangeRequestContentUpdateInsertedPage:
|
|
20447
20624
|
type: object
|
|
@@ -32494,6 +32671,30 @@ components:
|
|
|
32494
32671
|
- $ref: "#/components/schemas/AIStreamResponseFollowupSuggestion"
|
|
32495
32672
|
- $ref: "#/components/schemas/AIStreamResponseAttachment"
|
|
32496
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
|
|
32497
32698
|
SiteSettingsScanTopics:
|
|
32498
32699
|
type: string
|
|
32499
32700
|
enum:
|
|
@@ -32534,6 +32735,8 @@ components:
|
|
|
32534
32735
|
$ref: "#/components/schemas/JSONDocument"
|
|
32535
32736
|
required:
|
|
32536
32737
|
- customInstructions
|
|
32738
|
+
brokenLinks:
|
|
32739
|
+
$ref: "#/components/schemas/SiteSettingsBrokenLinks"
|
|
32537
32740
|
required:
|
|
32538
32741
|
- scans
|
|
32539
32742
|
- findings
|
|
@@ -32546,6 +32749,8 @@ components:
|
|
|
32546
32749
|
type: string
|
|
32547
32750
|
enum:
|
|
32548
32751
|
- site-agent-settings
|
|
32752
|
+
brokenLinks:
|
|
32753
|
+
$ref: "#/components/schemas/SiteSettingsBrokenLinks"
|
|
32549
32754
|
updatedAt:
|
|
32550
32755
|
$ref: "#/components/schemas/Timestamp"
|
|
32551
32756
|
updatedBy:
|
|
@@ -32561,6 +32766,7 @@ components:
|
|
|
32561
32766
|
- location
|
|
32562
32767
|
required:
|
|
32563
32768
|
- object
|
|
32769
|
+
- brokenLinks
|
|
32564
32770
|
- urls
|
|
32565
32771
|
- $ref: "#/components/schemas/SiteAgentSettingsInput"
|
|
32566
32772
|
SiteStyleguideRun:
|
|
@@ -36741,6 +36947,55 @@ components:
|
|
|
36741
36947
|
type: array
|
|
36742
36948
|
items:
|
|
36743
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
|
|
36744
36999
|
BillingStatus:
|
|
36745
37000
|
type: string
|
|
36746
37001
|
enum:
|
|
@@ -36780,6 +37035,9 @@ components:
|
|
|
36780
37035
|
- human
|
|
36781
37036
|
- agent
|
|
36782
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.
|
|
36783
37041
|
visitorRegion:
|
|
36784
37042
|
type: string
|
|
36785
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.
|
|
@@ -38581,6 +38839,55 @@ components:
|
|
|
38581
38839
|
application/json:
|
|
38582
38840
|
schema:
|
|
38583
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
|
|
38584
38891
|
headers:
|
|
38585
38892
|
returnPreferenceApplied:
|
|
38586
38893
|
description: Confirms that the requested minimal response preference was applied.
|