Skip to main content

GET – Collection for sessions

Use the GET method to retrieve properties in session collection for Redfish service.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/SessionService/Sessions

Request body

None

Response body

FieldTypeDescription

Name

String“SessionCollection”

Members

ArrayItems: A reference link to an element of sessions

Description

StringA collection of Session resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON responses are returned:

"Members": [
{
"@odata.id": "/redfish/v1/SessionService/Sessions/3"
}
],
"@odata.type": "#SessionCollection.SessionCollection",
"@odata.id": "/redfish/v1/SessionService/Sessions",
"Name": "SessionCollection",
"@odata.etag": "\"23ca87ca635524230d9\"",
"Members@odata.count": 1,
"Description": "A collection of Session resource instances."
}