Services: RESTful services useful for AnVIL developers

Description Usage Arguments Value Examples

Description

RESTful services useful for AnVIL developers

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
empty_object

operations(x, ..., .deprecated = FALSE)

schemas(x)

tags(x, .tags, .deprecated = FALSE)

## S4 method for signature 'Service'
x$name

Leonardo()

Terra()

Dockstore()

Gen3Fence()

Gen3Indexd()

Gen3Sheepdog()

Gen3Peregrine()

Arguments

x

A 'Service' instance, usually a singleton provided by the package and documented on this page, e.g., 'leonardo' or 'terra'.

...

additional arguments passed to methods or, for 'operations,Service-method', to the internal 'get_operation()' function.

.deprecated

optional logical(1) include deprecated operations?

.tags

optional character() of tags to use to filter operations.

name

A symbol representing a defined operation, e.g., 'leonardo$listClusters()'.

Value

'empty_object' returns a representation to be used as arguments in function calls expecting the empty json object '{}'.

'Leonardo()' creates the API of the Leonard container deployment service at https://notebooks.firecloud.org/api-docs.yaml.

'Terra()' creates the API of the Terra cloud computational environemnt at https://api.firecloud.org/.

'Dockstore()' represents the API of the Dockstore platform to share Docker-based tools in CWL or WDL or Nextflow at https://dockstore.org

'gen3_*' APIs are not fully implemented, because a service endpoint has not been identifiied.

'Gen3Fence()' returns the authentication API at https://raw.githubusercontent.com/uc-cdis/fence/master/openapis/swagger.yaml

'Gen3Indexd()' returns the indexing service API documented at https://raw.githubusercontent.com/uc-cdis/indexd/master/openapis/swagger.yaml

'Gen3Sheepdog' returns the submission services API at https://raw.githubusercontent.com/uc-cdis/sheepdog/master/openapi/swagger.yml

'Gen3Peregrine' returns the graphQL query services API at https://raw.githubusercontent.com/uc-cdis/peregrine/master/openapis/swagger.yaml

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
empty_object

if (gcloud_exists())
    Leonardo()

if (gcloud_exists()) {
    terra <- Terra()
    tags(terra)
    tags(terra, "Billing")
}

Dockstore()

AnVIL documentation built on Nov. 8, 2020, 4:57 p.m.