code: @GET
    @Produces(APPLICATION_JSON)
    @Path("jobs/{id}")
    @Timed
    @ExceptionMetered
    public TaskStatusEvents jobHistory(@PathParam("id") @Valid final JobId jobId)
        throws HeliosException {
      if (!jobId.isFullyQualified()) {
        throw badRequest("Invalid id");
      }
      try {
        final List<TaskStatusEvent> events = model.getJobHistory(jobId);
        metrics.jobsHistoryEventSize(events.size());
        final TaskStatusEvents result = new TaskStatusEvents(events, OK);
        return result;
      } catch (JobDoesNotExistException e) {
        return new TaskStatusEvents(ImmutableList.<TaskStatusEvent>of(), JOB_ID_NOT_FOUND);
      }
    }
docs: Returns the {@link TaskStatusEvents} for the specified job.
  
  @param jobId The ID of the job.
  
  @return The history of the jobs.
  
  @throws HeliosException If an unexpected error occurs.