For the free access to dumps and metadata, we need to update 3 API endpoints' handlers.
Work items:
[A] Update endpoint handlers for these API
- GET /v1/exports/download/{namespace}/{project} - To return monthly tar.gz file for entire project corpus in specified namespace
- GET /v1/exports/meta/{namespace} - To return a list of all available monthly exports for a namespace
- GET /v1/exports/meta/{namespace}/{project} - To return monthly export metadata for a specific namespace on a specific project
We will need to update the export service API handlers such that these handlers can identify the usergroup of the user. Depending on the usergroup, the handlers will work with a different location in the s3 bucket to serve dump and metadata from.
[B] Update docs for these endpoints
Complete architecture of freemium monthly download: