GET /userProfile/{profileId}/image/preview
Get the actual URL of the image file associated with a user's profile.
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/userProfile/{profileId}/image/preview
Resource URL Variables
{profileId} |
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 |