GET – Session management properties
Use the GET method to retrieve properties in SessionService resource for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/SessionService
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | SessionService | |||
Name | String | SessionService | |||
Description | String | This string is used to represent the Session Service Properties for a Redfish implementation. | |||
Sessions | Object | This property shall contain the link to a collection of Sessions. | |||
ServiceEnabled | Boolean | The value of this property shall be a boolean indicating whether this service is enabled. The default value is true. | |||
SessionTimeout | Number | This is the number of seconds of inactivity that a session may have before the session service closes the session due to inactivity. The value should between 30 and 86400. The default value is 300. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
When the request is successful, a message body similar to the following is returned:
{
"@odata.context": "/redfish/v1/$metadata#SessionService.SessionService",
"@odata.etag": "\"07B0137C\"",
"@odata.id": "/redfish/v1/SessionService/",
"@odata.type": "#SessionService.v1_1_8.SessionService",
"Description": "This resource is used to represent a session service for a Redfish implementation.",
"Id": "SessionService",
"Name": "SessionService",
"Oem": {
...
}
},
"ServiceEnabled": true,
"SessionTimeout": 300,
"Sessions": {
"@odata.id": "/redfish/v1/SessionService/Sessions"
}
}
Give documentation feedback