Last updated 7 months ago
Retrieves a single device
Project ID
Device ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/device/{deviceId}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": false, "error": "text", "device": { "id": 1, "deviceId": "38:f9:d3:d7:62:03", "created": "2019-07-21T17:32:28Z", "lastSeen": "2019-08-31T17:32:28Z", "name": "m6d.1 desk sensor", "deviceType": "DISCO-L475VG", "sensors": [ { "name": "Built-in accelerometer", "frequencies": [ 62.5, 100 ] } ], "remote_mgmt_connected": false, "remote_mgmt_host": "text", "supportsSnapshotStreaming": false, "remoteMgmtMode": "disconnected", "inferenceInfo": { "projectOwner": "text", "projectName": "text", "modelType": "classification" } } }