HP VAN SDN Controller REST API Guide

There is no request body for this API.
Sample response
Response data is an application/octet stream of the zip file containing the controller(s)'s logs.
Response codes
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Logs/local
Download the local controller logs as a zip file
Sample request
Download local controller logs:
GET /sdn/v2.0/logs/local
There is no request body for this API.
Sample response
Response data is an application/octet stream of the zip file containing the controller's logs.
Response codes
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Audit logs
Auditlog
List audit log entries
Sample request
List the audit log:
GET /sdn/v2.0/auditlog
List the audit log by user:
GET /sdn/v2.0/auditlog?user="john.doe"
List the audit log by activity:
GET /sdn/v2.0/auditlog?activity="suspicious"
List the audit log by time period:
GET
/sdn/v2.0/auditlog?start=2013-09-19T18%3A06%3A54.086Z&end=2013-09-19T18%3A06%3A54.108Z
Parameters:
user ... optional; if specified, returns only the audit logs for the specified user; otherwise a wildcard
30 /sdn/v2.0