item search
This commit is contained in:
@@ -480,6 +480,42 @@ paths:
|
||||
Returned when:
|
||||
- the ids parameter is missing
|
||||
- an ids value is not a numeric id
|
||||
/market/types/search:
|
||||
get:
|
||||
tags:
|
||||
- market
|
||||
summary: "Search marketable types whose name contains the given text, case-insensitively"
|
||||
operationId: searchTypes
|
||||
parameters:
|
||||
- name: name
|
||||
in: query
|
||||
description: "Text to match against the type name, e.g. name=tritan"
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- name: limit
|
||||
in: query
|
||||
description: "Maximum number of results to return, defaults to 50"
|
||||
required: false
|
||||
schema:
|
||||
type: integer
|
||||
format: int32
|
||||
default: 50
|
||||
responses:
|
||||
"200":
|
||||
description: "The marketable types matching the search, ordered by name\
|
||||
\ and capped at the requested limit"
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/MarketTypeResponse"
|
||||
"400":
|
||||
description: |-
|
||||
Returned when:
|
||||
- the name parameter is missing
|
||||
- the limit value is not a number
|
||||
/market/scan:
|
||||
get:
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user