The use case here is that the rest API has a key on the user object called connected_sources which is an array of user connected devices that changes over time. We probably could sync this to our DB, but it seems a bit more complicated than syncing a static attribute that is created only once. So I'd like to avoid that if possible to create this table.
I'm still a bit stuck so I'll give some more details:
Here is the API call. I have 2 versions, get_users_vital_array and get_users_vital_object where the former has a transformation into an array. Not sure which I will end up using:
The basic documentation is here. My experience has been that sometimes I need to manipulate the raw JSON from a query or API (usually a simple transformer to flatten an array, or something like that), but it should suffice for what you are trying to accomplish.