hubmapconsortium / gateway

MIT License
0 stars 0 forks source link

UMLS authorized assets download #308

Closed shirey closed 7 months ago

shirey commented 7 months ago

Add additional functionality in the assets service to authorize a download from a directory umls-download/ under the existing ../assets directory. Any file downloaded via the assets service starting with the directory /umls-download/ should be authorized via the hubmap-auth service. This will require a non-optional parameter to be added to the end of the URL, ?umls-key=<key>, for the user to provide their UMLS License Key. This key will be used to authorized the user via the service: https://utslogin.nlm.nih.gov/validateUser?validatorApiKey=<hubmap-umls-api-key>&apiKey=<key> which must return true, otherwise return a 403.

yuanzhou commented 7 months ago

Update 4/16/2024

@DerekFurstPitt rename to /ubkg-download