Skip to content

Download secure datasets a zip file- API | Implementation #305

Open
@Prabhu4452

Description

@Prabhu4452

Requirement:
Implement a new API which should provide capability for a data consumer to download datasets as a zip file based on the search query parameters that a data consumer provides as part of the API. To add more, the API should send a notification as an email to data consumer with the downloadable link of the datasets.

Key Points:

  1. Token is a mandatory field.
  2. At least one search query parameter is needed.
  3. Resource Id could be an optional parameter.

Sample API endpoint structure:
https://vermillion.datasetu.org/API_Name?token=sample_token&id=sample_id&gender=male

Sample output:
An email to the data consumer with following content.

Subject: Download Links
Content:
Dear consumer,
The downloadable links for the datasets you requested are ready to be served. Please use below link to download the datasets as a zip file.
Sample downloadable link:
https://vermillion.datasetu.org/consumer/token/uuid/filename.zip

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions