Get All Tasks
This API retrieves all the tasks and also provides ability to filter tasks based on filter criteria.
type of tasks user wants to retreive
Requested number of resources to be provided in response
Requested index for start of resources to be provided in response
Get data for last {time_range}. The format for time range is "last-{the int number}-{min/hour/days/week/month}"
last-5-min
filters the response based on status type
filters the response based on the notification ids. This field can have comma(,) separted values
filters the response based on the property "dag_id"
filters the response based on the nested property "entities.notif_uuid"
filters the response based on the nested property "entities.policy_name"
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"
}
]
User authentication failed
Internal server error
curl -H 'Authorization: <value>' https://{api_host}/tcsa/api/v1/tasks