Network Notifications
|
Description |
Allows users to manipulate notifications in NEO |
|||||||||||
|
Request URL |
/neo/app/notifications |
|||||||||||
|
Main Operations |
|
|||||||||||
|
Description |
Retrieves information of all notifications |
|
|
Request URL |
GET /neo/app/notifications |
|
|
Request Data |
N/A |
|
Response:
[
{
"originator": "Device Management", "severity": "Info",
"instanceID": 1,
"timestamp": "2016-04-17 08:15:44",
"read": false,
"subject": "OS Mismatches"
},
{
"originator": "Device Management", "severity": "Error",
"instanceID": 2,
"timestamp": "2016-04-17 08:15:44",
"read": false,
"subject": "MTU Mismatches"
},
.
.
.
]
|
Description |
Retrieves information of specific notifications |
|
|
Request URL |
GET /neo/app/notifications/<notification_ID> |
|
|
Request Data |
N/A |
|
Response:
{
"originator": "Device Management",
"body": [
{
"Name": "switch-62fea2",
"Reference": "3.5.1002",
"Ip": "10.209.37.9",
"Current": "3.3.5006",
"Diff": "3.3.5006",
"Technology": "ETH",
"Id": "10.209.37.9.system"
},
{
"Name": "switch-6375dc",
"Reference": "3.5.1002",
"Ip": "10.209.37.13",
"Current": "3.4.1802",
"Diff": "3.4.1802",
"Technology": "ETH",
"Id": "10.209.37.13.system"
},
.
.
.
],
"severity": "Info",
"instanceID": 1,
"timestamp": "2016-04-17 08:15:44",
"read": true,
"subject": "OS Mismatches"
}
|
Description |
Updates an existing notification |
|
|
Request URL |
PUT /neo/app/notifications/<notification_ID> |
|
|
Request Data |
{ |
|
|
Response |
N/A |
|
|
Description |
Deletes an existing notification from NEO |
|
|
Request URL |
DELETE /neo/app/notifications/<notification_ID> |
|
|
Request Data |
N/A |
|
|
Response |
N/A |
|