submit.workflow.xml: Submit an XML file as a PEcAn workflow & obtain the...

View source: R/submit.workflow.xml.R

submit.workflow.xmlR Documentation

Submit an XML file as a PEcAn workflow & obtain the workflow_id

Description

Submit an XML file as a PEcAn workflow. Hits the ⁠POST /api/workflows/⁠ API endpoint

Usage

submit.workflow.xml(server, xmlFile)

Arguments

server

Server object obtained using the connect() function

xmlFile

XML file containing the workflow configurations

Value

Response obtained from the ⁠POST /api/workflow/⁠ endpoint

Author(s)

Tezan Sahu

Examples

server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")
res <- submit.workflow.xml(server, "api.sipnet.xml")

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