api: Added the ability to list devices by location in the api (#5693)

* Adding location based filter for api-device calls

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* configured linting etc, now pr should pass

* rebase and add entry to docs
This commit is contained in:
gilrim
2017-02-08 21:57:15 +00:00
committed by Neil Lathwood
parent 8559137587
commit 8b401fd05b
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -729,6 +729,7 @@ Input:
- mac: search by mac address
- ipv4: search by IPv4 address
- ipv6: search by IPv6 address (compressed or uncompressed)
- location: search by location
- query: If searching by, then this will be used as the input.
Example:
```curl