Querying Session Service Information
Function
This interface is used to query information about the current session service.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1/SessionService
Request header:
X-Auth-Token: auth_value
Request message body: None
Usage Guidelines
None
Example
Request:
GET https://10.10.10.10/redfish/v1/SessionService
Request header:
X-Auth-Token: auth_value
Request message body: None
Response:
{
"@odata.context": "/redfish/v1/$metadata#SessionService",
"@odata.id": "/redfish/v1/SessionService",
"@odata.type": "#SessionService.v1_1_8.SessionService",
"Id": "SessionService",
"Name": "Session Service",
"SessionTimeout": 100,
"Sessions": {
"@odata.id": "/redfish/v1/SessionService/Sessions"
}
}
Response code: 200
Output Description
Field |
Type |
Description |
|---|---|---|
@odata.context |
Character string |
OData description of the current service resource model. |
@odata.id |
Character string |
Path to access the current service resource node. |
@odata.type |
Character string |
Type of the current service resource. |
Id |
Character string |
ID of the current service resource. |
Name |
Character string |
Name of the current service resource. |
SessionTimeout |
Number |
Timeout interval of a Redfish session. The value ranges from 5 to 120, in minutes. |
Sessions |
Object |
List of sessions. |
@odata.id |
Character string |
Path to access the session list. |