Get Dagrunstatus By Dag Run Id

Get Dagrunstatus By Dag Run Id

dag run id.

Request
URI
GET
https://{api_host}/tcsa.host.com/dagrunstatus/dag_run_id
COPY
Query Parameters
string
dag_run_id
Required

dag run id.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns RemediationStatus of type(s) application/json
{
    "action_name": "bash_example",
    "dag_message": "",
    "dag_success": "success",
    "event_name": "Down",
    "notif_class_name": "KubernetesWorker",
    "notification_id": "NAME:NOTIFICATION-KubernetesWorker_27999f1a-9ef1-4840-a427-b18e04998f49_Down$Source:INCHARGE-SA-PRES$",
    "policy_name": "TestManual1",
    "remediation_type": "MANUAL",
    "dag_run_id": "2022-11-09T15:11:14.663385+00:00"
}
string
dag_run_id
Required

remediation dag run id

string
dag_success
Optional

either inprogress, success or failure

string
dag_message
Optional

detail status message

string
action_name
Optional

remediation action name

string
policy_name
Optional

remediation rule name

string
event_name
Optional

remediation event name

string
notification_id
Optional

notification id

remediationType
Optional

manual or auto

Possible values are : manual, auto,

400

Invalid Request sent by the user

Returns ErrorDetails of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "detailedMessage": "string"
}
string
errorCode
Required

Error code for the failed request

string
message
Required

Short summary of the error occurred

string
detailedMessage
Optional

Detailed message with probable solution


404

Cannot find requested resource

Returns ErrorDetails of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "detailedMessage": "string"
}
string
errorCode
Required

Error code for the failed request

string
message
Required

Short summary of the error occurred

string
detailedMessage
Optional

Detailed message with probable solution


500

Internal server error

Returns ErrorDetails of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "detailedMessage": "string"
}
string
errorCode
Required

Error code for the failed request

string
message
Required

Short summary of the error occurred

string
detailedMessage
Optional

Detailed message with probable solution