Update and delete a workflow
Delete Workflow
DELETE /workflows/:id
Permission workflow:delete
- WFS asks AS if user is allowed to delete this workflow
- Delete workflow and all versions of it
Update Workflow
POST /workflows/:id/update
Permission workflow:update
- WFS asks AS if user is allowed to update this workflow
- Input:
- Workflow ID (URL)
- New Version (assist in UI,major/minor/bugfix)
- Git commit Hash
- new Image URL (optional)
- Same checks as when workflow was created
- Create Workflow version in database with unpublished status
- Return version meta-data
Edited by Daniel Göbel