code: public List<Task> getPendingTasksByType(String taskType, String startKey, Integer count) {
          Preconditions.checkArgument(StringUtils.isNotBlank(taskType), "Task type cannot be blank");
  
          Object[] params = new Object[]{"startKey", startKey, "count", count};
          return getForEntity("tasks/in_progress/{taskType}", params, taskList, taskType);
      }
docs: Retrieve pending tasks by type
  
  @param taskType Type of task
  @param startKey id of the task from where to return the results. NULL to start from the beginning.
  @param count    number of tasks to retrieve
  @return Returns the list of PENDING tasks by type, starting with a given task Id.