forked from 0xWheatyz/SPARC
Add cursor-based pagination to /analyze/batch and /jobs endpoints #1396
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
Roadmap item: P3 -- API pagination
The /analyze/batch and /jobs endpoints return all results in a single response. As the number of jobs grows this becomes slow and memory-intensive.
Task
Acceptance Criteria
Reference
See ROADMAP.md section P3.
Resolved by PR #59 (merged). The
/jobsendpoint supports cursor-based pagination withcursorandlimitquery parameters and returnsnext_cursorin the response.