cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1057
Views
1
Helpful
2
Replies

Group APs by name

ivanov.arseniy
Level 1
Level 1

Hello, community.

I need to pull the AP's operational status (registered, not registered), and on a PI Portal i see lets say 1000 unified APs, 900 registered and 100 not registered.

To pull this kind of information via API i make a request like so:

curl -k "https://user:pass@ip/webacs/api/v1/data/Radios/

but the total count is nearly 2000. I assume this is because of some of the APs have two radio interfaces (right?). So is there any way to group the result by say apName to get the same count as on a page? Or is there a way to get distinct apName (no repeats).

Thanks!

Best regards, Arseniy S. Ivanov
2 Replies 2

ivanov.arseniy
Level 1
Level 1

May be there is another way to pull the info about registered/not registered APs? I'd be glad to know!

Best regards, Arseniy S. Ivanov

Unfortunately we don't report operational status of the AP itself.  The approach you have is the best I can think of.