info-beamer

API Query objects using userdata field

I think it would be useful to have the possibility to query the objects (devices, setups…) using the userdata field

So for example to get all devices with userdata.personal = true

GET https://info-beamer.com/api/v1/device/list?userdata.personal=true

That’s certainly an interesting idea. Once all the permission stuff is done, filtering like that might be added to devices, setups, packages and assets. Sounds pretty useful.

Just browsing older posts: This feature has been available for a while now in the form of filtering. The device/list call for example can filter using userdata content. The request is almost like suggested: Example:

GET https://info-beamer.com/api/v1/device/list?filter:userdata.personal=true
info-beamer - Digital Signage for the Raspberry Pi community forum - Imprint