GET /aicc/subscriptions

Use the GET method to retrieve information about all Lenovo XClarity Administrator subscriptions.

Authentication

Authentication with user name and password is required.

Request URL

GET https://<management_server_IP>/aicc/subscriptions

Query parameters

None

Request body

None

Response codes

Code Description
200 OK
400 Bad request

Response body

Attributes Type Description
id Integer Subscription ID
monitor_uri String Network-related resource that is to be monitored by XClarity Administrator

If monitor_uri is set to "/aicc" or "", every /aicc URI is monitored.

If monitor_uri is set to "", IP change notifications are received through DHCP.

submonitor_uri String Subresource to be monitored by XClarity Administrator. You will receive notifications for only this resource
uri String Resource to which XClarity Administrator writes a POST when XClarity Administrator detects a change in monitored resource

The specified URI must be able to accept POST requests, where the body of the POST matches the JSON PUT to monitor_uri.

Response example

[{
   "id": 1,
   "monitor_uri": "/aicc/network/interfaces",
   "submonitor_uri": "",
   "uri": "/osdeployment/rest/internal/event/aicc"
},
{
   "id": 2,
   "monitor_uri": "/aicc",
   "submonitor_uri": "/ntp",
   "uri": "/ntpNotification"
},
{
   "id": 3,
   "monitor_uri": "/aicc/network/interfaces",
   "submonitor_uri": "",
   "uri": "/netchangenotsec"
}]