3ac8ffc70f
Extended support for list devices to support mac/ipv4 and ipv6 filtering
2015-08-23 11:57:56 +00:00
ca60b5268a
Scrut fix
2015-08-09 09:22:48 +00:00
bffd3c7463
Scrut fixes
2015-08-04 06:54:58 +00:00
016415df8f
Added missing router variable
2015-08-03 15:02:35 +00:00
715f2a19b3
Updated billing features within API + docs
2015-08-03 14:41:35 +00:00
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
e9d7d74b72
Fixed issue with name not being set + some validation around this
2015-07-01 21:35:37 +01:00
7ca0c54703
Add note about duplicate code
2015-06-16 08:27:57 +10:00
f5d02ab18d
Added API to feed into Oxidized
2015-05-07 00:32:58 +01:00
9da3efe091
Include hostname in alerts_list API command
...
- Include hostname in alerts_list API command
- Update API docs
2015-04-19 13:28:58 +02:00
a236c2d12a
Merge pull request #627 from laf/issue-laf-148
...
Updated adding devices for distributed poller
2015-03-23 16:29:32 +00:00
5762e655e1
Updated for scrut issues
2015-03-23 15:30:09 +00:00
28724cbae1
Added inventory endpoint to API
2015-03-23 15:15:05 +00:00
ab82effa3b
Updated adding devices for distributed poller
2015-03-19 22:06:13 +00:00
ab71468c8f
Added device_ before the graph name is returned
2015-03-17 12:51:59 +00:00
0596643b55
Fixed sql query for port stats call to include the device_id :/
2015-02-18 16:22:52 +00:00
ae43e39074
Added support for api demo account
2015-02-17 00:10:36 +00:00
613391ca8f
Scrutinizer issues fixed
2014-12-16 20:58:31 +00:00
b6d935e608
API for alerting
2014-12-16 20:39:58 +00:00
1108ef7939
Added new api route for billing
2014-12-02 23:43:11 +00:00
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
1a3f5504d0
Added new API route to obtain available ports for a device
2014-11-30 15:45:10 +00:00
4d7b4ef432
Added new route for retrieving available device graphs
2014-11-29 15:43:19 +00:00
744f3d81c9
Removed check for image/png content-type
...
14:08 <lafwood> blahdeblah: Quick question about the portgroups api route, you added a check for image/png
14:09 <lafwood> I'm not sure that's what that function is meant for. Event sending -H "Accept: image/png" on a curl request fails. I think this is for checking if you send an image to the api rather than what's to be output
14:27 <lafwood> Sending -H "Content-type: image/png" works but this for defining what content-type the request will send.
14:29 <lafwood> I think the curl request needs to send an Accept and then the API check for this, I'll put a PR through to remove the current code until it can be looked at in more detail.
2014-11-29 14:29:58 +00:00
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
213ba09f9f
Fixed some scrutinizer issues
2014-11-12 23:19:57 +00:00
3522f66f69
Added new route to display graphs for peering,transit and core
2014-11-12 23:05:47 +00:00
b4b160ead4
Updates from scrutinizer recommendations
2014-10-29 21:30:35 +00:00
3e4a494047
Added bgp peers route to display all bgp peers
2014-10-26 15:48:51 +00:00
208ac0b104
Merge remote-tracking branch 'laf/issue-laf-47'
2014-10-25 08:49:28 +10:00
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
15392ecf40
Merge pull request #313 from laf/issue-laf-61
...
Added a response code when things are ok - oops
2014-10-22 21:37:39 +10:00
24ee2541ee
Defining output array as per scrutinizer
2014-10-09 16:47:11 +00:00
0be049fde9
Added the ability to call the api for a list of endpoints
2014-10-09 16:20:04 +00:00
b6db82d8af
Added a response code when things are ok - oops
2014-10-09 16:14:06 +00:00
cd8b2299df
Updated authToken response code to be 401
2014-10-07 23:53:26 +00:00
5887009b63
Merge pull request #300 from laf/issue-laf-44
...
Added a route to the API that will get vlans for a given device
2014-10-07 19:56:01 +10:00
2be63b2041
Added an option to rediscover a device from the web page
2014-10-02 20:17:45 +01:00
c55c1a71ba
missed out the response code and header
2014-10-01 21:12:21 +01:00
a87dd794e4
Updated vlans returned, was a double array by accident
2014-10-01 21:00:07 +01:00
d2f727cfcb
Added a total vlan response in api
2014-10-01 20:53:15 +01:00
b8a2b7c291
Added /vlans/:hostname route to the API
2014-10-01 20:49:34 +01:00
9ba4b464ea
Added urldecode/encode support
2014-09-30 21:30:22 +01:00
11f475b405
Syntaxy fix
2014-09-28 09:56:33 +10:00
508e0b816d
Fix Scrutinizer errors
2014-09-28 09:30:36 +10:00
8a3117f0dc
Rewrite ugly if-else one-liners as ternary operator
2014-09-28 09:30:18 +10:00
d6245fd6ba
Correctly set error code for missing SNMP version
2014-09-27 18:34:23 +10:00
82613f17ee
keep scrutinizer from complaining about snmpver not being set for all execution paths
2014-09-27 18:27:45 +10:00
e48c1a6730
Use more accurate HTTP status code for device add
2014-09-27 16:34:43 +10:00
9d4a9dfa30
Re-implement get_device using existing primitives
2014-09-27 16:34:36 +10:00