The Open API specification for Synapse is now available for download!

Download Open API Spec

GET /file/{id}

Get the actual URL of the file from with an associated object .

Note: This call will result in a HTTP temporary redirect (307), to the actual file URL if the caller meets all of the download requirements.

Resource URL

https://repo-prod.prod.sagebase.org/file/v1/file/{id}

Resource URL Variables
{id} the ID of the file handle to be downloaded
Parameters
redirect

optional

When set to false, the URL will be returned as text/plain instead of redirecting.
fileAssociateType the type of object with which the file is associated
fileAssociateId the ID fo the object with which the file is associated
Resource Information
Authentication Required
Required OAuth Scopes download
HTTP Method GET
Request Object None
Response Object None