API Guide

Headers
OData-Version: 4.0
Keep-Alive: timeout=60, max=199
Content-Type: application/json;odata.metadata=minimal;charset=utf-8
Server: Appweb/4.5.4
Location: /redfish/v1/Managers/iDRAC.Embedded.1/Jobs/JID_471269252011
Date: Thu, 06 Jan 2000 02:48:49 GMT
Cache-Control: no-cache
Content-Length: 501
Connection: Keep-Alive Access-Control-Allow-Origin: *
Accept-Ranges: bytes
BODY
{
"@Message.ExtendedInfo": [
{
"Message": "Successfully Completed Request",
"MessageArgs": [],
"MessageArgs@odata.count": 0,
"MessageId": "Base.1.0.Success",
"RelatedProperties": [],
"RelatedProperties@odata.count": 0,
"Resolution": "None",
"Severity": "OK"
},
{
"Message": "The operation successfully completed.",
"MessageArgs": [],
"MessageArgs@odata.count": 0,
"MessageId": "iDRAC.1.5.SYS413",
"RelatedProperties": [],
"RelatedProperties@odata.count": 0,
"Resolution": "No response action is required.",
"Severity": "Informational"
}
]
}
Examples for $expand
1. ManagerCollection Schema includes only NavigationProperties, it does not include Links. In this scenario, following behavior is
expected:
a. /redfish/v1/Managers?$expand=*($levels=1) $expand command will expand NavigationProperty
b. /redfish/v1/Managers?$expand=.($levels=1) $expand command will expand NavigationProperty
2. ManagerAccount Schema includes only Links Property, it does not include NavigationProperties. In this scenario, following behavior
is expected:
a. /redfish/v1/Managers/iDRAC.Embedded.1/Accounts/3?$expand=*($levels=1) $expand command will
expand all properties
b. /redfish/v1/Managers/iDRAC.Embedded.1/Accounts/3?$expand =~($levels=1) $expand command will
expand properties under links
Examples for $select
Resource Type
Example
Resource.Resource
https://<IP>/redfish/v1/Chassis/System.Embedded.1?$select=AssetTag
https://<IP>/redfish/v1/Chassis/System.Embedded.1?$select=Status
124 Examples