fileRename API wrapper

Usage

fileRename(objectID, inputParams = emptyNamedList, jsonifyData = TRUE, alwaysRetry = TRUE)

Arguments

objectID
DNAnexus object ID
inputParams
Either an R object that will be converted into JSON using RJSONIO::toJSON to be used as the input to the API call. If providing the JSON string directly, you must set jsonifyData to FALSE.
jsonifyData
Whether to call RJSONIO::toJSON on inputParams to create the JSON string or pass through the value of inputParams directly. (Default is TRUE.)
alwaysRetry
Whether to always retry even when no response is received from the API server

Value

If the API call is successful, the parsed JSON of the API server response is returned (using RJSONIO::fromJSON).

Description

This function makes an API call to the /file-xxxx/rename API method; it is a simple wrapper around the dxHTTPRequest function which makes POST HTTP requests to the API server.

See also

dxHTTPRequest