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