Skip to content

Releases: Art-of-WiFi/UniFi-API-client

API client class v1.1.61

26 Nov 12:22
Compare
Choose a tag to compare
  • minor improvements of comments contents
  • fixed naming error in comments for list_devices()
  • updated supported controller versions in the main README
  • change variable names used from MBytes to megabytes for improved consistency

API client class v1.1.60

12 Nov 10:11
Compare
Choose a tag to compare
  • minor syntax improvements based on Scrutinizer CI feedback
  • added support for PATCH requests (for future use)
  • completed updating method/function comments to PHPDoc format (PSR-5)

API client class v1.1.59

26 Oct 08:53
Compare
Choose a tag to compare
  • added methods/functions to manage AP groups: list_apgroups(), create_apgroup(), edit_apgroup(), and delete_apgroup() (only supported with controller versions 6.0.X and higher)
  • adapted code to handle the behavior of the new v2 API routes that were added with controller versions 6.0.X and higher
  • merged PR #76 which adds methods/functions check_controller_update() and check_firmware_update(), contributed by @brenard
  • further work on updating method/function comments to PHPDoc format (PSR-5)

API client class v1.1.58

22 Oct 12:26
Compare
Choose a tag to compare
  • changed several references from UniFi SDN controller to UniFi Network controller
  • added optional payload parameter to the list_alarms() method/function, contributed by @MikeSiekkinen through PR #68
  • added example showing how to disable/enable a switch port
  • updated restart_device() function/method, thanks go to @leonardogyn for reporting this
  • added example to modify outlet settings on a UniFi SmartPower PDU Pro, thanks go to @panthergm for providing access

API client class v1.1.57

22 Aug 15:49
Compare
Choose a tag to compare
  • increased minimum required PHP version to 5.5.0
  • minor syntax improvement based on Scrutinizer feedback
  • added create_dynamicdns() and set_dynamicdns() methods, "borrowed" routes from @smos
  • added set_element_adoption() method, contributed by @VWT-Dan
  • made a start at changing the function/method comments to PHPDoc format (PSR-5) which will support auto-generated class documentation (https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc.md#5-the-phpdoc-format)
  • added check to throw an error when the $baseurl ends with a / character, thanks to @infraweavers for submitting #66
  • fixed issue with logout() on UDM PROs, thanks go to @Olivier6767 for providing access to a UDM PRO, addresses #63
  • applied several code styling improvements

API client class v1.1.56

13 Jun 10:30
Compare
Choose a tag to compare

API client class v1.1.55

08 Jun 10:55
Compare
Choose a tag to compare
  • general code clean up
  • removed repetitive code (checks using $this->is_loggedin())
  • updated the main README to include the latest added functions/methods

API client class v1.1.54

07 Jun 12:24
Compare
Choose a tag to compare
  • fixed list_alarms() method/function

API client class v1.1.53

07 Jun 12:13
Compare
Choose a tag to compare
  • added list_routing() method/function, contributed by @VWT-Dan
  • added list_firmware() method/function
  • added get_class_version() method/function, returns the (semantic) version number of the Class
  • cleaned up the class to remove repetitive code
  • changed names of several protected functions for improved consistency
  • general code clean up

API client class v1.1.52

14 Apr 13:02
Compare
Choose a tag to compare
  • fixed exec_curl() for cases where the cookie has expired and we need to re-login
  • removed obsolete functions/methods