The status command queries the Sky Node for its status and metrics.

JSON Input Data Format
{
    "id": string
}
id * Specifies the ID of the Sky Node.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": {
        "message": "READY [root enabled]",
        "os": "debian",
        "nodestats": "{\"mem\": { \"current\":3435, \"total\":7906, \"load\": 43.45 },\"disk\": { \"current\":35, \"total\":89, \"used\": 40 },\"cpu\": { \"load\": 0.80 }}",
        "model": {
            "model": "[Intel|AMD|...] @ 2.60GHz",
            "cpu": "4"
        }
    }
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}