v1

latestOpenAPI 3.0.02026-08-0650184174.6 KB
Checks

Returns a detailed description of a check.

Returns a detailed description of a specified check.

get/checks/{checkid}

Path parameters

checkidinteger required

Identifier of check to be retrieved

Query parameters

include_teamsboolean

Include team connections for check.

Response

Successful operation

OR
OR
OR
OR
OR
OR
OR

Example response

{
  "check": {
    "type": {
      "http": {
        "url": "my.pingdom.com",
        "encryption": true,
        "port": 443,
        "shouldcontain": "Expected string",
        "shouldnotcontain": "This should not appear on checked site",
        "postdata": "Data to be send to server"
      }
    },
    "probe_filters": [
      "region: EU"
    ],
    "sendnotificationwhendown": 6,
    "notifyagainevery": 5,
    "notifywhenbackup": true,
    "custom_message": "Important check is down!",
    "integrationids": [
      74356,
      74358
    ],
    "id": 100,
    "name": "mycheck",
    "lasterrortime": 1297446423,
    "lasttesttime": 1300977363,
    "lastresponsetime": 355,
    "lastdownstart": 1300977363,
    "lastdownend": 1300977463,
    "tags": [
      {
        "name": "apache",
        "type": "a",
        "count": 2
      }
    ]
  }
}