Get Task
DescriptionThis API retrieves the specific tasks using id.
Request
URLURL
Path Parameters
Path Parameters
The id of task.
Authentication
Response
Response BodyResponse Body
200 OK
No content
{
"action": "ACKNOWLEDGE",
"details": "Performing ack operation",
"notification_ids": [
"id1",
"id2"
],
"status": "IN_PROGRESS",
"type": "NOTIFICATION",
"user_name": "admin"
}
The name of the action e.g. ADD_USER, ACKNOWLEDGE or REMEDIATION.
The start time of task in epoch millis.
The current status of task.
Possible values are: IN_PROGRESS , COMPLETED , FAILED
The end time of task in epoch millis.
This filed contains the details specific to the Task type (NOTIFICATION/REMEDIATION)
Unique identifier for task.
List of notification ids on which the action is performed.
Which type of task user wants to create.
Possible values are: NOTIFICATION , REMEDIATION , COLLECTOR
The name of the user
This field is specific to remediation task. dag_id represent dag_id created for airflow pipeline.
The details of performing action.
Errors
User authentication failed
Access to the requested resource/operation is forbidden
Cannot find requested resource
Internal server error