Skip to content
Navigation

Check a template for problems

Compiles the template for diagnostics only — nothing is rendered or stored.

The answer carries diagnostics (compile errors and warnings, with file and line), the assets the sources reference and which of them are missing, and the fonts they use and which are unresolved. An empty diagnostics with nothing missing means the template renders.

Learn more: Compose

POST
https://api.cloudraker.com/v1/compose/configs/{idOrSlug}/lint
Try it
Path parameters
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • idOrSlug
    string
    required
    minLength: 1

Returns

200

The diagnostics.

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

404

Unknown template.

422

The template has no files or no main (config_incomplete).

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close