GET /entity/{id}/uploadDestination
Get the default upload destination for the entity with the given id. The id might refer to the parent container (e.g. a folder or a project) where a file needs to be uploaded.
The upload destination is generated according to the default StorageLocationSetting for the project where the entity resides. If the project does not contain any custom StorageLocationSetting the default synapse storage location is used to generate an upload destination.
Resource URL
https://repo-prod.prod.sagebase.org/file/v1/entity/{id}/uploadDestination
Resource URL Variables
{id} |
Resource Information | |
---|---|
Authentication | Required |
Required OAuth Scopes | view |
HTTP Method | GET |
Request Object | None |
Response Object | UploadDestination (application/json) |