You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In the REST API, the tagId filter in the getDevices is really powerful but I'm currently stacking multiple requests with different tagId and it seems like there should be the possibility to request them on an OR relationship that allows me to request all devices that fits with multiple tagIds at the same time, which is not very complicated to reproduce on the database request internally. Repeating the requests and removing duplicates is a bit overheaded.
Describe the solution you'd like
I'd suggest modifying the tagId filter on getDevices to become an array of tags (.../devices?tagId=car&tagId=house).
Additional context
It would make it more similar to the matchTerm filter which is also very powerful
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In the REST API, the tagId filter in the getDevices is really powerful but I'm currently stacking multiple requests with different tagId and it seems like there should be the possibility to request them on an OR relationship that allows me to request all devices that fits with multiple tagIds at the same time, which is not very complicated to reproduce on the database request internally. Repeating the requests and removing duplicates is a bit overheaded.
Describe the solution you'd like
I'd suggest modifying the tagId filter on getDevices to become an array of tags (
.../devices?tagId=car&tagId=house
).Additional context
It would make it more similar to the matchTerm filter which is also very powerful
The text was updated successfully, but these errors were encountered: