Synapse REST

Usage

synapseGet(uri, host = .getRepoEndpointLocation(), curlHandle = getCurlHandle(), anonymous = .getCache("anonymous"), path = .getRepoEndpointPrefix(), opts = .getCache("curlOpts"), entity=NULL) synapseDelete(uri, entity, host = .getRepoEndpointLocation(), curlHandle = getCurlHandle(), anonymous = FALSE, path = .getRepoEndpointPrefix(), opts = .getCache("curlOpts")) synapsePut(uri, entity, host = .getRepoEndpointLocation(), curlHandle = getCurlHandle(), anonymous = FALSE, path = .getRepoEndpointPrefix(), opts = .getCache("curlOpts")) synapsePost(uri, entity, host = .getRepoEndpointLocation(), curlHandle = getCurlHandle(), anonymous = FALSE, path = .getRepoEndpointPrefix(), opts = .getCache("curlOpts"))

Arguments

uri
uri of the request
entity
entity to be put or posted
host
hostname of the server
curlHandle
curlHandle to be used for the request
anonymous
if TRUE, the request will be made anonymously
path
path to the service
opts
curl options

Description

Functions providing a low-level interface to the Synapse REST API

Value

an R list generated by calling fromJSON on the server response.

Note

These are internal function and should not be called by the user

Author

Matt Furia