Last updated 16 days ago
Was this helpful?
/jobs
curl -L \ --url 'http://localhost/v2/jobs'
[ { "id": 1, "status": "pending", "description": "Installation of FLECS App 1 (1.2.3.4-f1)", "numSteps": 5, "currentStep": { "description": "Downloading...", "num": 3, "unit": "B", "unitsTotal": 10485761, "unitsDone": 5120000, "rate": 2048 }, "result": { "code": -1, "message": "Explanation what went wrong" } } ]
/jobs/{job_id}
job_id to query
curl -L \ --url 'http://localhost/v2/jobs/{job_id}'
{ "id": 1, "status": "pending", "description": "Installation of FLECS App 1 (1.2.3.4-f1)", "numSteps": 5, "currentStep": { "description": "Downloading...", "num": 3, "unit": "B", "unitsTotal": 10485761, "unitsDone": 5120000, "rate": 2048 }, "result": { "code": -1, "message": "Explanation what went wrong" } }
curl -L \ --request DELETE \ --url 'http://localhost/v2/jobs/{job_id}'
No body