Files
AdGuardHome/openapi
Fedor Setrakov b7c97190c6 Pull request 2568: AGDNS-3588-stats-api-intervals
Squashed commit of the following:

commit 377472005a80597eb8d226598825d5386a9d4557
Merge: fba031ac0 e87f57c1c
Author: f.setrakov <f.setrakov@adguard.com>
Date:   Mon Feb 2 12:44:50 2026 +0300

    Merge branch 'master' into AGDNS-3588-stats-api-intervals

commit fba031ac02091e87007cb325f3b57c421f0d0a08
Author: f.setrakov <f.setrakov@adguard.com>
Date:   Fri Jan 30 17:43:08 2026 +0300

    stats: imp tests

commit e640d7d5b3528f18a7ca5481c07bb4bae9c37836
Author: f.setrakov <f.setrakov@adguard.com>
Date:   Thu Jan 29 17:33:27 2026 +0300

    all: revert upd go

commit 949dfc2a556c159a17699cad841957f873d539be
Merge: b6eb80e8a 8f55534e5
Author: f.setrakov <f.setrakov@adguard.com>
Date:   Thu Jan 29 17:26:40 2026 +0300

    Merge branch 'master' into AGDNS-3588-stats-api-intervals

commit b6eb80e8a9b6ca30a8b2acce8851d7264d1744ee
Author: f.setrakov <f.setrakov@adguard.com>
Date:   Thu Jan 29 11:36:10 2026 +0300

    all: fix race, imp validation, upd go

commit 5aba8e8f73c5bed08bade9984b81b0e12d1b526e
Author: f.setrakov <f.setrakov@adguard.com>
Date:   Wed Jan 28 18:19:17 2026 +0300

    all: impl stats api intervals
2026-02-02 10:35:27 +00:00
..
2023-04-06 14:21:46 +03:00
2025-06-10 16:58:45 +03:00

AdGuard Home OpenAPI

We are using OpenAPI specification to generate AdGuard Home API specification.

How to edit the API spec

The easiest way would be to use Swagger Editor and just copy/paste the YAML file there.

Changelog

See CHANGELOG.md where we keep track of all non-compatible changes that are being made.

Authentication

If AdGuard Home’s web user is password-protected, a web client must use authentication mechanism when sending requests to server. Basic access authentication is the most simple method: a client must pass Authorization HTTP header along with all requests:

Authorization: Basic BASE64_DATA

Where BASE64_DATA is base64-encoded data for username:password string.