@GET @ApiIgnore // until documented
  @Produces("text/plain")
  public Response getTaskAttempts(String body, @Context HttpHeaders headers,
      @Context UriInfo ui) {
    return handleRequest(headers, body, ui, Request.Type.GET,
        createTaskAttemptResource(clusterName, workflowId, jobId, null));
  }
Handles: GET /workflows/{workflowId}/jobs/taskattempts Get all task
attempts.

@param headers
         http headers
@param ui
         uri info

@return task attempt collection resource representation
ambari-server/src/main/java/org/apache/ambari/server/api/services/TaskAttemptService.java