Description
Is your feature request related to a problem? Please describe.
Currently, to obtain a specific device info using the API, I need to provide the device's id only (and for that, I have to look for the id first using List Peers endpoint). This poses a challenge when trying to retrieve specific device information programmatically without first listing all peers and then identifying the desired device (it also applies for other resources)
Describe the solution you'd like
I would like to request a specific resource by using other attributes like 'name' or 'ip address' as parameters (in this case, for a peer) instead of the id only.
Describe alternatives you've considered
Existing API endpoints could be enhanced by including filtering or search capabilities based on more resource attributes.