Certificate Manager API, REST: Certificate.listVersions
HTTP request
GET https://certificate-manager.api.cloud.yandex.net/certificate-manager/v1/certificates/{certificateId}/versions
Path parameters
Parameter | Description |
---|---|
certificateId | Required. ID of the certificate to list versions for. The maximum string length in characters is 50. |
Query parameters
Parameter | Description |
---|---|
pageSize | Page token. To get the next page of results, set The maximum value is 1000. |
pageToken | Page token. To get the next page of results, set The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"versions": [
{
"id": "string",
"certificateId": "string",
"createdAt": "string"
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
versions[] | object List of versions for the specified certificate. |
versions[]. id |
string ID of the version. |
versions[]. certificateId |
string ID of the certificate that the version belongs to. |
versions[]. createdAt |
string (date-time) Time when the version was created. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
nextPageToken | string This token allows you to get the next page of results for list requests. If the number of results is greater than the specified pageSize, use the |