Commit 7f5a083d authored by LETORT Sebastien's avatar LETORT Sebastien

API: APIJobView (get_job_status) return the result of the job as a new key.

parent 97c942a3
Pipeline #101011 passed with stages
in 6 minutes and 26 seconds
......@@ -35,6 +35,7 @@ class APIJobView(JobAuthMixin, View):
response = {
job.id: files,
"status": job.get_state_display().lower(),
"results": job.get_result_display(),
}
return JsonResponse(response)
except Job.DoesNotExist as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment