malle-pietje
3dbc24daca
further tweaks
2024-11-04 13:43:57 +01:00
malle-pietje
93d1d8ec3f
tweaked hyperlink
2024-11-04 13:38:18 +01:00
malle-pietje
b8620f7672
changed link to hyperlink
2024-11-04 13:37:01 +01:00
malle-pietje
1e2e709d4a
inserted link to installation instructions
2024-11-04 13:34:41 +01:00
malle-pietje
472d2eaa68
restructured and updated supported versions info
2024-11-04 13:32:34 +01:00
malle-pietje
1522992e49
bumped version to 1.1.100
...
fixed incorrect return type for `create_voucher()`, reported by @pa-
2024-10-29 12:14:00 +01:00
malle-pietje
70f6a374e2
- added get_system_log() method to get data from the system logs, returns pages results
...
- minor formatting changes
2024-10-23 13:30:34 +02:00
malle-pietje
ff9e6f0225
merged #244 for a small change to the start_rolling_upgrade()
method, contributed by @Jacobtims
...
minor additional change to allow changes to the payload of the `start_rolling_upgrade()` method
2024-10-17 16:41:45 +02:00
Jacob Timmerman
00a637dbc4
Add "uxg" to start_rolling_upgrade payload ( #244 )
...
* Fix payload start_rolling_upgrade method
* Add "uxg" to start_rolling_upgrade payload
2024-10-17 16:31:25 +02:00
malle-pietje
6498b0255b
Merge branch 'master' of github.com:Art-of-WiFi/UniFi-API-client
...
merging #243
2024-10-17 14:56:47 +02:00
malle-pietje
05e791bcf0
minor changes
2024-10-17 14:56:36 +02:00
Jacob Timmerman
192a1262c3
Fix payload start_rolling_upgrade method ( #243 )
2024-10-17 14:55:54 +02:00
malle-pietje
30056f50fc
- bumped version to 1.1.96
...
- removed @version tag in docblock as it contained redundant information
- merged #241 which adds a method to download a generated backup, (contributed by @Jacobtims)
2024-10-14 14:34:48 +02:00
Jacob Timmerman
d040c512a7
Add method to download generated backup ( #241 )
...
Merged PR #241
2024-10-14 14:31:44 +02:00
malle-pietje
b633fa54c7
added ability top determine attributes to fetch with AP and site stats
...
general minor clean up
bumped version to 1.1.95
2024-10-07 12:54:19 +02:00
malle-pietje
5327d0c534
minor changes
2024-10-07 10:39:48 +02:00
malle-pietje
f1fc80f34f
API client class v1.1.94
...
- minor fix based on Scrutinizer feedback
- re-added `update_admin()` method to the class; for some reason, the merge of #228 was not successful
2024-08-12 10:24:03 +02:00
malle-pietje
f82d1a6b64
removed exit following suggestion from Scrutinizer
2024-08-08 17:56:33 +02:00
malle-pietje
6f6e80e862
cleanup some comments/doc blocks
2024-08-08 17:45:03 +02:00
malle-pietje
4fefc11761
simplified the contructor by assigning default values to properties within the argument list
2024-08-08 17:37:33 +02:00
malle-pietje
0db5effe6f
minor fix to return type hinting based on feedback from Scrutinizer
2024-08-07 16:26:54 +02:00
malle-pietje
fd69d844a6
API client class v1.1.93
...
- added the migrate_device() method to migrate one or more devices from one controller to another
- added the cancel_migrate_device() method to cancel the migration for one or more devices
- added the upgrade_all_devices() method to upgrade all devices of a selected type to the latest firmware version
- changed the force_provision() method to allow for multiple MAC addresses to be passed as a parameter
- minor changes to a number of doc-blocks
- general changes for improved consistency and readability
2024-08-07 16:03:09 +02:00
malle-pietje
12b85ce9db
moved 2 properties to constants which seems more appropriate
...
reformatted single-line comments
2024-08-06 12:30:47 +02:00
malle-pietje
54ec631d4b
added a new example demonstrating the change of site settings
2024-08-04 15:35:26 +02:00
Jacob Timmerman
fdea77fce0
Add days paramater to generate_backup method ( #232 )
2024-08-02 17:12:29 +02:00
malle-pietje
108ddd3995
further cleanup of notes in doc blocks
2024-07-31 11:16:02 +02:00
malle-pietje
63600f4da1
- added delete_admin()
` method, contributed by @Jacobtims
...
- reformatting of notes in the doc blocks
2024-07-31 10:55:21 +02:00
malle-pietje
20aa3e1377
merging PR #228
2024-07-31 10:25:02 +02:00
malle-pietje
d36a088101
API client class v1.1.90
...
- remove existing x-csrf-token headers before adding a new one, UniFi OS does not like multiple x-csrf-tokens in the same request
2024-02-27 18:48:41 +01:00
malle-pietje
007117cbfc
API client class v1.1.89
...
- added `create_tag()`, `set_tagged_devices()`, `get_tag()`, and `delete_tag()` methods to manage tags, contributed by @brenard, #205
2024-02-11 17:24:31 +01:00
malle-pietje
7e60ce3e87
API client class v1.1.88
...
- added list_fingerprint_devices() method to list fingerprints for clients devices, contributed by @dream-rhythm, #213
- minor code cleanup
2024-02-11 14:46:30 +01:00
malle-pietje
83d4f121ed
API client class v1.1.87
...
- further code cleanup and refactoring to pass more phpstan tests
2024-02-11 12:33:37 +01:00
malle-pietje
bd39c325d2
API client class v1.1.86
...
- fixes issue with curl_init() returning CurlHandle class objects instead of curl handlers with PHP 8 and higher
2024-02-10 13:26:47 +01:00
malle-pietje
4b175ddf9b
API client class v1.1.85
...
- removed unnecessary type casting in several methods
- fixed return type hinting in several methods where return type would be an array|bool instead of just array
- relaxed parameter type hinting in the constructor to allow for null values for several parameters ($site and $version) that have sensible defaults, reported by @pbksol
- using phpstan, the class now passes level 5 checks
2024-02-10 12:13:00 +01:00
malle-pietje
48482d661a
API client class v1.1.84
...
- PHP 7.4 is now the minimum required version
- updated the code for 7.4. specific features such as parameter type hinting, return types, etc.
- added the ability to the constructor to change the key that is used to store the unificookie in the session,
($_SESSION['unificookie'] is used by default), this is useful when running multiple applications on the same server
2024-02-09 18:11:43 +01:00
malle-pietje
563739345c
applied tweaks to the README file
2024-01-05 11:08:06 +01:00
malle-pietje
fdc5f06765
applied tweaks to the README file
2024-01-05 11:04:39 +01:00
malle-pietje
35b2fb37f3
applied tweaks to the README file
2024-01-05 11:02:38 +01:00
malle-pietje
8c1b33ed09
added note to README regarding Issues that are not related to the PHP API client
2024-01-05 10:47:11 +01:00
malle-pietje
b6a22abc01
further changes and updates to the README file
2023-12-21 11:09:36 +01:00
malle-pietje
3aa658eab0
minor changes to the instructions in the README file
2023-12-21 10:41:38 +01:00
malle-pietje
a4258f1963
updated the instructions in the README file
2023-12-21 10:36:10 +01:00
malle-pietje
cf5ba015b0
removed statement about cookies no longer being supported...
2023-12-18 15:15:19 +01:00
malle-pietje
2970f79290
API client class v1.1.83
...
- added a 'accept: application/json' header to the login requests
- re-added support for cookies when working with a UniFi OS-based controller
2023-12-18 15:08:24 +01:00
malle-pietje
7fe7a40873
further updates to README
2023-12-18 12:35:58 +01:00
malle-pietje
df1f70547c
updated README
...
added announcement of minimum PHP version moving to 7.4
2023-12-18 12:32:03 +01:00
malle-pietje
e89daaf1a3
API client class v1.1.82
...
- allow filtering by multiple MAC addresses in list_devices(), contributed by @sgrodzicki, #189
2023-12-18 11:42:56 +01:00
malle-pietje
d66c3ddd75
API client class v1.1.81
...
- hotfix to address cookie issues in UniFi OS 3.2.7, reported by @tflatebo
- fixed minor typos
- minor code reformatting of the examples
- starting with this release, cookies are no longer supported when connecting to a UniFi OS-based controller
- added set_vlan_to_port.php example, contributed by @SamuelSchnelly, #203
- allow additional parameters in `create_wlan()`'s payload, contributed by @sgrodzicki, #191
2023-12-18 11:11:27 +01:00
malle-pietje
9e092f8b85
Merge branch 'master' of github.com:Art-of-WiFi/UniFi-API-client
...
merge for device-basic
2023-03-28 12:22:42 +02:00
Sebastian Grodzicki
e4dc2e273c
Add stat/device-basic
endpoint ( #188 )
...
Merge to include device-basic endpoint
2023-03-28 12:21:43 +02:00