HP VAN SDN Controller REST API Guide
"vendor": "Hewlett-Packard",
"version": "1.21.0.SNAPSHOT"
}
}
Response codes
• Normal: OK (200)
• Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Un-deploy app
Sample request
Un-deploy app:
DELETE /sdn/v2.0/apps/com.hp.sdn.tvue
There is no request body for this API.
Sample response
There is no response body for this API.
Response codes
• Normal: No Content (204)
• Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Apps/{app uid}/action
Install a deployed app
Sample request
Install and start a staged (deployed) app:
POST /sdn/v2.0/apps/{app_uid}/action
Request body: install
Sample response
{
"app": {
"deployed": "2013-10-16T21:15:10.922Z",
"desc": "Topology Viewer",
"name": "Topology Viewer",
"state": "ACTIVE",
"uid": "com.hp.sdn.tvue",
"vendor": "Hewlett-Packard",
"version": "1.21.0.SNAPSHOT"
}
}
Response codes
• Normal: OK (200)
• Error: Unauthorized (401), Not Found (404), Service Unavailable (503
Apps 27