mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
Modified 2 files
This commit is contained in:
parent
58bb69768b
commit
8f09683e17
19
models/Jump.yaml
Normal file
19
models/Jump.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
description: ''
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
shipSymbol:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
destination:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
required:
|
||||||
|
- shipSymbol
|
||||||
|
- destination
|
||||||
|
x-examples:
|
||||||
|
example-1:
|
||||||
|
shipSymbol: 1D7FDA-1
|
||||||
|
destination: 00E0B1
|
||||||
|
examples:
|
||||||
|
- shipSymbol: 1D7FDA-1
|
||||||
|
destination: 00E0B1
|
@ -539,7 +539,10 @@ paths:
|
|||||||
required: true
|
required: true
|
||||||
post:
|
post:
|
||||||
summary: Survey a waypoint
|
summary: Survey a waypoint
|
||||||
tags: []
|
tags:
|
||||||
|
- extract
|
||||||
|
- my
|
||||||
|
- ships
|
||||||
responses:
|
responses:
|
||||||
'201':
|
'201':
|
||||||
description: Created
|
description: Created
|
||||||
@ -687,40 +690,84 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
description: ''
|
description: ''
|
||||||
type: object
|
type: object
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
shipSymbol:
|
|
||||||
type: string
|
|
||||||
minLength: 1
|
|
||||||
destination:
|
|
||||||
type: string
|
|
||||||
minLength: 1
|
|
||||||
cooldown:
|
|
||||||
type: number
|
|
||||||
required:
|
|
||||||
- shipSymbol
|
|
||||||
- destination
|
|
||||||
- cooldown
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
x-examples:
|
x-examples:
|
||||||
example-1:
|
example-1:
|
||||||
data:
|
data:
|
||||||
shipSymbol: CE392B-1
|
jump:
|
||||||
destination: 0b1802ba-da4d-4308-aefb-1e5065f98a53
|
shipSymbol: 1D7FDA-1
|
||||||
cooldown: 43200
|
destination: 00E0B1
|
||||||
|
cooldown:
|
||||||
|
duration: 719
|
||||||
|
expiration: '2022-03-12T00:52:56.735Z'
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- jump
|
||||||
|
- cooldown
|
||||||
|
properties:
|
||||||
|
jump:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- shipSymbol
|
||||||
|
- destination
|
||||||
|
properties:
|
||||||
|
shipSymbol:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
destination:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
cooldown:
|
||||||
|
$ref: ../models/Cooldown.yaml
|
||||||
|
required:
|
||||||
|
- data
|
||||||
examples:
|
examples:
|
||||||
Success:
|
Success:
|
||||||
value:
|
value:
|
||||||
data:
|
data:
|
||||||
shipSymbol: CE392B-1
|
jump:
|
||||||
destination: 0b1802ba-da4d-4308-aefb-1e5065f98a53
|
shipSymbol: 1D7FDA-1
|
||||||
cooldown: 43200
|
destination: 00E0B1
|
||||||
|
cooldown:
|
||||||
|
duration: 719
|
||||||
|
expiration: '2022-03-12T00:52:56.735Z'
|
||||||
operationId: post-my-ships-shipSymbol-jump
|
operationId: post-my-ships-shipSymbol-jump
|
||||||
security:
|
security:
|
||||||
- AgentToken: []
|
- AgentToken: []
|
||||||
|
get:
|
||||||
|
summary: ''
|
||||||
|
operationId: get-my-ships-shipSymbol-jump
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: OK
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
description: ''
|
||||||
|
type: object
|
||||||
|
x-examples:
|
||||||
|
example-1:
|
||||||
|
data:
|
||||||
|
cooldown:
|
||||||
|
duration: 719
|
||||||
|
expiration: '2022-03-12T00:52:56.735Z'
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- cooldown
|
||||||
|
properties:
|
||||||
|
cooldown:
|
||||||
|
$ref: ../models/Cooldown.yaml
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
security:
|
||||||
|
- AgentToken: []
|
||||||
|
tags:
|
||||||
|
- jump
|
||||||
|
- my
|
||||||
|
- ships
|
||||||
'/my/ships/{shipSymbol}/purchase':
|
'/my/ships/{shipSymbol}/purchase':
|
||||||
parameters:
|
parameters:
|
||||||
- schema:
|
- schema:
|
||||||
@ -1168,7 +1215,10 @@ paths:
|
|||||||
description: The ship symbol
|
description: The ship symbol
|
||||||
post:
|
post:
|
||||||
summary: Navigate ship
|
summary: Navigate ship
|
||||||
tags: []
|
tags:
|
||||||
|
- my
|
||||||
|
- navigation
|
||||||
|
- ships
|
||||||
responses:
|
responses:
|
||||||
'201':
|
'201':
|
||||||
description: Created
|
description: Created
|
||||||
|
Loading…
Reference in New Issue
Block a user