3.1 Device info

About

Získá základní informace o zařízení.

URL:

https://{{ip_addr}}/api/v1/about

HTTP Metoda:

GET

Response code:

Standardní HTTP response code, ošetřuje syntaktické chyby.

Response data:

{
    "data": {
        "buildDate": "9/30/19 2:44 AM",
        "fwVersion": "4.2.0",
        "hwVersion": 1,
        "incrementalVersion": "user.28727",
        "model": "2N Indoor Touch 2.0",
        "serialNumber": "52-2101-0129"
    }
}

Status

Získá informace o stavu zařízení.

URL:

https://{{ip_addr}}/api/v1/status

HTTP Metoda:

GET

Response code:

Standardní HTTP response code, ošetřuje syntaktické chyby.

Response data:

{
    "data": {
        "device": {
            "fwVersion": "4.2.0",
            "hwVersion": 1,
            "isNfcCapable": false,
            "isWifiCapable": true,
            "lanMac": "7C:1E:B3:02:FC:12",
            "model": "2N Indoor Touch 2.0",
            "os": "Android OS 6.0.1",
            "sn": "52-2101-0129",
            "temperature": 45,
            "uptimeLife": 8069000,
            "uptimeRestart": 8201,
            "wifiMac": "7C:1E:B3:03:3F:6B"
        },
        "memory": {
            "available": 1208,
            "total": 1760
        },
        "sdCard": {
            "available": 0,
            "isInserted": false,
            "total": 0
        },
        "storage": {
            "available": 3392,
            "total": 3712
        },
        "time": {
            "date": "10/11/19",
            "time": "9:09 AM"
        }
    }
}