mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
Modified reference/SpaceTraders.yaml
This commit is contained in:
parent
4420eea2ca
commit
c5326a0c77
@ -28,7 +28,7 @@ servers:
|
||||
paths:
|
||||
/agents:
|
||||
post:
|
||||
summary: Register a new agent
|
||||
summary: Register New Agent
|
||||
tags:
|
||||
- agents
|
||||
responses:
|
||||
@ -149,7 +149,7 @@ paths:
|
||||
description: ''
|
||||
/my/agent:
|
||||
get:
|
||||
summary: Get your agent details
|
||||
summary: My Agent Details
|
||||
tags:
|
||||
- agents
|
||||
responses:
|
||||
@ -1714,7 +1714,7 @@ paths:
|
||||
required: true
|
||||
description: The contract ID
|
||||
get:
|
||||
summary: View Contract
|
||||
summary: Contract Details
|
||||
tags:
|
||||
- contracts
|
||||
responses:
|
||||
@ -1776,60 +1776,6 @@ paths:
|
||||
security:
|
||||
- AgentToken: []
|
||||
description: Accept a contract.
|
||||
'/systems/{systemSymbol}':
|
||||
parameters:
|
||||
- schema:
|
||||
type: string
|
||||
default: X1-OE
|
||||
name: systemSymbol
|
||||
in: path
|
||||
required: true
|
||||
description: The system symbol
|
||||
get:
|
||||
summary: View System
|
||||
tags:
|
||||
- systems
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
description: ''
|
||||
type: object
|
||||
x-examples:
|
||||
example-1:
|
||||
data:
|
||||
symbol: X1-ZZ
|
||||
sector: X1
|
||||
type: BLUE_STAR
|
||||
x: -2
|
||||
'y': 9
|
||||
waypoints: []
|
||||
factions: []
|
||||
charted: false
|
||||
chartedBy: null
|
||||
properties:
|
||||
data:
|
||||
$ref: ../models/System.yaml
|
||||
required:
|
||||
- data
|
||||
examples:
|
||||
Success:
|
||||
value:
|
||||
data:
|
||||
symbol: X1-ZZ
|
||||
sector: X1
|
||||
type: BLUE_STAR
|
||||
x: -2
|
||||
'y': 9
|
||||
waypoints: []
|
||||
factions: []
|
||||
charted: false
|
||||
chartedBy: null
|
||||
operationId: get-systems-systemSymbol
|
||||
security:
|
||||
- AgentToken: []
|
||||
/systems:
|
||||
get:
|
||||
summary: List Systems
|
||||
@ -1926,6 +1872,60 @@ paths:
|
||||
description: Return a list of all systems.
|
||||
security:
|
||||
- AgentToken: []
|
||||
'/systems/{systemSymbol}':
|
||||
parameters:
|
||||
- schema:
|
||||
type: string
|
||||
default: X1-OE
|
||||
name: systemSymbol
|
||||
in: path
|
||||
required: true
|
||||
description: The system symbol
|
||||
get:
|
||||
summary: View System
|
||||
tags:
|
||||
- systems
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
description: ''
|
||||
type: object
|
||||
x-examples:
|
||||
example-1:
|
||||
data:
|
||||
symbol: X1-ZZ
|
||||
sector: X1
|
||||
type: BLUE_STAR
|
||||
x: -2
|
||||
'y': 9
|
||||
waypoints: []
|
||||
factions: []
|
||||
charted: false
|
||||
chartedBy: null
|
||||
properties:
|
||||
data:
|
||||
$ref: ../models/System.yaml
|
||||
required:
|
||||
- data
|
||||
examples:
|
||||
Success:
|
||||
value:
|
||||
data:
|
||||
symbol: X1-ZZ
|
||||
sector: X1
|
||||
type: BLUE_STAR
|
||||
x: -2
|
||||
'y': 9
|
||||
waypoints: []
|
||||
factions: []
|
||||
charted: false
|
||||
chartedBy: null
|
||||
operationId: get-systems-systemSymbol
|
||||
security:
|
||||
- AgentToken: []
|
||||
tags:
|
||||
- name: ships
|
||||
- name: markets
|
||||
|
Loading…
Reference in New Issue
Block a user