diff --git a/README.md b/README.md index 2687c2d..398162d 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ >**NOTICE** > >The repository has been transferred to this new GitHub organisation account, the project maintainer will remain the same and will continue to actively maintain it. -> If you have previously installed the API Browser tool using `git clone`, you may consider pointing the clone to the new repository URL. You can do this with the following command from within the directory of your clone: +> If you have previously installed the API browser tool using `git clone`, you may consider pointing the clone to the new repository URL. You can do this with the following command from within the directory of your clone: > >```bash >$ git remote set-url origin https://github.com/Art-of-WiFi/UniFi-API-browser.git @@ -19,7 +19,7 @@ You will find examples and detailed instructions there. Please keep the following in mind: -- the API Browser tool doesn't support all available data collections/API endpoints, see the list below of those that are currently supported +- the API browser tool doesn't support all available data collections/API endpoints, see the list below of those that are currently supported - currently, versions 4.x.x and 5.x.x of the UniFi Controller software are supported (version 5.8.24 has been confirmed to work) - there is still work to be done to add/improve functionality and usability of this tool so suggestions/comments are welcome. Please use the github [issue](https://github.com/Art-of-WiFi/UniFi-API-browser/issues) list or the Ubiquiti Community forums (https://community.ubnt.com/t5/UniFi-Wireless/UniFi-API-browser-tool-released/m-p/1392651) to share your ideas/questions. - please read the Security Notice below before installing this tool! diff --git a/composer.lock b/composer.lock index 310308c..8182a18 100644 --- a/composer.lock +++ b/composer.lock @@ -9,16 +9,16 @@ "packages": [ { "name": "art-of-wifi/unifi-api-client", - "version": "v1.1.33", + "version": "v1.1.36", "source": { "type": "git", "url": "https://github.com/Art-of-WiFi/UniFi-API-client.git", - "reference": "30f4230cfd21926e5b3026c7a06373b37873b20f" + "reference": "2a566ad18ae47363fa69b83b71f0ce62ad6e0c16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Art-of-WiFi/UniFi-API-client/zipball/30f4230cfd21926e5b3026c7a06373b37873b20f", - "reference": "30f4230cfd21926e5b3026c7a06373b37873b20f", + "url": "https://api.github.com/repos/Art-of-WiFi/UniFi-API-client/zipball/2a566ad18ae47363fa69b83b71f0ce62ad6e0c16", + "reference": "2a566ad18ae47363fa69b83b71f0ce62ad6e0c16", "shasum": "" }, "require": { @@ -52,7 +52,7 @@ "ubiquiti", "unifi" ], - "time": "2018-10-02 10:10:46" + "time": "2018-10-24 07:54:43" }, { "name": "kint-php/kint", diff --git a/index.php b/index.php index 338eea5..5027299 100755 --- a/index.php +++ b/index.php @@ -17,7 +17,7 @@ * with this package in the file LICENSE.md * */ -define('API_BROWSER_VERSION', '1.0.32'); +define('API_BROWSER_VERSION', '1.0.33'); define('API_CLASS_VERSION', get_client_version()); /** @@ -537,6 +537,10 @@ $selection = 'list auto backups'; $data = $unifidata->list_backups(); break; + case 'stat_ips_events': + $selection = 'list IPS/IDS events'; + $data = $unifidata->stat_ips_events(); + break; default: break; } @@ -730,6 +734,7 @@ function get_client_version()