跳到主要内容

GET – 事件订阅集合

使用 GET 方法检索服务器的事件订阅集合资源的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/EventService/Subscriptions

请求正文

响应正文

字段类型描述

Description

字符串

此资源表示某个 Redfish 实现的 EventDestination 实例的资源集合。

Members

数组

项:事件订阅元素的引用链接。

Name

字符串

Subscriptions

状态代码

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

示例

返回以下示例 JSON 响应:

{
"@odata.context": "/redfish/v1/$metadata#EventDestinationCollection.EventDestinationCollection",
"@odata.etag": "\"8C6E06D9\"",
"@odata.id": "/redfish/v1/EventService/Subscriptions",
"@odata.type": "#EventDestinationCollection.EventDestinationCollection",
"Description": "This resource represents a Resource Collection of EventDestination instances for a Redfish implementation.",
"Members": [],
"Members@odata.count": 0,
"Name": "Subscriptions"
}