This commit is contained in:
seb
2026-09-30 19:29:13 +02:00
parent d6fe6ff1d2
commit e358eccca9
80 changed files with 1185 additions and 225 deletions

View File

@@ -16,8 +16,24 @@ When `content` (or `width`/`height`) is provided, the thumbnail is automatically
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `name` | no | string | |
| `width` | no | number | |
| `height` | no | number | |
| `dpi` | no | integer | |
| `type` | no | string | |
| `content` | no | object | |
```json
{}
{
"name": "…",
"width": 1,
"height": 1,
"dpi": 1,
"type": "…",
"content": {}
}
```
## Response `200`
@@ -26,7 +42,16 @@ Updated label template
```json
{
"labeltemplate": {}
"labeltemplate": {
"id": 1,
"name": "…",
"width": 1,
"height": 1,
"dpi": 1,
"type": "…",
"content": {},
"thumb": "…"
}
}
```