uptime

Return the uptime of sensors within the given datetime range

Only organization members are authorised to call this operation.

post/uptime/checks/from/{startDate}/until/{endDate}

Request

  • Base URL: https://api.30mhz.com/api
  • URL: https://api.30mhz.com/api/uptime/checks/from/{startDate}/until/{endDate}
  • Auth: API key in header Authorization

Path parameters

startDatestring required

Initial date string. ISO 8601 date. E.g.: '2016-03-03T00:00:00Z'

endDatestring required

Final date string. ISO 8601 date. E.g.: '2016-03-03T00:00:00Z'

Request body

checkIdsstring[]

Check ids for returning the historical data.

collectionIdsPerFieldobject

Filter/group values based on fields and collection ids

daysOfMonthinteger[]

Day (1-31) list parameter, e.g. [1] for the first of the month.

daysOfWeekinteger[]

Day of the week (1-7) list parameter, e.g. [1] for Monday.

hoursOfDayinteger[]

Hour (0-23) list parameter, e.g. [2, 3] for 2:00 am and 3:00 am.

minutesOfHourinteger[]

Minute within the hour (0-59) list parameter, e.g. [20, 30] for 20th and 30th minute.

organizationIdstring

The id of an organization (when tags are set).

sensorTypestring

The id of a sensor type (when tags are set).

tagsstring[]

Set tags to automatically select checks based on their tags.

tagsOperatorstring

Tags boolean operator (and/or).

Response

Uptime of a sensor

checkIdstring
expectedHitsinteger
hitsinteger
uptimenumber double
codeinteger
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.