Certificate Manager API, REST: Certificate.ListVersions
HTTP request
GET https://certificate-manager.api.cloud.yandex.net/certificate-manager/v1/certificates/{certificateId}/versions
Path parameters
Field |
Description |
certificateId |
string Required field. ID of the certificate to list versions for. |
Query parameters
Field |
Description |
pageSize |
string (int64) Page token. To get the next page of results, set |
pageToken |
string Page token. To get the next page of results, set |
Response
HTTP Code: 200 - OK
{
"versions": [
{
"id": "string",
"certificateId": "string",
"createdAt": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
versions[] |
List of versions for the specified certificate. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number |
Version
A certificate version
Field |
Description |
id |
string ID of the version. |
certificateId |
string ID of the certificate that the version belongs to. |
createdAt |
string (date-time) Time when the version was created. String in RFC3339 To work with values in this field, use the APIs described in the |