Certificate


Introduction

Raileo API makes it possible to integrate Raileo actions to your workflow.

Get latest certificate check details

Method Endpoint
POST api/website/{website_id}/certificate
{
    "name": "Raileo",
    "url": "https://raileo.com",
    "certificate_status": "Valid",
    "valid_from": "Aug 28 03:31:19 2020 GMT",
    "valid_to": "Nov 26 03:31:19 2020 GMT",
    "expires_in": "60",
    "issuer": {
        "C": "US",
        "O": "Let's Encrypt",
        "CN": "Let's Encrypt Authority X3"
    },
    "created_at": "2020-09-27T03:00:22.000000Z"
}

Get Specific certificate check details

If you want to retrieve the details of a specific check, append the check id to the url

Method Endpoint
Post api/website/{website_id}/certificate/{check_id}
{
    "name": "Raileo",
    "url": "https://raileo.com",
    "certificate_status": "Valid",
    "valid_from": "Aug 28 03:31:19 2020 GMT",
    "valid_to": "Nov 26 03:31:19 2020 GMT",
    "expires_in": "74",
    "issuer": {
        "C": "US",
        "O": "Let's Encrypt",
        "CN": "Let's Encrypt Authority X3"
    },
    "created_at": "2020-09-12T14:07:14.000000Z"
}