Function ocypod::handlers::job::status

source ·
pub fn status(
    path: Path<u64>,
    state: State<ApplicationState>
) -> Box<dyn Future<Item = HttpResponse, Error = Error>>
Expand description

Handles GET /job/{job_id}/status requests.

Returns

  • 200 - JSON response containing status string
  • 404 - not found error if no job with given job_id is found