ValidationPolicy

Check a validation policy file and resolve its stages

Changed on

Parses a validation policy written as YAML, checks it, and returns it with every default filled and the settings each application uses at each stage. An invalid policy is a 200 with valid false and its errors. Reads and stores nothing.

post/validationPolicy/resolve

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/validationPolicy/resolve
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Request body

yamlstring required

The policy file's text, YAML 1.1 without aliases, tags or a second document

Response

The policy's errors, or the policy and its resolved stages

validboolean required
stagesobject

The settings each application uses at each of its stages, by application name. Valid only; an application with no stages is left out

Changes