Export dashboard chart data to Excel
POST/api/v1/dashboard/:pk/export_xlsx/
Enqueues an async task that writes each chart's data to its own worksheet, uploads the .xlsx to the configured export storage, and records a download link. The requesting user is emailed the link when they have an address on file; either way the returned job id can be polled at export_xlsx/status/<job_id>/ for status and, once ready, the download link.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 500
- 501
Export task accepted
Bad request
Unauthorized
Forbidden
Not found
Fatal error
Excel export is not configured on this server