Hi Martin,
The filters using "|" won't work for the showcommand api. I would recommend you to find alternative CLI show commands that can give you desired information.
For example: show ap details ap-name <ap-name>
The above command when passed through showcommand api, gives a whole bunch of information for a single AP in a consumable JSON format.
Thanks,
Jay
------------------------------
Jay Pathak
------------------------------
Original Message:
Sent: Feb 08, 2022 03:13 AM
From: Martin Zipperer
Subject: AOS8 REST API - Getting AP information
Hi Karthik,
yes I tried that but just got the full list of APs back. Is there a way to filter for a specific AP like using | for the CLI ?
Original Message:
Sent: Feb 07, 2022 11:22 AM
From: Karthikeyan Dhandapani
Subject: AOS8 REST API - Getting AP information
Hi Martin,
We have showcommand API. It provides a JSON response for most of the showcommands.
https://developer.arubanetworks.com/aruba-aos/docs/showcommand-api
Does this help?
Thanks,
Karthik
------------------------------
Karthikeyan Dhandapani