metadata: Get workflow and call-level metadata for a specified workflow

Description Usage Arguments Examples

View source: R/metadata.R

Description

Get workflow and call-level metadata for a specified workflow

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
metadata(x, ...)

## S3 method for class 'character'
metadata(
  x,
  id,
  version = "v1",
  includeKey = NULL,
  excludeKey = NULL,
  expandSubWorkflows = FALSE,
  ...
)

## S3 method for class 'WorkflowIdAndStatus'
metadata(
  x,
  includeKey = NULL,
  excludeKey = NULL,
  expandSubWorkflows = FALSE,
  ...
)

Arguments

x

Cromwell API endpoint of WorkflowIdAndStatus object.

...
id

A workflow ID.

version

Cromwell API Version.

includeKey

When specified key(s) to include from the metadata. Matches any key starting with the value. May not be used with excludeKey. This applies to all keys in the response, including within nested blocks.

excludeKey

When specified key(s) to exclude from the metadata. Matches any key starting with the value. May not be used with includeKey. This applies to all keys in the response, including within nested blocks.

expandSubWorkflows

When true, metadata for sub workflows will be fetched and inserted automatically in the metadata response.

Examples

1
2
3
4
5
6
7
8
## Not run: 
host <- "http://localhost:8000"
workflow <- system.file("extdata/workflow.wdl", package = "CromwellClient")
inputs <- system.file("extdata/inputs.json", package = "CromwellClient")
job <- submit(host, workflow, inputs)
status(job)

## End(Not run)

labbcb/CromwellClient documentation built on Aug. 16, 2020, 9:11 p.m.