u
This commit is contained in:
@@ -44,9 +44,10 @@ export function register(app, basePath = '') {
|
||||
* get:
|
||||
* tags: [LabelTemplate]
|
||||
* summary: List label templates
|
||||
* description: Lists all ZPL label templates for the selected company. The `thumb` field is returned as a base64-encoded PNG string when present.
|
||||
* description: 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.
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: labeltemplate/list.md
|
||||
* responses:
|
||||
* 200:
|
||||
* description: List of label templates
|
||||
@@ -97,6 +98,7 @@ export function register(app, basePath = '') {
|
||||
* description: Retrieves a single label template for the authenticated user's selected company.
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: labeltemplate/get.md
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
@@ -169,6 +171,7 @@ export function register(app, basePath = '') {
|
||||
* and stored with the template.
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: labeltemplate/create.md
|
||||
* requestBody:
|
||||
* required: true
|
||||
* content:
|
||||
@@ -271,6 +274,7 @@ export function register(app, basePath = '') {
|
||||
* When `content` (or `width`/`height`) is provided, the thumbnail is automatically re-rendered.
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: labeltemplate/update.md
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
@@ -320,6 +324,7 @@ export function register(app, basePath = '') {
|
||||
* When `content` (or `width`/`height`) is provided, the thumbnail is automatically re-rendered.
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: labeltemplate/update.md
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
@@ -374,6 +379,7 @@ export function register(app, basePath = '') {
|
||||
* description: Deletes a label template for the authenticated user's selected company.
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: labeltemplate/delete.md
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: id
|
||||
|
||||
Reference in New Issue
Block a user