Certificates Resource

This is a read-only convenience endpoint to all certificate resources. The regular endpoint is available as HATEOAS per application.

List Certificates

Returns a list of all certificate resources associated with the current user.

GET /rest/certificates

Response

[
   {
       "id": "1",
       "name": "MyCertificate",
       "common_name": "demo.d9tready.com",
       "valid_from": "2014-09-02T12:17:55Z",
       "valid_thru": "2024-08-30T12:17:55Z",
       "_links":
       [
           {
               "href": "https://d9tready.com/rest/privatekeys/1/certificates/1",
               "rel": "self"
           }
       ]
   },
   ...
]

Attributes

  • id - Unique identifier of resource.
  • name - Name of resource.
  • common_name - Common name of resource.
  • valid_from - Valid from date.
  • valid_thru - Valid thru date.
  • _links - Link relations.

HTTP Status Codes

Status Code Description
200 OK No error, operation successful
403 FORBIDDEN Authentication failure

Table Of Contents

Previous topic

Balances Resource

Next topic

Invoices Resource