projection

Dave whoohoo patronoflies at gmail.com
Tue Apr 7 06:17:59 EDT 2015


Hey,

I created a URL to get all information in the WANDevice and separately the
summary.ip as well (I require this field from the summary.ip object, not
from the WANDevice), using the following url:

'http://10.66.6.170:7557/devices/?query={
"summary.ip"%3A"10.91.0.4"}&projection=InternetGatewayDevice.WanDevice,summary.ip'

However, the server returns only the following:
[
{"_id":"000F5D-DRG700-000F5DA14660","InternetGatewayDevice":{"WANDevice":{"1":{"WANConnectionDevice":{"1":{"WANIPConnection":{"1":{"ExternalIPAddress":{"_value":"10.91.0.4","_timestamp":"2015-04-07T10:01:36.060Z","_type":"xsd:string","_writable":false}}}}}}}},"summary.ip":{"_value":"10.91.0.4","_timestamp":"2015-04-07T10:01:36.060Z","_type":"xsd:string","_writable":false}}
]'

The WANDevice object should contain much more than this. The GUI also shows
there is much more, like MAC, some counters, uptime. It seems that I would
get everything from the WANDevice if I leave out the summary.ip. Could this
be a bug?

Kind regards,

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150407/42e69761/attachment.html>


More information about the Users mailing list