RegistriesCollection
更新时间: 2026/06/26
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Registries
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | - | 消息归档资源模型的OData描述信息 |
| @odata.id | string | true | - | 消息归档资源节点的访问路径 |
| @odata.type | string | true | - | 消息归档资源类型 |
| Name | string | true | - | 消息归档资源的名称 |
| Description | string | true | - | 消息归档资源的描述信息 |
| Members | object | true | - | 消息归档资源下的扩展资源 |
| Members@odata.id | string | true | - | 扩展资源的访问路径 |
| Members@odata.count | number | true | - | 消息归档资源包含的扩展资源数 |
| Base.v1_0_0 | string | true | - | 官方定义错误消息注册文件导航 |
| iBMC.v1_0_0 | string | true | - | BMC自定义错误消息注册文件导航 |
| iBMCEvents.v2_0_10 | string | true | - | BMC事件上报注册文件导航 |
| BiosAttributeRegistry.v1_0_1 | string | true | - | BIOS注册文件导航 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询所有归档资源
命令格式
URL: https://device_ip/redfish/v1/Registries
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| auth_value | 执行该GET请求时,必须在"Headers"中携带"X-Auth-Token"值用于鉴权 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
使用指南
无
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/Registries请求头:
X-Auth-Token: 123456789***********************响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#Registries",
"@odata.id": "/redfish/v1/Registries",
"@odata.type": "#MessageRegistryFileCollection.MessageRegistryFileCollection",
"Name": "Registry File Collection",
"Description": "Registry Repository",
"Members@odata.count": 4,
"Members": [
{
"@odata.id": "/redfish/v1/Registries/Base.v1_0_0"
},
{
"@odata.id": "/redfish/v1/Registries/iBMC.v1_0_0"
},
{
"@odata.id": "/redfish/v1/Registries/iBMCEvents.v2_0_10"
},
{
"@odata.id": "/redfish/v1/Registries/BiosAttributeRegistry.v1_0_1"
}
]
}响应码:200