跳到主要内容

GET – 证书位置属性

使用 GET 方法检索 Redfish 服务的 CertificateLocations 资源中的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/CertificateService/CertificateLocations

请求正文

响应正文

字段

类型

描述

Id

字符串“CertificateLocations”

Name

字符串“Certificate Locations”

Description

字符串“This resource is used to represent the collection of certificate locations for a Redfish implementation.”

Links

对象已展开。
 

Certificates

数组

项:链接

项数:N

  

Certificates[N]

链接

此属性的值是对证书资源的 URI 引用。

状态代码

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

示例

返回以下示例 JSON 响应:

{
"Id": "CertificateLocations",
"@odata.type": "#CertificateLocations.v1_0_2.CertificateLocations",
"@odata.id": "/redfish/v1/CertificateService/CertificateLocations",
"@odata.etag": "\"362ae2eb99a12a2722d\"",
"Links": {
"Certificates": [
{
"@odata.id": "/redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates/1"
}
]
},
"Name": "Certificate Locations",
"Description": "This resource is used to represent the collection of certificate locations for a Redfish implementation."
}