@gitbook/api 0.196.0 → 0.197.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 +279 -76
- package/dist/constants.d.ts +5 -1
- package/dist/index.cjs +82 -2
- package/dist/index.js +74 -2
- package/package.json +1 -1
- package/spec/openapi.json +1340 -494
- package/spec/openapi.yaml +591 -98
package/spec/openapi.json
CHANGED
|
@@ -137,6 +137,13 @@
|
|
|
137
137
|
"x-parent": "sites",
|
|
138
138
|
"description": "Section groups let you bundle multiple top-level sections together, offering additional structuring capabilities and simplifying navigation for your readers.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteSectionGroup\" grouped=\"false\" %}\n The SiteSectionGroup object\n{% endopenapi-schemas %}\n"
|
|
139
139
|
},
|
|
140
|
+
{
|
|
141
|
+
"name": "site-external-links",
|
|
142
|
+
"x-page-title": "Site external links",
|
|
143
|
+
"x-page-description": "Manage links to external destinations in a site's navigation.",
|
|
144
|
+
"x-parent": "sites",
|
|
145
|
+
"description": "External links add absolute HTTP or HTTPS destinations alongside sections and groups in a site's navigation.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteExternalLink\" grouped=\"false\" %}\n The SiteExternalLink object\n{% endopenapi-schemas %}\n"
|
|
146
|
+
},
|
|
140
147
|
{
|
|
141
148
|
"name": "site-redirects",
|
|
142
149
|
"x-page-title": "Site redirects",
|
|
@@ -3879,7 +3886,7 @@
|
|
|
3879
3886
|
"post": {
|
|
3880
3887
|
"operationId": "updateChangeRequestContent",
|
|
3881
3888
|
"summary": "Apply a batch of content changes to a change request",
|
|
3882
|
-
"description": "Applies an ordered array of content changes (up to 50) to the change request atomically, creating a single new revision. Changes are applied sequentially; if any single change is invalid the entire batch is rejected and no revision is created. Use this to create, update, move, or delete pages within a change request before merging to live. This is the primary way to programmatically author content in a change request.\nTo put an image or attachment in a page, upload it with an `insert_files` change. Give the file a `ref` and a page inserted in the same batch can reference it as `` or `[File](./<ref>)`, which resolves to the file's ID at apply time regardless of operation order. Uploaded files are also listed as `insertedFiles` when `compat=false`, and a file already in the change request can be referenced directly as `/files/<fileId>`. Inline `data:` URIs in markdown are not ingested and large image blocks are dropped, so upload the bytes with `insert_files` instead.\nWhen page content is provided as markdown, links to other pages are resolved against the change request's current page tree. You can link a page by:\n- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).\n- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`\n for a nested page (e.g. `/pages/guides/getting-started`).\n\n- Markdown file path — the path the page would have in Git: `/pages/<slug>.md` for a page,\n or `/pages/<slug>/README.md` for a page that has child pages. The space's root page is\n `/pages/README.md`.\n\n- Relative markdown link — resolved against the page being edited, e.g. `./sibling.md`,\n `../other.md`, or `../README.md` (the parent page). Folder-style links without an\n extension (e.g. `./section`) resolve to that folder's page.\n\nExternal URLs (`https://…`) are kept as-is. A link that does not match any page in the change request is left as plain text rather than causing the request to fail.\nGitBook normalizes submitted content, so the stored page may differ from what was sent. To help callers reconcile local state with the stored result, the response can list each created and modified page with its resolved ID and a `urls.location` to fetch the page's persisted content.\n\n**Response shape (`compat`)** — this endpoint is changing what it returns:\n- `compat=true` (current default) returns the updated change request, matching the endpoint's\n original behavior.\n\n- `compat=false` returns the updated change request **and** the list of affected pages (see\n the response schema).\n\nThe default is `true` for now to preserve backwards compatibility, but **will switch to `false` in a future release**, at which point the affected-page list is always included. You should pass `compat=false` if you want the new behavior today and avoid unexpected errors when the default flips in the future.",
|
|
3889
|
+
"description": "Applies an ordered array of content changes (up to 50) to the change request atomically, creating a single new revision. Changes are applied sequentially; if any single change is invalid the entire batch is rejected and no revision is created. Use this to create, update, rename, move, or delete pages within a change request before merging to live. This is the primary way to programmatically author content in a change request.\n**Renaming a page** — `update_page` can change a page's `title` and/or its `slug` (the path segment used to build its URL within its current parent). Both fields are independent: to rename only the title without changing the URL, set `title` and omit `slug`; to change the URL without changing the title, set `slug` and omit `title`.\n**Moving a page** — `update_page` can also change a page's parent and/or its position among siblings with `into`/`at`. Set `into` to the new parent's page ID, or `null` to move the page to the root of the tree; omit `into` to leave the parent unchanged. Set `at` to place the page at a specific zero-based index among its new siblings; omit it to leave the position unchanged (when the parent isn't changing) or append at the end (when it is). A page cannot be moved under itself or one of its own descendants. `insert_page`'s `into`/`at` remain the way to place a **new** page at creation time.\nTo put an image or attachment in a page, upload it with an `insert_files` change. Give the file a `ref` and a page inserted in the same batch can reference it as `` or `[File](./<ref>)`, which resolves to the file's ID at apply time regardless of operation order. Uploaded files are also listed as `insertedFiles` when `compat=false`, and a file already in the change request can be referenced directly as `/files/<fileId>`. Inline `data:` URIs in markdown are not ingested and large image blocks are dropped, so upload the bytes with `insert_files` instead.\nWhen page content is provided as markdown, links to other pages are resolved against the change request's current page tree. You can link a page by:\n- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).\n- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`\n for a nested page (e.g. `/pages/guides/getting-started`).\n\n- Markdown file path — the path the page would have in Git: `/pages/<slug>.md` for a page,\n or `/pages/<slug>/README.md` for a page that has child pages. The space's root page is\n `/pages/README.md`.\n\n- Relative markdown link — resolved against the page being edited, e.g. `./sibling.md`,\n `../other.md`, or `../README.md` (the parent page). Folder-style links without an\n extension (e.g. `./section`) resolve to that folder's page.\n\nExternal URLs (`https://…`) are kept as-is. A link that does not match any page in the change request is left as plain text rather than causing the request to fail.\nGitBook normalizes submitted content, so the stored page may differ from what was sent. To help callers reconcile local state with the stored result, the response can list each created and modified page with its resolved ID and a `urls.location` to fetch the page's persisted content.\n\n**Response shape (`compat`)** — this endpoint is changing what it returns:\n- `compat=true` (current default) returns the updated change request, matching the endpoint's\n original behavior.\n\n- `compat=false` returns the updated change request **and** the list of affected pages (see\n the response schema).\n\nThe default is `true` for now to preserve backwards compatibility, but **will switch to `false` in a future release**, at which point the affected-page list is always included. You should pass `compat=false` if you want the new behavior today and avoid unexpected errors when the default flips in the future.",
|
|
3883
3890
|
"x-gitbook-mcp": true,
|
|
3884
3891
|
"tags": [
|
|
3885
3892
|
"change-request-content"
|
|
@@ -6701,6 +6708,8 @@
|
|
|
6701
6708
|
"get": {
|
|
6702
6709
|
"operationId": "listIntegrations",
|
|
6703
6710
|
"summary": "List all public integrations",
|
|
6711
|
+
"description": "Returns a paginated list of the integrations published in the GitBook marketplace. Use this to discover an integration by name, category, or the blocks and content sources it provides, before installing it on an organization, space or site.",
|
|
6712
|
+
"x-gitbook-mcp": true,
|
|
6704
6713
|
"tags": [
|
|
6705
6714
|
"integrations"
|
|
6706
6715
|
],
|
|
@@ -6772,6 +6781,8 @@
|
|
|
6772
6781
|
"get": {
|
|
6773
6782
|
"operationId": "getIntegrationByName",
|
|
6774
6783
|
"summary": "Get an integration by its name",
|
|
6784
|
+
"description": "Returns a single integration by its unique name, including the configuration it expects, the targets it can be installed on, and the permissions it requests. Private integrations are only readable by the organization that owns them.",
|
|
6785
|
+
"x-gitbook-mcp": true,
|
|
6775
6786
|
"tags": [
|
|
6776
6787
|
"integrations"
|
|
6777
6788
|
],
|
|
@@ -6806,6 +6817,11 @@
|
|
|
6806
6817
|
"security": [
|
|
6807
6818
|
{
|
|
6808
6819
|
"user": []
|
|
6820
|
+
},
|
|
6821
|
+
{
|
|
6822
|
+
"oauth": [
|
|
6823
|
+
"integration:publish"
|
|
6824
|
+
]
|
|
6809
6825
|
}
|
|
6810
6826
|
],
|
|
6811
6827
|
"parameters": [
|
|
@@ -6849,6 +6865,11 @@
|
|
|
6849
6865
|
"security": [
|
|
6850
6866
|
{
|
|
6851
6867
|
"user": []
|
|
6868
|
+
},
|
|
6869
|
+
{
|
|
6870
|
+
"oauth": [
|
|
6871
|
+
"integration:delete"
|
|
6872
|
+
]
|
|
6852
6873
|
}
|
|
6853
6874
|
],
|
|
6854
6875
|
"parameters": [
|
|
@@ -6934,12 +6955,19 @@
|
|
|
6934
6955
|
"post": {
|
|
6935
6956
|
"operationId": "installIntegration",
|
|
6936
6957
|
"summary": "Install an integration",
|
|
6958
|
+
"description": "Installs an integration on an organization, creating the account-level installation that space and site installations hang off. Configure it with the update operation, then enable it on individual spaces or sites.",
|
|
6959
|
+
"x-gitbook-mcp": true,
|
|
6937
6960
|
"tags": [
|
|
6938
6961
|
"integrations"
|
|
6939
6962
|
],
|
|
6940
6963
|
"security": [
|
|
6941
6964
|
{
|
|
6942
6965
|
"user": []
|
|
6966
|
+
},
|
|
6967
|
+
{
|
|
6968
|
+
"oauth": [
|
|
6969
|
+
"integration:installations:write"
|
|
6970
|
+
]
|
|
6943
6971
|
}
|
|
6944
6972
|
],
|
|
6945
6973
|
"parameters": [
|
|
@@ -7232,6 +7260,11 @@
|
|
|
7232
7260
|
"security": [
|
|
7233
7261
|
{
|
|
7234
7262
|
"user": []
|
|
7263
|
+
},
|
|
7264
|
+
{
|
|
7265
|
+
"oauth": [
|
|
7266
|
+
"integration:publish"
|
|
7267
|
+
]
|
|
7235
7268
|
}
|
|
7236
7269
|
],
|
|
7237
7270
|
"parameters": [
|
|
@@ -7283,6 +7316,11 @@
|
|
|
7283
7316
|
"security": [
|
|
7284
7317
|
{
|
|
7285
7318
|
"user": []
|
|
7319
|
+
},
|
|
7320
|
+
{
|
|
7321
|
+
"oauth": [
|
|
7322
|
+
"integration:publish"
|
|
7323
|
+
]
|
|
7286
7324
|
}
|
|
7287
7325
|
],
|
|
7288
7326
|
"parameters": [
|
|
@@ -7436,6 +7474,8 @@
|
|
|
7436
7474
|
"get": {
|
|
7437
7475
|
"operationId": "getIntegrationInstallationById",
|
|
7438
7476
|
"summary": "Get an integration installation by its ID",
|
|
7477
|
+
"description": "Returns the organization-level installation of an integration, including its account configuration and how many spaces it manages. The configuration can contain credentials the integration stored for third-party services.",
|
|
7478
|
+
"x-gitbook-mcp": true,
|
|
7439
7479
|
"tags": [
|
|
7440
7480
|
"integrations"
|
|
7441
7481
|
],
|
|
@@ -7448,6 +7488,11 @@
|
|
|
7448
7488
|
},
|
|
7449
7489
|
{
|
|
7450
7490
|
"integration-installation": []
|
|
7491
|
+
},
|
|
7492
|
+
{
|
|
7493
|
+
"oauth": [
|
|
7494
|
+
"integration:installations:read"
|
|
7495
|
+
]
|
|
7451
7496
|
}
|
|
7452
7497
|
],
|
|
7453
7498
|
"parameters": [
|
|
@@ -7477,6 +7522,8 @@
|
|
|
7477
7522
|
"patch": {
|
|
7478
7523
|
"operationId": "updateIntegrationInstallation",
|
|
7479
7524
|
"summary": "Update an integration installation",
|
|
7525
|
+
"description": "Updates the account-level configuration of an installation, and which spaces or sites it applies to.",
|
|
7526
|
+
"x-gitbook-mcp": true,
|
|
7480
7527
|
"tags": [
|
|
7481
7528
|
"integrations"
|
|
7482
7529
|
],
|
|
@@ -7489,6 +7536,11 @@
|
|
|
7489
7536
|
},
|
|
7490
7537
|
{
|
|
7491
7538
|
"integration-installation": []
|
|
7539
|
+
},
|
|
7540
|
+
{
|
|
7541
|
+
"oauth": [
|
|
7542
|
+
"integration:installations:write"
|
|
7543
|
+
]
|
|
7492
7544
|
}
|
|
7493
7545
|
],
|
|
7494
7546
|
"parameters": [
|
|
@@ -7594,252 +7646,26 @@
|
|
|
7594
7646
|
"get": {
|
|
7595
7647
|
"operationId": "listIntegrationInstallationSpaces",
|
|
7596
7648
|
"summary": "List all space integration installations",
|
|
7649
|
+
"description": "Returns a paginated list of the spaces an installation is enabled on, with the configuration of the integration for each of them. Pass extended to get the full space object instead of its ID.",
|
|
7650
|
+
"x-gitbook-mcp": true,
|
|
7597
7651
|
"tags": [
|
|
7598
7652
|
"integrations"
|
|
7599
7653
|
],
|
|
7600
|
-
"
|
|
7601
|
-
{
|
|
7602
|
-
"$ref": "#/components/parameters/integrationName"
|
|
7603
|
-
},
|
|
7604
|
-
{
|
|
7605
|
-
"$ref": "#/components/parameters/installationId"
|
|
7606
|
-
},
|
|
7607
|
-
{
|
|
7608
|
-
"$ref": "#/components/parameters/listPage"
|
|
7609
|
-
},
|
|
7610
|
-
{
|
|
7611
|
-
"$ref": "#/components/parameters/listLimit"
|
|
7612
|
-
},
|
|
7613
|
-
{
|
|
7614
|
-
"name": "extended",
|
|
7615
|
-
"in": "query",
|
|
7616
|
-
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7617
|
-
"schema": {
|
|
7618
|
-
"type": "boolean",
|
|
7619
|
-
"default": false
|
|
7620
|
-
}
|
|
7621
|
-
}
|
|
7622
|
-
],
|
|
7623
|
-
"responses": {
|
|
7624
|
-
"200": {
|
|
7625
|
-
"description": "OK",
|
|
7626
|
-
"content": {
|
|
7627
|
-
"application/json": {
|
|
7628
|
-
"schema": {
|
|
7629
|
-
"allOf": [
|
|
7630
|
-
{
|
|
7631
|
-
"$ref": "#/components/schemas/List"
|
|
7632
|
-
},
|
|
7633
|
-
{
|
|
7634
|
-
"type": "object",
|
|
7635
|
-
"required": [
|
|
7636
|
-
"items"
|
|
7637
|
-
],
|
|
7638
|
-
"properties": {
|
|
7639
|
-
"items": {
|
|
7640
|
-
"type": "array",
|
|
7641
|
-
"items": {
|
|
7642
|
-
"$ref": "#/components/schemas/IntegrationSpaceInstallation"
|
|
7643
|
-
}
|
|
7644
|
-
}
|
|
7645
|
-
}
|
|
7646
|
-
}
|
|
7647
|
-
]
|
|
7648
|
-
}
|
|
7649
|
-
}
|
|
7650
|
-
}
|
|
7651
|
-
}
|
|
7652
|
-
}
|
|
7653
|
-
},
|
|
7654
|
-
"post": {
|
|
7655
|
-
"operationId": "installIntegrationOnSpace",
|
|
7656
|
-
"summary": "Install an integration on a space",
|
|
7657
|
-
"parameters": [
|
|
7658
|
-
{
|
|
7659
|
-
"$ref": "#/components/parameters/integrationName"
|
|
7660
|
-
},
|
|
7661
|
-
{
|
|
7662
|
-
"$ref": "#/components/parameters/installationId"
|
|
7663
|
-
},
|
|
7664
|
-
{
|
|
7665
|
-
"name": "extended",
|
|
7666
|
-
"in": "query",
|
|
7667
|
-
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7668
|
-
"schema": {
|
|
7669
|
-
"type": "boolean",
|
|
7670
|
-
"default": false
|
|
7671
|
-
}
|
|
7672
|
-
}
|
|
7673
|
-
],
|
|
7674
|
-
"requestBody": {
|
|
7675
|
-
"required": true,
|
|
7676
|
-
"content": {
|
|
7677
|
-
"application/json": {
|
|
7678
|
-
"schema": {
|
|
7679
|
-
"type": "object",
|
|
7680
|
-
"required": [
|
|
7681
|
-
"space"
|
|
7682
|
-
],
|
|
7683
|
-
"properties": {
|
|
7684
|
-
"space": {
|
|
7685
|
-
"type": "string",
|
|
7686
|
-
"description": "ID of the space to install the integration on"
|
|
7687
|
-
}
|
|
7688
|
-
}
|
|
7689
|
-
}
|
|
7690
|
-
}
|
|
7691
|
-
}
|
|
7692
|
-
},
|
|
7693
|
-
"responses": {
|
|
7694
|
-
"201": {
|
|
7695
|
-
"headers": {
|
|
7696
|
-
"Location": {
|
|
7697
|
-
"description": "URL for the installed integration",
|
|
7698
|
-
"schema": {
|
|
7699
|
-
"type": "string"
|
|
7700
|
-
}
|
|
7701
|
-
}
|
|
7702
|
-
},
|
|
7703
|
-
"description": "Integration installed successfully on space",
|
|
7704
|
-
"content": {
|
|
7705
|
-
"application/json": {
|
|
7706
|
-
"schema": {
|
|
7707
|
-
"$ref": "#/components/schemas/IntegrationSpaceInstallation"
|
|
7708
|
-
}
|
|
7709
|
-
}
|
|
7710
|
-
}
|
|
7711
|
-
},
|
|
7712
|
-
"404": {
|
|
7713
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
7714
|
-
}
|
|
7715
|
-
}
|
|
7716
|
-
}
|
|
7717
|
-
},
|
|
7718
|
-
"/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}": {
|
|
7719
|
-
"get": {
|
|
7720
|
-
"operationId": "getIntegrationSpaceInstallation",
|
|
7721
|
-
"summary": "Get an integration space installation",
|
|
7722
|
-
"tags": [
|
|
7723
|
-
"integrations"
|
|
7724
|
-
],
|
|
7725
|
-
"parameters": [
|
|
7726
|
-
{
|
|
7727
|
-
"$ref": "#/components/parameters/integrationName"
|
|
7728
|
-
},
|
|
7729
|
-
{
|
|
7730
|
-
"$ref": "#/components/parameters/installationId"
|
|
7731
|
-
},
|
|
7732
|
-
{
|
|
7733
|
-
"$ref": "#/components/parameters/spaceId"
|
|
7734
|
-
},
|
|
7735
|
-
{
|
|
7736
|
-
"name": "extended",
|
|
7737
|
-
"in": "query",
|
|
7738
|
-
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7739
|
-
"schema": {
|
|
7740
|
-
"type": "boolean",
|
|
7741
|
-
"default": false
|
|
7742
|
-
}
|
|
7743
|
-
}
|
|
7744
|
-
],
|
|
7745
|
-
"responses": {
|
|
7746
|
-
"200": {
|
|
7747
|
-
"description": "Integration space installation",
|
|
7748
|
-
"content": {
|
|
7749
|
-
"application/json": {
|
|
7750
|
-
"schema": {
|
|
7751
|
-
"$ref": "#/components/schemas/IntegrationSpaceInstallation"
|
|
7752
|
-
}
|
|
7753
|
-
}
|
|
7754
|
-
}
|
|
7755
|
-
},
|
|
7756
|
-
"404": {
|
|
7757
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
7758
|
-
}
|
|
7759
|
-
}
|
|
7760
|
-
},
|
|
7761
|
-
"patch": {
|
|
7762
|
-
"operationId": "updateIntegrationSpaceInstallation",
|
|
7763
|
-
"summary": "Update an integration space installation",
|
|
7764
|
-
"tags": [
|
|
7765
|
-
"integrations"
|
|
7766
|
-
],
|
|
7767
|
-
"parameters": [
|
|
7768
|
-
{
|
|
7769
|
-
"$ref": "#/components/parameters/integrationName"
|
|
7770
|
-
},
|
|
7771
|
-
{
|
|
7772
|
-
"$ref": "#/components/parameters/installationId"
|
|
7773
|
-
},
|
|
7654
|
+
"security": [
|
|
7774
7655
|
{
|
|
7775
|
-
"
|
|
7656
|
+
"user": []
|
|
7776
7657
|
},
|
|
7777
7658
|
{
|
|
7778
|
-
"
|
|
7779
|
-
"in": "query",
|
|
7780
|
-
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7781
|
-
"schema": {
|
|
7782
|
-
"type": "boolean",
|
|
7783
|
-
"default": false
|
|
7784
|
-
}
|
|
7785
|
-
}
|
|
7786
|
-
],
|
|
7787
|
-
"responses": {
|
|
7788
|
-
"200": {
|
|
7789
|
-
"description": "The space installation has been updated.",
|
|
7790
|
-
"content": {
|
|
7791
|
-
"application/json": {
|
|
7792
|
-
"schema": {
|
|
7793
|
-
"$ref": "#/components/schemas/IntegrationSpaceInstallation"
|
|
7794
|
-
}
|
|
7795
|
-
}
|
|
7796
|
-
}
|
|
7797
|
-
}
|
|
7798
|
-
},
|
|
7799
|
-
"requestBody": {
|
|
7800
|
-
"required": true,
|
|
7801
|
-
"content": {
|
|
7802
|
-
"application/json": {
|
|
7803
|
-
"schema": {
|
|
7804
|
-
"$ref": "#/components/schemas/UpdateIntegrationSpaceInstallation"
|
|
7805
|
-
}
|
|
7806
|
-
}
|
|
7807
|
-
}
|
|
7808
|
-
}
|
|
7809
|
-
},
|
|
7810
|
-
"delete": {
|
|
7811
|
-
"operationId": "uninstallIntegrationFromSpace",
|
|
7812
|
-
"summary": "Uninstall an integration from a space",
|
|
7813
|
-
"tags": [
|
|
7814
|
-
"integrations"
|
|
7815
|
-
],
|
|
7816
|
-
"parameters": [
|
|
7817
|
-
{
|
|
7818
|
-
"$ref": "#/components/parameters/integrationName"
|
|
7659
|
+
"integration": []
|
|
7819
7660
|
},
|
|
7820
7661
|
{
|
|
7821
|
-
"
|
|
7662
|
+
"integration-installation": []
|
|
7822
7663
|
},
|
|
7823
7664
|
{
|
|
7824
|
-
"
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
"responses": {
|
|
7828
|
-
"204": {
|
|
7829
|
-
"description": "The space installation did not exist."
|
|
7830
|
-
},
|
|
7831
|
-
"205": {
|
|
7832
|
-
"description": "The space installation has been deleted."
|
|
7665
|
+
"oauth": [
|
|
7666
|
+
"integration:installations:read"
|
|
7667
|
+
]
|
|
7833
7668
|
}
|
|
7834
|
-
}
|
|
7835
|
-
}
|
|
7836
|
-
},
|
|
7837
|
-
"/integrations/{integrationName}/installations/{installationId}/sites": {
|
|
7838
|
-
"get": {
|
|
7839
|
-
"operationId": "listIntegrationInstallationSites",
|
|
7840
|
-
"summary": "List all site integration installations",
|
|
7841
|
-
"tags": [
|
|
7842
|
-
"integrations"
|
|
7843
7669
|
],
|
|
7844
7670
|
"parameters": [
|
|
7845
7671
|
{
|
|
@@ -7857,7 +7683,323 @@
|
|
|
7857
7683
|
{
|
|
7858
7684
|
"name": "extended",
|
|
7859
7685
|
"in": "query",
|
|
7860
|
-
"description": "If true, returns the
|
|
7686
|
+
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7687
|
+
"schema": {
|
|
7688
|
+
"type": "boolean",
|
|
7689
|
+
"default": false
|
|
7690
|
+
}
|
|
7691
|
+
}
|
|
7692
|
+
],
|
|
7693
|
+
"responses": {
|
|
7694
|
+
"200": {
|
|
7695
|
+
"description": "OK",
|
|
7696
|
+
"content": {
|
|
7697
|
+
"application/json": {
|
|
7698
|
+
"schema": {
|
|
7699
|
+
"allOf": [
|
|
7700
|
+
{
|
|
7701
|
+
"$ref": "#/components/schemas/List"
|
|
7702
|
+
},
|
|
7703
|
+
{
|
|
7704
|
+
"type": "object",
|
|
7705
|
+
"required": [
|
|
7706
|
+
"items"
|
|
7707
|
+
],
|
|
7708
|
+
"properties": {
|
|
7709
|
+
"items": {
|
|
7710
|
+
"type": "array",
|
|
7711
|
+
"items": {
|
|
7712
|
+
"$ref": "#/components/schemas/IntegrationSpaceInstallation"
|
|
7713
|
+
}
|
|
7714
|
+
}
|
|
7715
|
+
}
|
|
7716
|
+
}
|
|
7717
|
+
]
|
|
7718
|
+
}
|
|
7719
|
+
}
|
|
7720
|
+
}
|
|
7721
|
+
}
|
|
7722
|
+
}
|
|
7723
|
+
},
|
|
7724
|
+
"post": {
|
|
7725
|
+
"operationId": "installIntegrationOnSpace",
|
|
7726
|
+
"summary": "Install an integration on a space",
|
|
7727
|
+
"description": "Enables an existing organization-level installation on one space. The organization must already have the integration installed.",
|
|
7728
|
+
"x-gitbook-mcp": true,
|
|
7729
|
+
"security": [
|
|
7730
|
+
{
|
|
7731
|
+
"user": []
|
|
7732
|
+
},
|
|
7733
|
+
{
|
|
7734
|
+
"integration": []
|
|
7735
|
+
},
|
|
7736
|
+
{
|
|
7737
|
+
"integration-installation": []
|
|
7738
|
+
},
|
|
7739
|
+
{
|
|
7740
|
+
"oauth": [
|
|
7741
|
+
"integration:installations:write"
|
|
7742
|
+
]
|
|
7743
|
+
}
|
|
7744
|
+
],
|
|
7745
|
+
"parameters": [
|
|
7746
|
+
{
|
|
7747
|
+
"$ref": "#/components/parameters/integrationName"
|
|
7748
|
+
},
|
|
7749
|
+
{
|
|
7750
|
+
"$ref": "#/components/parameters/installationId"
|
|
7751
|
+
},
|
|
7752
|
+
{
|
|
7753
|
+
"name": "extended",
|
|
7754
|
+
"in": "query",
|
|
7755
|
+
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7756
|
+
"schema": {
|
|
7757
|
+
"type": "boolean",
|
|
7758
|
+
"default": false
|
|
7759
|
+
}
|
|
7760
|
+
}
|
|
7761
|
+
],
|
|
7762
|
+
"requestBody": {
|
|
7763
|
+
"required": true,
|
|
7764
|
+
"content": {
|
|
7765
|
+
"application/json": {
|
|
7766
|
+
"schema": {
|
|
7767
|
+
"type": "object",
|
|
7768
|
+
"required": [
|
|
7769
|
+
"space"
|
|
7770
|
+
],
|
|
7771
|
+
"properties": {
|
|
7772
|
+
"space": {
|
|
7773
|
+
"type": "string",
|
|
7774
|
+
"description": "ID of the space to install the integration on"
|
|
7775
|
+
}
|
|
7776
|
+
}
|
|
7777
|
+
}
|
|
7778
|
+
}
|
|
7779
|
+
}
|
|
7780
|
+
},
|
|
7781
|
+
"responses": {
|
|
7782
|
+
"201": {
|
|
7783
|
+
"headers": {
|
|
7784
|
+
"Location": {
|
|
7785
|
+
"description": "URL for the installed integration",
|
|
7786
|
+
"schema": {
|
|
7787
|
+
"type": "string"
|
|
7788
|
+
}
|
|
7789
|
+
}
|
|
7790
|
+
},
|
|
7791
|
+
"description": "Integration installed successfully on space",
|
|
7792
|
+
"content": {
|
|
7793
|
+
"application/json": {
|
|
7794
|
+
"schema": {
|
|
7795
|
+
"$ref": "#/components/schemas/IntegrationSpaceInstallation"
|
|
7796
|
+
}
|
|
7797
|
+
}
|
|
7798
|
+
}
|
|
7799
|
+
},
|
|
7800
|
+
"404": {
|
|
7801
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
7802
|
+
}
|
|
7803
|
+
}
|
|
7804
|
+
}
|
|
7805
|
+
},
|
|
7806
|
+
"/integrations/{integrationName}/installations/{installationId}/spaces/{spaceId}": {
|
|
7807
|
+
"get": {
|
|
7808
|
+
"operationId": "getIntegrationSpaceInstallation",
|
|
7809
|
+
"summary": "Get an integration space installation",
|
|
7810
|
+
"description": "Returns the installation of an integration on one space, including the configuration of the integration for that space.",
|
|
7811
|
+
"x-gitbook-mcp": true,
|
|
7812
|
+
"tags": [
|
|
7813
|
+
"integrations"
|
|
7814
|
+
],
|
|
7815
|
+
"security": [
|
|
7816
|
+
{
|
|
7817
|
+
"user": []
|
|
7818
|
+
},
|
|
7819
|
+
{
|
|
7820
|
+
"integration": []
|
|
7821
|
+
},
|
|
7822
|
+
{
|
|
7823
|
+
"integration-installation": []
|
|
7824
|
+
},
|
|
7825
|
+
{
|
|
7826
|
+
"oauth": [
|
|
7827
|
+
"integration:installations:read"
|
|
7828
|
+
]
|
|
7829
|
+
}
|
|
7830
|
+
],
|
|
7831
|
+
"parameters": [
|
|
7832
|
+
{
|
|
7833
|
+
"$ref": "#/components/parameters/integrationName"
|
|
7834
|
+
},
|
|
7835
|
+
{
|
|
7836
|
+
"$ref": "#/components/parameters/installationId"
|
|
7837
|
+
},
|
|
7838
|
+
{
|
|
7839
|
+
"$ref": "#/components/parameters/spaceId"
|
|
7840
|
+
},
|
|
7841
|
+
{
|
|
7842
|
+
"name": "extended",
|
|
7843
|
+
"in": "query",
|
|
7844
|
+
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7845
|
+
"schema": {
|
|
7846
|
+
"type": "boolean",
|
|
7847
|
+
"default": false
|
|
7848
|
+
}
|
|
7849
|
+
}
|
|
7850
|
+
],
|
|
7851
|
+
"responses": {
|
|
7852
|
+
"200": {
|
|
7853
|
+
"description": "Integration space installation",
|
|
7854
|
+
"content": {
|
|
7855
|
+
"application/json": {
|
|
7856
|
+
"schema": {
|
|
7857
|
+
"$ref": "#/components/schemas/IntegrationSpaceInstallation"
|
|
7858
|
+
}
|
|
7859
|
+
}
|
|
7860
|
+
}
|
|
7861
|
+
},
|
|
7862
|
+
"404": {
|
|
7863
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
7864
|
+
}
|
|
7865
|
+
}
|
|
7866
|
+
},
|
|
7867
|
+
"patch": {
|
|
7868
|
+
"operationId": "updateIntegrationSpaceInstallation",
|
|
7869
|
+
"summary": "Update an integration space installation",
|
|
7870
|
+
"description": "Updates the configuration of an integration for one space.",
|
|
7871
|
+
"x-gitbook-mcp": true,
|
|
7872
|
+
"tags": [
|
|
7873
|
+
"integrations"
|
|
7874
|
+
],
|
|
7875
|
+
"security": [
|
|
7876
|
+
{
|
|
7877
|
+
"user": []
|
|
7878
|
+
},
|
|
7879
|
+
{
|
|
7880
|
+
"integration": []
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
"integration-installation": []
|
|
7884
|
+
},
|
|
7885
|
+
{
|
|
7886
|
+
"oauth": [
|
|
7887
|
+
"integration:installations:write"
|
|
7888
|
+
]
|
|
7889
|
+
}
|
|
7890
|
+
],
|
|
7891
|
+
"parameters": [
|
|
7892
|
+
{
|
|
7893
|
+
"$ref": "#/components/parameters/integrationName"
|
|
7894
|
+
},
|
|
7895
|
+
{
|
|
7896
|
+
"$ref": "#/components/parameters/installationId"
|
|
7897
|
+
},
|
|
7898
|
+
{
|
|
7899
|
+
"$ref": "#/components/parameters/spaceId"
|
|
7900
|
+
},
|
|
7901
|
+
{
|
|
7902
|
+
"name": "extended",
|
|
7903
|
+
"in": "query",
|
|
7904
|
+
"description": "If true, returns the space object in each items. If false, returns the space ID in each items.",
|
|
7905
|
+
"schema": {
|
|
7906
|
+
"type": "boolean",
|
|
7907
|
+
"default": false
|
|
7908
|
+
}
|
|
7909
|
+
}
|
|
7910
|
+
],
|
|
7911
|
+
"responses": {
|
|
7912
|
+
"200": {
|
|
7913
|
+
"description": "The space installation has been updated.",
|
|
7914
|
+
"content": {
|
|
7915
|
+
"application/json": {
|
|
7916
|
+
"schema": {
|
|
7917
|
+
"$ref": "#/components/schemas/IntegrationSpaceInstallation"
|
|
7918
|
+
}
|
|
7919
|
+
}
|
|
7920
|
+
}
|
|
7921
|
+
}
|
|
7922
|
+
},
|
|
7923
|
+
"requestBody": {
|
|
7924
|
+
"required": true,
|
|
7925
|
+
"content": {
|
|
7926
|
+
"application/json": {
|
|
7927
|
+
"schema": {
|
|
7928
|
+
"$ref": "#/components/schemas/UpdateIntegrationSpaceInstallation"
|
|
7929
|
+
}
|
|
7930
|
+
}
|
|
7931
|
+
}
|
|
7932
|
+
}
|
|
7933
|
+
},
|
|
7934
|
+
"delete": {
|
|
7935
|
+
"operationId": "uninstallIntegrationFromSpace",
|
|
7936
|
+
"summary": "Uninstall an integration from a space",
|
|
7937
|
+
"tags": [
|
|
7938
|
+
"integrations"
|
|
7939
|
+
],
|
|
7940
|
+
"parameters": [
|
|
7941
|
+
{
|
|
7942
|
+
"$ref": "#/components/parameters/integrationName"
|
|
7943
|
+
},
|
|
7944
|
+
{
|
|
7945
|
+
"$ref": "#/components/parameters/installationId"
|
|
7946
|
+
},
|
|
7947
|
+
{
|
|
7948
|
+
"$ref": "#/components/parameters/spaceId"
|
|
7949
|
+
}
|
|
7950
|
+
],
|
|
7951
|
+
"responses": {
|
|
7952
|
+
"204": {
|
|
7953
|
+
"description": "The space installation did not exist."
|
|
7954
|
+
},
|
|
7955
|
+
"205": {
|
|
7956
|
+
"description": "The space installation has been deleted."
|
|
7957
|
+
}
|
|
7958
|
+
}
|
|
7959
|
+
}
|
|
7960
|
+
},
|
|
7961
|
+
"/integrations/{integrationName}/installations/{installationId}/sites": {
|
|
7962
|
+
"get": {
|
|
7963
|
+
"operationId": "listIntegrationInstallationSites",
|
|
7964
|
+
"summary": "List all site integration installations",
|
|
7965
|
+
"description": "Returns a paginated list of the sites an installation is enabled on, with the configuration of the integration for each of them. Pass extended to get the full site object instead of its ID.",
|
|
7966
|
+
"x-gitbook-mcp": true,
|
|
7967
|
+
"tags": [
|
|
7968
|
+
"integrations"
|
|
7969
|
+
],
|
|
7970
|
+
"security": [
|
|
7971
|
+
{
|
|
7972
|
+
"user": []
|
|
7973
|
+
},
|
|
7974
|
+
{
|
|
7975
|
+
"integration": []
|
|
7976
|
+
},
|
|
7977
|
+
{
|
|
7978
|
+
"integration-installation": []
|
|
7979
|
+
},
|
|
7980
|
+
{
|
|
7981
|
+
"oauth": [
|
|
7982
|
+
"integration:installations:read"
|
|
7983
|
+
]
|
|
7984
|
+
}
|
|
7985
|
+
],
|
|
7986
|
+
"parameters": [
|
|
7987
|
+
{
|
|
7988
|
+
"$ref": "#/components/parameters/integrationName"
|
|
7989
|
+
},
|
|
7990
|
+
{
|
|
7991
|
+
"$ref": "#/components/parameters/installationId"
|
|
7992
|
+
},
|
|
7993
|
+
{
|
|
7994
|
+
"$ref": "#/components/parameters/listPage"
|
|
7995
|
+
},
|
|
7996
|
+
{
|
|
7997
|
+
"$ref": "#/components/parameters/listLimit"
|
|
7998
|
+
},
|
|
7999
|
+
{
|
|
8000
|
+
"name": "extended",
|
|
8001
|
+
"in": "query",
|
|
8002
|
+
"description": "If true, returns the site object in each items. If false, returns the site ID in each items.",
|
|
7861
8003
|
"schema": {
|
|
7862
8004
|
"type": "boolean",
|
|
7863
8005
|
"default": false
|
|
@@ -7898,9 +8040,27 @@
|
|
|
7898
8040
|
"post": {
|
|
7899
8041
|
"operationId": "installIntegrationOnSite",
|
|
7900
8042
|
"summary": "Install an integration on a site",
|
|
8043
|
+
"description": "Enables an existing organization-level installation on one site. The organization must already have the integration installed.",
|
|
8044
|
+
"x-gitbook-mcp": true,
|
|
7901
8045
|
"tags": [
|
|
7902
8046
|
"integrations"
|
|
7903
8047
|
],
|
|
8048
|
+
"security": [
|
|
8049
|
+
{
|
|
8050
|
+
"user": []
|
|
8051
|
+
},
|
|
8052
|
+
{
|
|
8053
|
+
"integration": []
|
|
8054
|
+
},
|
|
8055
|
+
{
|
|
8056
|
+
"integration-installation": []
|
|
8057
|
+
},
|
|
8058
|
+
{
|
|
8059
|
+
"oauth": [
|
|
8060
|
+
"integration:installations:write"
|
|
8061
|
+
]
|
|
8062
|
+
}
|
|
8063
|
+
],
|
|
7904
8064
|
"parameters": [
|
|
7905
8065
|
{
|
|
7906
8066
|
"$ref": "#/components/parameters/integrationName"
|
|
@@ -7966,9 +8126,27 @@
|
|
|
7966
8126
|
"get": {
|
|
7967
8127
|
"operationId": "getIntegrationSiteInstallation",
|
|
7968
8128
|
"summary": "Get an integration site installation",
|
|
8129
|
+
"description": "Returns the installation of an integration on one site, including the configuration of the integration for that site.",
|
|
8130
|
+
"x-gitbook-mcp": true,
|
|
7969
8131
|
"tags": [
|
|
7970
8132
|
"integrations"
|
|
7971
8133
|
],
|
|
8134
|
+
"security": [
|
|
8135
|
+
{
|
|
8136
|
+
"user": []
|
|
8137
|
+
},
|
|
8138
|
+
{
|
|
8139
|
+
"integration": []
|
|
8140
|
+
},
|
|
8141
|
+
{
|
|
8142
|
+
"integration-installation": []
|
|
8143
|
+
},
|
|
8144
|
+
{
|
|
8145
|
+
"oauth": [
|
|
8146
|
+
"integration:installations:read"
|
|
8147
|
+
]
|
|
8148
|
+
}
|
|
8149
|
+
],
|
|
7972
8150
|
"parameters": [
|
|
7973
8151
|
{
|
|
7974
8152
|
"$ref": "#/components/parameters/integrationName"
|
|
@@ -8008,9 +8186,27 @@
|
|
|
8008
8186
|
"patch": {
|
|
8009
8187
|
"operationId": "updateIntegrationSiteInstallation",
|
|
8010
8188
|
"summary": "Update an integration site installation",
|
|
8189
|
+
"description": "Updates the configuration of an integration for one site.",
|
|
8190
|
+
"x-gitbook-mcp": true,
|
|
8011
8191
|
"tags": [
|
|
8012
8192
|
"integrations"
|
|
8013
8193
|
],
|
|
8194
|
+
"security": [
|
|
8195
|
+
{
|
|
8196
|
+
"user": []
|
|
8197
|
+
},
|
|
8198
|
+
{
|
|
8199
|
+
"integration": []
|
|
8200
|
+
},
|
|
8201
|
+
{
|
|
8202
|
+
"integration-installation": []
|
|
8203
|
+
},
|
|
8204
|
+
{
|
|
8205
|
+
"oauth": [
|
|
8206
|
+
"integration:installations:write"
|
|
8207
|
+
]
|
|
8208
|
+
}
|
|
8209
|
+
],
|
|
8014
8210
|
"parameters": [
|
|
8015
8211
|
{
|
|
8016
8212
|
"$ref": "#/components/parameters/integrationName"
|
|
@@ -8177,6 +8373,7 @@
|
|
|
8177
8373
|
}
|
|
8178
8374
|
],
|
|
8179
8375
|
"requestBody": {
|
|
8376
|
+
"required": true,
|
|
8180
8377
|
"content": {
|
|
8181
8378
|
"application/json": {
|
|
8182
8379
|
"schema": {
|
|
@@ -10377,9 +10574,27 @@
|
|
|
10377
10574
|
"get": {
|
|
10378
10575
|
"operationId": "listOrganizationIntegrations",
|
|
10379
10576
|
"summary": "List all public integrations along with private ones trusted by the specific org.",
|
|
10577
|
+
"description": "Returns a paginated list of the integrations available to the organization: every publicly published integration plus the private ones the organization owns or is trusted with. Prefer this over the public listing when acting inside an organization.",
|
|
10578
|
+
"x-gitbook-mcp": true,
|
|
10380
10579
|
"tags": [
|
|
10381
10580
|
"integrations"
|
|
10382
10581
|
],
|
|
10582
|
+
"security": [
|
|
10583
|
+
{
|
|
10584
|
+
"user": []
|
|
10585
|
+
},
|
|
10586
|
+
{
|
|
10587
|
+
"integration": []
|
|
10588
|
+
},
|
|
10589
|
+
{
|
|
10590
|
+
"integration-installation": []
|
|
10591
|
+
},
|
|
10592
|
+
{
|
|
10593
|
+
"oauth": [
|
|
10594
|
+
"integration:read"
|
|
10595
|
+
]
|
|
10596
|
+
}
|
|
10597
|
+
],
|
|
10383
10598
|
"parameters": [
|
|
10384
10599
|
{
|
|
10385
10600
|
"$ref": "#/components/parameters/organizationId"
|
|
@@ -10451,12 +10666,19 @@
|
|
|
10451
10666
|
"get": {
|
|
10452
10667
|
"operationId": "getOrganizationIntegrationStatus",
|
|
10453
10668
|
"summary": "Get the status of an integration",
|
|
10669
|
+
"description": "Returns whether an integration is installed for the organization and the status of that installation. Use this for a single integration instead of listing every status.",
|
|
10670
|
+
"x-gitbook-mcp": true,
|
|
10454
10671
|
"tags": [
|
|
10455
10672
|
"integrations"
|
|
10456
10673
|
],
|
|
10457
10674
|
"security": [
|
|
10458
10675
|
{
|
|
10459
10676
|
"user": []
|
|
10677
|
+
},
|
|
10678
|
+
{
|
|
10679
|
+
"oauth": [
|
|
10680
|
+
"integration:read"
|
|
10681
|
+
]
|
|
10460
10682
|
}
|
|
10461
10683
|
],
|
|
10462
10684
|
"parameters": [
|
|
@@ -10560,11 +10782,28 @@
|
|
|
10560
10782
|
"get": {
|
|
10561
10783
|
"operationId": "listOrganizationIntegrationsStatus",
|
|
10562
10784
|
"summary": "List all integration statuses",
|
|
10563
|
-
"description": "Returns integration installations in the organization. Use site or space with the matching target to efficiently scope the result to one resource.",
|
|
10785
|
+
"description": "Returns integration installations in the organization. Use site or space with the matching target to efficiently scope the result to one resource. The target of each installation says whether it is installed on the organization, a space or a site.",
|
|
10786
|
+
"x-gitbook-mcp": true,
|
|
10564
10787
|
"tags": [
|
|
10565
10788
|
"integrations",
|
|
10566
10789
|
"critical"
|
|
10567
10790
|
],
|
|
10791
|
+
"security": [
|
|
10792
|
+
{
|
|
10793
|
+
"user": []
|
|
10794
|
+
},
|
|
10795
|
+
{
|
|
10796
|
+
"integration": []
|
|
10797
|
+
},
|
|
10798
|
+
{
|
|
10799
|
+
"integration-installation": []
|
|
10800
|
+
},
|
|
10801
|
+
{
|
|
10802
|
+
"oauth": [
|
|
10803
|
+
"integration:read"
|
|
10804
|
+
]
|
|
10805
|
+
}
|
|
10806
|
+
],
|
|
10568
10807
|
"parameters": [
|
|
10569
10808
|
{
|
|
10570
10809
|
"$ref": "#/components/parameters/organizationId"
|
|
@@ -13832,8 +14071,8 @@
|
|
|
13832
14071
|
"/orgs/{organizationId}/sites/{siteId}/structure/sort": {
|
|
13833
14072
|
"patch": {
|
|
13834
14073
|
"operationId": "sortSiteStructure",
|
|
13835
|
-
"summary": "Move a site
|
|
13836
|
-
"description": "Reorders
|
|
14074
|
+
"summary": "Move a site structure item to a new position",
|
|
14075
|
+
"description": "Reorders a site space, section, section group, or external link relative to any sibling at the same structure level. Sorting changes sibling order only; move an item between the root and a group through that item's update operation first.",
|
|
13837
14076
|
"x-gitbook-mcp": true,
|
|
13838
14077
|
"x-gitbook-return-preference": true,
|
|
13839
14078
|
"tags": [
|
|
@@ -13861,13 +14100,14 @@
|
|
|
13861
14100
|
}
|
|
13862
14101
|
],
|
|
13863
14102
|
"requestBody": {
|
|
14103
|
+
"required": true,
|
|
13864
14104
|
"content": {
|
|
13865
14105
|
"application/json": {
|
|
13866
14106
|
"schema": {
|
|
13867
14107
|
"type": "object",
|
|
13868
14108
|
"properties": {
|
|
13869
14109
|
"item": {
|
|
13870
|
-
"description": "
|
|
14110
|
+
"description": "Pointer to the site space, section, section group, or external link being moved.",
|
|
13871
14111
|
"$ref": "#/components/schemas/SiteStructureItemPointer"
|
|
13872
14112
|
},
|
|
13873
14113
|
"position": {
|
|
@@ -14355,7 +14595,7 @@
|
|
|
14355
14595
|
"post": {
|
|
14356
14596
|
"operationId": "addSpaceToSite",
|
|
14357
14597
|
"summary": "Add a space to a site as a content source",
|
|
14358
|
-
"description": "
|
|
14598
|
+
"description": "Pass an existing space ID to link it, or pass `null` to create and link a new space. New spaces are blank unless a template is provided.",
|
|
14359
14599
|
"x-gitbook-mcp": true,
|
|
14360
14600
|
"x-gitbook-return-preference": true,
|
|
14361
14601
|
"tags": [
|
|
@@ -14390,8 +14630,19 @@
|
|
|
14390
14630
|
"type": "object",
|
|
14391
14631
|
"properties": {
|
|
14392
14632
|
"spaceId": {
|
|
14393
|
-
"
|
|
14394
|
-
|
|
14633
|
+
"oneOf": [
|
|
14634
|
+
{
|
|
14635
|
+
"type": "string"
|
|
14636
|
+
},
|
|
14637
|
+
{
|
|
14638
|
+
"type": "null"
|
|
14639
|
+
}
|
|
14640
|
+
],
|
|
14641
|
+
"description": "Pass the ID of an existing space or `null` to create a new space."
|
|
14642
|
+
},
|
|
14643
|
+
"template": {
|
|
14644
|
+
"$ref": "#/components/schemas/ApplySpaceTemplate",
|
|
14645
|
+
"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."
|
|
14395
14646
|
},
|
|
14396
14647
|
"sectionId": {
|
|
14397
14648
|
"type": "string",
|
|
@@ -14400,7 +14651,7 @@
|
|
|
14400
14651
|
"draft": {
|
|
14401
14652
|
"type": "boolean",
|
|
14402
14653
|
"default": false,
|
|
14403
|
-
"description": "Whether the site space should be created as draft. Defaults to false."
|
|
14654
|
+
"description": "Whether the site space should be created as draft. Defaults to false. Editors can set this to true to create draft content on a non-empty site. Creating live content and adding the first content require Creator permission."
|
|
14404
14655
|
},
|
|
14405
14656
|
"pageId": {
|
|
14406
14657
|
"oneOf": [
|
|
@@ -14411,10 +14662,11 @@
|
|
|
14411
14662
|
"type": "null"
|
|
14412
14663
|
}
|
|
14413
14664
|
],
|
|
14414
|
-
"description": "Custom home page within
|
|
14665
|
+
"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."
|
|
14415
14666
|
},
|
|
14416
14667
|
"title": {
|
|
14417
|
-
"$ref": "#/components/schemas/SiteTitle"
|
|
14668
|
+
"$ref": "#/components/schemas/SiteTitle",
|
|
14669
|
+
"description": "Site-specific title override for the variant. Also used as the space title when `spaceId` is `null` and no template is provided."
|
|
14418
14670
|
}
|
|
14419
14671
|
},
|
|
14420
14672
|
"required": [
|
|
@@ -14812,8 +15064,313 @@
|
|
|
14812
15064
|
"post": {
|
|
14813
15065
|
"operationId": "addSectionToSite",
|
|
14814
15066
|
"summary": "Add a new navigation section to a site backed by a space",
|
|
14815
|
-
"description": "Creates a new top-level navigation section in the site
|
|
15067
|
+
"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 are blank unless a template is provided.",
|
|
15068
|
+
"x-gitbook-mcp": true,
|
|
15069
|
+
"tags": [
|
|
15070
|
+
"site-sections"
|
|
15071
|
+
],
|
|
15072
|
+
"security": [
|
|
15073
|
+
{
|
|
15074
|
+
"user": []
|
|
15075
|
+
},
|
|
15076
|
+
{
|
|
15077
|
+
"oauth": [
|
|
15078
|
+
"site:write"
|
|
15079
|
+
]
|
|
15080
|
+
}
|
|
15081
|
+
],
|
|
15082
|
+
"parameters": [
|
|
15083
|
+
{
|
|
15084
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15085
|
+
},
|
|
15086
|
+
{
|
|
15087
|
+
"$ref": "#/components/parameters/siteId"
|
|
15088
|
+
}
|
|
15089
|
+
],
|
|
15090
|
+
"requestBody": {
|
|
15091
|
+
"required": true,
|
|
15092
|
+
"content": {
|
|
15093
|
+
"application/json": {
|
|
15094
|
+
"schema": {
|
|
15095
|
+
"type": "object",
|
|
15096
|
+
"properties": {
|
|
15097
|
+
"spaceId": {
|
|
15098
|
+
"oneOf": [
|
|
15099
|
+
{
|
|
15100
|
+
"type": "string"
|
|
15101
|
+
},
|
|
15102
|
+
{
|
|
15103
|
+
"type": "null"
|
|
15104
|
+
}
|
|
15105
|
+
],
|
|
15106
|
+
"description": "Pass the ID of an existing space or pass `null` to create a new space. The space will be added to the section as a site space variant."
|
|
15107
|
+
},
|
|
15108
|
+
"template": {
|
|
15109
|
+
"$ref": "#/components/schemas/ApplySpaceTemplate",
|
|
15110
|
+
"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."
|
|
15111
|
+
},
|
|
15112
|
+
"title": {
|
|
15113
|
+
"oneOf": [
|
|
15114
|
+
{
|
|
15115
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
15116
|
+
},
|
|
15117
|
+
{
|
|
15118
|
+
"type": "null"
|
|
15119
|
+
}
|
|
15120
|
+
],
|
|
15121
|
+
"description": "Section title. Also used as the space title when `spaceId` is `null` and no template is provided."
|
|
15122
|
+
},
|
|
15123
|
+
"icon": {
|
|
15124
|
+
"oneOf": [
|
|
15125
|
+
{
|
|
15126
|
+
"$ref": "#/components/schemas/Icon"
|
|
15127
|
+
},
|
|
15128
|
+
{
|
|
15129
|
+
"type": "null"
|
|
15130
|
+
}
|
|
15131
|
+
]
|
|
15132
|
+
},
|
|
15133
|
+
"draft": {
|
|
15134
|
+
"type": "boolean",
|
|
15135
|
+
"default": false,
|
|
15136
|
+
"description": "Whether the section should be created in draft mode. Defaults to false. Editors can set this to true to create draft content after sections are enabled. Creating live content requires Creator permission; enabling sections requires Admin permission."
|
|
15137
|
+
},
|
|
15138
|
+
"pageId": {
|
|
15139
|
+
"type": "string",
|
|
15140
|
+
"description": "Custom home page within an existing space, rendered at the section's path root instead of the space's default landing page. Providing it when `spaceId` is `null` returns a 400 error."
|
|
15141
|
+
},
|
|
15142
|
+
"siteSectionGroupId": {
|
|
15143
|
+
"type": "string",
|
|
15144
|
+
"description": "ID of the section group to create the section in"
|
|
15145
|
+
}
|
|
15146
|
+
},
|
|
15147
|
+
"required": [
|
|
15148
|
+
"spaceId"
|
|
15149
|
+
]
|
|
15150
|
+
}
|
|
15151
|
+
}
|
|
15152
|
+
}
|
|
15153
|
+
},
|
|
15154
|
+
"responses": {
|
|
15155
|
+
"201": {
|
|
15156
|
+
"description": "Section added to the site",
|
|
15157
|
+
"headers": {
|
|
15158
|
+
"Location": {
|
|
15159
|
+
"description": "API URL for the newly created site-section relationship",
|
|
15160
|
+
"schema": {
|
|
15161
|
+
"type": "string"
|
|
15162
|
+
}
|
|
15163
|
+
}
|
|
15164
|
+
},
|
|
15165
|
+
"content": {
|
|
15166
|
+
"application/json": {
|
|
15167
|
+
"schema": {
|
|
15168
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
15169
|
+
}
|
|
15170
|
+
}
|
|
15171
|
+
}
|
|
15172
|
+
}
|
|
15173
|
+
}
|
|
15174
|
+
},
|
|
15175
|
+
"get": {
|
|
15176
|
+
"operationId": "listSiteSections",
|
|
15177
|
+
"summary": "List all navigation sections in a site",
|
|
15178
|
+
"description": "Returns a paginated list of sections in the site. Each section is a top-level navigation item backed by one or more site spaces. Use this to inspect the current navigation structure, find a section ID before updating it, or check whether sections are in draft or live state.",
|
|
15179
|
+
"x-gitbook-mcp": true,
|
|
15180
|
+
"tags": [
|
|
15181
|
+
"site-sections"
|
|
15182
|
+
],
|
|
15183
|
+
"security": [
|
|
15184
|
+
{
|
|
15185
|
+
"user": []
|
|
15186
|
+
},
|
|
15187
|
+
{
|
|
15188
|
+
"oauth": [
|
|
15189
|
+
"site:read"
|
|
15190
|
+
]
|
|
15191
|
+
}
|
|
15192
|
+
],
|
|
15193
|
+
"parameters": [
|
|
15194
|
+
{
|
|
15195
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15196
|
+
},
|
|
15197
|
+
{
|
|
15198
|
+
"$ref": "#/components/parameters/siteId"
|
|
15199
|
+
},
|
|
15200
|
+
{
|
|
15201
|
+
"$ref": "#/components/parameters/siteShareKey"
|
|
15202
|
+
},
|
|
15203
|
+
{
|
|
15204
|
+
"$ref": "#/components/parameters/listPage"
|
|
15205
|
+
},
|
|
15206
|
+
{
|
|
15207
|
+
"$ref": "#/components/parameters/listLimit"
|
|
15208
|
+
}
|
|
15209
|
+
],
|
|
15210
|
+
"responses": {
|
|
15211
|
+
"200": {
|
|
15212
|
+
"description": "OK",
|
|
15213
|
+
"content": {
|
|
15214
|
+
"application/json": {
|
|
15215
|
+
"schema": {
|
|
15216
|
+
"allOf": [
|
|
15217
|
+
{
|
|
15218
|
+
"$ref": "#/components/schemas/List"
|
|
15219
|
+
},
|
|
15220
|
+
{
|
|
15221
|
+
"type": "object",
|
|
15222
|
+
"required": [
|
|
15223
|
+
"items"
|
|
15224
|
+
],
|
|
15225
|
+
"properties": {
|
|
15226
|
+
"items": {
|
|
15227
|
+
"type": "array",
|
|
15228
|
+
"items": {
|
|
15229
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
15230
|
+
}
|
|
15231
|
+
}
|
|
15232
|
+
}
|
|
15233
|
+
}
|
|
15234
|
+
]
|
|
15235
|
+
}
|
|
15236
|
+
}
|
|
15237
|
+
}
|
|
15238
|
+
}
|
|
15239
|
+
}
|
|
15240
|
+
}
|
|
15241
|
+
},
|
|
15242
|
+
"/orgs/{organizationId}/sites/{siteId}/sections/{siteSectionId}": {
|
|
15243
|
+
"patch": {
|
|
15244
|
+
"operationId": "updateSiteSectionById",
|
|
15245
|
+
"summary": "Update a navigation section in a site",
|
|
15246
|
+
"description": "Updates a navigation section's configuration in the site structure.",
|
|
14816
15247
|
"x-gitbook-mcp": true,
|
|
15248
|
+
"x-gitbook-return-preference": true,
|
|
15249
|
+
"tags": [
|
|
15250
|
+
"site-sections"
|
|
15251
|
+
],
|
|
15252
|
+
"security": [
|
|
15253
|
+
{
|
|
15254
|
+
"user": []
|
|
15255
|
+
},
|
|
15256
|
+
{
|
|
15257
|
+
"oauth": [
|
|
15258
|
+
"site:write"
|
|
15259
|
+
]
|
|
15260
|
+
}
|
|
15261
|
+
],
|
|
15262
|
+
"parameters": [
|
|
15263
|
+
{
|
|
15264
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15265
|
+
},
|
|
15266
|
+
{
|
|
15267
|
+
"$ref": "#/components/parameters/siteId"
|
|
15268
|
+
},
|
|
15269
|
+
{
|
|
15270
|
+
"$ref": "#/components/parameters/siteSectionId"
|
|
15271
|
+
},
|
|
15272
|
+
{
|
|
15273
|
+
"$ref": "#/components/parameters/returnPreference"
|
|
15274
|
+
}
|
|
15275
|
+
],
|
|
15276
|
+
"requestBody": {
|
|
15277
|
+
"required": true,
|
|
15278
|
+
"content": {
|
|
15279
|
+
"application/json": {
|
|
15280
|
+
"schema": {
|
|
15281
|
+
"type": "object",
|
|
15282
|
+
"properties": {
|
|
15283
|
+
"title": {
|
|
15284
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
15285
|
+
},
|
|
15286
|
+
"localizedTitle": {
|
|
15287
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
15288
|
+
},
|
|
15289
|
+
"path": {
|
|
15290
|
+
"$ref": "#/components/schemas/SiteSectionPath"
|
|
15291
|
+
},
|
|
15292
|
+
"defaultSiteSpace": {
|
|
15293
|
+
"type": "string",
|
|
15294
|
+
"description": "ID of the site-space to be used as the default in this section."
|
|
15295
|
+
},
|
|
15296
|
+
"condition": {
|
|
15297
|
+
"description": "Conditional expression used to evaluate whether the site section should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.",
|
|
15298
|
+
"oneOf": [
|
|
15299
|
+
{
|
|
15300
|
+
"$ref": "#/components/schemas/Expression"
|
|
15301
|
+
},
|
|
15302
|
+
{
|
|
15303
|
+
"type": "null"
|
|
15304
|
+
}
|
|
15305
|
+
]
|
|
15306
|
+
},
|
|
15307
|
+
"icon": {
|
|
15308
|
+
"oneOf": [
|
|
15309
|
+
{
|
|
15310
|
+
"$ref": "#/components/schemas/Icon"
|
|
15311
|
+
},
|
|
15312
|
+
{
|
|
15313
|
+
"type": "null"
|
|
15314
|
+
}
|
|
15315
|
+
]
|
|
15316
|
+
},
|
|
15317
|
+
"draft": {
|
|
15318
|
+
"type": "boolean",
|
|
15319
|
+
"description": "Whether the site section should be kept in draft mode. Setting it to true makes the site section draft. Setting it to false makes the site section live."
|
|
15320
|
+
},
|
|
15321
|
+
"description": {
|
|
15322
|
+
"oneOf": [
|
|
15323
|
+
{
|
|
15324
|
+
"$ref": "#/components/schemas/SiteSectionDescription"
|
|
15325
|
+
},
|
|
15326
|
+
{
|
|
15327
|
+
"type": "null"
|
|
15328
|
+
}
|
|
15329
|
+
]
|
|
15330
|
+
},
|
|
15331
|
+
"localizedDescription": {
|
|
15332
|
+
"$ref": "#/components/schemas/LocalizedString256"
|
|
15333
|
+
},
|
|
15334
|
+
"siteSectionGroupId": {
|
|
15335
|
+
"description": "ID of the section group to move the section into. Set to null to move the section to the root of the site.",
|
|
15336
|
+
"oneOf": [
|
|
15337
|
+
{
|
|
15338
|
+
"type": "string"
|
|
15339
|
+
},
|
|
15340
|
+
{
|
|
15341
|
+
"type": "null"
|
|
15342
|
+
}
|
|
15343
|
+
]
|
|
15344
|
+
}
|
|
15345
|
+
}
|
|
15346
|
+
}
|
|
15347
|
+
}
|
|
15348
|
+
}
|
|
15349
|
+
},
|
|
15350
|
+
"responses": {
|
|
15351
|
+
"200": {
|
|
15352
|
+
"description": "OK",
|
|
15353
|
+
"content": {
|
|
15354
|
+
"application/json": {
|
|
15355
|
+
"schema": {
|
|
15356
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
15357
|
+
}
|
|
15358
|
+
}
|
|
15359
|
+
}
|
|
15360
|
+
},
|
|
15361
|
+
"204": {
|
|
15362
|
+
"description": "Site section updated without returning its representation",
|
|
15363
|
+
"headers": {
|
|
15364
|
+
"Preference-Applied": {
|
|
15365
|
+
"$ref": "#/components/headers/returnPreferenceApplied"
|
|
15366
|
+
}
|
|
15367
|
+
}
|
|
15368
|
+
}
|
|
15369
|
+
}
|
|
15370
|
+
},
|
|
15371
|
+
"delete": {
|
|
15372
|
+
"operationId": "deleteSiteSectionById",
|
|
15373
|
+
"summary": "Delete a site section",
|
|
14817
15374
|
"tags": [
|
|
14818
15375
|
"site-sections"
|
|
14819
15376
|
],
|
|
@@ -14827,6 +15384,46 @@
|
|
|
14827
15384
|
]
|
|
14828
15385
|
}
|
|
14829
15386
|
],
|
|
15387
|
+
"parameters": [
|
|
15388
|
+
{
|
|
15389
|
+
"$ref": "#/components/parameters/organizationId"
|
|
15390
|
+
},
|
|
15391
|
+
{
|
|
15392
|
+
"$ref": "#/components/parameters/siteId"
|
|
15393
|
+
},
|
|
15394
|
+
{
|
|
15395
|
+
"$ref": "#/components/parameters/siteSectionId"
|
|
15396
|
+
}
|
|
15397
|
+
],
|
|
15398
|
+
"responses": {
|
|
15399
|
+
"204": {
|
|
15400
|
+
"description": "Site section did not exist"
|
|
15401
|
+
},
|
|
15402
|
+
"205": {
|
|
15403
|
+
"description": "Site section has been deleted"
|
|
15404
|
+
}
|
|
15405
|
+
}
|
|
15406
|
+
}
|
|
15407
|
+
},
|
|
15408
|
+
"/orgs/{organizationId}/sites/{siteId}/external-links": {
|
|
15409
|
+
"post": {
|
|
15410
|
+
"operationId": "addExternalLinkToSite",
|
|
15411
|
+
"summary": "Add an external link to a site's navigation",
|
|
15412
|
+
"description": "Creates an external navigation link at the site root or in a section group. External links require a section-based site structure and cannot be placed inside a section. The destination must be an absolute HTTP or HTTPS URL. Draft links and links whose adaptive condition does not match are omitted from published structure responses. Use the generic structure sort operation after creation to change sibling order.",
|
|
15413
|
+
"x-gitbook-mcp": true,
|
|
15414
|
+
"tags": [
|
|
15415
|
+
"site-external-links"
|
|
15416
|
+
],
|
|
15417
|
+
"security": [
|
|
15418
|
+
{
|
|
15419
|
+
"user": []
|
|
15420
|
+
},
|
|
15421
|
+
{
|
|
15422
|
+
"oauth": [
|
|
15423
|
+
"site:write"
|
|
15424
|
+
]
|
|
15425
|
+
}
|
|
15426
|
+
],
|
|
14830
15427
|
"parameters": [
|
|
14831
15428
|
{
|
|
14832
15429
|
"$ref": "#/components/parameters/organizationId"
|
|
@@ -14842,14 +15439,26 @@
|
|
|
14842
15439
|
"schema": {
|
|
14843
15440
|
"type": "object",
|
|
14844
15441
|
"properties": {
|
|
14845
|
-
"spaceId": {
|
|
14846
|
-
"type": "string",
|
|
14847
|
-
"description": "ID of the space to be added to the section as a site space variant"
|
|
14848
|
-
},
|
|
14849
15442
|
"title": {
|
|
15443
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
15444
|
+
},
|
|
15445
|
+
"localizedTitle": {
|
|
15446
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
15447
|
+
},
|
|
15448
|
+
"description": {
|
|
14850
15449
|
"oneOf": [
|
|
14851
15450
|
{
|
|
14852
|
-
"$ref": "#/components/schemas/
|
|
15451
|
+
"$ref": "#/components/schemas/SiteSectionDescription"
|
|
15452
|
+
},
|
|
15453
|
+
{
|
|
15454
|
+
"type": "null"
|
|
15455
|
+
}
|
|
15456
|
+
]
|
|
15457
|
+
},
|
|
15458
|
+
"localizedDescription": {
|
|
15459
|
+
"oneOf": [
|
|
15460
|
+
{
|
|
15461
|
+
"$ref": "#/components/schemas/LocalizedString256"
|
|
14853
15462
|
},
|
|
14854
15463
|
{
|
|
14855
15464
|
"type": "null"
|
|
@@ -14866,21 +15475,33 @@
|
|
|
14866
15475
|
}
|
|
14867
15476
|
]
|
|
14868
15477
|
},
|
|
14869
|
-
"
|
|
14870
|
-
"
|
|
14871
|
-
"description": "
|
|
15478
|
+
"url": {
|
|
15479
|
+
"$ref": "#/components/schemas/URL",
|
|
15480
|
+
"description": "Absolute HTTP or HTTPS destination URL"
|
|
14872
15481
|
},
|
|
14873
|
-
"
|
|
15482
|
+
"parent": {
|
|
14874
15483
|
"type": "string",
|
|
14875
|
-
"description": "
|
|
15484
|
+
"description": "ID of the section group to create the link in. Omit to place it at the site root."
|
|
14876
15485
|
},
|
|
14877
|
-
"
|
|
14878
|
-
"type": "
|
|
14879
|
-
"description": "
|
|
15486
|
+
"draft": {
|
|
15487
|
+
"type": "boolean",
|
|
15488
|
+
"description": "Whether the external link should be created in draft mode"
|
|
15489
|
+
},
|
|
15490
|
+
"condition": {
|
|
15491
|
+
"oneOf": [
|
|
15492
|
+
{
|
|
15493
|
+
"$ref": "#/components/schemas/Expression"
|
|
15494
|
+
},
|
|
15495
|
+
{
|
|
15496
|
+
"type": "null"
|
|
15497
|
+
}
|
|
15498
|
+
],
|
|
15499
|
+
"description": "Adaptive condition controlling whether visitors see the link"
|
|
14880
15500
|
}
|
|
14881
15501
|
},
|
|
14882
15502
|
"required": [
|
|
14883
|
-
"
|
|
15503
|
+
"title",
|
|
15504
|
+
"url"
|
|
14884
15505
|
]
|
|
14885
15506
|
}
|
|
14886
15507
|
}
|
|
@@ -14888,10 +15509,10 @@
|
|
|
14888
15509
|
},
|
|
14889
15510
|
"responses": {
|
|
14890
15511
|
"201": {
|
|
14891
|
-
"description": "
|
|
15512
|
+
"description": "External link added to the site",
|
|
14892
15513
|
"headers": {
|
|
14893
15514
|
"Location": {
|
|
14894
|
-
"description": "API URL for the newly created
|
|
15515
|
+
"description": "API URL for the newly created external link",
|
|
14895
15516
|
"schema": {
|
|
14896
15517
|
"type": "string"
|
|
14897
15518
|
}
|
|
@@ -14900,89 +15521,30 @@
|
|
|
14900
15521
|
"content": {
|
|
14901
15522
|
"application/json": {
|
|
14902
15523
|
"schema": {
|
|
14903
|
-
"$ref": "#/components/schemas/
|
|
15524
|
+
"$ref": "#/components/schemas/SiteExternalLink"
|
|
14904
15525
|
}
|
|
14905
15526
|
}
|
|
14906
15527
|
}
|
|
14907
|
-
}
|
|
14908
|
-
}
|
|
14909
|
-
},
|
|
14910
|
-
"get": {
|
|
14911
|
-
"operationId": "listSiteSections",
|
|
14912
|
-
"summary": "List all navigation sections in a site",
|
|
14913
|
-
"description": "Returns a paginated list of sections in the site. Each section is a top-level navigation item backed by one or more site spaces. Use this to inspect the current navigation structure, find a section ID before updating it, or check whether sections are in draft or live state.",
|
|
14914
|
-
"x-gitbook-mcp": true,
|
|
14915
|
-
"tags": [
|
|
14916
|
-
"site-sections"
|
|
14917
|
-
],
|
|
14918
|
-
"security": [
|
|
14919
|
-
{
|
|
14920
|
-
"user": []
|
|
14921
|
-
},
|
|
14922
|
-
{
|
|
14923
|
-
"oauth": [
|
|
14924
|
-
"site:read"
|
|
14925
|
-
]
|
|
14926
|
-
}
|
|
14927
|
-
],
|
|
14928
|
-
"parameters": [
|
|
14929
|
-
{
|
|
14930
|
-
"$ref": "#/components/parameters/organizationId"
|
|
14931
|
-
},
|
|
14932
|
-
{
|
|
14933
|
-
"$ref": "#/components/parameters/siteId"
|
|
14934
|
-
},
|
|
14935
|
-
{
|
|
14936
|
-
"$ref": "#/components/parameters/siteShareKey"
|
|
14937
15528
|
},
|
|
14938
|
-
{
|
|
14939
|
-
"
|
|
15529
|
+
"400": {
|
|
15530
|
+
"description": "The site has a simple structure or the parent group is invalid",
|
|
15531
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
14940
15532
|
},
|
|
14941
|
-
{
|
|
14942
|
-
"$ref": "#/components/
|
|
14943
|
-
}
|
|
14944
|
-
],
|
|
14945
|
-
"responses": {
|
|
14946
|
-
"200": {
|
|
14947
|
-
"description": "OK",
|
|
14948
|
-
"content": {
|
|
14949
|
-
"application/json": {
|
|
14950
|
-
"schema": {
|
|
14951
|
-
"allOf": [
|
|
14952
|
-
{
|
|
14953
|
-
"$ref": "#/components/schemas/List"
|
|
14954
|
-
},
|
|
14955
|
-
{
|
|
14956
|
-
"type": "object",
|
|
14957
|
-
"required": [
|
|
14958
|
-
"items"
|
|
14959
|
-
],
|
|
14960
|
-
"properties": {
|
|
14961
|
-
"items": {
|
|
14962
|
-
"type": "array",
|
|
14963
|
-
"items": {
|
|
14964
|
-
"$ref": "#/components/schemas/SiteSection"
|
|
14965
|
-
}
|
|
14966
|
-
}
|
|
14967
|
-
}
|
|
14968
|
-
}
|
|
14969
|
-
]
|
|
14970
|
-
}
|
|
14971
|
-
}
|
|
14972
|
-
}
|
|
15533
|
+
"default": {
|
|
15534
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
14973
15535
|
}
|
|
14974
15536
|
}
|
|
14975
15537
|
}
|
|
14976
15538
|
},
|
|
14977
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
15539
|
+
"/orgs/{organizationId}/sites/{siteId}/external-links/{siteExternalLinkId}": {
|
|
14978
15540
|
"patch": {
|
|
14979
|
-
"operationId": "
|
|
14980
|
-
"summary": "Update
|
|
14981
|
-
"description": "Updates
|
|
15541
|
+
"operationId": "updateSiteExternalLinkById",
|
|
15542
|
+
"summary": "Update an external link in a site's navigation",
|
|
15543
|
+
"description": "Updates an external navigation link. Set parent to a section group ID to move the link into that group, or null to move it to the site root; links cannot be placed inside a section. A changed destination must remain an absolute HTTP or HTTPS URL. Draft and adaptive-condition fields control visibility. Use the generic structure sort operation after changing the parent to adjust the link's sibling order.",
|
|
14982
15544
|
"x-gitbook-mcp": true,
|
|
14983
15545
|
"x-gitbook-return-preference": true,
|
|
14984
15546
|
"tags": [
|
|
14985
|
-
"site-
|
|
15547
|
+
"site-external-links"
|
|
14986
15548
|
],
|
|
14987
15549
|
"security": [
|
|
14988
15550
|
{
|
|
@@ -15002,7 +15564,7 @@
|
|
|
15002
15564
|
"$ref": "#/components/parameters/siteId"
|
|
15003
15565
|
},
|
|
15004
15566
|
{
|
|
15005
|
-
"$ref": "#/components/parameters/
|
|
15567
|
+
"$ref": "#/components/parameters/siteExternalLinkId"
|
|
15006
15568
|
},
|
|
15007
15569
|
{
|
|
15008
15570
|
"$ref": "#/components/parameters/returnPreference"
|
|
@@ -15019,20 +15581,29 @@
|
|
|
15019
15581
|
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
15020
15582
|
},
|
|
15021
15583
|
"localizedTitle": {
|
|
15022
|
-
"
|
|
15023
|
-
|
|
15024
|
-
|
|
15025
|
-
|
|
15584
|
+
"oneOf": [
|
|
15585
|
+
{
|
|
15586
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
15587
|
+
},
|
|
15588
|
+
{
|
|
15589
|
+
"type": "null"
|
|
15590
|
+
}
|
|
15591
|
+
]
|
|
15026
15592
|
},
|
|
15027
|
-
"
|
|
15028
|
-
"
|
|
15029
|
-
|
|
15593
|
+
"description": {
|
|
15594
|
+
"oneOf": [
|
|
15595
|
+
{
|
|
15596
|
+
"$ref": "#/components/schemas/SiteSectionDescription"
|
|
15597
|
+
},
|
|
15598
|
+
{
|
|
15599
|
+
"type": "null"
|
|
15600
|
+
}
|
|
15601
|
+
]
|
|
15030
15602
|
},
|
|
15031
|
-
"
|
|
15032
|
-
"description": "Conditional expression used to evaluate whether the site section should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.",
|
|
15603
|
+
"localizedDescription": {
|
|
15033
15604
|
"oneOf": [
|
|
15034
15605
|
{
|
|
15035
|
-
"$ref": "#/components/schemas/
|
|
15606
|
+
"$ref": "#/components/schemas/LocalizedString256"
|
|
15036
15607
|
},
|
|
15037
15608
|
{
|
|
15038
15609
|
"type": "null"
|
|
@@ -15049,33 +15620,35 @@
|
|
|
15049
15620
|
}
|
|
15050
15621
|
]
|
|
15051
15622
|
},
|
|
15052
|
-
"
|
|
15053
|
-
"
|
|
15054
|
-
"description": "
|
|
15623
|
+
"url": {
|
|
15624
|
+
"$ref": "#/components/schemas/URL",
|
|
15625
|
+
"description": "Absolute HTTP or HTTPS destination URL"
|
|
15055
15626
|
},
|
|
15056
|
-
"
|
|
15627
|
+
"parent": {
|
|
15628
|
+
"description": "ID of the section group to move the link into. Set to null to move it to the site root.",
|
|
15057
15629
|
"oneOf": [
|
|
15058
15630
|
{
|
|
15059
|
-
"
|
|
15631
|
+
"type": "string"
|
|
15060
15632
|
},
|
|
15061
15633
|
{
|
|
15062
15634
|
"type": "null"
|
|
15063
15635
|
}
|
|
15064
15636
|
]
|
|
15065
15637
|
},
|
|
15066
|
-
"
|
|
15067
|
-
"
|
|
15638
|
+
"draft": {
|
|
15639
|
+
"type": "boolean",
|
|
15640
|
+
"description": "Whether the external link should be kept in draft mode"
|
|
15068
15641
|
},
|
|
15069
|
-
"
|
|
15070
|
-
"description": "ID of the section group to move the section into. Set to null to move the section to the root of the site.",
|
|
15642
|
+
"condition": {
|
|
15071
15643
|
"oneOf": [
|
|
15072
15644
|
{
|
|
15073
|
-
"
|
|
15645
|
+
"$ref": "#/components/schemas/Expression"
|
|
15074
15646
|
},
|
|
15075
15647
|
{
|
|
15076
15648
|
"type": "null"
|
|
15077
15649
|
}
|
|
15078
|
-
]
|
|
15650
|
+
],
|
|
15651
|
+
"description": "Adaptive condition controlling whether visitors see the link"
|
|
15079
15652
|
}
|
|
15080
15653
|
}
|
|
15081
15654
|
}
|
|
@@ -15084,30 +15657,42 @@
|
|
|
15084
15657
|
},
|
|
15085
15658
|
"responses": {
|
|
15086
15659
|
"200": {
|
|
15087
|
-
"description": "
|
|
15660
|
+
"description": "External link updated",
|
|
15088
15661
|
"content": {
|
|
15089
15662
|
"application/json": {
|
|
15090
15663
|
"schema": {
|
|
15091
|
-
"$ref": "#/components/schemas/
|
|
15664
|
+
"$ref": "#/components/schemas/SiteExternalLink"
|
|
15092
15665
|
}
|
|
15093
15666
|
}
|
|
15094
15667
|
}
|
|
15095
15668
|
},
|
|
15096
15669
|
"204": {
|
|
15097
|
-
"description": "
|
|
15670
|
+
"description": "External link updated without returning its representation",
|
|
15098
15671
|
"headers": {
|
|
15099
15672
|
"Preference-Applied": {
|
|
15100
15673
|
"$ref": "#/components/headers/returnPreferenceApplied"
|
|
15101
15674
|
}
|
|
15102
15675
|
}
|
|
15676
|
+
},
|
|
15677
|
+
"400": {
|
|
15678
|
+
"description": "The parent group or destination URL is invalid",
|
|
15679
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
15680
|
+
},
|
|
15681
|
+
"404": {
|
|
15682
|
+
"description": "Site or external link not found",
|
|
15683
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
15684
|
+
},
|
|
15685
|
+
"default": {
|
|
15686
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15103
15687
|
}
|
|
15104
15688
|
}
|
|
15105
15689
|
},
|
|
15106
15690
|
"delete": {
|
|
15107
|
-
"operationId": "
|
|
15108
|
-
"summary": "Delete a site
|
|
15691
|
+
"operationId": "deleteSiteExternalLinkById",
|
|
15692
|
+
"summary": "Delete an external link from a site's navigation",
|
|
15693
|
+
"description": "Deletes an external link. This operation is intentionally unavailable to MCP clients.",
|
|
15109
15694
|
"tags": [
|
|
15110
|
-
"site-
|
|
15695
|
+
"site-external-links"
|
|
15111
15696
|
],
|
|
15112
15697
|
"security": [
|
|
15113
15698
|
{
|
|
@@ -15127,15 +15712,22 @@
|
|
|
15127
15712
|
"$ref": "#/components/parameters/siteId"
|
|
15128
15713
|
},
|
|
15129
15714
|
{
|
|
15130
|
-
"$ref": "#/components/parameters/
|
|
15715
|
+
"$ref": "#/components/parameters/siteExternalLinkId"
|
|
15131
15716
|
}
|
|
15132
15717
|
],
|
|
15133
15718
|
"responses": {
|
|
15134
15719
|
"204": {
|
|
15135
|
-
"description": "
|
|
15720
|
+
"description": "External link did not exist"
|
|
15136
15721
|
},
|
|
15137
15722
|
"205": {
|
|
15138
|
-
"description": "
|
|
15723
|
+
"description": "External link has been deleted"
|
|
15724
|
+
},
|
|
15725
|
+
"404": {
|
|
15726
|
+
"description": "Site not found",
|
|
15727
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
15728
|
+
},
|
|
15729
|
+
"default": {
|
|
15730
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
15139
15731
|
}
|
|
15140
15732
|
}
|
|
15141
15733
|
}
|
|
@@ -16905,6 +17497,8 @@
|
|
|
16905
17497
|
"get": {
|
|
16906
17498
|
"operationId": "getSiteTopicById",
|
|
16907
17499
|
"summary": "Get a topic",
|
|
17500
|
+
"description": "Retrieves a single topic of a site by its ID, including its label, its parent topic when it is a subtopic, its summary and usage settings, and its page, record, finding and Ask AI question counts. Use this when you have a topic ID and need the topic's label or its stats.",
|
|
17501
|
+
"x-gitbook-mcp": true,
|
|
16908
17502
|
"tags": [
|
|
16909
17503
|
"site-context"
|
|
16910
17504
|
],
|
|
@@ -19787,7 +20381,7 @@
|
|
|
19787
20381
|
"post": {
|
|
19788
20382
|
"operationId": "createSiteRedirect",
|
|
19789
20383
|
"summary": "Create a URL redirect rule for a site",
|
|
19790
|
-
"description": "Creates a new redirect rule mapping a source path to a destination URL or content reference. Use the bulk upsert endpoint instead when creating many redirects at once.",
|
|
20384
|
+
"description": "Creates a new redirect rule mapping a source path to a destination URL or content reference. Creating a live redirect also resolves open broken-link findings for the same source path. Use the bulk upsert endpoint instead when creating many redirects at once.",
|
|
19791
20385
|
"x-gitbook-mcp": true,
|
|
19792
20386
|
"tags": [
|
|
19793
20387
|
"site-redirects"
|
|
@@ -20173,6 +20767,14 @@
|
|
|
20173
20767
|
"type": "boolean",
|
|
20174
20768
|
"default": false
|
|
20175
20769
|
}
|
|
20770
|
+
},
|
|
20771
|
+
{
|
|
20772
|
+
"name": "orderBy",
|
|
20773
|
+
"in": "query",
|
|
20774
|
+
"description": "Sort redirects by the given field.",
|
|
20775
|
+
"schema": {
|
|
20776
|
+
"$ref": "#/components/schemas/SiteRedirectOrderBy"
|
|
20777
|
+
}
|
|
20176
20778
|
}
|
|
20177
20779
|
],
|
|
20178
20780
|
"responses": {
|
|
@@ -21665,7 +22267,7 @@
|
|
|
21665
22267
|
"patch": {
|
|
21666
22268
|
"operationId": "updateGitSyncInstallationById",
|
|
21667
22269
|
"summary": "Update a Git Sync installation configuration",
|
|
21668
|
-
"description": "Updates the installation configuration, then queues a sync operation using the new settings.\nA `git` priority queues an import from the selected repository and branch into GitBook; a\n`gitbook` priority queues an export from GitBook to the repository. Site imports require a\n`docs.yaml` file at the configured project directory and return a conflict without saving or\nqueuing the sync when the file is missing.\n",
|
|
22270
|
+
"description": "Updates the installation configuration, then queues a sync operation using the new settings.\nA `git` priority queues an import from the selected repository and branch into GitBook; a\n`gitbook` priority queues an export from GitBook to the repository. Site imports require a\n`gitbook-docs.yaml` file at the configured project directory and return a conflict without saving or\nqueuing the sync when the file is missing.\n",
|
|
21669
22271
|
"tags": [
|
|
21670
22272
|
"git"
|
|
21671
22273
|
],
|
|
@@ -21760,11 +22362,11 @@
|
|
|
21760
22362
|
"properties": {
|
|
21761
22363
|
"path": {
|
|
21762
22364
|
"type": "string",
|
|
21763
|
-
"description": "Repository-relative path where `docs.yaml` is required."
|
|
22365
|
+
"description": "Repository-relative path where `gitbook-docs.yaml` is required."
|
|
21764
22366
|
},
|
|
21765
22367
|
"branch": {
|
|
21766
22368
|
"type": "string",
|
|
21767
|
-
"description": "Repository branch where `docs.yaml` is required."
|
|
22369
|
+
"description": "Repository branch where `gitbook-docs.yaml` is required."
|
|
21768
22370
|
},
|
|
21769
22371
|
"prompt": {
|
|
21770
22372
|
"type": "string",
|
|
@@ -22207,6 +22809,11 @@
|
|
|
22207
22809
|
"site:insights:read": "Read site analytics and insights.",
|
|
22208
22810
|
"site:ask": "Ask AI questions across a site's content.",
|
|
22209
22811
|
"site:search": "Search across a site's content.",
|
|
22812
|
+
"integration:read": "Read integrations and where they are installed.",
|
|
22813
|
+
"integration:installations:read": "Read integration installations and their configuration, which can include credentials for third-party services.",
|
|
22814
|
+
"integration:installations:write": "Install and configure integrations on an organization, its spaces and its sites.",
|
|
22815
|
+
"integration:publish": "Publish integrations, which can request their own permissions on your content, and route their events to a development tunnel.",
|
|
22816
|
+
"integration:delete": "Unpublish integrations, permanently deleting them and every installation of them.",
|
|
22210
22817
|
"openapi:read": "Read OpenAPI specifications.",
|
|
22211
22818
|
"openapi:write": "Create, update and delete OpenAPI specifications."
|
|
22212
22819
|
}
|
|
@@ -22816,6 +23423,15 @@
|
|
|
22816
23423
|
"type": "string"
|
|
22817
23424
|
}
|
|
22818
23425
|
},
|
|
23426
|
+
"siteExternalLinkId": {
|
|
23427
|
+
"name": "siteExternalLinkId",
|
|
23428
|
+
"in": "path",
|
|
23429
|
+
"required": true,
|
|
23430
|
+
"description": "The unique ID of the site external link",
|
|
23431
|
+
"schema": {
|
|
23432
|
+
"type": "string"
|
|
23433
|
+
}
|
|
23434
|
+
},
|
|
22819
23435
|
"siteContextRecordId": {
|
|
22820
23436
|
"name": "siteContextRecordId",
|
|
22821
23437
|
"in": "path",
|
|
@@ -23560,6 +24176,10 @@
|
|
|
23560
24176
|
"startedAt"
|
|
23561
24177
|
]
|
|
23562
24178
|
},
|
|
24179
|
+
"operationTimeout": {
|
|
24180
|
+
"type": "integer",
|
|
24181
|
+
"description": "How long an operation is allowed to run before it is terminated (in milliseconds)."
|
|
24182
|
+
},
|
|
23563
24183
|
"updatedAt": {
|
|
23564
24184
|
"description": "When the Git provider details were last updated",
|
|
23565
24185
|
"$ref": "#/components/schemas/Timestamp"
|
|
@@ -31807,7 +32427,7 @@
|
|
|
31807
32427
|
}
|
|
31808
32428
|
},
|
|
31809
32429
|
"ChangeRequestContentChangeUpdatePage": {
|
|
31810
|
-
"description": "Update an existing page. Its document and/or its metadata (title, icon, description, visibility, adaptive-content condition) can be changed
|
|
32430
|
+
"description": "Update an existing page. Its document and/or its metadata (title, icon, description, visibility, adaptive-content condition) can be changed, and it can be moved to a new parent and/or position with `into`/`at`.",
|
|
31811
32431
|
"allOf": [
|
|
31812
32432
|
{
|
|
31813
32433
|
"$ref": "#/components/schemas/RevisionPageUpdate"
|
|
@@ -31832,6 +32452,22 @@
|
|
|
31832
32452
|
"document": {
|
|
31833
32453
|
"description": "New document for the page. When provided as markdown, its frontmatter is read to update the page metadata. Omit to update only the metadata fields.",
|
|
31834
32454
|
"$ref": "#/components/schemas/Document"
|
|
32455
|
+
},
|
|
32456
|
+
"into": {
|
|
32457
|
+
"description": "Move the page to be a child of this page ID. Set to `null` to move it to the root of the page tree. Omit to leave the page's parent unchanged. The target cannot be the page itself or one of its own descendants.",
|
|
32458
|
+
"oneOf": [
|
|
32459
|
+
{
|
|
32460
|
+
"type": "string"
|
|
32461
|
+
},
|
|
32462
|
+
{
|
|
32463
|
+
"type": "null"
|
|
32464
|
+
}
|
|
32465
|
+
]
|
|
32466
|
+
},
|
|
32467
|
+
"at": {
|
|
32468
|
+
"type": "integer",
|
|
32469
|
+
"minimum": 0,
|
|
32470
|
+
"description": "Zero-based index to move the page to among its new siblings (those of `into`, or the root pages when `into` is omitted or `null`). Omit to leave the page's position unchanged when its parent isn't changing, or to append it at the end when its parent is changing."
|
|
31835
32471
|
}
|
|
31836
32472
|
}
|
|
31837
32473
|
}
|
|
@@ -36134,15 +36770,15 @@
|
|
|
36134
36770
|
},
|
|
36135
36771
|
"edit": {
|
|
36136
36772
|
"type": "boolean",
|
|
36137
|
-
"description": "Can the user edit content
|
|
36773
|
+
"description": "Can the user edit content and create draft content in the site."
|
|
36138
36774
|
},
|
|
36139
36775
|
"create": {
|
|
36140
36776
|
"type": "boolean",
|
|
36141
|
-
"description": "Can the user create content
|
|
36777
|
+
"description": "Can the user create draft content, publish content, and manage the site's content structure."
|
|
36142
36778
|
},
|
|
36143
36779
|
"admin": {
|
|
36144
36780
|
"type": "boolean",
|
|
36145
|
-
"description": "Can the user
|
|
36781
|
+
"description": "Can the user manage the site content, settings and publish the site."
|
|
36146
36782
|
},
|
|
36147
36783
|
"installIntegration": {
|
|
36148
36784
|
"type": "boolean",
|
|
@@ -37672,6 +38308,71 @@
|
|
|
37672
38308
|
}
|
|
37673
38309
|
}
|
|
37674
38310
|
},
|
|
38311
|
+
"SiteOnboardingSource": {
|
|
38312
|
+
"type": "string",
|
|
38313
|
+
"description": "Where the user's docs are coming from today.",
|
|
38314
|
+
"enum": [
|
|
38315
|
+
"markdown-in-git",
|
|
38316
|
+
"import",
|
|
38317
|
+
"template"
|
|
38318
|
+
]
|
|
38319
|
+
},
|
|
38320
|
+
"SiteOnboardingAudience": {
|
|
38321
|
+
"type": "string",
|
|
38322
|
+
"description": "Who the user wants to be able to access their site.",
|
|
38323
|
+
"enum": [
|
|
38324
|
+
"public",
|
|
38325
|
+
"mixed",
|
|
38326
|
+
"protected",
|
|
38327
|
+
"internal"
|
|
38328
|
+
]
|
|
38329
|
+
},
|
|
38330
|
+
"SiteOnboardingInterest": {
|
|
38331
|
+
"type": "string",
|
|
38332
|
+
"description": "Something the user is interested in doing with the site.",
|
|
38333
|
+
"enum": [
|
|
38334
|
+
"adaptive-content",
|
|
38335
|
+
"api-docs",
|
|
38336
|
+
"proactive-agent"
|
|
38337
|
+
]
|
|
38338
|
+
},
|
|
38339
|
+
"SiteOnboardingPreferences": {
|
|
38340
|
+
"type": "object",
|
|
38341
|
+
"description": "Preferences collected from the user during site onboarding, used to tailor recommendations and to apply their initial setup choices.",
|
|
38342
|
+
"properties": {
|
|
38343
|
+
"source": {
|
|
38344
|
+
"oneOf": [
|
|
38345
|
+
{
|
|
38346
|
+
"$ref": "#/components/schemas/SiteOnboardingSource"
|
|
38347
|
+
},
|
|
38348
|
+
{
|
|
38349
|
+
"type": "null"
|
|
38350
|
+
}
|
|
38351
|
+
]
|
|
38352
|
+
},
|
|
38353
|
+
"audience": {
|
|
38354
|
+
"oneOf": [
|
|
38355
|
+
{
|
|
38356
|
+
"$ref": "#/components/schemas/SiteOnboardingAudience"
|
|
38357
|
+
},
|
|
38358
|
+
{
|
|
38359
|
+
"type": "null"
|
|
38360
|
+
}
|
|
38361
|
+
]
|
|
38362
|
+
},
|
|
38363
|
+
"interests": {
|
|
38364
|
+
"type": "array",
|
|
38365
|
+
"items": {
|
|
38366
|
+
"$ref": "#/components/schemas/SiteOnboardingInterest"
|
|
38367
|
+
}
|
|
38368
|
+
}
|
|
38369
|
+
},
|
|
38370
|
+
"required": [
|
|
38371
|
+
"source",
|
|
38372
|
+
"audience",
|
|
38373
|
+
"interests"
|
|
38374
|
+
]
|
|
38375
|
+
},
|
|
37675
38376
|
"CreateOrganization": {
|
|
37676
38377
|
"type": "object",
|
|
37677
38378
|
"properties": {
|
|
@@ -37681,11 +38382,9 @@
|
|
|
37681
38382
|
"emailDomains": {
|
|
37682
38383
|
"$ref": "#/components/schemas/OrganizationEmailDomains"
|
|
37683
38384
|
},
|
|
37684
|
-
"
|
|
37685
|
-
"
|
|
37686
|
-
|
|
37687
|
-
"useCase": {
|
|
37688
|
-
"$ref": "#/components/schemas/OrganizationUseCase"
|
|
38385
|
+
"onboardingPreferences": {
|
|
38386
|
+
"description": "Preferences collected from the user during onboarding, to apply to the organization's default site. Only used when `withDefaultSite` is true.",
|
|
38387
|
+
"$ref": "#/components/schemas/SiteOnboardingPreferences"
|
|
37689
38388
|
}
|
|
37690
38389
|
},
|
|
37691
38390
|
"required": [
|
|
@@ -37941,7 +38640,7 @@
|
|
|
37941
38640
|
},
|
|
37942
38641
|
"children": {
|
|
37943
38642
|
"type": "array",
|
|
37944
|
-
"description": "List of all child sections and
|
|
38643
|
+
"description": "List of all child sections, groups, and external links nested under this group",
|
|
37945
38644
|
"items": {
|
|
37946
38645
|
"oneOf": [
|
|
37947
38646
|
{
|
|
@@ -37949,6 +38648,9 @@
|
|
|
37949
38648
|
},
|
|
37950
38649
|
{
|
|
37951
38650
|
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
38651
|
+
},
|
|
38652
|
+
{
|
|
38653
|
+
"$ref": "#/components/schemas/SiteExternalLink"
|
|
37952
38654
|
}
|
|
37953
38655
|
]
|
|
37954
38656
|
}
|
|
@@ -37966,6 +38668,60 @@
|
|
|
37966
38668
|
"children"
|
|
37967
38669
|
]
|
|
37968
38670
|
},
|
|
38671
|
+
"SiteExternalLink": {
|
|
38672
|
+
"type": "object",
|
|
38673
|
+
"properties": {
|
|
38674
|
+
"object": {
|
|
38675
|
+
"type": "string",
|
|
38676
|
+
"description": "The object type, which is always \"site-external-link\"",
|
|
38677
|
+
"enum": [
|
|
38678
|
+
"site-external-link"
|
|
38679
|
+
]
|
|
38680
|
+
},
|
|
38681
|
+
"id": {
|
|
38682
|
+
"type": "string",
|
|
38683
|
+
"description": "Unique identifier of the external link"
|
|
38684
|
+
},
|
|
38685
|
+
"title": {
|
|
38686
|
+
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
38687
|
+
},
|
|
38688
|
+
"localizedTitle": {
|
|
38689
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
38690
|
+
},
|
|
38691
|
+
"description": {
|
|
38692
|
+
"$ref": "#/components/schemas/SiteSectionDescription"
|
|
38693
|
+
},
|
|
38694
|
+
"localizedDescription": {
|
|
38695
|
+
"$ref": "#/components/schemas/LocalizedString256"
|
|
38696
|
+
},
|
|
38697
|
+
"icon": {
|
|
38698
|
+
"$ref": "#/components/schemas/Icon"
|
|
38699
|
+
},
|
|
38700
|
+
"url": {
|
|
38701
|
+
"$ref": "#/components/schemas/URL",
|
|
38702
|
+
"description": "Absolute HTTP or HTTPS URL opened by the external link"
|
|
38703
|
+
},
|
|
38704
|
+
"sectionGroup": {
|
|
38705
|
+
"type": "string",
|
|
38706
|
+
"description": "ID of the section group the external link belongs to. Omitted for a root link."
|
|
38707
|
+
},
|
|
38708
|
+
"draft": {
|
|
38709
|
+
"type": "boolean",
|
|
38710
|
+
"description": "Whether the external link is draft and not live"
|
|
38711
|
+
},
|
|
38712
|
+
"condition": {
|
|
38713
|
+
"description": "Conditional expression used to evaluate whether the external link should be shown to the site's visitor",
|
|
38714
|
+
"$ref": "#/components/schemas/Expression"
|
|
38715
|
+
}
|
|
38716
|
+
},
|
|
38717
|
+
"required": [
|
|
38718
|
+
"object",
|
|
38719
|
+
"id",
|
|
38720
|
+
"title",
|
|
38721
|
+
"url",
|
|
38722
|
+
"draft"
|
|
38723
|
+
]
|
|
38724
|
+
},
|
|
37969
38725
|
"SiteStructure": {
|
|
37970
38726
|
"oneOf": [
|
|
37971
38727
|
{
|
|
@@ -37986,6 +38742,9 @@
|
|
|
37986
38742
|
},
|
|
37987
38743
|
{
|
|
37988
38744
|
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
38745
|
+
},
|
|
38746
|
+
{
|
|
38747
|
+
"$ref": "#/components/schemas/SiteExternalLink"
|
|
37989
38748
|
}
|
|
37990
38749
|
]
|
|
37991
38750
|
}
|
|
@@ -42789,12 +43548,13 @@
|
|
|
42789
43548
|
"enum": [
|
|
42790
43549
|
"site-space",
|
|
42791
43550
|
"site-section",
|
|
42792
|
-
"site-section-group"
|
|
43551
|
+
"site-section-group",
|
|
43552
|
+
"site-external-link"
|
|
42793
43553
|
]
|
|
42794
43554
|
},
|
|
42795
43555
|
"id": {
|
|
42796
43556
|
"type": "string",
|
|
42797
|
-
"description": "Unique identifier for the site structure item (site space, site section
|
|
43557
|
+
"description": "Unique identifier for the site structure item (site space, site section, site section group, or external link)."
|
|
42798
43558
|
}
|
|
42799
43559
|
},
|
|
42800
43560
|
"required": [
|
|
@@ -42804,7 +43564,7 @@
|
|
|
42804
43564
|
},
|
|
42805
43565
|
"SiteStructureItemMovePosition": {
|
|
42806
43566
|
"type": "object",
|
|
42807
|
-
"description": "Position at which to move the site structure item
|
|
43567
|
+
"description": "Position at which to move the site structure item relative to any sibling of the same structure level.",
|
|
42808
43568
|
"properties": {
|
|
42809
43569
|
"before": {
|
|
42810
43570
|
"$ref": "#/components/schemas/SiteStructureItemPointer"
|
|
@@ -42817,7 +43577,7 @@
|
|
|
42817
43577
|
"SiteStructureItem": {
|
|
42818
43578
|
"title": "Site Structure Item",
|
|
42819
43579
|
"type": "object",
|
|
42820
|
-
"description": "A site structure item can be a site space, a site section
|
|
43580
|
+
"description": "A site structure item can be a site space, a site section, a site section group, or an external link.\nIt is used to represent the structure of a site.\n",
|
|
42821
43581
|
"oneOf": [
|
|
42822
43582
|
{
|
|
42823
43583
|
"$ref": "#/components/schemas/SiteSpace"
|
|
@@ -42827,6 +43587,9 @@
|
|
|
42827
43587
|
},
|
|
42828
43588
|
{
|
|
42829
43589
|
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
43590
|
+
},
|
|
43591
|
+
{
|
|
43592
|
+
"$ref": "#/components/schemas/SiteExternalLink"
|
|
42830
43593
|
}
|
|
42831
43594
|
]
|
|
42832
43595
|
},
|
|
@@ -43440,12 +44203,13 @@
|
|
|
43440
44203
|
},
|
|
43441
44204
|
"SiteFindingType": {
|
|
43442
44205
|
"type": "string",
|
|
43443
|
-
"description": "Classification of a site finding:\n - Outdated content: The content was correct but is no longer up to date with external context and may be misleading or incorrect.\n - Incorrect content: The content is factually wrong or misleading, leading users astray regardless of whether it was ever correct.\n - Content gap: The content is missing important information that should be present to answer user questions effectively.\n - Broken link: A URL on the site returns a 404, and can be resolved by creating a redirect or a new page.\n - Other: Any other type of finding not covered by the above categories.",
|
|
44206
|
+
"description": "Classification of a site finding:\n - Outdated content: The content was correct but is no longer up to date with external context and may be misleading or incorrect.\n - Incorrect content: The content is factually wrong or misleading, leading users astray regardless of whether it was ever correct.\n - Content gap: The content is missing important information that should be present to answer user questions effectively.\n - Broken link: A URL on the site returns a 404, and can be resolved by creating a redirect or a new page.\n - Outbound link error: An external URL used by the site's content fails to resolve, and can be fixed by replacing or removing the link.\n - Other: Any other type of finding not covered by the above categories.",
|
|
43444
44207
|
"enum": [
|
|
43445
44208
|
"content-outdated",
|
|
43446
44209
|
"content-incorrect",
|
|
43447
44210
|
"content-gap",
|
|
43448
44211
|
"broken-link",
|
|
44212
|
+
"outbound-link-error",
|
|
43449
44213
|
"other"
|
|
43450
44214
|
]
|
|
43451
44215
|
},
|
|
@@ -43491,102 +44255,6 @@
|
|
|
43491
44255
|
"maxLength": 512,
|
|
43492
44256
|
"pattern": "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$"
|
|
43493
44257
|
},
|
|
43494
|
-
"SiteRedirectDestinationSiteSection": {
|
|
43495
|
-
"type": "object",
|
|
43496
|
-
"properties": {
|
|
43497
|
-
"kind": {
|
|
43498
|
-
"type": "string",
|
|
43499
|
-
"enum": [
|
|
43500
|
-
"site-section"
|
|
43501
|
-
]
|
|
43502
|
-
},
|
|
43503
|
-
"siteSectionId": {
|
|
43504
|
-
"type": "string",
|
|
43505
|
-
"description": "Unique identifier for the site section to redirect to"
|
|
43506
|
-
}
|
|
43507
|
-
},
|
|
43508
|
-
"required": [
|
|
43509
|
-
"kind",
|
|
43510
|
-
"siteSectionId"
|
|
43511
|
-
]
|
|
43512
|
-
},
|
|
43513
|
-
"SiteRedirectDestinationSiteSpace": {
|
|
43514
|
-
"type": "object",
|
|
43515
|
-
"properties": {
|
|
43516
|
-
"kind": {
|
|
43517
|
-
"type": "string",
|
|
43518
|
-
"enum": [
|
|
43519
|
-
"site-space"
|
|
43520
|
-
]
|
|
43521
|
-
},
|
|
43522
|
-
"siteSpaceId": {
|
|
43523
|
-
"type": "string",
|
|
43524
|
-
"description": "Unique identifier for the site space to redirect to"
|
|
43525
|
-
}
|
|
43526
|
-
},
|
|
43527
|
-
"required": [
|
|
43528
|
-
"kind",
|
|
43529
|
-
"siteSpaceId"
|
|
43530
|
-
]
|
|
43531
|
-
},
|
|
43532
|
-
"SiteRedirectDestinationPage": {
|
|
43533
|
-
"type": "object",
|
|
43534
|
-
"properties": {
|
|
43535
|
-
"kind": {
|
|
43536
|
-
"type": "string",
|
|
43537
|
-
"enum": [
|
|
43538
|
-
"site-page"
|
|
43539
|
-
]
|
|
43540
|
-
},
|
|
43541
|
-
"siteSpaceId": {
|
|
43542
|
-
"type": "string",
|
|
43543
|
-
"description": "Unique identifier for the site space of the page"
|
|
43544
|
-
},
|
|
43545
|
-
"pageId": {
|
|
43546
|
-
"type": "string",
|
|
43547
|
-
"description": "Unique identifier for the page within the site space to redirect to"
|
|
43548
|
-
}
|
|
43549
|
-
},
|
|
43550
|
-
"required": [
|
|
43551
|
-
"kind",
|
|
43552
|
-
"siteSpaceId",
|
|
43553
|
-
"pageId"
|
|
43554
|
-
]
|
|
43555
|
-
},
|
|
43556
|
-
"SiteRedirectDestinationExternal": {
|
|
43557
|
-
"type": "object",
|
|
43558
|
-
"properties": {
|
|
43559
|
-
"kind": {
|
|
43560
|
-
"type": "string",
|
|
43561
|
-
"enum": [
|
|
43562
|
-
"external"
|
|
43563
|
-
]
|
|
43564
|
-
},
|
|
43565
|
-
"url": {
|
|
43566
|
-
"$ref": "#/components/schemas/URL"
|
|
43567
|
-
}
|
|
43568
|
-
},
|
|
43569
|
-
"required": [
|
|
43570
|
-
"kind",
|
|
43571
|
-
"url"
|
|
43572
|
-
]
|
|
43573
|
-
},
|
|
43574
|
-
"SiteRedirectDestination": {
|
|
43575
|
-
"oneOf": [
|
|
43576
|
-
{
|
|
43577
|
-
"$ref": "#/components/schemas/SiteRedirectDestinationSiteSection"
|
|
43578
|
-
},
|
|
43579
|
-
{
|
|
43580
|
-
"$ref": "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
43581
|
-
},
|
|
43582
|
-
{
|
|
43583
|
-
"$ref": "#/components/schemas/SiteRedirectDestinationPage"
|
|
43584
|
-
},
|
|
43585
|
-
{
|
|
43586
|
-
"$ref": "#/components/schemas/SiteRedirectDestinationExternal"
|
|
43587
|
-
}
|
|
43588
|
-
]
|
|
43589
|
-
},
|
|
43590
44258
|
"SiteRedirectInputDestinationPath": {
|
|
43591
44259
|
"type": "object",
|
|
43592
44260
|
"properties": {
|
|
@@ -43611,16 +44279,6 @@
|
|
|
43611
44279
|
"path"
|
|
43612
44280
|
]
|
|
43613
44281
|
},
|
|
43614
|
-
"SiteRedirectInputDestination": {
|
|
43615
|
-
"oneOf": [
|
|
43616
|
-
{
|
|
43617
|
-
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
43618
|
-
},
|
|
43619
|
-
{
|
|
43620
|
-
"$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
43621
|
-
}
|
|
43622
|
-
]
|
|
43623
|
-
},
|
|
43624
44282
|
"SiteFindingBrokenLinkAction": {
|
|
43625
44283
|
"type": "object",
|
|
43626
44284
|
"description": "Suggested fix for a broken-link finding, shaped as the input for `createSiteRedirect` so it can be applied directly. Absent when the finding has no directly applicable redirect (for example, a suggestion to create a new page).",
|
|
@@ -43633,7 +44291,7 @@
|
|
|
43633
44291
|
"description": "Whether the redirect appends the wildcard-matched suffix of the source path to the destination."
|
|
43634
44292
|
},
|
|
43635
44293
|
"destination": {
|
|
43636
|
-
"$ref": "#/components/schemas/
|
|
44294
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
43637
44295
|
}
|
|
43638
44296
|
},
|
|
43639
44297
|
"required": [
|
|
@@ -43641,6 +44299,54 @@
|
|
|
43641
44299
|
"destination"
|
|
43642
44300
|
]
|
|
43643
44301
|
},
|
|
44302
|
+
"SiteFindingOutboundLink": {
|
|
44303
|
+
"type": "object",
|
|
44304
|
+
"description": "Details of an `outbound-link-error` finding: the failing external URL and the observed failure, sourced from the site's outbound link checks. Absent on findings of any other type.",
|
|
44305
|
+
"properties": {
|
|
44306
|
+
"url": {
|
|
44307
|
+
"type": "string",
|
|
44308
|
+
"format": "uri",
|
|
44309
|
+
"description": "The external URL that fails to resolve."
|
|
44310
|
+
},
|
|
44311
|
+
"status": {
|
|
44312
|
+
"type": "string",
|
|
44313
|
+
"description": "Current health status of the URL for this site.",
|
|
44314
|
+
"enum": [
|
|
44315
|
+
"pending",
|
|
44316
|
+
"healthy",
|
|
44317
|
+
"suspect",
|
|
44318
|
+
"failed",
|
|
44319
|
+
"recovering",
|
|
44320
|
+
"canceled"
|
|
44321
|
+
]
|
|
44322
|
+
},
|
|
44323
|
+
"failureKind": {
|
|
44324
|
+
"type": "string",
|
|
44325
|
+
"description": "Classification of the confirmed failure.",
|
|
44326
|
+
"enum": [
|
|
44327
|
+
"client-error",
|
|
44328
|
+
"server-error",
|
|
44329
|
+
"redirect",
|
|
44330
|
+
"dns",
|
|
44331
|
+
"tls",
|
|
44332
|
+
"connection",
|
|
44333
|
+
"timeout"
|
|
44334
|
+
]
|
|
44335
|
+
},
|
|
44336
|
+
"httpStatus": {
|
|
44337
|
+
"type": "number",
|
|
44338
|
+
"description": "HTTP status code of the last observation, when one was received."
|
|
44339
|
+
},
|
|
44340
|
+
"checkedAt": {
|
|
44341
|
+
"$ref": "#/components/schemas/Timestamp",
|
|
44342
|
+
"description": "When the URL was last observed over HTTP."
|
|
44343
|
+
}
|
|
44344
|
+
},
|
|
44345
|
+
"required": [
|
|
44346
|
+
"url",
|
|
44347
|
+
"status"
|
|
44348
|
+
]
|
|
44349
|
+
},
|
|
43644
44350
|
"SiteFinding": {
|
|
43645
44351
|
"type": "object",
|
|
43646
44352
|
"properties": {
|
|
@@ -43703,6 +44409,9 @@
|
|
|
43703
44409
|
"brokenLinkAction": {
|
|
43704
44410
|
"$ref": "#/components/schemas/SiteFindingBrokenLinkAction"
|
|
43705
44411
|
},
|
|
44412
|
+
"outboundLink": {
|
|
44413
|
+
"$ref": "#/components/schemas/SiteFindingOutboundLink"
|
|
44414
|
+
},
|
|
43706
44415
|
"createdAt": {
|
|
43707
44416
|
"$ref": "#/components/schemas/Timestamp"
|
|
43708
44417
|
},
|
|
@@ -49261,7 +49970,17 @@
|
|
|
49261
49970
|
"vscode",
|
|
49262
49971
|
"claude-code",
|
|
49263
49972
|
"codex",
|
|
49264
|
-
"opencode"
|
|
49973
|
+
"opencode",
|
|
49974
|
+
"gptbot",
|
|
49975
|
+
"claudebot",
|
|
49976
|
+
"meta-fetcher",
|
|
49977
|
+
"grok",
|
|
49978
|
+
"github-copilot",
|
|
49979
|
+
"meta-webindexer",
|
|
49980
|
+
"meta-ads",
|
|
49981
|
+
"duckassist",
|
|
49982
|
+
"amzn-searchbot",
|
|
49983
|
+
"amzn-user"
|
|
49265
49984
|
]
|
|
49266
49985
|
},
|
|
49267
49986
|
"SiteInsightsPageNotFoundType": {
|
|
@@ -50625,6 +51344,112 @@
|
|
|
50625
51344
|
}
|
|
50626
51345
|
}
|
|
50627
51346
|
},
|
|
51347
|
+
"SiteRedirectOrderBy": {
|
|
51348
|
+
"type": "string",
|
|
51349
|
+
"enum": [
|
|
51350
|
+
"createdAt",
|
|
51351
|
+
"updatedAt",
|
|
51352
|
+
"source"
|
|
51353
|
+
],
|
|
51354
|
+
"default": "createdAt",
|
|
51355
|
+
"description": "The field to sort site redirects by. `createdAt` returns the most recently created redirects first. `updatedAt` returns the most recently updated redirects first (falling back to the creation date for redirects never updated). `source` returns redirects sorted alphabetically by source path. Defaults to 'createdAt'."
|
|
51356
|
+
},
|
|
51357
|
+
"SiteRedirectDestinationSiteSection": {
|
|
51358
|
+
"type": "object",
|
|
51359
|
+
"properties": {
|
|
51360
|
+
"kind": {
|
|
51361
|
+
"type": "string",
|
|
51362
|
+
"enum": [
|
|
51363
|
+
"site-section"
|
|
51364
|
+
]
|
|
51365
|
+
},
|
|
51366
|
+
"siteSectionId": {
|
|
51367
|
+
"type": "string",
|
|
51368
|
+
"description": "Unique identifier for the site section to redirect to"
|
|
51369
|
+
}
|
|
51370
|
+
},
|
|
51371
|
+
"required": [
|
|
51372
|
+
"kind",
|
|
51373
|
+
"siteSectionId"
|
|
51374
|
+
]
|
|
51375
|
+
},
|
|
51376
|
+
"SiteRedirectDestinationSiteSpace": {
|
|
51377
|
+
"type": "object",
|
|
51378
|
+
"properties": {
|
|
51379
|
+
"kind": {
|
|
51380
|
+
"type": "string",
|
|
51381
|
+
"enum": [
|
|
51382
|
+
"site-space"
|
|
51383
|
+
]
|
|
51384
|
+
},
|
|
51385
|
+
"siteSpaceId": {
|
|
51386
|
+
"type": "string",
|
|
51387
|
+
"description": "Unique identifier for the site space to redirect to"
|
|
51388
|
+
}
|
|
51389
|
+
},
|
|
51390
|
+
"required": [
|
|
51391
|
+
"kind",
|
|
51392
|
+
"siteSpaceId"
|
|
51393
|
+
]
|
|
51394
|
+
},
|
|
51395
|
+
"SiteRedirectDestinationPage": {
|
|
51396
|
+
"type": "object",
|
|
51397
|
+
"properties": {
|
|
51398
|
+
"kind": {
|
|
51399
|
+
"type": "string",
|
|
51400
|
+
"enum": [
|
|
51401
|
+
"site-page"
|
|
51402
|
+
]
|
|
51403
|
+
},
|
|
51404
|
+
"siteSpaceId": {
|
|
51405
|
+
"type": "string",
|
|
51406
|
+
"description": "Unique identifier for the site space of the page"
|
|
51407
|
+
},
|
|
51408
|
+
"pageId": {
|
|
51409
|
+
"type": "string",
|
|
51410
|
+
"description": "Unique identifier for the page within the site space to redirect to"
|
|
51411
|
+
}
|
|
51412
|
+
},
|
|
51413
|
+
"required": [
|
|
51414
|
+
"kind",
|
|
51415
|
+
"siteSpaceId",
|
|
51416
|
+
"pageId"
|
|
51417
|
+
]
|
|
51418
|
+
},
|
|
51419
|
+
"SiteRedirectDestinationExternal": {
|
|
51420
|
+
"type": "object",
|
|
51421
|
+
"properties": {
|
|
51422
|
+
"kind": {
|
|
51423
|
+
"type": "string",
|
|
51424
|
+
"enum": [
|
|
51425
|
+
"external"
|
|
51426
|
+
]
|
|
51427
|
+
},
|
|
51428
|
+
"url": {
|
|
51429
|
+
"$ref": "#/components/schemas/URL"
|
|
51430
|
+
}
|
|
51431
|
+
},
|
|
51432
|
+
"required": [
|
|
51433
|
+
"kind",
|
|
51434
|
+
"url"
|
|
51435
|
+
]
|
|
51436
|
+
},
|
|
51437
|
+
"SiteRedirectDestination": {
|
|
51438
|
+
"oneOf": [
|
|
51439
|
+
{
|
|
51440
|
+
"$ref": "#/components/schemas/SiteRedirectDestinationSiteSection"
|
|
51441
|
+
},
|
|
51442
|
+
{
|
|
51443
|
+
"$ref": "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
51444
|
+
},
|
|
51445
|
+
{
|
|
51446
|
+
"$ref": "#/components/schemas/SiteRedirectDestinationPage"
|
|
51447
|
+
},
|
|
51448
|
+
{
|
|
51449
|
+
"$ref": "#/components/schemas/SiteRedirectDestinationExternal"
|
|
51450
|
+
}
|
|
51451
|
+
]
|
|
51452
|
+
},
|
|
50628
51453
|
"SiteRedirect": {
|
|
50629
51454
|
"type": "object",
|
|
50630
51455
|
"properties": {
|
|
@@ -50651,6 +51476,16 @@
|
|
|
50651
51476
|
},
|
|
50652
51477
|
"destination": {
|
|
50653
51478
|
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
51479
|
+
},
|
|
51480
|
+
"createdAt": {
|
|
51481
|
+
"type": "string",
|
|
51482
|
+
"format": "date-time",
|
|
51483
|
+
"description": "When the redirect was created."
|
|
51484
|
+
},
|
|
51485
|
+
"updatedAt": {
|
|
51486
|
+
"type": "string",
|
|
51487
|
+
"format": "date-time",
|
|
51488
|
+
"description": "When the redirect was last updated. Absent if never updated since creation."
|
|
50654
51489
|
}
|
|
50655
51490
|
},
|
|
50656
51491
|
"required": [
|
|
@@ -50659,7 +51494,18 @@
|
|
|
50659
51494
|
"source",
|
|
50660
51495
|
"draft",
|
|
50661
51496
|
"captureWildcard",
|
|
50662
|
-
"destination"
|
|
51497
|
+
"destination",
|
|
51498
|
+
"createdAt"
|
|
51499
|
+
]
|
|
51500
|
+
},
|
|
51501
|
+
"SiteRedirectInputDestination": {
|
|
51502
|
+
"oneOf": [
|
|
51503
|
+
{
|
|
51504
|
+
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
51505
|
+
},
|
|
51506
|
+
{
|
|
51507
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
51508
|
+
}
|
|
50663
51509
|
]
|
|
50664
51510
|
},
|
|
50665
51511
|
"SiteMcpServerName": {
|
|
@@ -53079,7 +53925,7 @@
|
|
|
53079
53925
|
},
|
|
53080
53926
|
"GitSyncSiteConfig": {
|
|
53081
53927
|
"type": "object",
|
|
53082
|
-
"description": "Schema for a site `docs.yaml` file — the canonical contract for what\ncan be authored in Git Sync to drive a site's structure.\n\nThe file lives at the root of the site's project directory in the synced\nrepository. It names the site and maps the repository's content directories\nonto the site's navigation.\n",
|
|
53928
|
+
"description": "Schema for a site `gitbook-docs.yaml` file — the canonical contract for what\ncan be authored in Git Sync to drive a site's structure.\n\nThe file lives at the root of the site's project directory in the synced\nrepository. It names the site and maps the repository's content directories\nonto the site's navigation.\n",
|
|
53083
53929
|
"properties": {
|
|
53084
53930
|
"$schema": {
|
|
53085
53931
|
"type": "string",
|