mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-02 13:33:10 +00:00
Apply changes to the openapi file (#1187)
This commit is contained in:
parent
4e2a321ad5
commit
6f62afef75
13
openapi.yaml
13
openapi.yaml
@ -50,6 +50,10 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: The amount of tokens paid per byte per second per slot to hosts the client is willing to pay
|
description: The amount of tokens paid per byte per second per slot to hosts the client is willing to pay
|
||||||
|
|
||||||
|
CollateralPerByte:
|
||||||
|
type: string
|
||||||
|
description: Number as decimal string that represents how much collateral per byte is asked from hosts that wants to fill a slots
|
||||||
|
|
||||||
Duration:
|
Duration:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
@ -320,8 +324,7 @@ components:
|
|||||||
default: 1
|
default: 1
|
||||||
minimum: 1
|
minimum: 1
|
||||||
collateralPerByte:
|
collateralPerByte:
|
||||||
type: string
|
$ref: "#/components/schemas/CollateralPerByte"
|
||||||
description: Number as decimal string that represents how much collateral per byte is asked from hosts that wants to fill a slots
|
|
||||||
expiry:
|
expiry:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
@ -351,6 +354,8 @@ components:
|
|||||||
$ref: "#/components/schemas/ProofProbability"
|
$ref: "#/components/schemas/ProofProbability"
|
||||||
pricePerBytePerSecond:
|
pricePerBytePerSecond:
|
||||||
$ref: "#/components/schemas/PricePerBytePerSecond"
|
$ref: "#/components/schemas/PricePerBytePerSecond"
|
||||||
|
collateralPerByte:
|
||||||
|
$ref: "#/components/schemas/CollateralPerByte"
|
||||||
maxSlotLoss:
|
maxSlotLoss:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
@ -392,7 +397,7 @@ components:
|
|||||||
description: Description of the Request's state
|
description: Description of the Request's state
|
||||||
enum:
|
enum:
|
||||||
- cancelled
|
- cancelled
|
||||||
- error
|
- errored
|
||||||
- failed
|
- failed
|
||||||
- finished
|
- finished
|
||||||
- pending
|
- pending
|
||||||
@ -586,6 +591,8 @@ paths:
|
|||||||
text/plain:
|
text/plain:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
"422":
|
||||||
|
description: The mimetype of the filename is invalid
|
||||||
"500":
|
"500":
|
||||||
description: Well it was bad-bad and the upload did not work out
|
description: Well it was bad-bad and the upload did not work out
|
||||||
|
|
||||||
|
|||||||
7
redocly.yaml
Normal file
7
redocly.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
extends:
|
||||||
|
- recommended
|
||||||
|
|
||||||
|
rules:
|
||||||
|
info-license: off
|
||||||
|
no-required-schema-properties-undefined: error
|
||||||
|
no-server-example.com: off
|
||||||
Loading…
x
Reference in New Issue
Block a user