-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
(Re-)Add API endpoints for list manipulations #1387
Conversation
Signed-off-by: DL6ER <dl6er@dl6er.de>
55c43df
to
9105eef
Compare
Signed-off-by: DL6ER <dl6er@dl6er.de>
9105eef
to
cce92cc
Compare
Signed-off-by: DL6ER <dl6er@dl6er.de>
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/can-i-implement-my-own-plugin/33407/4 |
Presumably this PR also overrides #1360? |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: |
@PromoFaux Yes |
@DL6ER please resolve merge conflicts |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/black-whitelisting-does-not-work-on-v5-api/33119/4 |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/make-some-advance-api/26786/17 |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-5-1-released/35577/1 |
By submitting this pull request, I confirm the following:
git rebase
)What does this PR aim to accomplish?:
add.php
and use thegroups.php
routines for everything (eases maintenance).How does this PR accomplish the above?:
Add API endpoints
api.php?list=black&add=domain.com
like commands whereadd=domain
andsub=domain
can be used to manage the lists. A simpleapi.php?list=black
will simply list all blacklisted domains.list
can beblack
,white
,regex_white
andregex_black
.What documentation changes (if any) are needed to support this PR?:
None