POST
/
synq.entities.status.v1.EntityIncidentsService
/
GetIncidents
GetIncidents
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
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json

GetIncidentsRequest is the request message for the GetEntity method.

Response

200
application/json

Success

GetIncidentsResponse is the response message for the GetEntity method.