icgc-argo / platform-api

https://api.platform.icgc-argo.org/graphql
GNU Affero General Public License v3.0
0 stars 0 forks source link

Endpoint to Download Clinical Data for Files #673

Closed joneubank closed 9 months ago

joneubank commented 9 months ago

Description of Changes

New endpoint added at POST /clinical/api/donors/data-for-files which accepts a list of File IDs and will return the clinical data for the Donor(s) associated with those files. The Gateway will perform several permission checks before requesting the required data from the Clinical API:

The endpoint will return the download of a zip file containing all clinical entity TSVs relating to the donors for the requested files. This is the same TSV bundle that we generate for program data download for program submitters.

Type of Change

Breaking Changes

joneubank commented 9 months ago

Converted to draft so that this doesn't get merged before the UI has changes made to acommodate breaking changes.

joneubank commented 9 months ago

Ready for review. Platform-UI relevant changes here: https://github.com/icgc-argo/platform-ui/pull/2715