Commit Graph

46 Commits

Author SHA1 Message Date
Neil Lathwood
1be550826e api: Added ability to supports CORS for API (#7357)
* Update defaults.inc.php

* api: Added ability to supports CORS for API

* added acknowledge

* Update Configuration.md
2017-09-21 18:07:31 +01:00
Thom Seddon
20aa23508f api: Added simple OSPF API route 2017-09-07 20:04:36 +01:00
Neil Lathwood
fc2041caaf api: Added api routes for eventlog, syslog, alertlog, authlog (#7071) 2017-07-27 19:56:38 +01:00
Tony Murray
4ab358501d api: API allow cidr network searches of the ARP table (#6378)
* api: API allow cidr network searches of the ARP table

* Allow non-encoded / in request
I also noticed that all is allowed to be called without device, which the sql query does not support.
2017-04-07 21:05:46 +01:00
Neil Lathwood
014682b60b api: Added new route for multiport bit graphs + asn list_bgp filter (#6129)
* api: Added new route for multiport bit graphs + asn list_bgp filter

* fixed scrut errors
2017-03-12 21:17:09 -05:00
William George
7240741b69 web: Added IP and port calls to API 2017-02-07 09:46:09 +00:00
Neil Lathwood
6df39b9bbd api: Added support for retrieving health information and graphs #5399 (#5446) 2017-01-19 10:09:20 +00:00
Tony Murray
e20a242785 refactor: use Composer to manage php dependencies (#5216) 2017-01-01 09:37:15 +00:00
Tony Murray
9a33464c52 refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
nerdalertdk
4db541cc32 tabs to spaces 2016-08-26 10:10:29 +02:00
nerdalertdk
d26a1ff2a8 Get services from API
/services = list all services
/services/:hostname = get services by host
2016-08-26 09:17:01 +02:00
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Tony Murray
bf2c522c89 Move third party software to html/lib form html/includes 2016-08-15 13:16:10 -05:00
laf
0b8f06efa3 Added support for searching for arp entry 2016-06-27 14:48:07 +01:00
laf
78204f3971 Added api call for ipsec tunnels 2016-04-22 13:41:38 +00:00
jnewell
e40042bd5c Added device/port_stack API endpoint 2016-04-05 13:03:17 -07:00
Aaron Daniels
9706a85454 - Added add, edit and delete API calls for components.
- Added documentation for the new calls.
2016-03-30 17:16:14 +10:00
Aaron Daniels
6286d7cb6a Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650
Conflicts:
	html/api_v0.php
	html/includes/api_functions.inc.php
2015-12-22 11:16:54 +10:00
Aaron Daniels
c63b7119cb Device Components.
The purpose of this feature is to provide a framework for discovery modules to store
information in the database, without needing to add new tables for each feature.

This Feature provides:
- A database structure to store data.
- An API to store and retrieve data from the database.
- Integration to the LibreNMS APIv0.
- Ability to disable/ignore components.
- Default alerting rules.

- The API returns $COMPONENT[$device_id][$component_id] to allow pulling of data for multiple devices.
  The intent is to be able to create 'Applications' the consolidate data from applications covering multiple devices.
- Added some developer documentation
2015-12-14 07:52:03 +10:00
laf
a73a997edc Added API call for listing devices by groups 2015-12-12 13:47:44 +00:00
laf
62b4c21a12 Added API calls for device groups 2015-12-12 12:58:07 +00:00
laf
977cdd558d Added API route to update devices columns in DB 2015-12-08 22:53:52 +00:00
PandaWawawa
060926571a Adding route 2015-10-08 17:00:22 +02:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf
f5d02ab18d Added API to feed into Oxidized 2015-05-07 00:32:58 +01:00
laf
28724cbae1 Added inventory endpoint to API 2015-03-23 15:15:05 +00:00
laf
c1ef9b6808 Resolved a large number index issues and update Console_Color to V2 2015-03-01 18:04:57 +00:00
Neil Lathwood
b6d935e608 API for alerting 2014-12-16 20:39:58 +00:00
laf
a152f3566e Fixed API route order to resolve get_port_graphs working 2014-12-12 19:35:49 +00:00
laf
1108ef7939 Added new api route for billing 2014-12-02 23:43:11 +00:00
Paul Gear
05d998c1f8 Merge remote-tracking branch 'laf/issue-laf-90'
Conflicts:
	html/api_v0.php
	html/includes/api_functions.inc.php
2014-12-01 20:27:50 +00:00
laf
1a3f5504d0 Added new API route to obtain available ports for a device 2014-11-30 15:45:10 +00:00
laf
4d7b4ef432 Added new route for retrieving available device graphs 2014-11-29 15:43:19 +00:00
Paul Gear
9930670119 Tidy API entry points & doc; error if something other than image/png is asked for from portgroup graphs 2014-11-25 21:45:15 +10:00
laf
3522f66f69 Added new route to display graphs for peering,transit and core 2014-11-12 23:05:47 +00:00
laf
3e4a494047 Added bgp peers route to display all bgp peers 2014-10-26 15:48:51 +00:00
Paul Gear
69c3d926ff Merge pull request #315 from laf/issue-laf-58
Added the ability to call the api for a list of endpoints
2014-10-22 21:46:34 +10:00
Neil Lathwood
0be049fde9 Added the ability to call the api for a list of endpoints 2014-10-09 16:20:04 +00:00
Neil Lathwood
78c083ce7a Added names to all the relevant api routes 2014-10-09 16:16:26 +00:00
laf
347288ac23 Moved vlans route + updated docs 2014-10-04 02:05:32 +01:00
laf
d57c0614bf Updated route url to /api/v0/devices/hostname/vlans 2014-10-04 01:59:45 +01:00
laf
b8a2b7c291 Added /vlans/:hostname route to the API 2014-10-01 20:49:34 +01:00
Paul Gear
7a1d342348 Order devices by API entry point 2014-09-27 15:26:27 +10:00
Paul Gear
76f5ab87a9 Add function to get information about a single device 2014-09-27 15:25:43 +10:00
laf
8790bfee0a Added api call to delete device 2014-09-17 21:03:02 +01:00
laf
d40244cb06 Moved to version 0 of the api for release 2014-09-17 18:49:04 +01:00