code: public SearchResult<TaskSummary> search(Integer start, Integer size, String sort, String freeText, String query) {
          Object[] params = new Object[]{"start", start, "size", size, "sort", sort, "freeText", freeText, "query", query};
          return getForEntity("tasks/search", params, searchResultTaskSummary);
      }
docs: Paginated search for tasks based on payload
  
  @param start    start value of page
  @param size     number of tasks to be returned
  @param sort     sort order
  @param freeText additional free text query
  @param query    the search query
  @return the {@link SearchResult} containing the {@link TaskSummary} that match the query