POST
/
api
/
status
/
v1
/
incidents
/
by-id
BatchGetIncidents
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
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

BatchGetIncidentsRequest is the request message for the BatchGetIssues method.

Response

200
application/json

Success

BatchGetIncidentsResponse is the response message for the BatchGetIssues method.