Jobs
View Status of a Job
Changed onget/public/api/jobs/{id}
Request
- Base URLhttps://<base_url>
- AuthHTTP bearer
Path parameters
idstring required
The id of the job
Response
OK
Example response
{
"job_id": "612794dad9fd130035333636",
"name": "Import file",
"progress": 1,
"lastFinishedAt": "2021-08-26T13:19:24.565Z",
"data": {
"input": {
"file": {
"originalFilename": "testImportErrors.xlsx"
},
"modelName": "stores"
},
"stats": {
"execution_time_milliseconds": 446.931333,
"execution_time": "446.931333 ms",
"errors": 2,
"success": 0
},
"output": {
"error": {
"expires_at": "2021-08-27T13:19:24.341Z",
"download_url": "https://yoobic-loopback-dev-v3.herokuapp.com/api/businesslogic/getTransientResource/stores_errors_612794dad9fd130035333636.csv"
}
}
}
}Changes
- info
added the media type
application/jsonfor the response with the status
- info
- info
the endpoint scheme security
oauth2was removed from the API
- info