IoT Core Service, REST: Device.ListCertificates
Retrieves the list of device certificates for the specified device.
HTTP request
GET https://iot-devices.api.cloud.yandex.net/iot-devices/v1/devices/{deviceId}/certificates
Path parameters
Field |
Description |
deviceId |
string Required field. ID of the device to list certificates for. |
Response
HTTP Code: 200 - OK
{
"certificates": [
{
"deviceId": "string",
"fingerprint": "string",
"certificateData": "string",
"createdAt": "string"
}
]
}
Field |
Description |
certificates[] |
List of certificates for the specified device. |
DeviceCertificate
A device certificate. For more information, see Managing device certificates.
Field |
Description |
deviceId |
string ID of the device that the certificate belongs to. |
fingerprint |
string SHA256 hash of the certificate. |
certificateData |
string Public part of the certificate. |
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |