HP OneView REST API Reference

index/trees
index-trees.html[10/17/2013 10:35:58 AM]
relationship for multiple resources
Response Codes
REST API Response Codes
Examples
Get the tree for a specified resource URI:
GET https://{appl}/rest/index/trees/minified/<uri to resource>
URI: /rest/index/trees/schema
Method API
GET Get the tree schema in JSON format
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 tree
Response Codes
REST API Response Codes
Examples
Get the tree schema in JSON format:
GET https://{appl}/rest/index/trees/schema
IndexResource
type: object
Properties
status: description: Overall health status of the resource. The following are the valid values for the
status of the resource:Unknown - should be avoided, but there may be rare
occasions where status is Unknown; OK - indicates normal/informational
behavior; Disabled - indicates that a resource is not operational; Warning - needs
attention soon; Critical - needs immediate attention.
type: string
category: description: Resource category used for authorizations and resource type groupings
type: string
name: description: Display name for the resource