apraisal endpoint
This commit is contained in:
@@ -445,6 +445,32 @@ paths:
|
||||
$ref: "#/components/schemas/MarketScanResponse"
|
||||
"400":
|
||||
description: The days parameter is not greater than 0
|
||||
/market/prices:
|
||||
get:
|
||||
tags:
|
||||
- market
|
||||
summary: "Return the current Jita order book (highest buy, lowest sell, order\
|
||||
\ count) for each requested market type"
|
||||
operationId: currentPrices
|
||||
parameters:
|
||||
- name: types
|
||||
in: query
|
||||
description: "Market type ids to price, e.g. types=34,35"
|
||||
required: true
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
format: int64
|
||||
responses:
|
||||
"200":
|
||||
description: "The order book for each requested type, one entry per type"
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/MarketPriceResponse"
|
||||
/ledgers:
|
||||
get:
|
||||
tags:
|
||||
@@ -827,6 +853,24 @@ components:
|
||||
- q3
|
||||
- score
|
||||
- totalVolume
|
||||
MarketPriceResponse:
|
||||
type: object
|
||||
properties:
|
||||
marketTypeId:
|
||||
type: integer
|
||||
format: int64
|
||||
buy:
|
||||
type: number
|
||||
sell:
|
||||
type: number
|
||||
orderCount:
|
||||
type: integer
|
||||
format: int64
|
||||
required:
|
||||
- buy
|
||||
- marketTypeId
|
||||
- orderCount
|
||||
- sell
|
||||
LedgerResponse:
|
||||
discriminator:
|
||||
propertyName: type
|
||||
|
||||
Reference in New Issue
Block a user