Destroy a dashboard message
/api/v1/msg/destroy?id=id&vdc=controller-name
Message ID - must be in the form 'NNN<text>'
Name of the target virtual data center
synchronous
GET
Destroy a dashboard message with id 123MSG.
GET http://192.168.123.200/api/v1/msg/destroy?id=123MSG&vdc=mygrid
<opt></opt>
{}
Destroy all dashboard messages
/api/v1/msg/destroy_all?vdc=controller-name
Name of the target virtual data center
synchronous
GET
Destroy all dashboard messages.
GET http://192.168.123.200/api/v1/msg/destroy_all?vdc=mygrid
<opt></opt>
{}
Get text/attributes of a dashboard message
/api/v1/msg/get?id=id&vdc=controller-name
Message ID - must be in the form 'NNN<text>'
Name of the target virtual data center
synchronous
GET
Get text of message with id 123MSG.
GET http://192.168.123.200/api/v1/msg/get?id=123MSG&vdc=mygrid
<message> <name>123MSG</name> <id>123MSG</id> <severity>info</severity> <text>Test message</text> <timestamp>1271980131</timestamp> </message>
{
"message" : {
"timestamp" : "1271980131",
"text" : "Test message",
"name" : "123MSG",
"id" : "123MSG",
"severity" : "info"
}
|
Copyright © 2012 CA.
All rights reserved.
|
|