Where do I find more details about the available API functions?
This is what I am trying to do:
I have a VPN server and a Pi Hole on my Raspberry PI. I have built a custom Self Service VPN portal for that my flatmates and friends can use to connect to my home network. We use it to block ads at home and when I am outside. However, I have created 3 groups:
Default - block ads, malware, etc
Unrestricted - nothing blocked
NSFW - NSFW content blocked
By default everyone is in Default group and ads and malware alone are blocked.
However, when I am in the office I connect my office laptop to my home network via VPN (static IP assigned to my VPN user). My static VPN IP is part of NSFW and Default group, so both ads and NSFW content are blocked.
My friends have asked me if I could do that for them too. So I was thinking of modifying my VPN Self Service Portal to add a feature where a user can go in and select "block nsfw" and the the portal should talk to PiHole API to add the user's VPN IP to "NSFW" group so NSFW content are blocked for them as needed.
No unfortunately not. We are working already quite a long time on this new release. But we are all volunteers and do this in our free time. There will likely be a public beta phase, but no set due date right now.