Last updated 2 months ago
Was this helpful?
GET /v2/jobs HTTP/1.1 Host: localhost Accept: */*
Success
[ { "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" } } ]
job_id to query
GET /v2/jobs/{job_id} HTTP/1.1 Host: localhost Accept: */*
{ "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" } }
DELETE /v2/jobs/{job_id} HTTP/1.1 Host: localhost Accept: */*
No content