Hey all, I'm new; first post here, also new to Aruba architecture.
I am developing a set of calls against the ArubaOs 8 API on a mobility Master for a project. I want to see "all available options" for populating a webform drop down to select from. The contents (API response) should be a list of "all available AP group names". The CLI has a very fast, easy and intuitive way to display this information:
CLI:
show ap-group ?
output:
default
<group1>
<group2>
NoAuthApGroup
<group3>
<group4>
<...>
<profile-name> Profile name
| Output Modifiers
<cr>
This output is nearly perfect for what I need, however, leaving out the
?
, and instead pressing
Enter
only yields the default group and noauth group. Not what I need.
I don't see an applicable API call for doing this question mark functionality directly (feel free to reply with this if it exists).
There is the famous "show commands" API that
could work, but when I try it, there is an obvious problem that it fundamentally changes the URL string that I am sending.... since question marks have special meaning.
API:
https://<mmFQDN>:4343/v1/configuration/showcommand?command=show+ap-gorup+?&UIDARUBA={{mmtoken}}
I get:
<empty body>
One might think that you could encode the
?
as
%3F
, but that yields the same empty body.
All this not to mention that the "?" never even shows up when doing the CLI command.
How does one achieve the CLI
?
functionality with the API?
------------------------------
:-Dan Watkins
Ohio State University
------------------------------