Rest
Dagu server provides simple APIs to query and control workflows.
Endpoint : [localhost:8080]{.title-ref} (default)
- Required HTTP header :
-
Accept: application/json
This document provides information about the following endpoints:
Return a list of available DAGs.
- URL
-
:
/dags/
- Method
-
:
GET
- Header
-
- ``Accept
-
application/json``
Query Parameters:
group=[string]
where group is the subdirectory name that the DAG is in.
Code: 200 OK
TBU
Return details about the specified workflow.
- URL
-
:
/dags/:name
- URL Parameters
-
- name
-
[string] - Name of the DAG.
- Method
-
:
GET
- Header
-
- ``Accept
-
application/json``
Code: 200 OK
TBU
Return the specifications of the specified workflow.
- URL
-
:
/dags/:name/spec
- URL Parameters
-
- name
-
[string] - Name of the DAG.
- Method
-
:
GET
- Header
-
- ``Accept
-
application/json``
Code: 200 OK
TBU
Submit an action to a specified workflow.
- URL
-
:
/dags/:name
- URL Parameters
-
- name
-
[string] - Name of the DAG.
- Form Parameters
-
- action
-
[string] - Specify 'start', 'stop', or 'retry'.
- request-id
-
[string] - Required if action is 'retry'.
- Method
-
:
POST
Code: 200 OK
TBU