MinecraftAdministrationCenter / mac-docs

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

Hardware Memory Endpoint #10

Open FastFelix771 opened 6 years ago

FastFelix771 commented 6 years ago

Request Example

GET back.end/v1/hardware/memory

Reponse Examples

Success

Response-Code: 200 OK

{
    "success": true,
    "content": {
        "ram": {
            "max": 1234567,
            "free": 9876
        },
        "swap": {
            "max": 1234674,
            "free": 123472
        }
    }
}

Failure

Response-Code: 500 Internal Server Error

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