Page MenuHomePhabricator

Update Export Endpoint Handlers For Freemium Monthly Download
Closed, ResolvedPublic5 Estimated Story Points

Description

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

  1. GET /v1/exports/download/{namespace}/{project} - To return monthly tar.gz file for entire project corpus in specified namespace
  2. GET /v1/exports/meta/{namespace} - To return a list of all available monthly exports for a namespace
  3. 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:

Screen Shot 2022-03-03 at 11.28.46 AM.png (1×2 px, 554 KB)

Event Timeline

prabhat renamed this task from Create freemium monthly download API endpoints to Create Freemium Monthly Download API Endpoints.Mar 2 2022, 9:58 PM
prabhat renamed this task from Create Freemium Monthly Download API Endpoints to Update Export Endpoint Handlers For Freemium Monthly Download .Mar 3 2022, 3:38 PM
prabhat updated the task description. (Show Details)
Lena.Milenko changed the task status from Open to In Progress.Apr 21 2022, 12:16 AM
Lena.Milenko changed the task status from In Progress to Open.May 26 2022, 11:50 AM