@gitbook/api 0.94.0 → 0.95.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 +45 -5
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +152 -2
- package/spec/openapi.yaml +96 -1
package/dist/client.d.ts
CHANGED
|
@@ -1100,7 +1100,7 @@ export type RevisionPageLink = RevisionPageBase & {
|
|
|
1100
1100
|
*/
|
|
1101
1101
|
hidden?: boolean;
|
|
1102
1102
|
};
|
|
1103
|
-
export type ComputedContentDependencyRef = ContentRefSpace;
|
|
1103
|
+
export type ComputedContentDependencyRef = ContentRefSpace | ContentRefOpenAPI;
|
|
1104
1104
|
/** Dependency for a computation, with its resolved value. */
|
|
1105
1105
|
export type ComputedContentDependencyValue = {
|
|
1106
1106
|
ref: ContentRefSpace;
|
|
@@ -1110,6 +1110,15 @@ export type ComputedContentDependencyValue = {
|
|
|
1110
1110
|
id: string;
|
|
1111
1111
|
revision: string;
|
|
1112
1112
|
} | null;
|
|
1113
|
+
} | {
|
|
1114
|
+
ref: ContentRefOpenAPI;
|
|
1115
|
+
/** See `OpenAPI` schema component. */
|
|
1116
|
+
value: {
|
|
1117
|
+
object: 'openapi-spec';
|
|
1118
|
+
id: string;
|
|
1119
|
+
slug: string;
|
|
1120
|
+
lastVersion?: string;
|
|
1121
|
+
} | null;
|
|
1113
1122
|
};
|
|
1114
1123
|
/** Parameters for a computed content */
|
|
1115
1124
|
export interface ComputedContentSource {
|
|
@@ -1767,10 +1776,17 @@ export interface OpenAPISpec {
|
|
|
1767
1776
|
sourceURL?: URL;
|
|
1768
1777
|
/** Processing state */
|
|
1769
1778
|
processingState: OpenAPISpecProcessingState;
|
|
1779
|
+
/** ID of the latest version of the OpenAPI specification */
|
|
1780
|
+
lastVersion?: string;
|
|
1770
1781
|
/** Date of the last processing */
|
|
1771
1782
|
lastProcessedAt?: Timestamp;
|
|
1772
1783
|
/** OpenAPI processing error code */
|
|
1773
1784
|
lastProcessErrorCode?: OpenAPISpecProcessingErrorCode;
|
|
1785
|
+
/** The set of permissions for the OpenAPI specification. */
|
|
1786
|
+
permissions: {
|
|
1787
|
+
/** Can the user edit the specification. */
|
|
1788
|
+
edit?: boolean;
|
|
1789
|
+
};
|
|
1774
1790
|
/** URLs associated with the object */
|
|
1775
1791
|
urls: {
|
|
1776
1792
|
/** URL of the OpenAPI specification in the API */
|
|
@@ -4307,6 +4323,10 @@ export interface SiteCustomizationSettings {
|
|
|
4307
4323
|
theme: CustomizationTheme;
|
|
4308
4324
|
primaryColor: CustomizationThemedColor;
|
|
4309
4325
|
tint?: CustomizationTint;
|
|
4326
|
+
infoColor: CustomizationThemedColor;
|
|
4327
|
+
successColor: CustomizationThemedColor;
|
|
4328
|
+
warningColor: CustomizationThemedColor;
|
|
4329
|
+
dangerColor: CustomizationThemedColor;
|
|
4310
4330
|
corners: CustomizationCorners;
|
|
4311
4331
|
font: CustomizationFont;
|
|
4312
4332
|
/**
|
|
@@ -4343,7 +4363,15 @@ export interface SiteCustomizationSettings {
|
|
|
4343
4363
|
/** The header preset to use for the site. This is a legacy setting and the site styling theme should be used instead. */
|
|
4344
4364
|
preset: CustomizationHeaderPreset;
|
|
4345
4365
|
logo?: CustomizationThemedURL;
|
|
4366
|
+
/**
|
|
4367
|
+
* Color of the background in the header. This value is now deprecated in favour of the new theming colors.
|
|
4368
|
+
* @deprecated
|
|
4369
|
+
*/
|
|
4346
4370
|
backgroundColor?: CustomizationThemedColor;
|
|
4371
|
+
/**
|
|
4372
|
+
* Color of the links in the header. This value is now deprecated and will be phased out in favour of the new theming colors.
|
|
4373
|
+
* @deprecated
|
|
4374
|
+
*/
|
|
4347
4375
|
linkColor?: CustomizationThemedColor;
|
|
4348
4376
|
links: CustomizationHeaderItem[];
|
|
4349
4377
|
};
|
|
@@ -5344,8 +5372,12 @@ export interface OpenAPISpecVersion {
|
|
|
5344
5372
|
app: URL;
|
|
5345
5373
|
};
|
|
5346
5374
|
}
|
|
5347
|
-
/**
|
|
5348
|
-
export
|
|
5375
|
+
/** Content of the specification available through filesystem or public URL. */
|
|
5376
|
+
export interface OpenAPISpecContent {
|
|
5377
|
+
/** Filesystem containing all specifications. */
|
|
5378
|
+
filesystem: object;
|
|
5379
|
+
url: URL;
|
|
5380
|
+
}
|
|
5349
5381
|
/**
|
|
5350
5382
|
* @minLength 64
|
|
5351
5383
|
* @maxLength 64
|
|
@@ -10833,6 +10865,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10833
10865
|
theme?: CustomizationTheme | null;
|
|
10834
10866
|
/** The primary color used for links and UI text. Set to null to reset the override. */
|
|
10835
10867
|
primaryColor?: CustomizationThemedColor | null;
|
|
10868
|
+
/** Used for informational messages and neutral alerts. Set to null to reset the override. */
|
|
10869
|
+
infoColor?: CustomizationThemedColor | null;
|
|
10870
|
+
/** Used for showing positive actions or achievements. Set to null to reset the override. */
|
|
10871
|
+
successColor?: CustomizationThemedColor | null;
|
|
10872
|
+
/** Used for showing important information or non-critical warnings. Set to null to reset the override. */
|
|
10873
|
+
warningColor?: CustomizationThemedColor | null;
|
|
10874
|
+
/** Used for destructive actions or raising attention to critical information. Set to null to reset the override. */
|
|
10875
|
+
dangerColor?: CustomizationThemedColor | null;
|
|
10836
10876
|
/** The tint will color the site’s UI beyond links and buttons, such as header, sidebar and background. By default, the tint colour is the same as your Primary colour, but you can set a custom one too. */
|
|
10837
10877
|
tint?: CustomizationTint | null;
|
|
10838
10878
|
/** The style of the corners to use. Set to null to reset the override. */
|
|
@@ -11402,7 +11442,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11402
11442
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/latest/content
|
|
11403
11443
|
* @secure
|
|
11404
11444
|
*/
|
|
11405
|
-
getLatestOpenApiSpecVersionContent: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<
|
|
11445
|
+
getLatestOpenApiSpecVersionContent: (organizationId: string, specSlug: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, Error | {
|
|
11406
11446
|
error: {
|
|
11407
11447
|
/** @format int32 */
|
|
11408
11448
|
code: 404;
|
|
@@ -11434,7 +11474,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11434
11474
|
* @request GET:/orgs/{organizationId}/openapi/{specSlug}/versions/{versionId}/content
|
|
11435
11475
|
* @secure
|
|
11436
11476
|
*/
|
|
11437
|
-
getOpenApiSpecVersionContentById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<
|
|
11477
|
+
getOpenApiSpecVersionContentById: (organizationId: string, specSlug: string, versionId: string, params?: RequestParams) => Promise<HttpResponse<OpenAPISpecContent, Error | {
|
|
11438
11478
|
error: {
|
|
11439
11479
|
/** @format int32 */
|
|
11440
11480
|
code: 404;
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -14152,6 +14152,66 @@
|
|
|
14152
14152
|
}
|
|
14153
14153
|
]
|
|
14154
14154
|
},
|
|
14155
|
+
"infoColor": {
|
|
14156
|
+
"description": "Used for informational messages and neutral alerts. Set to null to reset the override.",
|
|
14157
|
+
"oneOf": [
|
|
14158
|
+
{
|
|
14159
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
14160
|
+
},
|
|
14161
|
+
{
|
|
14162
|
+
"type": "string",
|
|
14163
|
+
"nullable": true,
|
|
14164
|
+
"enum": [
|
|
14165
|
+
null
|
|
14166
|
+
]
|
|
14167
|
+
}
|
|
14168
|
+
]
|
|
14169
|
+
},
|
|
14170
|
+
"successColor": {
|
|
14171
|
+
"description": "Used for showing positive actions or achievements. Set to null to reset the override.",
|
|
14172
|
+
"oneOf": [
|
|
14173
|
+
{
|
|
14174
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
14175
|
+
},
|
|
14176
|
+
{
|
|
14177
|
+
"type": "string",
|
|
14178
|
+
"nullable": true,
|
|
14179
|
+
"enum": [
|
|
14180
|
+
null
|
|
14181
|
+
]
|
|
14182
|
+
}
|
|
14183
|
+
]
|
|
14184
|
+
},
|
|
14185
|
+
"warningColor": {
|
|
14186
|
+
"description": "Used for showing important information or non-critical warnings. Set to null to reset the override.",
|
|
14187
|
+
"oneOf": [
|
|
14188
|
+
{
|
|
14189
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
14190
|
+
},
|
|
14191
|
+
{
|
|
14192
|
+
"type": "string",
|
|
14193
|
+
"nullable": true,
|
|
14194
|
+
"enum": [
|
|
14195
|
+
null
|
|
14196
|
+
]
|
|
14197
|
+
}
|
|
14198
|
+
]
|
|
14199
|
+
},
|
|
14200
|
+
"dangerColor": {
|
|
14201
|
+
"description": "Used for destructive actions or raising attention to critical information. Set to null to reset the override.",
|
|
14202
|
+
"oneOf": [
|
|
14203
|
+
{
|
|
14204
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
14205
|
+
},
|
|
14206
|
+
{
|
|
14207
|
+
"type": "string",
|
|
14208
|
+
"nullable": true,
|
|
14209
|
+
"enum": [
|
|
14210
|
+
null
|
|
14211
|
+
]
|
|
14212
|
+
}
|
|
14213
|
+
]
|
|
14214
|
+
},
|
|
14155
14215
|
"tint": {
|
|
14156
14216
|
"description": "The tint will color the site’s UI beyond links and buttons, such as header, sidebar and background. By default, the tint colour is the same as your Primary colour, but you can set a custom one too.",
|
|
14157
14217
|
"oneOf": [
|
|
@@ -21730,6 +21790,9 @@
|
|
|
21730
21790
|
"oneOf": [
|
|
21731
21791
|
{
|
|
21732
21792
|
"$ref": "#/components/schemas/ContentRefSpace"
|
|
21793
|
+
},
|
|
21794
|
+
{
|
|
21795
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
21733
21796
|
}
|
|
21734
21797
|
]
|
|
21735
21798
|
},
|
|
@@ -21771,6 +21834,45 @@
|
|
|
21771
21834
|
"ref",
|
|
21772
21835
|
"value"
|
|
21773
21836
|
]
|
|
21837
|
+
},
|
|
21838
|
+
{
|
|
21839
|
+
"type": "object",
|
|
21840
|
+
"properties": {
|
|
21841
|
+
"ref": {
|
|
21842
|
+
"$ref": "#/components/schemas/ContentRefOpenAPI"
|
|
21843
|
+
},
|
|
21844
|
+
"value": {
|
|
21845
|
+
"type": "object",
|
|
21846
|
+
"nullable": true,
|
|
21847
|
+
"description": "See `OpenAPI` schema component.",
|
|
21848
|
+
"properties": {
|
|
21849
|
+
"object": {
|
|
21850
|
+
"type": "string",
|
|
21851
|
+
"enum": [
|
|
21852
|
+
"openapi-spec"
|
|
21853
|
+
]
|
|
21854
|
+
},
|
|
21855
|
+
"id": {
|
|
21856
|
+
"type": "string"
|
|
21857
|
+
},
|
|
21858
|
+
"slug": {
|
|
21859
|
+
"type": "string"
|
|
21860
|
+
},
|
|
21861
|
+
"lastVersion": {
|
|
21862
|
+
"type": "string"
|
|
21863
|
+
}
|
|
21864
|
+
},
|
|
21865
|
+
"required": [
|
|
21866
|
+
"object",
|
|
21867
|
+
"id",
|
|
21868
|
+
"slug"
|
|
21869
|
+
]
|
|
21870
|
+
}
|
|
21871
|
+
},
|
|
21872
|
+
"required": [
|
|
21873
|
+
"ref",
|
|
21874
|
+
"value"
|
|
21875
|
+
]
|
|
21774
21876
|
}
|
|
21775
21877
|
]
|
|
21776
21878
|
},
|
|
@@ -23503,6 +23605,10 @@
|
|
|
23503
23605
|
"processingState": {
|
|
23504
23606
|
"$ref": "#/components/schemas/OpenAPISpecProcessingState"
|
|
23505
23607
|
},
|
|
23608
|
+
"lastVersion": {
|
|
23609
|
+
"type": "string",
|
|
23610
|
+
"description": "ID of the latest version of the OpenAPI specification"
|
|
23611
|
+
},
|
|
23506
23612
|
"lastProcessedAt": {
|
|
23507
23613
|
"description": "Date of the last processing",
|
|
23508
23614
|
"$ref": "#/components/schemas/Timestamp"
|
|
@@ -23510,6 +23616,16 @@
|
|
|
23510
23616
|
"lastProcessErrorCode": {
|
|
23511
23617
|
"$ref": "#/components/schemas/OpenAPISpecProcessingErrorCode"
|
|
23512
23618
|
},
|
|
23619
|
+
"permissions": {
|
|
23620
|
+
"type": "object",
|
|
23621
|
+
"description": "The set of permissions for the OpenAPI specification.",
|
|
23622
|
+
"properties": {
|
|
23623
|
+
"edit": {
|
|
23624
|
+
"type": "boolean",
|
|
23625
|
+
"description": "Can the user edit the specification."
|
|
23626
|
+
}
|
|
23627
|
+
}
|
|
23628
|
+
},
|
|
23513
23629
|
"urls": {
|
|
23514
23630
|
"type": "object",
|
|
23515
23631
|
"description": "URLs associated with the object",
|
|
@@ -23536,6 +23652,7 @@
|
|
|
23536
23652
|
"updatedAt",
|
|
23537
23653
|
"slug",
|
|
23538
23654
|
"processingState",
|
|
23655
|
+
"permissions",
|
|
23539
23656
|
"urls"
|
|
23540
23657
|
]
|
|
23541
23658
|
},
|
|
@@ -31047,6 +31164,18 @@
|
|
|
31047
31164
|
"tint": {
|
|
31048
31165
|
"$ref": "#/components/schemas/CustomizationTint"
|
|
31049
31166
|
},
|
|
31167
|
+
"infoColor": {
|
|
31168
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31169
|
+
},
|
|
31170
|
+
"successColor": {
|
|
31171
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31172
|
+
},
|
|
31173
|
+
"warningColor": {
|
|
31174
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31175
|
+
},
|
|
31176
|
+
"dangerColor": {
|
|
31177
|
+
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31178
|
+
},
|
|
31050
31179
|
"corners": {
|
|
31051
31180
|
"$ref": "#/components/schemas/CustomizationCorners"
|
|
31052
31181
|
},
|
|
@@ -31079,6 +31208,10 @@
|
|
|
31079
31208
|
"required": [
|
|
31080
31209
|
"theme",
|
|
31081
31210
|
"primaryColor",
|
|
31211
|
+
"infoColor",
|
|
31212
|
+
"successColor",
|
|
31213
|
+
"warningColor",
|
|
31214
|
+
"dangerColor",
|
|
31082
31215
|
"corners",
|
|
31083
31216
|
"font",
|
|
31084
31217
|
"background",
|
|
@@ -31138,9 +31271,13 @@
|
|
|
31138
31271
|
"$ref": "#/components/schemas/CustomizationThemedURL"
|
|
31139
31272
|
},
|
|
31140
31273
|
"backgroundColor": {
|
|
31274
|
+
"deprecated": true,
|
|
31275
|
+
"description": "Color of the background in the header. This value is now deprecated in favour of the new theming colors.",
|
|
31141
31276
|
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31142
31277
|
},
|
|
31143
31278
|
"linkColor": {
|
|
31279
|
+
"deprecated": true,
|
|
31280
|
+
"description": "Color of the links in the header. This value is now deprecated and will be phased out in favour of the new theming colors.",
|
|
31144
31281
|
"$ref": "#/components/schemas/CustomizationThemedColor"
|
|
31145
31282
|
},
|
|
31146
31283
|
"links": {
|
|
@@ -34971,8 +35108,21 @@
|
|
|
34971
35108
|
]
|
|
34972
35109
|
},
|
|
34973
35110
|
"OpenAPISpecContent": {
|
|
34974
|
-
"description": "
|
|
34975
|
-
"type": "object"
|
|
35111
|
+
"description": "Content of the specification available through filesystem or public URL.",
|
|
35112
|
+
"type": "object",
|
|
35113
|
+
"properties": {
|
|
35114
|
+
"filesystem": {
|
|
35115
|
+
"description": "Filesystem containing all specifications.",
|
|
35116
|
+
"type": "object"
|
|
35117
|
+
},
|
|
35118
|
+
"url": {
|
|
35119
|
+
"$ref": "#/components/schemas/URL"
|
|
35120
|
+
}
|
|
35121
|
+
},
|
|
35122
|
+
"required": [
|
|
35123
|
+
"filesystem",
|
|
35124
|
+
"url"
|
|
35125
|
+
]
|
|
34976
35126
|
},
|
|
34977
35127
|
"SHA256": {
|
|
34978
35128
|
"type": "string",
|
package/spec/openapi.yaml
CHANGED
|
@@ -7904,6 +7904,38 @@ paths:
|
|
|
7904
7904
|
nullable: true
|
|
7905
7905
|
enum:
|
|
7906
7906
|
- null
|
|
7907
|
+
infoColor:
|
|
7908
|
+
description: Used for informational messages and neutral alerts. Set to null to reset the override.
|
|
7909
|
+
oneOf:
|
|
7910
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
7911
|
+
- type: string
|
|
7912
|
+
nullable: true
|
|
7913
|
+
enum:
|
|
7914
|
+
- null
|
|
7915
|
+
successColor:
|
|
7916
|
+
description: Used for showing positive actions or achievements. Set to null to reset the override.
|
|
7917
|
+
oneOf:
|
|
7918
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
7919
|
+
- type: string
|
|
7920
|
+
nullable: true
|
|
7921
|
+
enum:
|
|
7922
|
+
- null
|
|
7923
|
+
warningColor:
|
|
7924
|
+
description: Used for showing important information or non-critical warnings. Set to null to reset the override.
|
|
7925
|
+
oneOf:
|
|
7926
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
7927
|
+
- type: string
|
|
7928
|
+
nullable: true
|
|
7929
|
+
enum:
|
|
7930
|
+
- null
|
|
7931
|
+
dangerColor:
|
|
7932
|
+
description: Used for destructive actions or raising attention to critical information. Set to null to reset the override.
|
|
7933
|
+
oneOf:
|
|
7934
|
+
- $ref: "#/components/schemas/CustomizationThemedColor"
|
|
7935
|
+
- type: string
|
|
7936
|
+
nullable: true
|
|
7937
|
+
enum:
|
|
7938
|
+
- null
|
|
7907
7939
|
tint:
|
|
7908
7940
|
description: The tint will color the site’s UI beyond links and buttons, such as header, sidebar and background. By default, the tint colour is the same as your Primary colour, but you can set a custom one too.
|
|
7909
7941
|
oneOf:
|
|
@@ -12651,6 +12683,7 @@ components:
|
|
|
12651
12683
|
ComputedContentDependencyRef:
|
|
12652
12684
|
oneOf:
|
|
12653
12685
|
- $ref: "#/components/schemas/ContentRefSpace"
|
|
12686
|
+
- $ref: "#/components/schemas/ContentRefOpenAPI"
|
|
12654
12687
|
ComputedContentDependencyValue:
|
|
12655
12688
|
description: Dependency for a computation, with its resolved value.
|
|
12656
12689
|
oneOf:
|
|
@@ -12678,6 +12711,32 @@ components:
|
|
|
12678
12711
|
required:
|
|
12679
12712
|
- ref
|
|
12680
12713
|
- value
|
|
12714
|
+
- type: object
|
|
12715
|
+
properties:
|
|
12716
|
+
ref:
|
|
12717
|
+
$ref: "#/components/schemas/ContentRefOpenAPI"
|
|
12718
|
+
value:
|
|
12719
|
+
type: object
|
|
12720
|
+
nullable: true
|
|
12721
|
+
description: See `OpenAPI` schema component.
|
|
12722
|
+
properties:
|
|
12723
|
+
object:
|
|
12724
|
+
type: string
|
|
12725
|
+
enum:
|
|
12726
|
+
- openapi-spec
|
|
12727
|
+
id:
|
|
12728
|
+
type: string
|
|
12729
|
+
slug:
|
|
12730
|
+
type: string
|
|
12731
|
+
lastVersion:
|
|
12732
|
+
type: string
|
|
12733
|
+
required:
|
|
12734
|
+
- object
|
|
12735
|
+
- id
|
|
12736
|
+
- slug
|
|
12737
|
+
required:
|
|
12738
|
+
- ref
|
|
12739
|
+
- value
|
|
12681
12740
|
ComputedContentSource:
|
|
12682
12741
|
type: object
|
|
12683
12742
|
description: Parameters for a computed content
|
|
@@ -13879,11 +13938,21 @@ components:
|
|
|
13879
13938
|
$ref: "#/components/schemas/URL"
|
|
13880
13939
|
processingState:
|
|
13881
13940
|
$ref: "#/components/schemas/OpenAPISpecProcessingState"
|
|
13941
|
+
lastVersion:
|
|
13942
|
+
type: string
|
|
13943
|
+
description: ID of the latest version of the OpenAPI specification
|
|
13882
13944
|
lastProcessedAt:
|
|
13883
13945
|
description: Date of the last processing
|
|
13884
13946
|
$ref: "#/components/schemas/Timestamp"
|
|
13885
13947
|
lastProcessErrorCode:
|
|
13886
13948
|
$ref: "#/components/schemas/OpenAPISpecProcessingErrorCode"
|
|
13949
|
+
permissions:
|
|
13950
|
+
type: object
|
|
13951
|
+
description: The set of permissions for the OpenAPI specification.
|
|
13952
|
+
properties:
|
|
13953
|
+
edit:
|
|
13954
|
+
type: boolean
|
|
13955
|
+
description: Can the user edit the specification.
|
|
13887
13956
|
urls:
|
|
13888
13957
|
type: object
|
|
13889
13958
|
description: URLs associated with the object
|
|
@@ -13904,6 +13973,7 @@ components:
|
|
|
13904
13973
|
- updatedAt
|
|
13905
13974
|
- slug
|
|
13906
13975
|
- processingState
|
|
13976
|
+
- permissions
|
|
13907
13977
|
- urls
|
|
13908
13978
|
ContentLocationOpenAPI:
|
|
13909
13979
|
type: object
|
|
@@ -18913,6 +18983,14 @@ components:
|
|
|
18913
18983
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18914
18984
|
tint:
|
|
18915
18985
|
$ref: "#/components/schemas/CustomizationTint"
|
|
18986
|
+
infoColor:
|
|
18987
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18988
|
+
successColor:
|
|
18989
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18990
|
+
warningColor:
|
|
18991
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18992
|
+
dangerColor:
|
|
18993
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18916
18994
|
corners:
|
|
18917
18995
|
$ref: "#/components/schemas/CustomizationCorners"
|
|
18918
18996
|
font:
|
|
@@ -18935,6 +19013,10 @@ components:
|
|
|
18935
19013
|
required:
|
|
18936
19014
|
- theme
|
|
18937
19015
|
- primaryColor
|
|
19016
|
+
- infoColor
|
|
19017
|
+
- successColor
|
|
19018
|
+
- warningColor
|
|
19019
|
+
- dangerColor
|
|
18938
19020
|
- corners
|
|
18939
19021
|
- font
|
|
18940
19022
|
- background
|
|
@@ -18972,8 +19054,12 @@ components:
|
|
|
18972
19054
|
logo:
|
|
18973
19055
|
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
18974
19056
|
backgroundColor:
|
|
19057
|
+
deprecated: true
|
|
19058
|
+
description: Color of the background in the header. This value is now deprecated in favour of the new theming colors.
|
|
18975
19059
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18976
19060
|
linkColor:
|
|
19061
|
+
deprecated: true
|
|
19062
|
+
description: Color of the links in the header. This value is now deprecated and will be phased out in favour of the new theming colors.
|
|
18977
19063
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18978
19064
|
links:
|
|
18979
19065
|
type: array
|
|
@@ -21456,8 +21542,17 @@ components:
|
|
|
21456
21542
|
- url
|
|
21457
21543
|
- urls
|
|
21458
21544
|
OpenAPISpecContent:
|
|
21459
|
-
description:
|
|
21545
|
+
description: Content of the specification available through filesystem or public URL.
|
|
21460
21546
|
type: object
|
|
21547
|
+
properties:
|
|
21548
|
+
filesystem:
|
|
21549
|
+
description: Filesystem containing all specifications.
|
|
21550
|
+
type: object
|
|
21551
|
+
url:
|
|
21552
|
+
$ref: "#/components/schemas/URL"
|
|
21553
|
+
required:
|
|
21554
|
+
- filesystem
|
|
21555
|
+
- url
|
|
21461
21556
|
SHA256:
|
|
21462
21557
|
type: string
|
|
21463
21558
|
minLength: 64
|