Jobs
Responses
200
Success
application/json
get
GET /v2/jobs HTTP/1.1
Host: localhost
Accept: */*
200
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"
}
}
]
Path parameters
job_idintegerRequired
job_id to query
Responses
200
Success
application/json
404
Not found
get
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"
}
}
Last updated
Was this helpful?