u
This commit is contained in:
@@ -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": "…"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user