@gitbook/api 0.140.0 → 0.142.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 +33 -6
- package/dist/index.cjs +9 -7
- package/dist/index.js +8 -6
- package/package.json +1 -1
- package/spec/openapi.json +66 -27
- package/spec/openapi.yaml +45 -20
package/dist/client.d.ts
CHANGED
|
@@ -1836,9 +1836,18 @@ export declare enum BillingTrialStatus {
|
|
|
1836
1836
|
Ended = "ended",
|
|
1837
1837
|
Expired = "expired"
|
|
1838
1838
|
}
|
|
1839
|
-
|
|
1840
|
-
|
|
1839
|
+
/** Source for an organization block */
|
|
1840
|
+
export declare enum BlockSource {
|
|
1841
|
+
Backoffice = "backoffice",
|
|
1842
|
+
External = "external",
|
|
1843
|
+
Internal = "internal"
|
|
1841
1844
|
}
|
|
1845
|
+
/**
|
|
1846
|
+
* A short description giving context on the reason for the block.
|
|
1847
|
+
* @minLength 1
|
|
1848
|
+
* @maxLength 255
|
|
1849
|
+
*/
|
|
1850
|
+
export type BlockReason = string;
|
|
1842
1851
|
export interface Organization {
|
|
1843
1852
|
/** Type of Object, always equals to "organization" */
|
|
1844
1853
|
object: 'organization';
|
|
@@ -1895,7 +1904,10 @@ export interface Organization {
|
|
|
1895
1904
|
customHostname?: string;
|
|
1896
1905
|
/** If the organization is blocked, information about the block will appear here */
|
|
1897
1906
|
blocked?: {
|
|
1898
|
-
|
|
1907
|
+
/** Source for an organization block */
|
|
1908
|
+
source?: BlockSource;
|
|
1909
|
+
/** A short description giving context on the reason for the block. */
|
|
1910
|
+
reason: BlockReason;
|
|
1899
1911
|
};
|
|
1900
1912
|
/**
|
|
1901
1913
|
* Deprecated. Always true. All organizations are on new trials.
|
|
@@ -2080,7 +2092,7 @@ export interface OpenAPIErrorObject {
|
|
|
2080
2092
|
/** Description of the error. */
|
|
2081
2093
|
message: string;
|
|
2082
2094
|
/** Unique code of the error. */
|
|
2083
|
-
|
|
2095
|
+
code?: string;
|
|
2084
2096
|
}
|
|
2085
2097
|
export interface OpenAPISpec {
|
|
2086
2098
|
/** The object type, which is always "openapi-spec" */
|
|
@@ -3926,8 +3938,15 @@ export interface SiteSectionGroup {
|
|
|
3926
3938
|
id: string;
|
|
3927
3939
|
/** Title of the site section group */
|
|
3928
3940
|
title: SiteSectionGroupTitle;
|
|
3929
|
-
/**
|
|
3941
|
+
/**
|
|
3942
|
+
* List of site section ids that are members of the group. Use `children` instead.
|
|
3943
|
+
* @deprecated
|
|
3944
|
+
*/
|
|
3930
3945
|
sections: SiteSection[];
|
|
3946
|
+
/** ID of the parent section group this group belongs to */
|
|
3947
|
+
sectionGroup?: string;
|
|
3948
|
+
/** List of all child sections and groups nested under this group */
|
|
3949
|
+
children: (SiteSection | SiteSectionGroup)[];
|
|
3931
3950
|
/** Name of the icon */
|
|
3932
3951
|
icon?: Icon;
|
|
3933
3952
|
}
|
|
@@ -5218,6 +5237,8 @@ export interface SiteCustomizationSettings {
|
|
|
5218
5237
|
externalAI: boolean;
|
|
5219
5238
|
/** Whether the copy and open the markdown version of the page should be available in the page menu. */
|
|
5220
5239
|
markdown: boolean;
|
|
5240
|
+
/** Whether an action to connect to the docs using the MCP server should be available in the page menu. */
|
|
5241
|
+
mcp: boolean;
|
|
5221
5242
|
};
|
|
5222
5243
|
externalLinks: {
|
|
5223
5244
|
/**
|
|
@@ -6388,6 +6409,8 @@ export interface UserBackOfficeInfo {
|
|
|
6388
6409
|
/** The context to send when blocking/unblocking */
|
|
6389
6410
|
export interface BlockContext {
|
|
6390
6411
|
block: boolean;
|
|
6412
|
+
/** A short description giving context on the reason for the block. */
|
|
6413
|
+
reason?: BlockReason;
|
|
6391
6414
|
}
|
|
6392
6415
|
/** The GitBook User impersonation info. */
|
|
6393
6416
|
export interface UserImpersonationInfo {
|
|
@@ -11759,7 +11782,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11759
11782
|
*/
|
|
11760
11783
|
visibility?: SiteVisibility;
|
|
11761
11784
|
/** ID of spaces to be added to the site */
|
|
11762
|
-
spaces?: string[]
|
|
11785
|
+
spaces?: string[];
|
|
11763
11786
|
}, params?: RequestParams) => Promise<HttpResponse<Site, any>>;
|
|
11764
11787
|
/**
|
|
11765
11788
|
* No description
|
|
@@ -12237,6 +12260,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12237
12260
|
icon?: Icon | null;
|
|
12238
12261
|
/** IDs of the sections to be added to the section group */
|
|
12239
12262
|
sections?: string[];
|
|
12263
|
+
/** ID of the parent section group to nest this group under. If not provided, the section group will be added at the root of the site. */
|
|
12264
|
+
parent?: string;
|
|
12240
12265
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
12241
12266
|
/**
|
|
12242
12267
|
* No description
|
|
@@ -12839,6 +12864,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12839
12864
|
* @max 1000
|
|
12840
12865
|
*/
|
|
12841
12866
|
limit?: number;
|
|
12867
|
+
/** Search for a redirect by path */
|
|
12868
|
+
search?: string;
|
|
12842
12869
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
12843
12870
|
items: SiteRedirect[];
|
|
12844
12871
|
}, any>>;
|
package/dist/index.cjs
CHANGED
|
@@ -190,6 +190,7 @@ __export(src_exports, {
|
|
|
190
190
|
BillingProduct: () => BillingProduct,
|
|
191
191
|
BillingSwitchAction: () => BillingSwitchAction,
|
|
192
192
|
BillingTrialStatus: () => BillingTrialStatus,
|
|
193
|
+
BlockSource: () => BlockSource,
|
|
193
194
|
CardsImageObjectFit: () => CardsImageObjectFit,
|
|
194
195
|
ChangeRequestReviewStatus: () => ChangeRequestReviewStatus,
|
|
195
196
|
ChangeRequestStatus: () => ChangeRequestStatus,
|
|
@@ -240,7 +241,6 @@ __export(src_exports, {
|
|
|
240
241
|
OpenAPISpecProcessingErrorCode: () => OpenAPISpecProcessingErrorCode,
|
|
241
242
|
OpenAPISpecProcessingState: () => OpenAPISpecProcessingState,
|
|
242
243
|
OpenAPISpecVisibility: () => OpenAPISpecVisibility,
|
|
243
|
-
OrganizationBlockReason: () => OrganizationBlockReason,
|
|
244
244
|
OrganizationCommunityType: () => OrganizationCommunityType,
|
|
245
245
|
OrganizationType: () => OrganizationType,
|
|
246
246
|
OrganizationUseCase: () => OrganizationUseCase,
|
|
@@ -282,7 +282,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
282
282
|
|
|
283
283
|
// package.json
|
|
284
284
|
var name = "@gitbook/api";
|
|
285
|
-
var version = "0.
|
|
285
|
+
var version = "0.142.0";
|
|
286
286
|
|
|
287
287
|
// src/client.ts
|
|
288
288
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -547,10 +547,12 @@ var BillingTrialStatus = /* @__PURE__ */ ((BillingTrialStatus2) => {
|
|
|
547
547
|
BillingTrialStatus2["Expired"] = "expired";
|
|
548
548
|
return BillingTrialStatus2;
|
|
549
549
|
})(BillingTrialStatus || {});
|
|
550
|
-
var
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
550
|
+
var BlockSource = /* @__PURE__ */ ((BlockSource2) => {
|
|
551
|
+
BlockSource2["Backoffice"] = "backoffice";
|
|
552
|
+
BlockSource2["External"] = "external";
|
|
553
|
+
BlockSource2["Internal"] = "internal";
|
|
554
|
+
return BlockSource2;
|
|
555
|
+
})(BlockSource || {});
|
|
554
556
|
var OpenAPISpecProcessingState = /* @__PURE__ */ ((OpenAPISpecProcessingState2) => {
|
|
555
557
|
OpenAPISpecProcessingState2["Pending"] = "pending";
|
|
556
558
|
OpenAPISpecProcessingState2["Progress"] = "progress";
|
|
@@ -3856,6 +3858,7 @@ var GitBookAPI = class extends Api {
|
|
|
3856
3858
|
BillingProduct,
|
|
3857
3859
|
BillingSwitchAction,
|
|
3858
3860
|
BillingTrialStatus,
|
|
3861
|
+
BlockSource,
|
|
3859
3862
|
CardsImageObjectFit,
|
|
3860
3863
|
ChangeRequestReviewStatus,
|
|
3861
3864
|
ChangeRequestStatus,
|
|
@@ -3906,7 +3909,6 @@ var GitBookAPI = class extends Api {
|
|
|
3906
3909
|
OpenAPISpecProcessingErrorCode,
|
|
3907
3910
|
OpenAPISpecProcessingState,
|
|
3908
3911
|
OpenAPISpecVisibility,
|
|
3909
|
-
OrganizationBlockReason,
|
|
3910
3912
|
OrganizationCommunityType,
|
|
3911
3913
|
OrganizationType,
|
|
3912
3914
|
OrganizationUseCase,
|
package/dist/index.js
CHANGED
|
@@ -172,7 +172,7 @@ var require_node = __commonJS({
|
|
|
172
172
|
|
|
173
173
|
// package.json
|
|
174
174
|
var name = "@gitbook/api";
|
|
175
|
-
var version = "0.
|
|
175
|
+
var version = "0.142.0";
|
|
176
176
|
|
|
177
177
|
// src/client.ts
|
|
178
178
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -437,10 +437,12 @@ var BillingTrialStatus = /* @__PURE__ */ ((BillingTrialStatus2) => {
|
|
|
437
437
|
BillingTrialStatus2["Expired"] = "expired";
|
|
438
438
|
return BillingTrialStatus2;
|
|
439
439
|
})(BillingTrialStatus || {});
|
|
440
|
-
var
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
440
|
+
var BlockSource = /* @__PURE__ */ ((BlockSource2) => {
|
|
441
|
+
BlockSource2["Backoffice"] = "backoffice";
|
|
442
|
+
BlockSource2["External"] = "external";
|
|
443
|
+
BlockSource2["Internal"] = "internal";
|
|
444
|
+
return BlockSource2;
|
|
445
|
+
})(BlockSource || {});
|
|
444
446
|
var OpenAPISpecProcessingState = /* @__PURE__ */ ((OpenAPISpecProcessingState2) => {
|
|
445
447
|
OpenAPISpecProcessingState2["Pending"] = "pending";
|
|
446
448
|
OpenAPISpecProcessingState2["Progress"] = "progress";
|
|
@@ -3745,6 +3747,7 @@ export {
|
|
|
3745
3747
|
BillingProduct,
|
|
3746
3748
|
BillingSwitchAction,
|
|
3747
3749
|
BillingTrialStatus,
|
|
3750
|
+
BlockSource,
|
|
3748
3751
|
CardsImageObjectFit,
|
|
3749
3752
|
ChangeRequestReviewStatus,
|
|
3750
3753
|
ChangeRequestStatus,
|
|
@@ -3795,7 +3798,6 @@ export {
|
|
|
3795
3798
|
OpenAPISpecProcessingErrorCode,
|
|
3796
3799
|
OpenAPISpecProcessingState,
|
|
3797
3800
|
OpenAPISpecVisibility,
|
|
3798
|
-
OrganizationBlockReason,
|
|
3799
3801
|
OrganizationCommunityType,
|
|
3800
3802
|
OrganizationType,
|
|
3801
3803
|
OrganizationUseCase,
|
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"x-page-icon": "language",
|
|
300
300
|
"x-page-title": "Translations",
|
|
301
301
|
"x-page-description": "Configure multi-language support and translation options for your documentation.",
|
|
302
|
-
"description": "The Translations API provides ways to localize your content into various languages. It supports custom strings, default language settings, and more.\n
|
|
302
|
+
"description": "The Translations API provides ways to localize your content into various languages. It supports custom strings, default language settings, and more.\n"
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
305
|
"name": "translation-languages",
|
|
@@ -11983,23 +11983,11 @@
|
|
|
11983
11983
|
"$ref": "#/components/schemas/SiteVisibility"
|
|
11984
11984
|
},
|
|
11985
11985
|
"spaces": {
|
|
11986
|
-
"
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
"type": "string"
|
|
11992
|
-
}
|
|
11993
|
-
},
|
|
11994
|
-
{
|
|
11995
|
-
"type": "string",
|
|
11996
|
-
"description": "Create a new space associated to the site",
|
|
11997
|
-
"enum": [
|
|
11998
|
-
"sample",
|
|
11999
|
-
"empty"
|
|
12000
|
-
]
|
|
12001
|
-
}
|
|
12002
|
-
]
|
|
11986
|
+
"type": "array",
|
|
11987
|
+
"description": "ID of spaces to be added to the site",
|
|
11988
|
+
"items": {
|
|
11989
|
+
"type": "string"
|
|
11990
|
+
}
|
|
12003
11991
|
}
|
|
12004
11992
|
}
|
|
12005
11993
|
}
|
|
@@ -13364,6 +13352,10 @@
|
|
|
13364
13352
|
"type": "string"
|
|
13365
13353
|
},
|
|
13366
13354
|
"description": "IDs of the sections to be added to the section group"
|
|
13355
|
+
},
|
|
13356
|
+
"parent": {
|
|
13357
|
+
"type": "string",
|
|
13358
|
+
"description": "ID of the parent section group to nest this group under. If not provided, the section group will be added at the root of the site."
|
|
13367
13359
|
}
|
|
13368
13360
|
},
|
|
13369
13361
|
"required": [
|
|
@@ -15558,6 +15550,14 @@
|
|
|
15558
15550
|
},
|
|
15559
15551
|
{
|
|
15560
15552
|
"$ref": "#/components/parameters/listLimit"
|
|
15553
|
+
},
|
|
15554
|
+
{
|
|
15555
|
+
"name": "search",
|
|
15556
|
+
"in": "query",
|
|
15557
|
+
"description": "Search for a redirect by path",
|
|
15558
|
+
"schema": {
|
|
15559
|
+
"type": "string"
|
|
15560
|
+
}
|
|
15561
15561
|
}
|
|
15562
15562
|
],
|
|
15563
15563
|
"responses": {
|
|
@@ -24177,12 +24177,21 @@
|
|
|
24177
24177
|
"expired"
|
|
24178
24178
|
]
|
|
24179
24179
|
},
|
|
24180
|
-
"
|
|
24180
|
+
"BlockSource": {
|
|
24181
24181
|
"type": "string",
|
|
24182
|
+
"description": "Source for an organization block",
|
|
24182
24183
|
"enum": [
|
|
24183
|
-
"
|
|
24184
|
+
"backoffice",
|
|
24185
|
+
"external",
|
|
24186
|
+
"internal"
|
|
24184
24187
|
]
|
|
24185
24188
|
},
|
|
24189
|
+
"BlockReason": {
|
|
24190
|
+
"type": "string",
|
|
24191
|
+
"description": "A short description giving context on the reason for the block.",
|
|
24192
|
+
"minLength": 1,
|
|
24193
|
+
"maxLength": 255
|
|
24194
|
+
},
|
|
24186
24195
|
"Organization": {
|
|
24187
24196
|
"type": "object",
|
|
24188
24197
|
"properties": {
|
|
@@ -24300,8 +24309,11 @@
|
|
|
24300
24309
|
"type": "object",
|
|
24301
24310
|
"description": "If the organization is blocked, information about the block will appear here",
|
|
24302
24311
|
"properties": {
|
|
24312
|
+
"source": {
|
|
24313
|
+
"$ref": "#/components/schemas/BlockSource"
|
|
24314
|
+
},
|
|
24303
24315
|
"reason": {
|
|
24304
|
-
"$ref": "#/components/schemas/
|
|
24316
|
+
"$ref": "#/components/schemas/BlockReason"
|
|
24305
24317
|
}
|
|
24306
24318
|
},
|
|
24307
24319
|
"required": [
|
|
@@ -24829,14 +24841,13 @@
|
|
|
24829
24841
|
"type": "string",
|
|
24830
24842
|
"description": "Description of the error."
|
|
24831
24843
|
},
|
|
24832
|
-
"
|
|
24844
|
+
"code": {
|
|
24833
24845
|
"type": "string",
|
|
24834
24846
|
"description": "Unique code of the error."
|
|
24835
24847
|
}
|
|
24836
24848
|
},
|
|
24837
24849
|
"required": [
|
|
24838
|
-
"message"
|
|
24839
|
-
"code"
|
|
24850
|
+
"message"
|
|
24840
24851
|
]
|
|
24841
24852
|
},
|
|
24842
24853
|
"OpenAPISpec": {
|
|
@@ -30311,11 +30322,30 @@
|
|
|
30311
30322
|
},
|
|
30312
30323
|
"sections": {
|
|
30313
30324
|
"type": "array",
|
|
30314
|
-
"
|
|
30325
|
+
"deprecated": true,
|
|
30326
|
+
"description": "List of site section ids that are members of the group. Use `children` instead.",
|
|
30315
30327
|
"items": {
|
|
30316
30328
|
"$ref": "#/components/schemas/SiteSection"
|
|
30317
30329
|
}
|
|
30318
30330
|
},
|
|
30331
|
+
"sectionGroup": {
|
|
30332
|
+
"type": "string",
|
|
30333
|
+
"description": "ID of the parent section group this group belongs to"
|
|
30334
|
+
},
|
|
30335
|
+
"children": {
|
|
30336
|
+
"type": "array",
|
|
30337
|
+
"description": "List of all child sections and groups nested under this group",
|
|
30338
|
+
"items": {
|
|
30339
|
+
"oneOf": [
|
|
30340
|
+
{
|
|
30341
|
+
"$ref": "#/components/schemas/SiteSection"
|
|
30342
|
+
},
|
|
30343
|
+
{
|
|
30344
|
+
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
30345
|
+
}
|
|
30346
|
+
]
|
|
30347
|
+
}
|
|
30348
|
+
},
|
|
30319
30349
|
"icon": {
|
|
30320
30350
|
"$ref": "#/components/schemas/Icon"
|
|
30321
30351
|
}
|
|
@@ -30324,7 +30354,8 @@
|
|
|
30324
30354
|
"object",
|
|
30325
30355
|
"id",
|
|
30326
30356
|
"title",
|
|
30327
|
-
"sections"
|
|
30357
|
+
"sections",
|
|
30358
|
+
"children"
|
|
30328
30359
|
]
|
|
30329
30360
|
},
|
|
30330
30361
|
"SiteStructure": {
|
|
@@ -33816,11 +33847,16 @@
|
|
|
33816
33847
|
"markdown": {
|
|
33817
33848
|
"type": "boolean",
|
|
33818
33849
|
"description": "Whether the copy and open the markdown version of the page should be available in the page menu."
|
|
33850
|
+
},
|
|
33851
|
+
"mcp": {
|
|
33852
|
+
"type": "boolean",
|
|
33853
|
+
"description": "Whether an action to connect to the docs using the MCP server should be available in the page menu."
|
|
33819
33854
|
}
|
|
33820
33855
|
},
|
|
33821
33856
|
"required": [
|
|
33822
33857
|
"externalAI",
|
|
33823
|
-
"markdown"
|
|
33858
|
+
"markdown",
|
|
33859
|
+
"mcp"
|
|
33824
33860
|
]
|
|
33825
33861
|
},
|
|
33826
33862
|
"externalLinks": {
|
|
@@ -38395,6 +38431,9 @@
|
|
|
38395
38431
|
"properties": {
|
|
38396
38432
|
"block": {
|
|
38397
38433
|
"type": "boolean"
|
|
38434
|
+
},
|
|
38435
|
+
"reason": {
|
|
38436
|
+
"$ref": "#/components/schemas/BlockReason"
|
|
38398
38437
|
}
|
|
38399
38438
|
},
|
|
38400
38439
|
"required": [
|
package/spec/openapi.yaml
CHANGED
|
@@ -315,10 +315,6 @@ tags:
|
|
|
315
315
|
x-page-description: Configure multi-language support and translation options for your documentation.
|
|
316
316
|
description: |
|
|
317
317
|
The Translations API provides ways to localize your content into various languages. It supports custom strings, default language settings, and more.
|
|
318
|
-
|
|
319
|
-
{% openapi-schemas spec="gitbook" schemas="TranslationSettings" grouped="false" %}
|
|
320
|
-
The TranslationSettings object
|
|
321
|
-
{% endopenapi-schemas %}
|
|
322
318
|
- name: translation-languages
|
|
323
319
|
x-page-title: Translations languages
|
|
324
320
|
x-page-description: Manage the individual language configurations for your docs translation setup.
|
|
@@ -6819,16 +6815,10 @@ paths:
|
|
|
6819
6815
|
visibility:
|
|
6820
6816
|
$ref: "#/components/schemas/SiteVisibility"
|
|
6821
6817
|
spaces:
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
type: string
|
|
6827
|
-
- type: string
|
|
6828
|
-
description: Create a new space associated to the site
|
|
6829
|
-
enum:
|
|
6830
|
-
- sample
|
|
6831
|
-
- empty
|
|
6818
|
+
type: array
|
|
6819
|
+
description: ID of spaces to be added to the site
|
|
6820
|
+
items:
|
|
6821
|
+
type: string
|
|
6832
6822
|
responses:
|
|
6833
6823
|
"201":
|
|
6834
6824
|
description: Site created
|
|
@@ -7585,6 +7575,9 @@ paths:
|
|
|
7585
7575
|
items:
|
|
7586
7576
|
type: string
|
|
7587
7577
|
description: IDs of the sections to be added to the section group
|
|
7578
|
+
parent:
|
|
7579
|
+
type: string
|
|
7580
|
+
description: ID of the parent section group to nest this group under. If not provided, the section group will be added at the root of the site.
|
|
7588
7581
|
required:
|
|
7589
7582
|
- title
|
|
7590
7583
|
responses:
|
|
@@ -8808,6 +8801,11 @@ paths:
|
|
|
8808
8801
|
- $ref: "#/components/parameters/siteId"
|
|
8809
8802
|
- $ref: "#/components/parameters/listPage"
|
|
8810
8803
|
- $ref: "#/components/parameters/listLimit"
|
|
8804
|
+
- name: search
|
|
8805
|
+
in: query
|
|
8806
|
+
description: Search for a redirect by path
|
|
8807
|
+
schema:
|
|
8808
|
+
type: string
|
|
8811
8809
|
responses:
|
|
8812
8810
|
"200":
|
|
8813
8811
|
description: The list of redirects for the site.
|
|
@@ -14346,10 +14344,18 @@ components:
|
|
|
14346
14344
|
- active
|
|
14347
14345
|
- ended
|
|
14348
14346
|
- expired
|
|
14349
|
-
|
|
14347
|
+
BlockSource:
|
|
14350
14348
|
type: string
|
|
14349
|
+
description: Source for an organization block
|
|
14351
14350
|
enum:
|
|
14352
|
-
-
|
|
14351
|
+
- backoffice
|
|
14352
|
+
- external
|
|
14353
|
+
- internal
|
|
14354
|
+
BlockReason:
|
|
14355
|
+
type: string
|
|
14356
|
+
description: A short description giving context on the reason for the block.
|
|
14357
|
+
minLength: 1
|
|
14358
|
+
maxLength: 255
|
|
14353
14359
|
Organization:
|
|
14354
14360
|
type: object
|
|
14355
14361
|
properties:
|
|
@@ -14435,8 +14441,10 @@ components:
|
|
|
14435
14441
|
type: object
|
|
14436
14442
|
description: If the organization is blocked, information about the block will appear here
|
|
14437
14443
|
properties:
|
|
14444
|
+
source:
|
|
14445
|
+
$ref: "#/components/schemas/BlockSource"
|
|
14438
14446
|
reason:
|
|
14439
|
-
$ref: "#/components/schemas/
|
|
14447
|
+
$ref: "#/components/schemas/BlockReason"
|
|
14440
14448
|
required:
|
|
14441
14449
|
- reason
|
|
14442
14450
|
internal_isOnNewTrial:
|
|
@@ -14807,12 +14815,11 @@ components:
|
|
|
14807
14815
|
message:
|
|
14808
14816
|
type: string
|
|
14809
14817
|
description: Description of the error.
|
|
14810
|
-
|
|
14818
|
+
code:
|
|
14811
14819
|
type: string
|
|
14812
14820
|
description: Unique code of the error.
|
|
14813
14821
|
required:
|
|
14814
14822
|
- message
|
|
14815
|
-
- code
|
|
14816
14823
|
OpenAPISpec:
|
|
14817
14824
|
type: object
|
|
14818
14825
|
properties:
|
|
@@ -18430,9 +18437,20 @@ components:
|
|
|
18430
18437
|
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
18431
18438
|
sections:
|
|
18432
18439
|
type: array
|
|
18433
|
-
|
|
18440
|
+
deprecated: true
|
|
18441
|
+
description: List of site section ids that are members of the group. Use `children` instead.
|
|
18434
18442
|
items:
|
|
18435
18443
|
$ref: "#/components/schemas/SiteSection"
|
|
18444
|
+
sectionGroup:
|
|
18445
|
+
type: string
|
|
18446
|
+
description: ID of the parent section group this group belongs to
|
|
18447
|
+
children:
|
|
18448
|
+
type: array
|
|
18449
|
+
description: List of all child sections and groups nested under this group
|
|
18450
|
+
items:
|
|
18451
|
+
oneOf:
|
|
18452
|
+
- $ref: "#/components/schemas/SiteSection"
|
|
18453
|
+
- $ref: "#/components/schemas/SiteSectionGroup"
|
|
18436
18454
|
icon:
|
|
18437
18455
|
$ref: "#/components/schemas/Icon"
|
|
18438
18456
|
required:
|
|
@@ -18440,6 +18458,7 @@ components:
|
|
|
18440
18458
|
- id
|
|
18441
18459
|
- title
|
|
18442
18460
|
- sections
|
|
18461
|
+
- children
|
|
18443
18462
|
SiteStructure:
|
|
18444
18463
|
oneOf:
|
|
18445
18464
|
- type: object
|
|
@@ -20897,9 +20916,13 @@ components:
|
|
|
20897
20916
|
markdown:
|
|
20898
20917
|
type: boolean
|
|
20899
20918
|
description: Whether the copy and open the markdown version of the page should be available in the page menu.
|
|
20919
|
+
mcp:
|
|
20920
|
+
type: boolean
|
|
20921
|
+
description: Whether an action to connect to the docs using the MCP server should be available in the page menu.
|
|
20900
20922
|
required:
|
|
20901
20923
|
- externalAI
|
|
20902
20924
|
- markdown
|
|
20925
|
+
- mcp
|
|
20903
20926
|
externalLinks:
|
|
20904
20927
|
type: object
|
|
20905
20928
|
properties:
|
|
@@ -23886,6 +23909,8 @@ components:
|
|
|
23886
23909
|
properties:
|
|
23887
23910
|
block:
|
|
23888
23911
|
type: boolean
|
|
23912
|
+
reason:
|
|
23913
|
+
$ref: "#/components/schemas/BlockReason"
|
|
23889
23914
|
required:
|
|
23890
23915
|
- block
|
|
23891
23916
|
UserImpersonationInfo:
|