item search

This commit is contained in:
Sirttas
2026-06-13 18:10:26 +02:00
parent cc4d56ae4c
commit dcf50fb8af
3 changed files with 122 additions and 2 deletions
+36
View File
@@ -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: