HP OneView REST API Reference

REST API Request Headers
stdreqhdrs.html[10/17/2013 10:36:09 AM]
The Accept header is currently
ignored, and JSON is always
returned by default, regardless of
the Accept header. This may
change in future releases.
.
Accept-
Charset
Optional
Accept-Charset:[charset]
The character sets that are
acceptable in the response.
The only supported value is UTF-
8 (Default). Any other value returns
a 406 response code (Not
Acceptable).
Accept-
Language
Optional
Accept-
Language:[language/locale]
The language code requested in
the response.
If a suitable match to the
requested language is not
available, en-US or the appliance
locale is used.
Content-
Type
Required (Only for POST/PUT
requests that include a request body,
not required for GET and DELETE
requests.)
Content-Type:[media-type]
The data format sent in the
Request Body.
The only supported value is
application/json.
Any other value returns a 415
response code
(Unsupported Media Type).
If-Match
Optional Only applicable to PUT (modify
resource) requests on single-
resource URIs.
If-Match:<ETag>
This header is only allowed in a
PUT (modify resource) request if
the client provides the most
current ETag (resource revision)