get devices
Request Description
This endpoint retrieves the list of devices associated with the authenticated user. It allows users to view their devices and whether the device appears to be online.
Request
-
Method: GET
-
URL:
{{BASE_DEVICE_URL}}/devices/mine
Response
-
Status Code: 200
-
Content-Type: application/json
Response JSON Schema
On a successful request, the server responds with a status code of 200 and a JSON object containing the following structure:
{
"devices": [
{
"deviceId": "",
"name": "",
"description": "",
"online": true,
"releaseChannel": "",
"deviceType": "",
"deviceFamily": "",
"deviceGroup": ""
}
]
}
-
devices: An array of device objects, each containing:
-
deviceId: (string) The unique identifier for the device.
-
name: (string) The name of the device.
-
description: (string) A brief description of the device.
-
online: (boolean) Indicates whether the device is currently online.
-
releaseChannel: (string) The release channel of the device.
-
deviceType: (string) The type of the device.
-
deviceFamily: (string) The family to which the device belongs.
-
deviceGroup: (string) The group classification of the device.
-
Expected Input Parameters
This request does not require any input parameters.
Example Response
{
"devices": [
{
"deviceId": "12345",
"name": "Bob's Yoto",
"description": "Smart TV in the living room",
"online": true,
"releaseChannel": "general",
"deviceType": "mini",
"deviceFamily": "v3",
"deviceGroup": ""
}
]
}
This response indicates that the user has one device