Python call for s3filecopy
Description
A call on the R client to run an s3 file copy to a customer bucket.
Arguments: list of file entity ids, name of bucket to copy to, overwrite true/false
Returns list of statuses for each file, error status ERROR with description or status UPTODATE/COPIED for success
Rest commands:
token <- synRestPOST("/file/s3FileCopy/async/start", list(
concreteType="org.sagebionetworks.repo.model.file.S3FileCopyRequest",
files=list("syn3916345"),
bucket="test-requester-pays-copy.sagebionetworks.org",
overwrite=T), endpoint=synapseFileServiceEndpoint())
synRestGET(sprintf("/file/s3FileCopy/async/get/%s", token), endpoint=synapseFileServiceEndpoint())
Environment
None
Activity
Show:
Larsson Omberg
April 1, 2016, 5:23 PM
Deprecated
Kristen Dang
January 20, 2016, 11:46 PM
I thought this feature request was deprecated?
Won't Fix
Assignee
Reporter
Labels
None
Validator
Development Area
None
Release Version History
None
Slack Channel
None