Get and list Workflow and Versions
List Workflows
GET /workflows?name=:substring&developer=:uid
Permission workflow:list
| workflow:list_filter
- WFS asks AS if user is allowed to list workflows
- Workflows must have at least on published version
- Query Parameters
- Query
name
: filter workflows for substring in name - Query
developer
: filter workflows where:uid
is developer, only by workflow developer (filter for own workflows) andworkflow:list_filter
- Query
- Return workflows in service with latest published version for each workflow
Get Workflow
GET /workflows/:id?version_status={published,deprecated,active,unpublished,all}
Permission workflow:read
| workflow:read_any
- WFS asks AS if user is allowed to read this a workflow
- Query Paramter
version_status
- Which versions of the workflow to include in the response
-
published
: All versions that are published (active
&deprecated
) -
deprecated
: Only deprecated versions -
active
: Only versions that are published and not-deprecated -
unpublished
: Only unpublished versions, only workflow developer and permissionworkflow:read_any
-
all
: All versions, only workflow developer and permissionworkflow:read_any
- Return Workflow with attached versions
Get specific workflow version
GET /workflows/:id/version/{:version_id|lastest}
Permission workflow:read
| workflow:read_any
- WFS asks AS if user is allowed to read this a workflow
- Return Workflow Version