Events

query all events (aka issues) the monitoring has discovered

get
Get Events

https://api.cloudradar.io/v1/events/
This endpoint allows you to get all events (aka issues) "state":1 represents active problems which have not been recovered
Request
Response
Headers
Authentication
required
string
Bearer <TOKEN>
Query Parameters
?filterState=0
optional
string
Fetch only inactive events aka recovered issues
?filterState=1
optional
string
Fetch only active events
200: OK
Events successfully retrieved.
{
"events": [
{
"uuid": "00dd51b0-5e12-43db-847f-2bd466e15d34",
"checkKey": "net.tcp.http.809.success",
"action": "alert",
"state": 1,
"reminders": true,
"createTimestamp": 1555497336,
"resolveTimestamp": 0,
"meta": {
"name": "HTTP Check (Port 809)\n has failed 1 time",
"uuid": "2926cd7d-8a49-44c0-ac97-f68987a199ed",
"check": {
"name": "The rule HTTP Check (Port 809)\n has failed 1 time has triggered an alert.",
"uuid": "5046342a-2dc3-4956-8470-f8ed5ac41732",
"lastValue": "0",
"lastValueTextTemplate": null
},
"linkUrl": null,
"footnote": null,
"linkText": null,
"severity": "alert",
"description": "",
"affectedHost": {
"name": "h105.hostgum.eu",
"uuid": "3f7c79d3-5614-46ac-ab2e-cdcb06bbfa34",
"connect": "h1550855453.hostgum.eu",
"location": "Check performed from CloudRadar datacenter EU-WEST-Netherlands.",
"description": "Nice host. Isn't it?"
}
},
"lastCheckValue": 0
}
]
}

Example

Request
curl -sSX GET \
https://api.cloudradar.io/v1/events/ \
-H 'Authorization: Bearer 33891543f62ead9e18c32e1252e320c2710f708d9085fd5b'|jq
Response HTTP 200
{
"events": [
{
"uuid": "00dd51b0-5e12-43db-847f-2bd466e15d34",
"checkKey": "net.tcp.http.809.success",
"action": "alert",
"state": 1,
"reminders": true,
"createTimestamp": 1555497336,
"resolveTimestamp": 0,
"meta": {
"name": "HTTP Check (Port 809)\n has failed 1 time",
"uuid": "2926cd7d-8a49-44c0-ac97-f68987a199ed",
"check": {
"name": "The rule HTTP Check (Port 809)\n has failed 1 time has triggered an alert.",
"uuid": "5046342a-2dc3-4956-8470-f8ed5ac41732",
"lastValue": "0",
"lastValueTextTemplate": null
},
"linkUrl": null,
"footnote": null,
"linkText": null,
"severity": "alert",
"description": "",
"affectedHost": {
"name": "h105.hostgum.eu",
"uuid": "3f7c79d3-5614-46ac-ab2e-cdcb06bbfa34",
"connect": "h1550855453.hostgum.eu",
"location": "Check performed from CloudRadar datacenter EU-WEST-Netherlands.",
"description": "Nice host. Isn't it?"
}
},
"lastCheckValue": 0
}
]
}