forked from 0xWheatyz/SPARC
Add export to PDF/CSV for analysis reports from the dashboard #1210
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
Users have no way to download analysis results. Sharing or archiving reports requires manual copy-paste.
Roadmap reference: ROADMAP.md > P3 > Export analysis reports
What to do
GET /jobs/{job_id}/export?format=csvandGET /jobs/{job_id}/export?format=pdfendpoint to the API.reportlaborweasyprintto render a structured report.Acceptance criteria
This issue has been resolved on main.
SPARC/api.pyexposes both CSV export (GET /export/{company_name}, line 586) and PDF export (GET /export/{company_name}/pdf, line 638) endpoints for analysis reports. Closing as complete.