Querying Service Resources in the Current Root Directory
Function
This interface is used to query the current root service resources of a server.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1
Request header:
X-Auth-Token: auth_value
Request message body: None
Usage Guidelines
None
Example
Request:
GET https://10.10.10.10/redfish/v1
Request header:
X-Auth-Token: auth_value
Request message body: None
Response:
{
"@odata.context": "/redfish/v1/$metadata#ServiceRoot",
"@odata.id": "/redfish/v1/",
"@odata.type": "#ServiceRoot.v1_9_0.ServiceRoot",
"Id": "RootService",
"Name": "Root Service",
"RedfishVersion": "1.0.2",
"UUID": "--",
"SessionService": {
"@odata.id": "/redfish/v1/SessionService"
},
"AccountService": {
"@odata.id": "/redfish/v1/AccountService"
},
"Systems": {
"@odata.id": "/redfish/v1/Systems"
},
"UpdateService": {
"@odata.id": "/redfish/v1/UpdateService"
},
"Oem": {
"NetManager": {
"@odata.id": "/redfish/v1/NetManager"
}
}
}
Response code: 200
Output Description
Field |
Type |
Description |
|---|---|---|
@odata.context |
Character string |
OData description of a root service resource model. |
@odata.id |
Character string |
Path to access a root service resource node. |
@odata.type |
Character string |
Root service resource type. |
Id |
Character string |
Root service resource ID. |
Name |
Character string |
Root service resource name. |
RedfishVersion |
Character string |
Detailed Redfish version information. |
UUID |
Character string |
Universally unique identifier of a device. |
SessionService |
Object |
Session service resources. |
AccountService |
Object |
Account service resource. |
Systems |
Object |
System resources. |
UpdateService |
Object |
Update service resources. |
Oem |
Object |
Custom attribute. |
NetManager |
Object |
Network configuration update resource. |
NetManager@odata.id |
Character string |
Path to access a network configuration update resource. |