pub fn output(
path: Path<u64>,
state: State<ApplicationState>
) -> Box<dyn Future<Item = HttpResponse, Error = Error>>
Expand description
Handles GET /job/{job_id}/output
requests. Gets the current output for a given job.
Returns
- 200 - JSON response containing job output, if any
- 404 - not found error if no job with given
job_id
is found