This commit is contained in:
seb
2026-10-23 22:40:28 +02:00
parent b9bd0380cb
commit 5dd45916b8
8 changed files with 1175 additions and 573 deletions

View File

@@ -257,8 +257,8 @@ _none_
- Params: `sku: str, body: { eans: str[] }`
- Returns: `204 void`
#### Get article history by SKU — `GET /article/{sku}/history`
- Params: `sku: str, query: limit?: int`
- Returns: `200 { history: { id: int, date: str, text: str }[], truncated: bool }`
- Params: `sku: str, query: offset?: int, limit?: int, search?: str, seekMonths?: int`
- Returns: `200 { history: { id: int, date: str, text: str }[], total: int, unfilteredTotal: int, offset: int, limit: int }`
#### Add article image — `POST /article/{sku}/image`
- Params: `sku: str, image/avif`
- Returns: `201 { image: { picId: int, sort: int, full: { w: int, h: int, size: int }, thumb: { w: int, h: int }, hash: str, thumbHash: str } }`