mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
fix list markets endpoint
This commit is contained in:
parent
b301830d9f
commit
fe42d5afcb
@ -2498,51 +2498,23 @@ paths:
|
|||||||
exchange: []
|
exchange: []
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
type: object
|
type: array
|
||||||
required:
|
items:
|
||||||
- exports
|
type: string
|
||||||
- imports
|
|
||||||
- exchange
|
|
||||||
properties:
|
|
||||||
exports:
|
|
||||||
type: array
|
|
||||||
uniqueItems: true
|
|
||||||
items:
|
|
||||||
$ref: ../models/MarketTrade.yaml
|
|
||||||
imports:
|
|
||||||
type: array
|
|
||||||
uniqueItems: true
|
|
||||||
items:
|
|
||||||
$ref: ../models/MarketTrade.yaml
|
|
||||||
exchange:
|
|
||||||
type: array
|
|
||||||
uniqueItems: true
|
|
||||||
items:
|
|
||||||
$ref: ../models/MarketTrade.yaml
|
|
||||||
required:
|
required:
|
||||||
- data
|
- data
|
||||||
examples:
|
examples:
|
||||||
Success:
|
Success:
|
||||||
value:
|
value:
|
||||||
data:
|
data:
|
||||||
exports:
|
- X1-AK3-88760F
|
||||||
- waypointSymbol: X1-OE-PM
|
meta:
|
||||||
tradeSymbol: MICROPROCESSORS
|
total: 1
|
||||||
price: 834
|
page: 1
|
||||||
tariff: 0
|
limit: 20
|
||||||
imports:
|
|
||||||
- waypointSymbol: X1-OE-PM
|
|
||||||
tradeSymbol: SILICON
|
|
||||||
price: 144
|
|
||||||
tariff: 0
|
|
||||||
- waypointSymbol: X1-OE-PM
|
|
||||||
tradeSymbol: QUARTZ
|
|
||||||
price: 286
|
|
||||||
tariff: 0
|
|
||||||
exchange: []
|
|
||||||
operationId: get-systems-systemSymbol-markets
|
operationId: get-systems-systemSymbol-markets
|
||||||
description: |-
|
description: |-
|
||||||
Retrieve a list of all charted markets in the given system. Market data is only available if the waypoint is charted and contains a communications relay.
|
Retrieve a list of all charted markets in the given system. Markets are only available if the waypoint is charted and contains a communications relay.
|
||||||
|
|
||||||
To install a communications relay at a market, look at the `my/ships/{shipSymbol}/deploy` endpoint.
|
To install a communications relay at a market, look at the `my/ships/{shipSymbol}/deploy` endpoint.
|
||||||
security:
|
security:
|
||||||
|
Loading…
Reference in New Issue
Block a user