surrealist / dev-dynamo

0 stars 11 forks source link

Managing workflows #27

Open surrealist opened 1 year ago

surrealist commented 1 year ago
GET /api/v1/workflows

[ 
  {
      "templateName": "Default",
      "workflow", "sequence diagram\n...."
  }
]
GET /api/v1/workflows/{template_name}

{
    "templateName": "Default",
    "workflow", "sequence diagram\n...."
}
POST /api/v1/workflows/{template_name}

attached text file
PUT /api/v1/workflows/{template_name}

attached text file

POST and PUT must verify it has only one initial state.