Get a file's download URL

action/files/get_download_url

This call allows you to get the download URL for a file.

https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/action/files/get_download_url

Request

Example request

POST /v2/action/files/get_download_url HTTP/1.1
Host: api.sb.biodatacatalyst.nhlbi.nih.gov
X-SBG-Auth-Token: 7942f56901534434a054dafc3813bc96
curl --data '{["/Projects/1fd125fa-789c-45b6-12b3-2a3ab3bedcba/1000G_omni2.5.b37.vcf"]}' -s -H "X-SBG-Auth-Token: 7942f56901534434a054dafc3813bc96" -H "content-type: application/json" -X POST "https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/action/files/get_download_url"

Request body

In the body, you should enter an array of strings, containing the file paths.

Body
array of strings, consisting of file paths.

Header Fields

NameDescription
X-SBG-Auth-Token
required
Your authentication token.

Response

See a list of response codes that may be contained in the body of the response.