fix list markets endpoint

This commit is contained in:
Space Admiral 2022-03-19 08:25:21 -07:00
parent b301830d9f
commit fe42d5afcb

View File

@ -2498,51 +2498,23 @@ paths:
exchange: [] exchange: []
properties: properties:
data: data:
type: object
required:
- exports
- imports
- exchange
properties:
exports:
type: array type: array
uniqueItems: true
items: items:
$ref: ../models/MarketTrade.yaml type: string
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: