Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Labelixa Com Dpi API
version: 0.4.0
description: 'Operations tagged Dpi across 2 of this provider''s published API definitions: labelixa-com-api-openapi.json, labelixa-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Dpi
paths:
/v1/dpi/analyze:
post:
summary: Analyze size and DPI
description: 'Size and print-density analysis of a ZPL label. The DPI estimate is a heuristic and the response states why it was chosen; when no single density fits, no estimate is given. Stateless: the code is not stored or logged. Does not count against the operation quota; only the per-second rate limit applies.'
operationId: dpi_analyze_v1_dpi_analyze_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Dpi
/v1/dpi/convert:
post:
summary: Convert ZPL between densities
description: 'Rescales ZPL coordinates and sizes from `source` DPI to `target` DPI and returns `application/zpl`. `^GF`/`~DG` image data is not rescaled; the response says so in `X-Warnings`. Stateless: the code is not stored or logged. Does not count against the operation quota; only the per-second rate limit applies.'
operationId: dpi_convert_v1_dpi_convert_post
parameters:
- name: source
in: query
required: false
schema:
type: integer
default: 203
title: Source
- name: target
in: query
required: false
schema:
type: integer
default: 300
title: Target
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Dpi
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
x-refined-from:
- labelixa-com-api-openapi.json
- labelixa-com-openapi.json