synRestPUT.Rd
Sends an HTTP PUT request to the Synapse server.
synRestPUT(uri, body=NULL, endpoint=NULL, headers=NULL, retryPolicy=list(), ...)
URI on which get is performed
The payload to be delivered
Server endpoint. The required endpoint is shown in each service's page in the REST API doc's (http://docs.synapse.org/rest).
Options are: 'https://repo-prod.prod.sagebase.org/repo/v1' (the default), 'https://file-prod.prod.sagebase.org/file/v1'
or 'https://file-prod.prod.sagebase.org/auth/v1'.
named list of headers to use rather than the API-key-signed default set of headers
Any other arguments taken by a http://docs.python-requests.org method
JSON encoding of response