Events
query all events (aka issues) the monitoring has discovered
get
https://api.cloudradar.io
/v1/events/
Get Events

Examples

Request
1
curl -sSX GET \
2
https://api.cloudradar.io/v1/events/ \
3
-H 'content-type: application/json' \
4
-H 'Authorization: Bearer 33891543f62ead9e18c32e1252e320c2710f708d9085fd5b'|jq
Copied!
Response HTTP 200
1
{
2
"events": [
3
{
4
"uuid": "00dd51b0-5e12-43db-847f-2bd466e15d34",
5
"checkKey": "net.tcp.http.809.success",
6
"action": "alert",
7
"state": 1,
8
"reminders": true,
9
"createTimestamp": 1555497336,
10
"resolveTimestamp": 0,
11
"meta": {
12
"name": "HTTP Check (Port 809)\n has failed 1 time",
13
"uuid": "2926cd7d-8a49-44c0-ac97-f68987a199ed",
14
"check": {
15
"name": "The rule HTTP Check (Port 809)\n has failed 1 time has triggered an alert.",
16
"uuid": "5046342a-2dc3-4956-8470-f8ed5ac41732",
17
"lastValue": "0",
18
"lastValueTextTemplate": null
19
},
20
"linkUrl": null,
21
"footnote": null,
22
"linkText": null,
23
"severity": "alert",
24
"description": "",
25
"affectedHost": {
26
"name": "h105.hostgum.eu",
27
"uuid": "3f7c79d3-5614-46ac-ab2e-cdcb06bbfa34",
28
"connect": "h1550855453.hostgum.eu",
29
"location": "Check performed from CloudRadar datacenter EU-WEST-Netherlands.",
30
"description": "Nice host. Isn't it?"
31
}
32
},
33
"lastCheckValue": 0
34
}
35
]
36
}
Copied!
Request using filters and pagination
1
curl -sSX GET \
2
"https://api.cloudradar.io/v1/events/?filter[state]=Active&sort=-date-created&page[number]=1&page[size]=2" \
3
-H "Authorization: Bearer $TOKEN"|jq
Copied!
Last modified 2mo ago
Copy link