GET – 会话集合
使用 GET 方法检索 Redfish 服务的会话集合中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/SessionService/Sessions
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Description | 字符串 | “A collection of Session resource instances.” | |||
Name | 字符串 | SessionCollection | |||
Members | 数组 | 项:链接 项数:0~26 | |||
Members[N] | 链接 | 用户角色资源实例的链接。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@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"
}
提供反馈