MinecraftAdministrationCenter / mac-docs

Public documentation for the administration panel(both API and UI).
MIT License
0 stars 0 forks source link

Hardware CPU Endpoint #11

Open FastFelix771 opened 6 years ago

FastFelix771 commented 6 years ago

Request Example

GET back.end/v1/hardware/cpu

Reponse Examples

Success

Response-Code: 200 OK

{
    "success": true,
    "content": {
        "sockets": 1,
        "processors": [
            {
                "model": "Expensive CPU x9001",
                "vendor": "Expensive CPU Makers",
                "architecture": "x86_64",
                "cores": 2,
                "threads": 4,
                "cache": {
                    "L1": 768,
                    "L2": 8192,
                    "L3": 32768
                },
                "frequencies": [
                    2000,
                    1600,
                    2310,
                    2000
                ]
            }
        ]
    }
}

Failure

Response-Code: 500 Internal Server Error

{
    "success": false,
    "content": "ERROR_MESSAGE"
}