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 | |||
---|---|---|---|---|---|
Description | String | A collection of Session resource instances. | |||
Name | String | SessionCollection | |||
Members | Array | Items: links Item count: 0~26 | |||
Members[N] | Link | Links to user role resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON responses are returned:
{
"@odata.context": "/redfish/v1/$metadata#SessionCollection.SessionCollection",
"@odata.etag": "\"0941AA1E\"",
"@odata.id": "/redfish/v1/SessionService/Sessions/",
"@odata.type": "#SessionCollection.SessionCollection",
"Description": "A collection of Session resource instances.",
"Members": [],
"Members@odata.count": 0,
"Name": "SessionCollection"
}
Give documentation feedback