Obtain the details of a particular PEcAn workflow by supplying its ID. Hits the /api/workflows/{id} API endpoint

get.workflow(server, workflow_id)

Arguments

server

Server object obtained using the connect() function

workflow_id

ID of the PEcAn workflow whose details are needed

Value

Response obtained from the /api/workflow/{id} endpoint

Author

Tezan Sahu

Examples

server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")

# Get details of workflow with id = '1000009172'
res <- get.workflow(server, workflow_id=1000009172)
#> Sorry! Server not responding.