market types from mammon
This commit is contained in:
@@ -449,6 +449,37 @@ paths:
|
||||
$ref: "#/components/schemas/MarketHistoryResponse"
|
||||
"400":
|
||||
description: The days parameter is not greater than 0
|
||||
/market/types:
|
||||
get:
|
||||
tags:
|
||||
- market
|
||||
summary: Return the static market type details for each requested type id
|
||||
operationId: findTypes
|
||||
parameters:
|
||||
- name: ids
|
||||
in: query
|
||||
description: "Market type ids to look up, e.g. ids=34,35"
|
||||
required: true
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
format: int64
|
||||
responses:
|
||||
"200":
|
||||
description: The market types found for the requested ids; unknown ids are
|
||||
omitted
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/MarketTypeResponse"
|
||||
"400":
|
||||
description: |-
|
||||
Returned when:
|
||||
- the ids parameter is missing
|
||||
- an ids value is not a numeric id
|
||||
/market/scan:
|
||||
get:
|
||||
tags:
|
||||
@@ -916,6 +947,46 @@ components:
|
||||
- marketTypeId
|
||||
- orderCount
|
||||
- volume
|
||||
MarketTypeResponse:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
format: int64
|
||||
name:
|
||||
type: string
|
||||
groupId:
|
||||
type: integer
|
||||
format: int64
|
||||
marketGroupId:
|
||||
type: integer
|
||||
format: int64
|
||||
description:
|
||||
type: string
|
||||
published:
|
||||
type: boolean
|
||||
basePrice:
|
||||
type: number
|
||||
volume:
|
||||
type: number
|
||||
format: double
|
||||
portionSize:
|
||||
type: integer
|
||||
format: int32
|
||||
iconId:
|
||||
type: integer
|
||||
format: int64
|
||||
required:
|
||||
- basePrice
|
||||
- description
|
||||
- groupId
|
||||
- iconId
|
||||
- id
|
||||
- marketGroupId
|
||||
- name
|
||||
- portionSize
|
||||
- published
|
||||
- volume
|
||||
MarketPriceResponse:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user