ddsRequest: DDS RESTful API wrapper function.

Description Usage Arguments Value Examples

View source: R/ddsRequest.R

Description

DDS RESTful API wrapper function.

Usage

1
2
3
ddsRequest(url = paste0(.getCache("url"), "/api/v1"), endpoint = NULL,
  body_list = NULL, customrequest = "GET",
  httpheader = .getCache("curlheader"), curlHandle, pass = FALSE)

Arguments

url

The URL to a valid DDS portal (PROD,DEV,UATEST).

endpoint

The DDS endpoint to call out to

body_list

Takes an R list to supply as the body of a call

customrequest

One of the following ('GET','PUT','POST')

httpheader

Takes an R list to supply as a modified header of a call

Value

The sum of x and y.

Examples

1
2
ddsLogin()
ddsLogin(url='https://dukeds-uatest.herokuapp.com')

Duke-Translational-Bioinformatics/duke-data-service-RClient documentation built on May 6, 2019, 2:55 p.m.