API Guide
HTTP headers
The server response contains only basic information about related resources. Any metadata that is required to process a request or
response is accessed by using HTTP headers. iDRAC supports the following request headers:
Header Description
If-Match Supported only for AccountService URI.
If-None-Match Supported only for AccountService and metadata URIs.
Content-Length Returned on all responses except responses that have Transfer-Encoding: chunked.
Content-Type
• Responses other than OData metadata—application/json;charset=utf-8
• OData responses—application/xml;charset=utf-8
ETag Supported on AccountService and metadata URIs.
Location Service sets this header when resources are created or when HTTP requests are redirected to other resources.
Cache-Control Returned on all responses. Metadata URIs support cached responses. Instrumentation resources cannot be
cached.
X-Auth-Token Used for authentication of user sessions. See “Session-based authentication” under Redsh authentication and
authorization.
HTTP status codes and error messages
HTTP denes the status codes that are returned in response messages. When the HTTP status code indicates a failure, the response body
contains an extended error resource, which provides meaningful and deterministic error semantics.
The extended-error information for the Redsh service that Dell has implemented contains error or exception information that is unique to
Dell. This information provides more details and recommendations for error resolution. To learn more about extended-error information, see
the Event and Error Message Reference Guide available at www.dell.com/manuals.
For more information about supported status codes and error messages, see the Redsh Scalable Platforms Management API
Specication document available at www.dmtf.org/standards/redsh.
SSL certicates of iDRAC
iDRAC includes a web server that uses the industry-standard SSL security protocol to transfer encrypted data over a network. Built upon
asymmetric encryption technology, SSL is widely accepted for providing authenticated and encrypted communication between clients and
servers to prevent eavesdropping across a network.
By default, the iDRAC web server has a Dell self-signed SSL digital certicate. Redsh service reuses this certicate installed on the iDRAC
web server. You can replace the default SSL certicate with a certicate signed by a well-known Certicate Authority (CA). You can
replace SSL certicates using the iDRAC interfaces such as web interface, RACADM, or WSMan. For more information on managing SSL
certicates of iDRAC, see the latest iDRAC User’s Guide available at Dell.com/idracmanuals.
Eventing
The Redsh service generates asynchronous notications (events) that are dened by Redsh subscription for the eventing service. These
events are sent to an event destination by using HTTP POST method. Events are generated when some signicant change or error
condition typically of time critical nature occurs. When an event occurs on the service, it noties the clients. Redsh service must be
enabled and iDRAC must be congured to create event subscriptions and to gain read-only privilege for viewing event subscriptions.
Redsh-based
systems management 11