Summary
Campaign operators need to export their data for reporting, accounting, and off-platform analysis. A downloadable export of campaign stats, participants, and reward distributions covers the most common operator use cases.
Acceptance Criteria
References
backend/src/index.js
backend/src/dal/
Summary
Campaign operators need to export their data for reporting, accounting, and off-platform analysis. A downloadable export of campaign stats, participants, and reward distributions covers the most common operator use cases.
Acceptance Criteria
GET /api/v1/campaigns/:id/export?format=csv|json(API key required){ campaign: {...}, participants: [...] }structureContent-Disposition: attachment; filename=campaign-{id}-export.csv?from=ISO_DATE&to=ISO_DATEReferences
backend/src/index.jsbackend/src/dal/