mirror of
https://github.com/dagucloud/dagu.git
synced 2026-12-05 05:32:51 +00:00
1.6 KiB
1.6 KiB
REST API Docs
Dagu server provides simple APIs to query and control workflows.
Endpoint : localhost:8080 (default)
Contents
Show Workflows GET dags/
URL : /api/user/
Method : GET
Header : Accept: application/json
Query Parameters :
- group=[string] where group is the sub directory name that the workflow is in.
Success Response
Code : 200 OK
Content : TBU
Show Workflow Detail GET dags/:name
URL : /dags/:workflow
URL Parameters :
- name=[string] where name is the
Nameof the workflow.
Query Parameters :
- group=[string] where group is the sub directory name that the workflow is in.
Method : GET
Header : Accept: application/json
Success Response
Code : 200 OK
Content : TBU
Submit Workflow Action POST dags/:name
URL : /dags/:workflow
URL Parameters :
- name=[string] where name is the
Nameof the workflow.
Query Parameters :
- group=[string] where group is the sub directory name that the workflow is in.
Form Parameters :
- action=[string] where action is
startorstoporretry - request-id=[string] where request-id to
retryaction
Method : POST
Success Response
Code : 200 OK