3.10.1 Config

Stažení aktuální konfigurace

Stáhne soubor s aktuální konfigurací zařízení. 

URL:

https://{{ip_addr}}/api/v1/maintenance/config

HTTP Metoda:

GET

Response code:

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

Response data:

{
    "application": {
        "applicationToRunAtStart": {
            "id": "",
            "installDate": "",
            "name": "None",
            "version": ""
        },
        "isInstallationAllowed": false,
        "isReturnToApplicationOnCallEndAllowed": false,
        "urlToRunAtStart": ""
    },
    "audio": {
        "alarmsVolume": 0,
        "musicVolume": 13,
        "ringtoneVolume": 14
    },
    "display": {
        "brightness": 37,
        "isBlueLedNotificationActive": true,
        "turnOffDisplayDelay": 1
    },
    "fwVersion": "4.2.0",
    "hipmo": {
        "call": {
            "autoCallPickup": false,
            "autoCallPickupDelay": 0,
            "ringtoneUri": "content://media/internal/audio/media/175"
        },
        "dndMode": {
            "dnd": {
                "isEnabled": false,
                "time": 0
            },
            "dndNight": {
                "days": [
                    5,
                    1,
                    4,
                    2,
                    3,
                    0,
                    6
                ],
                "endTime": "00:00",
                "isEnabled": false,
                "startTime": "00:00"
            }
        },
        "doorButton": {
            "bypassDnd": false,
            "invertInput": true,
            "isEnabled": false,
            "maxRingingTime": 30,
            "minRingingTime": 3,
            "usedInput": 0
        },
        "externalRing": {
            "bypassDnd": false,
            "invertOutput": true,
            "isEnabled": false,
            "maxRingingTime": 30,
            "minRingingTime": 3,
            "usedOutput": 0
        },
        "general": {
            "autosnapshot": true,
            "customLanguage": false,
            "deactivationTimeout": 1,
            "hipGroupPassword": "",
            "isReceivingMulticastActive": false,
            "logging": false,
            "multicastDiscovery": true,
            "pushToTalk": false,
            "settingsPassword": ""
        },
        "my2n": {
            "deviceId": "",
            "isEnabled": false,
            "password": ""
        },
        "recorder": {
            "activationTimeout": 0,
            "announcementType": 0,
            "isEnabled": false
        },
        "sipProxy": {
            "ipAddress": "",
            "isEnabled": false,
            "name": "IndoorTouch",
            "password": "",
            "port": 5060,
            "protocol": 1,
            "registrar": {
                "expiry": 120,
                "ipAddress": "",
                "isEnabled": false,
                "port": 5060
            },
            "sipPortRandomization": false,
            "sipRandomPort": 5060,
            "userName": "111"
        }
    },
    "homescreen": {
        "buttons": [
            {
                "application": {
                    "id": "com.android.documentsui",
                    "name": "File Manager"
                },
                "icon": 6,
                "id": 1,
                "label": "File Manager",
                "position": 1
            },
            {
                "application": {
                    "id": "com.android.browser",
                    "name": "Browser"
                },
                "icon": 3,
                "id": 2,
                "label": "Browser",
                "position": 2
            },
            {
                "application": {
                    "id": "cz.nn.helios_mobile",
                    "name": "2N® IP Mobile"
                },
                "icon": 8,
                "id": 3,
                "label": "Intercoms",
                "position": 3
            },
            {
                "application": {
                    "id": "com.android.gallery3d",
                    "name": "Gallery"
                },
                "icon": 7,
                "id": 6,
                "label": "test",
                "position": 5
            }
        ],
        "isClockOnlyModeActive": false
    },
    "licence": {
        "key": "EJF3A-7SGBQ-UTGYC-VWV38-MKPGG"
    },
    "localsettings": {
        "languageId": "en-US",
        "time": {
            "dateTime": "10/15/19 12:47 PM",
            "is24hourFormatUsed": false,
            "isNetworkTimeUsed": true,
            "isoDateTime": "2019-10-15T12:47:50+0000",
            "timeZoneId": 27
        },
        "weather": {
            "location": "Prague,CZ",
            "unit": 0,
            "updatePeriod": 0
        }
    },
    "maintenance": {
        "isRemoteEnabled": true,
        "isWelcomeScreenEnabled": false
    },
    "network": {
        "dns": "10.0.100.101",
        "gateway": "10.27.0.1",
        "ipAddress": "10.27.5.173",
        "isDhcpEnabled": true,
        "isEthernetEnabled": true,
        "mask": "255.255.0.0"
    }
}

Nahrání zálohy konfigurace

URL:

https://{{ip_addr}}/api/v1/maintenance/config

HTTP Metoda:

POST

Request body:

form-data:

  • file=<binary>
  • isNetworkSettingsEnabled=<boolean>

Response code:

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