HP OneView REST API Reference

interconnects
interconnects.html[10/17/2013 10:35:37 AM]
Response Codes
REST API Response Codes
Examples
Update the port instance on the interconnect that matches ID 9b8f7ec0-52b3-475e-84f4-c4eac51c2c20:
PUT https://{appl}/rest/interconnects/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20/ports
URI: /rest/interconnects/{id}/ports/{portId}
Method API
GET Gets an interconnect port.
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
Port The requested port resource
Response Codes
REST API Response Codes
Examples
Get the port that matches ID 3f317ec0-52b3-475e-84f4-4321c51c1369
on the interconnect that matches ID 9b8f7ec0-52b3-475e-84f4-c4eac51c2c20:
GET https://{appl}/rest/interconnects/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20/ports/3f317ec0-52b3-
475e-84f4-4321c51c1369
URI: /rest/interconnects/{id}/statistics
Method API
GET Gets the statistics from an interconnect.
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
InterconnectsStatistics An interconnect statistics resource
Response Codes
REST API Response Codes
Examples
Get the statistics for the interconnect that matches ID 9b8f7ec0-52b3-475e-84f4-c4eac51c2c20:
GET https://{appl}/rest/interconnects/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20/statistics
URI: /rest/interconnects/{id}/statistics/reset
Method API
PUT Resets the statistics of an interconnect.
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
TaskResourceV2 An object that can be used to track the progress of the statistics reset operation
to completion
Response Codes