synapseREST: Synapse REST

Description Usage Arguments Value Note Author(s)

Description

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

Usage

1
2
3
4
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.

Note

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

Author(s)

Matt Furia


Sage-Bionetworks/rSynapseClient documentation built on May 9, 2019, 7:04 p.m.