u
This commit is contained in:
@@ -4,7 +4,7 @@ Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
List label templates
|
||||
|
||||
Lists all ZPL label templates for the selected company. The `thumb` field is always included inline as a base64-encoded 50×50 1-bit PNG string (`null` if not yet rendered).
|
||||
Lists all ZPL label templates for the selected company. The `thumb` field is returned as a base64-encoded PNG string when present. `content.objects` is omitted to reduce payload size.
|
||||
|
||||
## Response `200`
|
||||
|
||||
@@ -13,17 +13,7 @@ List of label templates
|
||||
```json
|
||||
{
|
||||
"labeltemplates": [
|
||||
{
|
||||
"id": 1,
|
||||
"company_id": 1,
|
||||
"name": "…",
|
||||
"width": 448,
|
||||
"height": 200,
|
||||
"dpi": 203,
|
||||
"type": "zpl",
|
||||
"content": {},
|
||||
"thumb": "…"
|
||||
}
|
||||
{}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user