Page 1 of 1

REST api

Posted: Sun May 22, 2016 12:34 pm
by lacibaci
Do you have any documentation for the REST api? For example I found I can query syslog:

https://<switchip>/api/v1/syslog

or stats for a port:

https://<switchip>/api/v1/portdetail?port=1

Thanks,
Lac

Re: REST api

Posted: Sun May 22, 2016 2:37 pm
by Eric Stern
Not at this time. Its a fairly simple API as you've already discovered. It should be pretty easy to figure out what you want to do by looking at how the web GUI uses the API or grabbing api.php from the switch and taking a look at it.