@GET
@Produces(MediaType.APPLICATION_JSON)
@Path("/task")
public TaskData getTaskSummary(@QueryParam("jobId") String jobId, @QueryParam("width") int steps, @QueryParam("workflowId") String workflowId,
@DefaultValue("-1") @QueryParam("startTime") long minFinishTime, @DefaultValue("-1") @QueryParam("endTime") long maxStartTime) {
TaskData points = new TaskData();
PostgresConnector conn = null;
try {
conn = getConnector();
List<TaskAttempt> taskAttempts = null;
long startTime = -1;