apraisal endpoint

This commit is contained in:
Sirttas
2026-06-12 21:20:44 +02:00
parent 2ab3f01d89
commit d0c198118d
6 changed files with 144 additions and 67 deletions
+44
View File
@@ -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