curl --request POST \
--url https://developer.synq.io/synq.entities.status.v1.EntityIncidentsService/GetIncidents \
--header 'Authorization: Bearer <token>' \
--header 'Connect-Protocol-Version: <connect-protocol-version>' \
--header 'Content-Type: application/json' \
--data '{
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"fetchUpstreamIncidents": true
}'
{
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"entityOpenIncidents": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"createdBy": "<string>",
"createdAt": "1s",
"updatedBy": "<string>",
"updatedAt": "1s",
"isResolved": true
}
],
"upstreamOpenIncidents": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"createdBy": "<string>",
"createdAt": "1s",
"updatedBy": "<string>",
"updatedAt": "1s",
"isResolved": true
}
]
}
Get specific entity status by its identifier.
curl --request POST \
--url https://developer.synq.io/synq.entities.status.v1.EntityIncidentsService/GetIncidents \
--header 'Authorization: Bearer <token>' \
--header 'Connect-Protocol-Version: <connect-protocol-version>' \
--header 'Content-Type: application/json' \
--data '{
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"fetchUpstreamIncidents": true
}'
{
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"entityOpenIncidents": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"createdBy": "<string>",
"createdAt": "1s",
"updatedBy": "<string>",
"updatedAt": "1s",
"isResolved": true
}
],
"upstreamOpenIncidents": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"createdBy": "<string>",
"createdAt": "1s",
"updatedBy": "<string>",
"updatedAt": "1s",
"isResolved": true
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Define the version of the Connect protocol
1
Define the timeout, in ms
GetIncidentsRequest is the request message for the GetEntity method.
Success
GetIncidentsResponse is the response message for the GetEntity method.