Nebius Israel
Contact usConsole
  • GPU
  • Docs
© 2023 Nebius Israel Ltd
Certificate Manager
  • Getting started
  • Access management
  • Pricing policy
  • FAQ
  1. API reference
  2. REST
  3. Certificate
  4. listVersions

Certificate Manager API, REST: Certificate.listVersions

  • HTTP request
  • Path parameters
  • Query parameters
  • Response

HTTP requestHTTP request

GET https://cpl.ycm.api.il.nebius.cloud/certificate-manager/v1/certificates/{certificateId}/versions

Path parametersPath parameters

Parameter Description
certificateId

Required. ID of the certificate to list versions for.

The maximum string length in characters is 50.

Query parametersQuery parameters

Parameter Description
pageSize

Page token. To get the next page of results, set page_token to the nextPageToken returned by a previous list request.

The maximum value is 1000.

pageToken

Page token. To get the next page of results, set page_token to the nextPageToken returned by a previous list request.

The maximum string length in characters is 100.

ResponseResponse

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 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

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 next_page_token as the value for the pageToken query parameter in the next list request. Each subsequent list request will have its own nextPageToken to continue paging through the results.

© 2023 Nebius Israel Ltd
In this article:
  • HTTP request
  • Path parameters
  • Query parameters
  • Response