get.workflow.status: Get the status of a particular PEcAn workflow using the...

View source: R/get.workflow.status.R

get.workflow.statusR Documentation

Get the status of a particular PEcAn workflow using the workflow ID

Description

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

Usage

get.workflow.status(server, workflow_id)

Arguments

server

Server object obtained using the connect() function

workflow_id

ID of the PEcAn workflow whose status are needed

Value

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

Author(s)

Tezan Sahu

Examples

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

# Get details of workflow with id = '1000009172'
res <- get.workflow.status(server, workflow_id=1000009172)

PecanProject/rpecanapi documentation built on April 2, 2024, 8:17 a.m.