Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add dependency info for device list in api calls #8058
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
@aldemira What about my comment about the query?
I already expect that people will ask for hostnames as well as ID's. Here's a totally unformatted but working example:
Ok wasn't sure on the formatting of this in the end after seeing it returned as part of the json.
Output below. I have removed the p.* from the select as I don't think we should be returning all the data for mac, ipv4 or ipv6 if someone is searching on it and just list the device info.
I've also added this to the get_device call so it works on single devices: