Get Task
This API retrieves the specific tasks using id.
The id of task.
No content
{
"id": "string",
"type": "NOTIFICATION",
"status": "IN_PROGRESS",
"start_time": "number",
"end_time": "number",
"action": "ACKNOWLEDGE",
"details": "Performing ack operation",
"user_name": "admin",
"notification_ids": [
"id1",
"id2"
],
"entities": [
{}
],
"dag_id": "string"
}
Unique identifier for task.
Which type of task user wants to create.
The current status of task.
The start time of task in epoch millis.
The end time of task in epoch millis.
The name of the action e.g. ADD_USER, ACKNOWLEDGE or REMEDIATION.
The details of performing action.
The name of the user
List of notification ids on which the action is performed.
This filed contains the details specific to the Task type (NOTIFICATION/REMEDIATION)
This field is specific to remediation task. dag_id represent dag_id created for airflow pipeline.
User authentication failed
Access to the requested resource/operation is forbidden
Cannot find requested resource
Internal server error
curl -H 'Authorization: <value>' https://{api_host}/tcsa/api/v1/tasks/{id}