Relevant Issue: https://sagebionetworks.jira.com/browse/PLFMPLFM-4253
StorageLocationSettings are immutable and thus can be cached client side. The information in these will therefore not be repeated in the new implementations of UploadDestination and FileHandle.
The keyPath in ClientDelegatedS3UploadDestination is client generated: baseKey/<<UUID>>.
The key in ClientDelegatedS3FIleHandle, once uploaded will be baseKey/<<UUID>>/fileName.
...
Action | URI | Method | Request Body | Response Body |
---|---|---|---|---|
Creates a ClientDelegatedS3FileHandle. Its storageLocationId must match that of a ClientDelegatedS3StorageLocationSetting | /externalFileHandle/clientS3???? | POST | ClientDelegatedS3FileHandle | ClientDelegatedS3FIleHandle |
Unanswered questions/other thoughts
There's probably a better name for these classes.
Should we also make ExternalFileHandle and ExternalUploadDestination subclasses of ClientDelegatedFileHandleInterface and ClientDelegatedUploadDestinationInterface, respectively.?
Is the