Telemetry - Get Device Group
Getting the list of the device group
Gethttps://api.iotstadium.com/ext/devices-group-dropdown
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
{
"message": "success",
"code": 200,
"data": {
"devices": [
{
"id": 52,
"group_name": "testing device access group no description",
"description": null
},
{
"id": 24,
"group_name": "test override",
"description": "testing override"
},
{
"id": 25,
"group_name": "test override 2",
"description": "overide 2"
},
{
"id": 36,
"group_name": "New Device Group",
"description": "sbhsdjjhahsaxxxxxx"
},
{
"id": 42,
"group_name": "test group",
"description": "test group"
},
{
"id": 43,
"group_name": "group 1",
"description": "group 1"
},
{
"id": 46,
"group_name": "test",
"description": "test"
},
{
"id": 54,
"group_name": "testing description",
"description": "testing description testing description"
},
{
"id": 57,
"group_name": "device-access-group",
"description": "Descrition"
},
{
"id": 58,
"group_name": "access 1",
"description": null
}
]
}
}
{
"message": "Unauthorized (token isn’t provided, or is invalid)",
"code": 401,
"errors": {
"message": "Unauthorized (token isn’t provided, or is invalid)",
"field": "iot API"
}
}