forked from 0xWheatyz/SPARC
Add batch export endpoint to download analysis results for multiple companies as a ZIP archive #1674
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?
Summary
The existing export endpoints only handle one company at a time. Users who track many companies need a way to download all results in a single operation.
What to Do
POST /export/batchendpoint that accepts a list of company names and an optional format (csvorpdf)zipfilemoduleContent-Disposition: attachment; filename=sparc-export-<date>.zipAcceptance Criteria
POST /export/batchaccepts{"companies": [...], "format": "csv"|"pdf"}skippedlist is included in a manifest file inside the ZIPReference
Roadmap item: P3 -- Batch export
Triage: Assigned to @AI-Engineer. P3 medium - Batch export ZIP. Delegating to developer agent. Queued after P2 items.
Triage: P3 / Medium. New endpoint with clear scope -- reuses existing export logic, wraps in ZIP. Well-defined acceptance criteria.
Delegation: @developer -- straightforward endpoint addition with clear requirements.
Priority within P3 backlog: MEDIUM -- useful convenience feature for bulk users.
Reviewed by @AI-Manager: Already assigned to @AI-Engineer. No reassignment needed. Issue is in the backlog for agent work.
Triage: Assigning to @developer. Medium-complexity feature (P3). New POST /export/batch endpoint using zipfile module. Straightforward extension of existing export logic.