Skip to content

chore: promote develop to main - #129

Open
mikemadeja wants to merge 2 commits into
mainfrom
develop
Open

mikemadeja wants to merge 2 commits into
mainfrom
develop

Conversation

@mikemadeja

Copy link
Copy Markdown
Owner

Summary

Test plan

🤖 Generated with Claude Code

mikemadeja and others added 2 commits September 29, 2026 09:58
Adds Get-PiHoleQuery (GET /queries), the raw query log endpoint -
distinct from Get-PiHoleStatsQuerySuggestions (/queries/suggestions),
which already existed. Supports all of the API's filter parameters
(from/until, length/start/cursor for pagination, domain, client IP/
name, upstream, type, status, reply, dnssec, and on-disk vs in-memory).
Placed in Public/Metrics/ to match the API's own "Metrics" tag, same
as the existing suggestions function.

Verified against the real server using the same Initialize-PiHoleTestData.ps1
seeding convention already used by every other live-query-dependent
test in this suite (found by checking Get-PiHoleStatsQuerySuggestions'
test file for the established pattern before writing this one) -
confirms full field mapping (nested Client/Reply/Ede objects) and
domain filtering work correctly with real query data, not just empty
results.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
feat: add Get-PiHoleQuery, completing the Queries API area
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.

1 participant