Servers

Overview of all servers

GET https://cronly.app/api/servers

Headers

[
    {
        "id": 1,
        "company_id": 1,
        "name": "Test Server",
        "identifier": "server_identifier"
        "ip_address": "143.110.208.131",
        "deleted_at": null,
        "created_at": "2024-03-04T16:19:06.000000Z",
        "updated_at": "2024-03-04T16:19:06.000000Z"
    }
]

Details of server

GET https://cronly.app/api/servers/{id}

Query Parameters

Headers

{
        "id": 1,
        "company_id": 1,
        "name": "Test Server",
        "ip_address": "143.110.208.131",
        "identifier": "server_identifier"
        "deleted_at": null,
        "created_at": "2024-03-04T16:19:06.000000Z",
        "updated_at": "2024-03-04T16:19:06.000000Z"
}

Create a new server

POST https://cronly.app/api/servers

Headers

Request Body

{
    "name": "Test Server",
    "ip_address": "143.110.208.131",
    "identifier": "server_identifier"
    "company_id": 1,
    "updated_at": "2024-03-04T20:41:32.000000Z",
    "created_at": "2024-03-04T20:41:32.000000Z",
    "id": 4
}

Delete a server

DELETE https://cronly.app/api/servers/{id}

Query Parameters

Headers

{
    "success": "Server deleted"
}

Last updated