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

Download Open API Spec

GET /entity/{id}/table/column/{columnId}/row/{rowId}/version/{versionNumber}/filepreview

Get the preview URL of the file associated with a specific version of a row and file handle column.

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/repo/v1/entity/{id}/table/column/{columnId}/row/{rowId}/version/{versionNumber}/filepreview

Resource URL Variables
{id} The ID of the FileEntity to get.
{columnId}
{rowId}
{versionNumber}
Parameters
redirect

optional

When set to false, the URL will be returned as text/plain instead of redirecting.
Resource Information
Authentication Required
Required OAuth Scopes download
HTTP Method GET
Request Object None
Response Object None