I am currently working with Mender API and I would like to get devices list with some filters.
I am using the route : /api/management/v1/inventory
With this example:
GET /devices?attr_name_1=foo&
attr_name_2=100&
…
My problem here, is that the API accepts only “EQUAL” operator. And I would like to use a “LIKE” operator or “CONTAINS” in order to have all devices with the attr_name_1 containing my filter value.
Currently the API only supports the “EQUAL” operation. We are planning on implementing more advanced filtering capabilities, which would allow LIKE and CONTAINS and more use-cases (think regexp).
This will be a commercial feature and will be available on Hosted Mender/Mender Enterprise.