HP OneView REST API Reference

connection-templates
connection-templates.html[10/17/2013 10:35:35 AM]
URI: /rest/connection-templates/schema
Method API
GET Gets the connection template 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 for this resource
Response Codes
REST API Response Codes
Examples
Get the JSON schema for the resource:
GET https://{appl}/rest/connection-templates/schema
URI: /rest/connection-templates/{id}
Method API
GET Gets the connection template instance using the specified ID.
Parameter Attributes Description
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
ConnectionTemplate The requested connection template resource
Response Codes
REST API Response Codes
Examples
Get the connection template instance with the ID 7769cae0-b680-435b-
9b87-9b864c81657f:
GET https://{appl}/rest/connection-templates/7769cae0-b680-435b-
9b87-9b864c81657f
PUT Updates a connection template. All connections which reference networks associated with the
connection template will have their typical and maximum bandwidth values re-validated and (if
necessary) adjusted to comply with the connection template maximum bandwidth.
Parameter Attributes Description