Summary:
List available event types.
URL:
http(s)://{server hostname}/api/eventTypes
Methods summary
- GET Method - lists available event types.
GET Method detail
Lists available event types.
Response:
Response includes an array of event types, each of them having the following format:
Name | Description |
---|---|
name |
name of the event type. |
severity | severity of the event type. |
Examples:
INPUT
curl -u admin:admin https://localhost/api/eventTypes?media=json
OUTPUT
[ {
"name" : "ATM VCC High Inbound Utilization",
"severity" : 6
}, {
...removed for brevity...
}, {
"name" : "WAN Port Low Outbound Utilization Cleared",
"severity" : 2
}]
INPUT
curl -u admin:admin https://localhost/api/eventTypes?media=xml
OUTPUT
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<items count="322">
<item xsi:type="eventType" severity="6" name="ATM VCC High Inbound Utilization" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"/>
...removed for brevity...
<item xsi:type="eventType" severity="2" name="WAN Port Low Outbound Utilization Cleared" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"/>
</items>
Comments
0 comments
Please sign in to leave a comment.