forked from 0xWheatyz/SPARC
Feature: add cursor-based pagination to /analyze/batch and /jobs endpoints #267
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
/analyze/batchand/jobsreturn all results in a single response. For users with large result sets this will eventually cause performance issues and large payloads.Task
limitandcursor(orpage/offset) query parametersnext_cursor(ornext_page) in the response envelope when more results existAcceptance Criteria
GET /jobs?limit=20&cursor=<token>returns at most 20 results and a next cursorGET /analyze/batch?limit=20&cursor=<token>behaves the samecursorreturns the first pageReference
Roadmap: P3 — API pagination
Triage: P3 - Deferred to future sprint. Will be prioritized after P1/P2 work is complete.
Triage update: P3 — deferred to future sprint. All P1 issues are now resolved. Remaining P2 issues (#253, #256, #257, #260) take priority before P3 work begins.