Alerts

Alerts are based on Monitor's triggers configured by the User

get

Retrieve dapp's related alerts

Authorizations
Path parameters
dappIdstringRequired
Query parameters
monitorIdstringOptional
startDatestringOptional
endDatestringOptional
offsetstringOptional
limitstringOptional
orderBystringOptional

Allowed values "createdAt"

orderTypestringOptional

Allowed values "ASC" | "DESC"

Responses
200
List of dapp's alerts
application/json; charset=utf-8
get
GET /me/dapps/{dappId}/alerts HTTP/1.1
Host: api.getsumer.com
authorization: YOUR_API_KEY
Accept: */*
{
  "alerts": [
    {
      "id": "text",
      "monitor": {
        "id": "text",
        "description": "text",
        "conditions": [
          {
            "column": "text",
            "value": "text"
          }
        ],
        "metric": {
          "evaluation": "text",
          "timeframe": {
            "value": "text",
            "unit": 1
          }
        },
        "trigger": {
          "threshold": "text",
          "type": "text",
          "value": 1
        }
      },
      "impact": {
        "total": 1,
        "percentage": 1
      },
      "createdAt": "text"
    }
  ],
  "total": 1
}

Last updated

Was this helpful?