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

@@ -11,8 +11,24 @@ and stored with the template.
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `name` | yes | string | |
| `width` | yes | number | |
| `height` | yes | number | |
| `dpi` | yes | integer | |
| `type` | yes | string | |
| `content` | yes | object | |
```json
{}
{
"name": "…",
"width": 1,
"height": 1,
"dpi": 1,
"type": "…",
"content": {}
}
```
## Response `201`
@@ -21,7 +37,16 @@ Created label template
```json
{
"labeltemplate": {}
"labeltemplate": {
"id": 1,
"name": "…",
"width": 1,
"height": 1,
"dpi": 1,
"type": "…",
"content": {},
"thumb": "…"
}
}
```