Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow additional parameters in create_wlan's payload #191

Closed

Conversation

sgrodzicki
Copy link
Contributor

This allows to pass additional parameters to create_wlan's payload (wlan_bands, wpa3_support, etc.) with function parameters taking precedence.

This is backward compatible as the new parameter comes last and has a default value (empty array).

@sgrodzicki sgrodzicki changed the title Allow additional parameters in create_wlan payload Allow additional parameters in create_wlan's payload Apr 16, 2023
@malle-pietje
Copy link
Collaborator

Thanks for the PR, like this approach and the flexibility it brings. Will test and merge asap.👍

@sgrodzicki
Copy link
Contributor Author

Thanks for the PR, like this approach and the flexibility it brings.

I am glad you like it. 👍

Will test and merge asap.

While you're on it, could you also please take a look at #189? 😄

malle-pietje added a commit that referenced this pull request Dec 18, 2023
- 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
@malle-pietje
Copy link
Collaborator

Merged into this release, thanks:
https://github.com/Art-of-WiFi/UniFi-API-client/releases/tag/v1.1.81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants