curl --request POST \
--url https://developer.synq.io/api/status/v1/incidents/by-id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"requests": [
{
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"fetchUpstreamIncidents": true
}
]
}'
{
"responses": [
{
"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 multiple entity statuses by their identifiers.
curl --request POST \
--url https://developer.synq.io/api/status/v1/incidents/by-id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"requests": [
{
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"fetchUpstreamIncidents": true
}
]
}'
{
"responses": [
{
"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.
BatchGetIncidentsRequest is the request message for the BatchGetIssues method.
Success
BatchGetIncidentsResponse is the response message for the BatchGetIssues method.