Hi Sfletty,
You can look
https://developer.arubanetworks.com/aruba-aos/docs/showcommand-api
You need only to use uri
v1/configuration/showcommand?command=<show-command>&UIDARUBA=<session-token>'
and replace <show-command> by your command (by example show ap database, and replace space by + => =show+ap+database ) and UIDARUBA by the token
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
------------------------------
Original Message:
Sent: Mar 28, 2024 03:15 PM
From: sfletty
Subject: Hello World python API Example?
I'm familiar with python, but just getting started with the AurbaOS 8.10 API. I have a basic script that logs in to my MC, but I'm a bit confused on how to format and send a show command.
Does anyone have a basic working example of how I'd do that?