Get server

Show a server in your account

GET api/servers/{id}

Example request

curl -X GET "https://ploi.io/api/servers/{id}" \
-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,
        "type": "server",
        "name": "awesome-server",
        "ip_address": "127.0.0.1",
        "php_version": 7.2,
        "mysql_version": 5.7,
        "sites_count": 0,
        "status": "Server created",
        "status_id": 0,
        "created_at": "2019-07-08 10:14:50"
    }
}