Skip to content

frontend vs. backend: mapping types?

I'm in the process of writing a couple of example scripts how to interact with SMS via the API. My idea was for example to generate a time series of actions that are listed for a device. From what I've tried so far, this is not trivial. On the frontend, a devices has an "Actions" tab that lists the actions but this is a combination of multiple "SMS objects" from the backend, you have to traverse multiple relationships and levels to get all of them. Basically the API is not a 1:1 mapping of the frontend (not even the names always match).

Long story short, do we want to provide such convenience here, such as a DeviceActions object that has all the actions combined?