Get certificate
Get a certificate in your site
GET api/servers/{server}/sites/{site}/certificates/{certificate}
Example request:
curl -X GET "https://ploi.io/api/servers/{server}/sites/{site}/certificates/{certificate}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Example response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"id": 1,
"status": "active",
"domain": "domain.com",
"site_id": 1,
"server_id": 1,
"expires_at": "2019-10-29 05:34:30",
"created_at": "2019-07-31 08:34:25"
}
}