3.6 Homescreen
Getting current settings
Get the current Homepage settings.
URL: | https://{{ip_addr}}/api/v1/homescreen |
HTTP method: | GET |
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | { "data": { "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": 4, "label": "Gallery", "position": 4 }, { "application": { "id": "com.axis.acs", "name": "Camera Station" }, "icon": 0, "id": 5, "position": 5 } ], "isClockOnlyModeActive": false } } |
Section setting
URL: | https://{{ip_addr}}/api/v1/homescreen |
HTTP method: | PUT |
Request body: | { "isClockOnlyModeActive": "<boolean>" } |
Response code: | Standard HTTP response code, treating syntactic errors.
|
Response data: | { "data": { "isClockOnlyModeActive": false } } |
Get a list of applications available for the Homepage.
URL: | https://{{ip_addr}}/api/v1/homescreen/applications |
HTTP method: | GET |
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | { "data": { "applications": [ { "id": "com.axis.acc", "installDate": "1/1/09", "name": "Companion 3", "version": "3.12.15 (167)" }, { "id": "com.axis.acs", "installDate": "1/1/09", "name": "Camera Station", "version": "1.13.18 (144)" }, { "id": "com.android.music", "installDate": "1/1/09", "name": "Music", "version": "6.0.1 (23)" }, { "id": "com.android.documentsui", "installDate": "1/1/09", "name": "File Manager", "version": "6.0.1" }, { "id": "com.android.deskclock", "installDate": "1/1/09", "name": "Clock", "version": "4.1.0 (410)" }, { "id": "com.android.gallery3d", "installDate": "1/1/09", "name": "Gallery", "version": "1.1.40030 (40030)" }, { "id": "com.android.calculator2", "installDate": "1/1/09", "name": "Calculator", "version": "6.0.1 (23)" }, { "id": "com.adobe.reader", "installDate": "1/1/09", "name": "Adobe Acrobat", "version": "19.0.0.8512 (1900008512)" }, { "id": "com.android.browser", "installDate": "1/1/09", "name": "Browser", "version": "6.0.1 (23)" }, { "id": "cz.nn.helios_mobile", "installDate": "1/1/09", "name": "2N® IP Mobile", "version": "4.4.6 (474)" } ] } } |
Restore the Homepage default setting
URL: | https://{{ip_addr}}/api/v1/homescreen/layoutreset |
HTTP method: | PUT |
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | { "data": { "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": 4, "label": "Gallery", "position": 4 } ], "isClockOnlyModeActive": false } } |