Add event to a VM
Request:
POST /api/vms/1921
{
"action": "add_event",
"resource" : {
"event_type" : "BadUserNameSessionEvent",
"event_message" : "Cannot login user@test.domain"
}
}
Response:
{
"success": true,
"message": "Adding Event type=BadUserNameSessionEvent message=Cannot login user@test.domain",
"href": "http://localhost:3000/api/vms/1921"
}