You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
As developer
I want an api endpoint
So that I can download filtered list of reported traits in csv or other formats
Management Rules:
Rule 1: Endpoint - /v1/reported-traits/export
Rule 2: HTTP Request Method - GET
Rule 3: Endpoint should accept filter, and sort parameters as in /v1/reported-export?trait=...&size=20&sort=name,desc
Rule 4: Endpoint should trigger download of binary file according to specified format (csv)
Acceptance Tests:
Given no parameter
When the front end sends a get request to the endpoint
Binary file containing all reported traits should be downloaded
Given sorting, and/or some search and filter parameters
When the front end sends a get request to the endpoint
Binary file containing filtered list of reported traits satisfying the conditions in the url parameter must be returned
The text was updated successfully, but these errors were encountered:
sprintell
changed the title
Create API Endpoint to export or Download filtered reported trait result in CSV or other formats
Create Endpoint to export or Download filtered reported trait result in CSV or other formats
Jul 15, 2021
Description:
As developer
I want an api endpoint
So that I can download filtered list of reported traits in csv or other formats
Management Rules:
Rule 1: Endpoint - /v1/reported-traits/export
Rule 2: HTTP Request Method - GET
Rule 3: Endpoint should accept filter, and sort parameters as in /v1/reported-export?trait=...&size=20&sort=name,desc
Rule 4: Endpoint should trigger download of binary file according to specified format (csv)
Acceptance Tests:
Given no parameter
When the front end sends a get request to the endpoint
Binary file containing all reported traits should be downloaded
Given sorting, and/or some search and filter parameters
When the front end sends a get request to the endpoint
Binary file containing filtered list of reported traits satisfying the conditions in the url parameter must be returned
The text was updated successfully, but these errors were encountered: