HP OneView REST API Reference

server-profiles
server-profiles.html[10/17/2013 10:35:14 AM]
AvailableServer list of Server objects which is a list of servers,available for
profile assignment.
Response Codes
REST API Response Codes
Examples
Obtain all available servers.
GET https://{appl}/rest/server-profiles/available-servers
This example retrieves the servers that are available for
a
server profile for a given server hardware type and
enclosure group
GET https://{appl}/rest/server-profiles/available-servers?
serverHardwareTypeUri={uri}&enclosureGroupUri={uri}
The example listed here retrieves the servers that are
available for a server profile for a given profileUri
GET https://{appl}/rest/server-profiles/available-servers?
profileUri={uri}
URI: /rest/server-profiles/available-servers/schema
Method API
GET Generate the available Server JSON formatted schema
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current
release, this must be set to "X-API-Version:3"
Response Description
JsonSchema The json schema of the available Servers
Response Codes
REST API Response Codes
Examples
GET
https://{appl}/rest/server-profiles/available-servers/
schema
URI: /rest/server-profiles/messages/schema
Method API
GET Generate the available ServerProfileHealth JSON formatted schema
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current
release, this must be set to "X-API-Version:3"
Response Description
JsonSchema The json schema of the server profile status