API endpoint pagination key 'max' needed for tasks
combiz opened this issue · 2 comments
combiz commented
The API endpoint for tasks (https://tower.nf/openapi/index.html#get-/workflow/-workflowId-/tasks
) paginates the results, returning the first ten records. However, there is no 'max' key available for this endpoint to control the number of records returned, as implemented in other endpoints (e.g. https://tower.nf/openapi/index.html#get-/workflow
).
pditommaso commented
Thanks for reporting, think here the problem is the docs, there are actually those params:
start
: initial offsetlength
: max number of record returned (default: 10, max: 100)
combiz commented
Excellent, thanks, yes these params are not in the docs.