- Paligo-API
- Produktion
- Produktion anlegen
Produktion
Produktion anlegen
const inputBody = '{"publishsetting": "123"}';const headers = {'Content-Type':'application/json','Accept':'application/json'};fetch('https://{instance}.paligoapp.com/api/v2/productions/',{method: 'POST',body: inputBody,headers: headers}).then(function(res) {return res.json();}).then(function(body) {console.log(body);});
Körperparameter
{"publishsetting": "123"}
Antworten
Status | Bedeutung | Beschreibung | Schema |
|---|---|---|---|
200 | Antwort erfolgreich. |
{"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"}