Api question

I've been looking at Pi-hole API documentation, but can't find an equivalent.

what is the equivalent of:

timestamp=$(date +%s)
echo ">getallqueries-time ${timestamp}; >quit" | nc 127.0.0.1 4711

What's about /queries? You can specify time from and until and use wildcard *

1 Like