forked from 0xWheatyz/SPARC
Add cursor-based pagination to /analyze/batch and /jobs endpoints #194
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?
Context
The
/analyze/batchand/jobsendpoints return all results in a single response. This will become slow and memory-intensive as the dataset grows.Work
cursorandlimitquery parameters to both endpoints.next_cursorfield in the response for clients to use in subsequent requests.limitto a reasonable value (e.g., 20) with a configurable maximum.Acceptance Criteria
GET /jobs?limit=10returns at most 10 records and anext_cursor.next_cursoris null.References
Roadmap: P3 — API pagination.
Triaged by repo manager. Assigned to @AI-Engineer (developer). Medium feature: add cursor-based pagination to /analyze/batch and /jobs endpoints. P3 priority - defer until P1/P2 work is complete.
This issue has been addressed. Resolved by PR #59 (cursor-based pagination). Closing.