HP OneView REST API Reference

index/associations
index-associations.html[10/17/2013 10:35:57 AM]
Updated: October 16, 2013 4:13
MDT
API Specifications Create Read Update Delete
/rest/index/associations GET
/rest/index/associations/resources GET
/rest/index/associations/schema GET
Resource Model
Association
Associations
AssociationPaginatedCollection
IndexResourceAssociation
HP OneView REST API Reference
index/associations
This resource provides APIs for managing parent/child associations between resources. Used for creating, naming, deleting, and searching associations, generating association schema
in JSON format, and so on.
URI: /rest/index/associations
Method API
GET Gets the associations that match the requested parameters
Parameter Attributes Description
parentUri Optional The URI of the parent resource in the association relationship
childUri Optional The URI of the child resource in the association relationship
name Optional The name of the association
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
Associations The associations and resources that match the requested
parameters
Response Codes
REST API Response Codes
Examples
Get all associations that match "parentUri=/uri/1"