Create filehandle copies in synapseutils.copy instead of downloading
Looking at code seems to indicate that it is gone.
Thanks for all the help. I did this,
but I'm getting these errors:
I can open a PLFM unless its an error on how I structured the list
1) copyRequests should be a list according to http://docs.synapse.org/rest/org/sagebionetworks/repo/model/file/BatchFileHandleCopyRequest.html
2) The file belongs to the entity not the annotations. I.e. don't use "associateObjectId":bundle['annotations']['id'] but "associateObjectId":bundle['entity']['id']
3) All filehandle interactions are not to the regular repo endpoint but the file endpoint, i.e.
syn.restPOST('/filehandles/copy', ..., endpoint=syn.fileHandleEndpoint)
Take this for example:
It gives this error:
@thomas yu: "associateObjectId":fileHandle['id'] should be: