List device content
Read the loop or fixed list to get item keys, settings, and schedules. Call this endpoint before changing the list.
Read the loop or fixed list to get item keys, settings, and schedules. Call this endpoint before changing the list.
Quick Guide
Prerequisites
- In the Playground, sign in to Dot and select Authorize. In a script, use a personal API key or an OAuth access token as a Bearer token.
- Get the serial number for a device you can control.
Request Examples
GET
/api/authV2/open/device/:deviceId/tasks/:taskTypeGenerated Code
Before running an example, replace placeholders such as {{VARIABLE}} with actual values and remove the surrounding double braces.
1// Generating...Response Example
HTTP 200
{
"revision": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"items": [
{
"taskKey": "q3Ck109u5Lfm",
"contentId": "mindreset.post_it_note",
"name": "Note",
"position": 0,
"configs": {},
"schedule": null,
"editable": true
}
]
}Troubleshooting
Endpoint
/api/authV2/open/device/:deviceId/tasks/:taskType
Method
GET
Path Parameters
Prop
Type
Serial number of a device the caller can access.
Choose the loop or fixed list.
Request Schema
Leave the request body empty.
To update Text, Image, or Canvas content, use the taskKey from this list and keep the same list type.
Response Schema
Prop
Type
Latest revision from the device content list. A string of 64 lowercase hexadecimal characters.
Items in device list order.
Array Items
objectParameters
Unique key within this list. Use it to update, remove, or display this item.
Content Studio ID. Combined items return null.
Display name of the item, or null when unnamed.
Zero-based position in the current list.
Readable template inputs.
Schedule for a fixed item. Loop items return null.
Parameters
Whether this item can be changed through the content management API. Combined items return false.
Status Codes
| HTTP status | What to do |
|---|---|
400 | Check the values of required path, query, or body fields. |
401 | Renew web authorization or check your API key or access token. |
403 | Check that your account can access this device. |
404 | Check that the device serial number is registered. |
429 | Wait for the number of seconds in Retry-After. See API rate limits. |
Use dot_list_device_content with Dot Assistant.
Did this solve your problem?
Join our community