@gitbook/api 0.93.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 +143 -66
- package/dist/index.cjs +17 -17
- package/dist/index.js +16 -16
- package/package.json +1 -1
- package/spec/openapi.json +374 -123
- package/spec/openapi.yaml +253 -92
package/spec/openapi.yaml
CHANGED
|
@@ -5418,6 +5418,8 @@ paths:
|
|
|
5418
5418
|
- ultimateSites
|
|
5419
5419
|
invoice:
|
|
5420
5420
|
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
5421
|
+
discount:
|
|
5422
|
+
$ref: "#/components/schemas/BillingDiscount"
|
|
5421
5423
|
required:
|
|
5422
5424
|
- totals
|
|
5423
5425
|
default:
|
|
@@ -7886,6 +7888,14 @@ paths:
|
|
|
7886
7888
|
styling:
|
|
7887
7889
|
type: object
|
|
7888
7890
|
properties:
|
|
7891
|
+
theme:
|
|
7892
|
+
description: The site theme. Set to null to reset the override.
|
|
7893
|
+
oneOf:
|
|
7894
|
+
- $ref: "#/components/schemas/CustomizationTheme"
|
|
7895
|
+
- type: string
|
|
7896
|
+
nullable: true
|
|
7897
|
+
enum:
|
|
7898
|
+
- null
|
|
7889
7899
|
primaryColor:
|
|
7890
7900
|
description: The primary color used for links and UI text. Set to null to reset the override.
|
|
7891
7901
|
oneOf:
|
|
@@ -7894,6 +7904,38 @@ paths:
|
|
|
7894
7904
|
nullable: true
|
|
7895
7905
|
enum:
|
|
7896
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
|
|
7897
7939
|
tint:
|
|
7898
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.
|
|
7899
7941
|
oneOf:
|
|
@@ -10212,6 +10254,19 @@ components:
|
|
|
10212
10254
|
required:
|
|
10213
10255
|
- kind
|
|
10214
10256
|
- reusableContent
|
|
10257
|
+
ContentRefOpenAPI:
|
|
10258
|
+
type: object
|
|
10259
|
+
properties:
|
|
10260
|
+
kind:
|
|
10261
|
+
type: string
|
|
10262
|
+
enum:
|
|
10263
|
+
- openapi
|
|
10264
|
+
spec:
|
|
10265
|
+
type: string
|
|
10266
|
+
description: Slug of the OpenAPI specification
|
|
10267
|
+
required:
|
|
10268
|
+
- kind
|
|
10269
|
+
- spec
|
|
10215
10270
|
ContentRef:
|
|
10216
10271
|
description: A relative reference to content in GitBook.
|
|
10217
10272
|
oneOf:
|
|
@@ -10223,6 +10278,7 @@ components:
|
|
|
10223
10278
|
- $ref: "#/components/schemas/ContentRefCollection"
|
|
10224
10279
|
- $ref: "#/components/schemas/ContentRefSpace"
|
|
10225
10280
|
- $ref: "#/components/schemas/ContentRefReusableContent"
|
|
10281
|
+
- $ref: "#/components/schemas/ContentRefOpenAPI"
|
|
10226
10282
|
DocumentInlineLink:
|
|
10227
10283
|
type: object
|
|
10228
10284
|
properties:
|
|
@@ -11478,18 +11534,6 @@ components:
|
|
|
11478
11534
|
required:
|
|
11479
11535
|
- action
|
|
11480
11536
|
- returnValue
|
|
11481
|
-
- type: object
|
|
11482
|
-
description: Action to complete the current flow the user is in.
|
|
11483
|
-
properties:
|
|
11484
|
-
action:
|
|
11485
|
-
type: string
|
|
11486
|
-
enum:
|
|
11487
|
-
- "@ui.complete"
|
|
11488
|
-
returnValue:
|
|
11489
|
-
$ref: "#/components/schemas/PlainObject"
|
|
11490
|
-
required:
|
|
11491
|
-
- action
|
|
11492
|
-
- returnValue
|
|
11493
11537
|
- type: object
|
|
11494
11538
|
description: Action to open an url.
|
|
11495
11539
|
properties:
|
|
@@ -11699,6 +11743,7 @@ components:
|
|
|
11699
11743
|
oneOf:
|
|
11700
11744
|
- $ref: "#/components/schemas/ContentRefFile"
|
|
11701
11745
|
- $ref: "#/components/schemas/ContentRefURL"
|
|
11746
|
+
- $ref: "#/components/schemas/ContentRefOpenAPI"
|
|
11702
11747
|
expanded:
|
|
11703
11748
|
type: boolean
|
|
11704
11749
|
description: If true, the block is opened by default.
|
|
@@ -12638,6 +12683,7 @@ components:
|
|
|
12638
12683
|
ComputedContentDependencyRef:
|
|
12639
12684
|
oneOf:
|
|
12640
12685
|
- $ref: "#/components/schemas/ContentRefSpace"
|
|
12686
|
+
- $ref: "#/components/schemas/ContentRefOpenAPI"
|
|
12641
12687
|
ComputedContentDependencyValue:
|
|
12642
12688
|
description: Dependency for a computation, with its resolved value.
|
|
12643
12689
|
oneOf:
|
|
@@ -12665,6 +12711,32 @@ components:
|
|
|
12665
12711
|
required:
|
|
12666
12712
|
- ref
|
|
12667
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
|
|
12668
12740
|
ComputedContentSource:
|
|
12669
12741
|
type: object
|
|
12670
12742
|
description: Parameters for a computed content
|
|
@@ -13548,6 +13620,18 @@ components:
|
|
|
13548
13620
|
internal_isOnNewTrial:
|
|
13549
13621
|
type: boolean
|
|
13550
13622
|
description: If true, the organization is on the new trial which includes sites and the Pro plan.
|
|
13623
|
+
internal_billingMigration:
|
|
13624
|
+
type: object
|
|
13625
|
+
properties:
|
|
13626
|
+
deadline:
|
|
13627
|
+
description: When we will upgrade the organization onto new pricing, if they haven't already.
|
|
13628
|
+
$ref: "#/components/schemas/Timestamp"
|
|
13629
|
+
discountPercent:
|
|
13630
|
+
description: A discount the organization may have received thanks to migrating early.
|
|
13631
|
+
type: number
|
|
13632
|
+
discountEndDate:
|
|
13633
|
+
description: The expiration date of the discount, after wich regular pricing resumes.
|
|
13634
|
+
$ref: "#/components/schemas/Timestamp"
|
|
13551
13635
|
permissions:
|
|
13552
13636
|
type: object
|
|
13553
13637
|
description: The set of permissions for the organization
|
|
@@ -13814,6 +13898,98 @@ components:
|
|
|
13814
13898
|
- organization
|
|
13815
13899
|
- space
|
|
13816
13900
|
- reusableContent
|
|
13901
|
+
OpenAPISpecSlug:
|
|
13902
|
+
description: Slug used as reference
|
|
13903
|
+
type: string
|
|
13904
|
+
minLength: 1
|
|
13905
|
+
maxLength: 100
|
|
13906
|
+
OpenAPISpecProcessingState:
|
|
13907
|
+
description: Processing state
|
|
13908
|
+
enum:
|
|
13909
|
+
- pending
|
|
13910
|
+
- progress
|
|
13911
|
+
- complete
|
|
13912
|
+
OpenAPISpecProcessingErrorCode:
|
|
13913
|
+
description: OpenAPI processing error code
|
|
13914
|
+
enum:
|
|
13915
|
+
- FETCH_TIMEOUT
|
|
13916
|
+
- FETCH_ERROR
|
|
13917
|
+
- PARSE_ERROR
|
|
13918
|
+
OpenAPISpec:
|
|
13919
|
+
type: object
|
|
13920
|
+
properties:
|
|
13921
|
+
object:
|
|
13922
|
+
description: The object type, which is always "openapi-spec"
|
|
13923
|
+
type: string
|
|
13924
|
+
enum:
|
|
13925
|
+
- openapi-spec
|
|
13926
|
+
id:
|
|
13927
|
+
description: Unique identifier
|
|
13928
|
+
type: string
|
|
13929
|
+
createdAt:
|
|
13930
|
+
description: Date of creation
|
|
13931
|
+
$ref: "#/components/schemas/Timestamp"
|
|
13932
|
+
updatedAt:
|
|
13933
|
+
description: Date of the last update
|
|
13934
|
+
$ref: "#/components/schemas/Timestamp"
|
|
13935
|
+
slug:
|
|
13936
|
+
$ref: "#/components/schemas/OpenAPISpecSlug"
|
|
13937
|
+
sourceURL:
|
|
13938
|
+
$ref: "#/components/schemas/URL"
|
|
13939
|
+
processingState:
|
|
13940
|
+
$ref: "#/components/schemas/OpenAPISpecProcessingState"
|
|
13941
|
+
lastVersion:
|
|
13942
|
+
type: string
|
|
13943
|
+
description: ID of the latest version of the OpenAPI specification
|
|
13944
|
+
lastProcessedAt:
|
|
13945
|
+
description: Date of the last processing
|
|
13946
|
+
$ref: "#/components/schemas/Timestamp"
|
|
13947
|
+
lastProcessErrorCode:
|
|
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.
|
|
13956
|
+
urls:
|
|
13957
|
+
type: object
|
|
13958
|
+
description: URLs associated with the object
|
|
13959
|
+
properties:
|
|
13960
|
+
location:
|
|
13961
|
+
description: URL of the OpenAPI specification in the API
|
|
13962
|
+
$ref: "#/components/schemas/URL"
|
|
13963
|
+
app:
|
|
13964
|
+
description: URL of the OpenAPI specification in the application
|
|
13965
|
+
$ref: "#/components/schemas/URL"
|
|
13966
|
+
required:
|
|
13967
|
+
- app
|
|
13968
|
+
- location
|
|
13969
|
+
required:
|
|
13970
|
+
- object
|
|
13971
|
+
- id
|
|
13972
|
+
- createdAt
|
|
13973
|
+
- updatedAt
|
|
13974
|
+
- slug
|
|
13975
|
+
- processingState
|
|
13976
|
+
- permissions
|
|
13977
|
+
- urls
|
|
13978
|
+
ContentLocationOpenAPI:
|
|
13979
|
+
type: object
|
|
13980
|
+
properties:
|
|
13981
|
+
kind:
|
|
13982
|
+
type: string
|
|
13983
|
+
enum:
|
|
13984
|
+
- openapi
|
|
13985
|
+
organization:
|
|
13986
|
+
$ref: "#/components/schemas/Organization"
|
|
13987
|
+
openAPISpec:
|
|
13988
|
+
$ref: "#/components/schemas/OpenAPISpec"
|
|
13989
|
+
required:
|
|
13990
|
+
- kind
|
|
13991
|
+
- organization
|
|
13992
|
+
- openAPISpec
|
|
13817
13993
|
ContentLocation:
|
|
13818
13994
|
description: An absolute reference to content in GitBook.
|
|
13819
13995
|
oneOf:
|
|
@@ -13824,6 +14000,7 @@ components:
|
|
|
13824
14000
|
- $ref: "#/components/schemas/ContentLocationCollection"
|
|
13825
14001
|
- $ref: "#/components/schemas/ContentLocationSpace"
|
|
13826
14002
|
- $ref: "#/components/schemas/ContentLocationReusableContent"
|
|
14003
|
+
- $ref: "#/components/schemas/ContentLocationOpenAPI"
|
|
13827
14004
|
discriminator:
|
|
13828
14005
|
propertyName: kind
|
|
13829
14006
|
ContentReferenceStatus:
|
|
@@ -14956,6 +15133,8 @@ components:
|
|
|
14956
15133
|
- dark
|
|
14957
15134
|
CustomizationHeaderPreset:
|
|
14958
15135
|
type: string
|
|
15136
|
+
deprecated: true
|
|
15137
|
+
description: The header preset to use for the site. This is a legacy setting and the site styling theme should be used instead.
|
|
14959
15138
|
enum:
|
|
14960
15139
|
- default
|
|
14961
15140
|
- bold
|
|
@@ -15228,6 +15407,8 @@ components:
|
|
|
15228
15407
|
- site:script:inject
|
|
15229
15408
|
- site:script:cookies
|
|
15230
15409
|
- site:visitor:auth
|
|
15410
|
+
- openapi:read
|
|
15411
|
+
- openapi:write
|
|
15231
15412
|
IntegrationScopes:
|
|
15232
15413
|
type: array
|
|
15233
15414
|
description: Permissions that should be granted to the integration
|
|
@@ -15287,6 +15468,7 @@ components:
|
|
|
15287
15468
|
required:
|
|
15288
15469
|
- id
|
|
15289
15470
|
- title
|
|
15471
|
+
- configuration
|
|
15290
15472
|
IntegrationConfigurationSchema:
|
|
15291
15473
|
type: object
|
|
15292
15474
|
description: Schema for a configuration
|
|
@@ -18242,6 +18424,19 @@ components:
|
|
|
18242
18424
|
- description
|
|
18243
18425
|
- periodStart
|
|
18244
18426
|
- periodEnd
|
|
18427
|
+
discount:
|
|
18428
|
+
type: object
|
|
18429
|
+
description: Discount applied to the subscription.
|
|
18430
|
+
properties:
|
|
18431
|
+
description:
|
|
18432
|
+
description: The combined description of all discounts applied to the subscription.
|
|
18433
|
+
type: string
|
|
18434
|
+
amount:
|
|
18435
|
+
description: The total amount of all discounts applied to the subscription.
|
|
18436
|
+
type: number
|
|
18437
|
+
required:
|
|
18438
|
+
- amount
|
|
18439
|
+
- description
|
|
18245
18440
|
required:
|
|
18246
18441
|
- amount
|
|
18247
18442
|
- amountDueToday
|
|
@@ -18356,6 +18551,18 @@ components:
|
|
|
18356
18551
|
- product
|
|
18357
18552
|
- interval
|
|
18358
18553
|
- changes
|
|
18554
|
+
BillingDiscount:
|
|
18555
|
+
type: object
|
|
18556
|
+
properties:
|
|
18557
|
+
duration:
|
|
18558
|
+
description: How many months the discount will last
|
|
18559
|
+
type: number
|
|
18560
|
+
percentOff:
|
|
18561
|
+
description: Percent that will be deducted from the subtotal of the invoice
|
|
18562
|
+
type: number
|
|
18563
|
+
required:
|
|
18564
|
+
- duration
|
|
18565
|
+
- percentOff
|
|
18359
18566
|
SiteToMigrateFeature:
|
|
18360
18567
|
type: string
|
|
18361
18568
|
description: These are all the features we check to determine the new pricing site type.
|
|
@@ -18776,6 +18983,14 @@ components:
|
|
|
18776
18983
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18777
18984
|
tint:
|
|
18778
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"
|
|
18779
18994
|
corners:
|
|
18780
18995
|
$ref: "#/components/schemas/CustomizationCorners"
|
|
18781
18996
|
font:
|
|
@@ -18796,7 +19011,12 @@ components:
|
|
|
18796
19011
|
- background
|
|
18797
19012
|
- list
|
|
18798
19013
|
required:
|
|
19014
|
+
- theme
|
|
18799
19015
|
- primaryColor
|
|
19016
|
+
- infoColor
|
|
19017
|
+
- successColor
|
|
19018
|
+
- warningColor
|
|
19019
|
+
- dangerColor
|
|
18800
19020
|
- corners
|
|
18801
19021
|
- font
|
|
18802
19022
|
- background
|
|
@@ -18834,8 +19054,12 @@ components:
|
|
|
18834
19054
|
logo:
|
|
18835
19055
|
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
18836
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.
|
|
18837
19059
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18838
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.
|
|
18839
19063
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
18840
19064
|
links:
|
|
18841
19065
|
type: array
|
|
@@ -21202,15 +21426,6 @@ components:
|
|
|
21202
21426
|
- organizations
|
|
21203
21427
|
- collections
|
|
21204
21428
|
- spaces
|
|
21205
|
-
SpaceBlockReason:
|
|
21206
|
-
type: string
|
|
21207
|
-
description: Reason for a space to be blocked
|
|
21208
|
-
enum:
|
|
21209
|
-
- DMCA
|
|
21210
|
-
- THREAT_TYPE_UNSPECIFIED
|
|
21211
|
-
- MALWARE
|
|
21212
|
-
- SOCIAL_ENGINEERING
|
|
21213
|
-
- UNWANTED_SOFTWARE
|
|
21214
21429
|
BackOfficeSite:
|
|
21215
21430
|
allOf:
|
|
21216
21431
|
- $ref: "#/components/schemas/Site"
|
|
@@ -21291,64 +21506,6 @@ components:
|
|
|
21291
21506
|
- target
|
|
21292
21507
|
- redirect
|
|
21293
21508
|
- $ref: "#/components/schemas/PublishedSiteContent"
|
|
21294
|
-
OpenAPISpecSlug:
|
|
21295
|
-
description: Slug used as reference
|
|
21296
|
-
type: string
|
|
21297
|
-
minLength: 1
|
|
21298
|
-
maxLength: 100
|
|
21299
|
-
OpenAPISpecProcessingState:
|
|
21300
|
-
description: Processing state
|
|
21301
|
-
enum:
|
|
21302
|
-
- pending
|
|
21303
|
-
- progress
|
|
21304
|
-
- complete
|
|
21305
|
-
OpenAPISpec:
|
|
21306
|
-
type: object
|
|
21307
|
-
properties:
|
|
21308
|
-
object:
|
|
21309
|
-
description: The object type, which is always "openapi-spec"
|
|
21310
|
-
type: string
|
|
21311
|
-
enum:
|
|
21312
|
-
- openapi-spec
|
|
21313
|
-
id:
|
|
21314
|
-
description: Unique identifier
|
|
21315
|
-
type: string
|
|
21316
|
-
createdAt:
|
|
21317
|
-
description: Date of creation
|
|
21318
|
-
$ref: "#/components/schemas/Timestamp"
|
|
21319
|
-
updatedAt:
|
|
21320
|
-
description: Date of the last update
|
|
21321
|
-
$ref: "#/components/schemas/Timestamp"
|
|
21322
|
-
slug:
|
|
21323
|
-
$ref: "#/components/schemas/OpenAPISpecSlug"
|
|
21324
|
-
sourceURL:
|
|
21325
|
-
$ref: "#/components/schemas/URL"
|
|
21326
|
-
processingState:
|
|
21327
|
-
$ref: "#/components/schemas/OpenAPISpecProcessingState"
|
|
21328
|
-
lastProcessedAt:
|
|
21329
|
-
description: Date of the last processing
|
|
21330
|
-
$ref: "#/components/schemas/Timestamp"
|
|
21331
|
-
urls:
|
|
21332
|
-
type: object
|
|
21333
|
-
description: URLs associated with the object
|
|
21334
|
-
properties:
|
|
21335
|
-
location:
|
|
21336
|
-
description: URL of the OpenAPI specification in the API
|
|
21337
|
-
$ref: "#/components/schemas/URL"
|
|
21338
|
-
app:
|
|
21339
|
-
description: URL of the OpenAPI specification in the application
|
|
21340
|
-
$ref: "#/components/schemas/URL"
|
|
21341
|
-
required:
|
|
21342
|
-
- app
|
|
21343
|
-
- location
|
|
21344
|
-
required:
|
|
21345
|
-
- object
|
|
21346
|
-
- id
|
|
21347
|
-
- createdAt
|
|
21348
|
-
- updatedAt
|
|
21349
|
-
- slug
|
|
21350
|
-
- processingState
|
|
21351
|
-
- urls
|
|
21352
21509
|
OpenAPISpecVersion:
|
|
21353
21510
|
type: object
|
|
21354
21511
|
properties:
|
|
@@ -21363,11 +21520,8 @@ components:
|
|
|
21363
21520
|
createdAt:
|
|
21364
21521
|
description: Date of creation
|
|
21365
21522
|
$ref: "#/components/schemas/Timestamp"
|
|
21366
|
-
|
|
21367
|
-
description: URL
|
|
21368
|
-
$ref: "#/components/schemas/URL"
|
|
21369
|
-
contentURL:
|
|
21370
|
-
description: URL pointing to the processed specification
|
|
21523
|
+
url:
|
|
21524
|
+
description: URL where the specification is accessible.
|
|
21371
21525
|
$ref: "#/components/schemas/URL"
|
|
21372
21526
|
urls:
|
|
21373
21527
|
type: object
|
|
@@ -21385,13 +21539,20 @@ components:
|
|
|
21385
21539
|
required:
|
|
21386
21540
|
- object
|
|
21387
21541
|
- id
|
|
21388
|
-
-
|
|
21389
|
-
- contentURL
|
|
21390
|
-
- contentHash
|
|
21542
|
+
- url
|
|
21391
21543
|
- urls
|
|
21392
21544
|
OpenAPISpecContent:
|
|
21393
|
-
description: Content of
|
|
21545
|
+
description: Content of the specification available through filesystem or public URL.
|
|
21394
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
|
|
21395
21556
|
SHA256:
|
|
21396
21557
|
type: string
|
|
21397
21558
|
minLength: 64
|
|
@@ -22702,14 +22863,14 @@ components:
|
|
|
22702
22863
|
required:
|
|
22703
22864
|
- channel
|
|
22704
22865
|
- space
|
|
22705
|
-
|
|
22866
|
+
OpenAPISpecChannel:
|
|
22706
22867
|
type: object
|
|
22707
|
-
description: Subscription channel for changes in OpenAPI specification
|
|
22868
|
+
description: Subscription channel for changes in OpenAPI specification.
|
|
22708
22869
|
properties:
|
|
22709
22870
|
channel:
|
|
22710
22871
|
type: string
|
|
22711
22872
|
enum:
|
|
22712
|
-
- openapi-spec
|
|
22873
|
+
- openapi-spec
|
|
22713
22874
|
openAPISpec:
|
|
22714
22875
|
type: string
|
|
22715
22876
|
required:
|
|
@@ -22778,7 +22939,7 @@ components:
|
|
|
22778
22939
|
- $ref: "#/components/schemas/CustomHostnameChannel"
|
|
22779
22940
|
- $ref: "#/components/schemas/GitSyncSettingsChannel"
|
|
22780
22941
|
- $ref: "#/components/schemas/GitSyncOperationChannel"
|
|
22781
|
-
- $ref: "#/components/schemas/
|
|
22942
|
+
- $ref: "#/components/schemas/OpenAPISpecChannel"
|
|
22782
22943
|
discriminator:
|
|
22783
22944
|
propertyName: channel
|
|
22784
22945
|
GitSyncOperationChannelData:
|