06-23-2021 07:22 AM
I am trying to get some information using the API. The URI is
/wsg/api/public/v9_1/query/ap
If I POST
{ "filters": [ { "type": "DOMAIN", "value": "blah" } ], "attributes": [ "*" ] }
then it returns all information, but if I do
{ "filters": [ { "type": "DOMAIN", "value": "blah" } ], "attributes": [ "ip" ] }
then it returns nothing ("ip" is one of the items returned with "*").
I can see how the API command becomes an SQL command, but I can't work out the column names I need to put in the "attributes" array.
Any advice gratefully received
06-26-2021 07:56 AM
Alternatively, does anyone have examples of scripted use of the API, or links to any good resources? The only ones I can find mention the filters, and say that "attributes" is an array of strings, but I can't find any examples of working code
Thanks
01-20-2022 08:41 AM
Did you ever figure this out? I can't seem to work out the syntax for "attributes" either.
*EDIT*
I've just heard from an engineer at Ruckus, who confirmed that 'attributes' was never fully implemented. It has since been dropped in API v10 and beyond.