跳到主要内容

GET – 服务器集合

使用 GET 方法检索 Redfish 服务的系统集合中的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Systems

请求正文

响应正文

字段类型描述

Name

字符串

ComputerSystemCollection

Members

数组

项:系统元素的引用链接。

Description

字符串

“A collection of ComputerSystem resource instances.”

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

请求成功时,将返回类似于以下内容的消息正文:

{
"@odata.etag": "\"F1474B90\"",
"@odata.id": "/redfish/v1/Systems",
"@odata.type": "#ComputerSystemCollection.ComputerSystemCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1"
}
],
"Members@odata.count": 1,
"Name": "Computer System Collection"
}