code: public void completeTask(int taskId) {
  		getResourceFactory().getApiResource("/task/" + taskId + "/complete")
  				.entity(new Empty(), MediaType.APPLICATION_JSON_TYPE).post();
  	}
docs: Mark the given task as completed.
  
  @param taskId
  The id of the task to nark as complete