REST api

User avatar
lacibaci
Member
 
Posts: 21
Joined: Thu May 05, 2016 9:26 am
Has thanked: 8 times
Been thanked: 2 times

REST api

Sun May 22, 2016 12:34 pm

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

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: REST api

Sun May 22, 2016 2:37 pm

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.

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 142 guests