Skip to main content

checks_states

Creates, updates, deletes, gets or lists a checks_states resource.

Overview

Namechecks_states
TypeResource
Iddigitalocean.uptime.checks_states

Fields

NameDatatypeDescription
previous_outageobject
regionsobjectA map of region to regional state

Methods

NameAccessible byRequired ParamsDescription
uptime_get_check_stateSELECTcheck_idTo show information about an existing check's state, send a GET request to /v2/uptime/checks/$CHECK_ID/state.

SELECT examples

To show information about an existing check's state, send a GET request to /v2/uptime/checks/$CHECK_ID/state.

SELECT
previous_outage,
regions
FROM digitalocean.uptime.checks_states
WHERE check_id = '{{ check_id }}';