GET /entity/{id}/version/{versionNumber}/filepreview

Get the URL of the preview file associated with a specific version of a FileEntity.

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}/version/{versionNumber}/filepreview

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

optional

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