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
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | “SessionCollection” | |||
Members | Array | Items: A reference link to an element of sessions | |||
Description | String | A collection of Session resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
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."
}
Give documentation feedback