Isaksson / node-red-contrib-unifi

MIT License
50 stars 19 forks source link

Feature Request - get list of traffic rules and get status of traffic rule #102

Closed lensherm closed 1 year ago

lensherm commented 1 year ago

Thank you for great work. It would be nice to be able to have a couple more commands for the traffic rules, if/when you get a chance.

  1. Get the full list of traffic rules and their states. I'm able to see this by calling: https://x.x.x.x/proxy/network/v2/api/site/default/trafficrules/

  2. Get the current state of a specific traffic rule given its id

Isaksson commented 1 year ago

I will add this in the next release, I did prepare for this when I added the other function for Traffic Rules. Thanks for the Feature Request

lensherm commented 1 year ago

Thanks! Much appreciated.

Isaksson commented 1 year ago

Please try out the new function and get back with the result.