DigitalOcean-public.v2-new_Uptime
List All Checks
To list all of the Uptime checks on your account, send a GET request to /v2/uptime/checks.
get/v2/uptime/checks
Query parameters
per_pageinteger
Number of items returned per page
pageinteger
Which 'page' of paginated results to return.
Response
The response will be a JSON object with a key called checks. This will be set to an array of objects, each of which will contain the standard attributes associated with an uptime check
Example response
{
"checks": [
{
"id": "5a4981aa-9653-4bd1-bef5-d6bff52042e4",
"name": "Landing page check",
"type": "https",
"target": "https://www.landingpage.com",
"regions": [
"us_east",
"eu_west"
],
"enabled": true
}
],
"links": {
"pages": {
"last": "https://api.digitalocean.com/v2/images?page=2",
"next": "https://api.digitalocean.com/v2/images?page=2"
}
},
"meta": {
"total": 1
}
}