Workflow

Create a workflow under the given ensemble

Changed on

Create/submit a workflow as part of the given ensemble.

post/ensembles/{em-name}/workflows

Request

Request body

namestring required
priorityinteger required
basedirstring required

Current working directory

plan_commandstring required

Command used to invoke workflow plan script

Example request

{
  "plan_command": "/home/tanaka/workflow.py arg1 arg2"
}

Response

Success

idinteger required
namestring required
createdstring date-time required
updatedstring date-time required
state'READY' | 'PLANNING' | 'PLAN_FAILED' | 'QUEUED' | 'RUN_FAILED' | 'RUNNING' | 'FAILED' | 'SUCCESSFUL' | 'ABORTED' required
priorityinteger required
wf_uuidstring required

Changes

    • info

      api tag Ensemble removed

    • info

      api operation id add-ensemble-workflow removed and replaced with create-ensemble-workflow

    • info

      api tag Ensemble added

    • info

      api tag Workflow added

    • info

      added the new optional query request parameter pretty-print to all path's operations