Add hostName filter parameter to REST API
Currently there is no hostName parameter available for the REST API though it exists in the RPC API. When retrieving information about a device using the 'devices/device' endpoint using the REST API:
/devices/device/?filter=deviceType:0,name~<some ipv4 address>,size:1
There is a chance that the device being returned is actually another device when using the ~ operator against the name of the device. There would be quite a bit of work to wildcard filter by name and would be different depending on the tenant's naming schema. Adding the hostName parameter as a feature would mirror RPC's functionality and save quite a bit of custom code from being written.
If anyone is aware of how to filter by hostName or similar (ipv4) parameter without additional operations please let me know.