02-04-2022 01:17 PM
Is there published or unpublished API for Unleashed?
I'm looking for the MACs from cli command "show current-active-clients all".
Solved! Go to Solution.
02-08-2022 12:53 PM
Totally agree. I just created a new repo on GitHub and added the Unleashed postman collection: https://github.com/commscope-ruckus/RUCKUS-Unleashed
You start with the call to login using the unleashed credentials, then retrieve a CSRF token, and use it in the header for subsequent calls.
02-10-2022 01:45 PM
the endpoints for ZD are a little different. I will create another repo with the ZD collection
02-10-2022 05:34 PM
My pull updated all the requests so they work on Unleashed, ZD 9.x & ZD 10.x endpoints.
If you keep the ZoneDirector & Unleashed repos split...
08-27-2024 06:02 PM
Hi.
I need a bash script using curl.
when I tried this via postman , it worked good.
But I tried this via curl in centos, it didn't work like below at wlan stats.
1) Login :
curl -G 'https://192.168.40.241/admin/login.jsp?username=admin&action=login.jsp&password=ruckus1234&ok=ruckus' --insecure -I -s | grep CSRF_TOKEN | awk '{print $2}'
vxCkT3sqRh
-> It is worked.
2) Get wlan stats
curl -i -k -X POST \
-H "X-CSRF-Token:vxCkT3sqRh" \
-H "Content-Type:text/xml" \
-d \
'<ajax-request action=\''getstat\'' comp=\''stamgr\'' enable-gzip="0" caller="SCI">
<vap INTERVAL-STATS="yes" INTERVAL-START="1604710474" INTERVAL-STOP="1605315274" LEVEL=\''1\''/>
</ajax-request>' \
'https://192.168.40.241/admin/_cmdstat.jsp'
-> It didn't work like below.
<html><head><title>Moved Temporarily</title></head>
<body><h1>Moved Temporarily</h1>
<p>The document has moved <a href="https://192.168.40.241/admin/login.jsp">here</a>.</p>
<address> at https:443 Port 443</address></body>
</html>
How do I apply at curl?
02-09-2022 09:45 PM
Amazing! I’ll have a look.
02-10-2022 02:30 PM
I uploaded a ZD 1200 collection to this repository: https://github.com/commscope-ruckus/RUCKUS-Zone-Director