Initial Api release #282

merged 15 commits into from Sep 22, 2014


None yet

3 participants

laf commented Aug 13, 2014

No docs to go with this just yet but it's pretty simple. Two examples:

Get a port graph:
curl -H "X-Auth-Token: YOURTOKENHERE" http://URL/api/v1/get/graph/port/hostname/DEVICENAME/IFNAME

Get port statistics:
curl -H "X-Auth-Token: YOURTOKENHERE" http://URL/api/v1/get/stats/port/device/DEVICEID/IFNAME

@laf laf added this to the Initial API release milestone Sep 17, 2014
@paulgear paulgear merged commit 98ddc01 into librenms:master Sep 22, 2014

1 check passed

ci/scrutinizer Scrutinizer: 15 new issues

FYI, 'ignore' can be a mysql protected keyword, so all these api call types won't work on my install, without replacing the




It's generally good practice to use ` quotes around column names when query building.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment