mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
Modified reference/SpaceTraders.yaml
This commit is contained in:
parent
52fefec593
commit
8676e4aa02
@ -1173,29 +1173,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
description: ''
|
description: ''
|
||||||
type: object
|
type: object
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
shipSymbol:
|
|
||||||
type: string
|
|
||||||
minLength: 1
|
|
||||||
departure:
|
|
||||||
type: string
|
|
||||||
minLength: 1
|
|
||||||
destination:
|
|
||||||
type: string
|
|
||||||
minLength: 1
|
|
||||||
durationRemaining:
|
|
||||||
type: number
|
|
||||||
arrivedAt: {}
|
|
||||||
required:
|
|
||||||
- shipSymbol
|
|
||||||
- departure
|
|
||||||
- destination
|
|
||||||
- durationRemaining
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
x-examples:
|
x-examples:
|
||||||
example-1:
|
example-1:
|
||||||
data:
|
data:
|
||||||
@ -1204,15 +1181,27 @@ paths:
|
|||||||
destination: X1-OE-A005
|
destination: X1-OE-A005
|
||||||
durationRemaining: 2159
|
durationRemaining: 2159
|
||||||
arrivedAt: null
|
arrivedAt: null
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
navigation:
|
||||||
|
$ref: ../models/ShipNavigation.yaml
|
||||||
|
fuelCost:
|
||||||
|
type: number
|
||||||
|
required:
|
||||||
|
- data
|
||||||
examples:
|
examples:
|
||||||
Success:
|
Success:
|
||||||
value:
|
value:
|
||||||
data:
|
data:
|
||||||
shipSymbol: 3AE434-1
|
fuelCost: 38
|
||||||
departure: X1-OE-PM
|
navigation:
|
||||||
destination: X1-OE-A005
|
shipSymbol: BA03F2-1
|
||||||
durationRemaining: 2159
|
departure: X1-OE-PM
|
||||||
arrivedAt: null
|
destination: X1-OE-A005
|
||||||
|
durationRemaining: 2279
|
||||||
|
arrivedAt: null
|
||||||
operationId: post-my-ships-shipSymbol-navigate
|
operationId: post-my-ships-shipSymbol-navigate
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
@ -1244,9 +1233,22 @@ paths:
|
|||||||
arrivedAt: null
|
arrivedAt: null
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
$ref: ../models/ShipNavigation.yaml
|
type: object
|
||||||
|
properties:
|
||||||
|
navigation:
|
||||||
|
$ref: ../models/ShipNavigation.yaml
|
||||||
required:
|
required:
|
||||||
- data
|
- data
|
||||||
|
examples:
|
||||||
|
Success:
|
||||||
|
value:
|
||||||
|
data:
|
||||||
|
navigation:
|
||||||
|
shipSymbol: BA03F2-1
|
||||||
|
departure: X1-OE-PM
|
||||||
|
destination: X1-OE-A005
|
||||||
|
durationRemaining: 2279
|
||||||
|
arrivedAt: null
|
||||||
description: Get the status of your last navigation.
|
description: Get the status of your last navigation.
|
||||||
security:
|
security:
|
||||||
- AgentToken: []
|
- AgentToken: []
|
||||||
|
Loading…
Reference in New Issue
Block a user