GET – BMC 串口集合
使用 GET 方法检索 Redfish 服务的串口集合中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/SerialInterfaces
请求正文
无
响应正文
响应是包含以下参数的 JSON 对象:
| 字段 | 类型 | 描述 | |||
|---|---|---|---|---|---|
Name  | 字符串 | “SerialInterfaceCollection”  | |||
Members  | 数组 | 项:串口元素的引用链接  | |||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
响应示例
请求成功时,将返回类似于以下内容的消息正文:
 {
    "@odata.id": "/redfish/v1/Managers/1/SerialInterfaces",
    "Members@odata.count": 1,
    "@odata.context": "/redfish/v1/$metadata#SerialInterfaceCollection.SerialInterfaceCollection",
    "Members": [
        {
            "@odata.id": "/redfish/v1/Managers/1/SerialInterfaces/1"
        }
    ],
    "@odata.type": "#SerialInterfaceCollection.SerialInterfaceCollection",
    "@odata.etag": "\"ca33897145cbc4d601528e54e3b4ba97\"",
    "Name": "SerialInterfaceCollection",
    "Description": "A collection of SerialInterface resource instances."
}
提供反馈