Learn R Programming

synapseClient (version 1.14-0)

synapseGet: Synapse REST

Description

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

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

Value

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