Skip to content

GET /print-template

Find Print Templates

GET
/print-template

List print templates, optionally scoped to a specific entity context.

When called without parameters, returns all PrintTemplate documents with
their name, description, and entities count (number of can_use_print_template
edges pointing to each template), sorted by name.

When context='template', returns the matching template by context_key.

When context is any other entity type (product, phase, step,
issue_type, task_type, position), returns only templates assigned to
the entity identified by context_key via can_use_print_template edges.

Note: full template basePdf and schemas data are not included in list
responses — use GET /print-template/{template_key} for full details.

Emits: (direct query — no event class)

Required scope: quality:print-template:read

Authorizations

OAuth2PasswordBearer
password Flow
Token URL"/api/auth"
Scopes:
  • "admin"User can access and edit users and system settings
  • "library"User can access and edit products
  • "production"User can access and edit production plans
  • "operator"User can access the operator panel and make production declarations

Parameters

Query Parameters

context
context_key

Responses

Successful Response

application/json
JSON
[
]

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.