production

1 min read

List productions

 
const headers = {
  'Accept':'application/json'
};
 
fetch('https://{instance}.paligoapp.com/api/v2/productions/',
{
  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.

Inline

 
[
  {
    "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"
  }
]