Skip to content
The Yoto Developer Challenge is on, with $10,000 to win!

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.

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: 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.

Responses

200 ok application/json
devicesarray
[items]object
descriptionstring
deviceFamilystring
deviceGroupstring
deviceIdstring
deviceTypestring
namestring
onlineboolean
releaseChannelstring
GET
/device-v2/devices/mine
Server URL: https://api.yotoplay.com
Authorization (bearerAuth)
Terminal window
curl "https://api.yotoplay.com/device-v2/devices/mine"
--header "Authorization: Bearer [YOUR_TOKEN]"