HP OneView REST API Reference

version
version.html[10/17/2013 10:35:56 AM]
Updated: October 16, 2013 4:05
MDT
API Specifications Create Read Update Delete
/rest/version GET
Resource Model
VersionInfo
HP OneView REST API Reference
version
The version resource provides the REST API to determine the supported X-API-Version specified in the request header for
all the REST API's supported by the appliance.
URI: /rest/version
Method API
GET Returns the range of possible API versions supported by the appliance. The response contains the
currentVersion and the minimumVersion. The current version is the recommended version to
specify in the REST header. The other versions are supported for backward compatibility, but may
not support the most current features. This API does not require authorization or an X-API-version
header.
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
VersionInfo versionInfo current and minimum supported versions.
Response Codes
REST API Response Codes
Examples
The following example returns the current X-API-version
supported by the appliance.
GET https://{appl}/rest/version
VersionInfo
description: VersionInfo represents a range of supported REST API versions
type: object
Properties
minimumVersion: description: The minimum supported API version
type: integer