Download a file associated with a drs object
GET
/objects/{object_id}/download
const url = 'https://raw.githubusercontent.com/ga4gh/drs/v1/objects/example/download';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://raw.githubusercontent.com/ga4gh/drs/v1/objects/example/downloadDownloads the file.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” object_id
required
string format: path
DrsObject identifier
Responses
Section titled “ Responses ”The DrsObject was found successfully
Media type application/octet-stream