POST /storageLocation

Creates a StorageLocationSetting, which can be associated with a project for users to upload their data to a user-owned location. The request object should be an implementation class of StorageLocationSetting, such as ExternalS3StorageLocationSetting.

The creation of a storage location is idempotent for the user: if the same user requests the creation of a storage location that already exists with the same properties the previous storage location will be returned.

A storage location can be linked to a project adding its id in the locations property of an UploadDestinationListSetting and saving the setting to the project using the POST /projectSettings or PUT /projectSettings services.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/storageLocation

Resource Information
Authentication Required
HTTP Methods POST
Request Object StorageLocationSetting
(application/json)
Response Object StorageLocationSetting
(application/json)