GET   alerts?check_id={check_id}&severity={severity}&enabled={enabled}&target_type={target_type}&target_id={target_id}

Gets alerts matching the provided parameters. Note: all parameters are optional.

URL Parameters

NameDescription
check_id

Check Id, optional.

severity

Severity (I, W, E or F), optional.

enabled

Enabled (true or false), optional.

target_type

Target type (sms or email), optional.

target_id

Target id, optional.

Response body model example and description

[
  {
    "id": 1,
    "check_id": 1,
    "severity": "ieWF",
    "enabled": true,
    "targets": [
      {
        "type": "sample string 1",
        "id": 2,
        "name": "sample string 3",
        "to": "sample string 4",
        "enabled": true
      },
      {
        "type": "sample string 1",
        "id": 2,
        "name": "sample string 3",
        "to": "sample string 4",
        "enabled": true
      },
      {
        "type": "sample string 1",
        "id": 2,
        "name": "sample string 3",
        "to": "sample string 4",
        "enabled": true
      }
    ]
  },
  {
    "id": 1,
    "check_id": 1,
    "severity": "ieWF",
    "enabled": true,
    "targets": [
      {
        "type": "sample string 1",
        "id": 2,
        "name": "sample string 3",
        "to": "sample string 4",
        "enabled": true
      },
      {
        "type": "sample string 1",
        "id": 2,
        "name": "sample string 3",
        "to": "sample string 4",
        "enabled": true
      },
      {
        "type": "sample string 1",
        "id": 2,
        "name": "sample string 3",
        "to": "sample string 4",
        "enabled": true
      }
    ]
  },
  {
    "id": 1,
    "check_id": 1,
    "severity": "ieWF",
    "enabled": true,
    "targets": [
      {
        "type": "sample string 1",
        "id": 2,
        "name": "sample string 3",
        "to": "sample string 4",
        "enabled": true
      },
      {
        "type": "sample string 1",
        "id": 2,
        "name": "sample string 3",
        "to": "sample string 4",
        "enabled": true
      },
      {
        "type": "sample string 1",
        "id": 2,
        "name": "sample string 3",
        "to": "sample string 4",
        "enabled": true
      }
    ]
  }
]
NameType Description
id Integer

No documentation available.

check_id Integer

No documentation available.

severity String

No documentation available.

enabled Boolean

No documentation available.

targets Array

No documentation available.

type String

No documentation available.

id Integer

No documentation available.

name String

No documentation available.

to String

No documentation available.

enabled Boolean

No documentation available.