Server

List all servers

Endpoint

GET /api/servers

Response

{
    "data": [
        {
            "id": 3,
            "type": "forger",
            "network": "production",
            "cpu": "Intel Xeon Gold 6140",
            "ram": "16 GB DDR4 RAM",
            "disk": "40 GB SSD",
            "connection": "1 GBit/s",
            "country": {
                "id": 74,
                "name": "Finland",
                "code": "FI"
            }
        },
        {
            "id": 2,
            "type": "relay",
            "network": "production",
            "cpu": "Intel Xeon Gold 6140",
            "ram": "16 GB DDR4 RAM",
            "disk": "40 GB SSD",
            "connection": "1 GBit/s",
            "country": {
                "id": 15,
                "name": "Australia",
                "code": "AU"
            }
        },
        {
            "id": 5,
            "type": "relay",
            "network": "production",
            "cpu": "Intel Xeon Gold 6140",
            "ram": "16 GB DDR4 RAM",
            "disk": "40 GB SSD",
            "connection": "1 GBit/s",
            "country": {
                "id": 169,
                "name": "Netherlands",
                "code": "NL"
            }
        },
        {
            "id": 1,
            "type": "relay",
            "network": "production",
            "cpu": "Intel Xeon Gold 6140",
            "ram": "16 GB DDR4 RAM",
            "disk": "40 GB SSD",
            "connection": "1 GBit/s",
            "country": {
                "id": 61,
                "name": "Germany",
                "code": "DE"
            }
        },
        {
            "id": 4,
            "type": "relay",
            "network": "production",
            "cpu": "Intel Xeon Gold 6140",
            "ram": "16 GB DDR4 RAM",
            "disk": "40 GB SSD",
            "connection": "1 GBit/s",
            "country": {
                "id": 77,
                "name": "France",
                "code": "FR"
            }
        }
    ],
    "links": {
        "first": "https://delegates.arkx.io/api/servers?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "https://delegates.arkx.io/api/servers",
        "per_page": 15,
        "to": 5
    }
}

Retrieve a server

Endpoint

GET /api/servers/{server_id}

Response

{
    "data": {
        "id": 3,
        "type": "forger",
        "network": "production",
        "cpu": "Intel Xeon Gold 6140",
        "ram": "16 GB DDR4 RAM",
        "disk": "40 GB SSD",
        "connection": "1 GBit/s",
        "country": {
            "id": 74,
            "name": "Finland",
            "code": "FI"
        }
    }
}