Cosmic Admin API Reference

listAlerts

Lists all alerts.

Request parameters

Parameter NameDescriptionRequired
idthe ID of the alertfalse
keywordList by keywordfalse
namelist by alert namefalse
pagefalse
pagesizefalse
typelist by alert typefalse

Response Tags

Response NameDescription
idthe id of the alert
descriptiondescription of the alert
namethe name of the alert
sentthe date and time the alert was sent
typeOne of the following alert types: MEMORY = 0, CPU = 1, STORAGE = 2, STORAGE_ALLOCATED = 3, PUBLIC_IP = 4, PRIVATE_IP = 5, HOST = 6, USERVM = 7, DOMAIN_ROUTER = 8, CONSOLE_PROXY = 9, ROUTING = 10: lost connection to default route (to the gateway), STORAGE_MISC = 11: lost connection to default route (to the gateway), USAGE_SERVER = 12: lost connection to default route (to the gateway), MANAGMENT_NODE = 13: lost connection to default route (to the gateway), DOMAIN_ROUTER_MIGRATE = 14, CONSOLE_PROXY_MIGRATE = 15, USERVM_MIGRATE = 16, VLAN = 17, SSVM = 18, USAGE_SERVER_RESULT = 19