HP VAN SDN Controller REST API Guide

Sample response
{
"session_ids": {
"nodetokens": [],
"session_id": "RY5jJjppLR"
},
"uri": "https://15.255.124.47:8443/sdn/v2.0/backups/RY5jJjppLR"
}
Response codes
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Download backup image
Sample request
Download the backup image for the given system:
GET /sdn/v2.0/systems/{system uid}/backup?download=true
There is no request body for this API.
Sample response
Response is an application mimetype stream containing the backup image.
Response codes
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Upload backup image
Sample request
Upload backup image:
POST /sdn/v2.0/systems/{system uid}/backup
Request data is a binary stream of data containing the backup image to be uploaded.
Sample response
There is no response data.
Location header: /sdn/v2.0/systems/{system uid}/backup
Response codes
Normal: Created (201)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Systems 35