MinecraftAdministrationCenter / mac-docs

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

Hardware Storage Endpoint #12

Open FastFelix771 opened 6 years ago

FastFelix771 commented 6 years ago

Request Example

GET back.end/v1/hardware/storage

Reponse Examples

Success

Response-Code: 200 OK

{
    "success": true,
    "content": {
        "disks": [
            {
                "type": "SAS",
                "model": "ExpensiveDisk001A2",
                "serial": "123abc3245634ewgf",
                "vendor": "ExpensiveDiskMaker",
                "capacity": 476940,
                "available": 100000
            }
        ]
    }
}

Failure

Response-Code: 500 Internal Server Error

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