Skip to main content

Paligo API

Show production

const headers = {
  'Accept':'application/json'
};

fetch('https://{instance}.paligoapp.com/api/v2/productions/{id}',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

Responses

Status

Meaning

Description

Schema

200

OK

Successful response.

Production

{
  "id": "production.1234-5678",
  "status": "running",
  "url": "https://example.paligoapp.com/output-name.pdf",
  "message": "Creating PDF.",
  "steps": {
    "total": 20,
    "count": 2
  },
  "log_url": "https://example.paligoapp.com/production-id/out.log"
}