v1

latestOpenAPI 3.1.02026-07-24474114.4 KB

Get all Devices

Returns a list of devices in the account

get/devices

Query parameters

allboolean

Return all list of devices without filters

descboolean
per_pageinteger

max value is 100

pageinteger

Number of page in a response.

onlineboolean

Return only devices which currently online

order'last_system_on' | 'name' | 'reconnects_count' | 'errors_count' | 'cpu_load_percent' | 'cache_usage_percent' | 'cache_miss_rate_24h'

Sorting order.

organization_idstring

Pass id of google CDM organization.

searchstring

Match device name, description, location, tags, asset_id, serial number and model by matching string.

activeboolean

Return only activee devices

tagsstring

Return devices with tag matching query param.

Response

200

account_idstring
api_enabledstring
connection_countinteger
cpu_load_percentinteger
created_atnumber
idstring
last_onlineinteger
last_seen_datenumber
last_seen_ipstring
last_system_oninteger
lockedboolean
memory_used_percentinteger
modelstring
namestring
platformstring
playing_page_idstring
playing_untilnumber
playlist_idsstring[]
regionstring
seen_from_dateinteger
serial_numberstring
tagsstring[]
updated_atnumber

Example response

[
  {
    "account_id": "5dba92731b5d034f7d8dcasas",
    "api_enabled": "electron",
    "connection_count": 6,
    "cpu_load_percent": 2,
    "created_at": 1637153557.1660001,
    "id": "6194fb151b5d032f1312f7b9",
    "last_online": 1637304687,
    "last_seen_date": 1637304687.374,
    "last_seen_ip": "10.110.133.212",
    "last_system_on": 1637304687,
    "locked": true,
    "memory_used_percent": 99,
    "model": "INTEL NUC",
    "name": "Device-8o3ov",
    "platform": "macOS",
    "playing_page_id": "6194f7a2aa4a7e2f33449e38",
    "playing_until": 1637304730.7500002,
    "playlist_ids": [
      "6194e811aa4a7e2f33449e2f"
    ],
    "region": "us",
    "seen_from_date": 1637303649,
    "serial_number": "SD253SFDS",
    "tags": [
      "mp4"
    ],
    "updated_at": 1638452376.5310001
  }
]