Last updated 1 year ago
TIP OpenWiFi
SerialNumber of the device
Get information about a connected device.
const response = await fetch('https://localhost:16003/api/v1/connectedDevice/{serialNumber}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "serialNumber": "text", "revision": "text", "deviceType": "text", "endPoint": "https://example.com", "status": "connected" }
List of device history upgrade.
const response = await fetch('https://localhost:16003/api/v1/revisionHistory/{serialNumber}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "history": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "serialNumber": "text", "revisionId": "123e4567-e89b-12d3-a456-426614174000", "fromRelease": "text", "toRelease": "text", "commandUUID": "123e4567-e89b-12d3-a456-426614174000" } ] }
List firmwares
const response = await fetch('https://localhost:16003/api/v1/connectedDevices', { method: 'GET', headers: {}, }); const data = await response.json();
{ "devices": [ { "serialNumber": "text", "revision": "text", "deviceType": "text", "endPoint": "https://example.com", "status": "connected" } ] }
Successfull command execution