mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Added log filtering by response status
This commit is contained in:
parent
a5ba156e95
commit
97a25fb8e9
8 changed files with 283 additions and 8 deletions
|
@ -365,9 +365,10 @@ Future getLogs({
|
|||
required int count,
|
||||
int? offset,
|
||||
DateTime? olderThan,
|
||||
String? responseStatus,
|
||||
}) async {
|
||||
final result = await getRequest(
|
||||
urlPath: '/querylog?limit=$count${offset != null ? '&offset=$offset' : ''}${olderThan != null ? '&older_than=${olderThan.toIso8601String()}' : ''}',
|
||||
urlPath: '/querylog?limit=$count${offset != null ? '&offset=$offset' : ''}${olderThan != null ? '&older_than=${olderThan.toIso8601String()}' : ''}${responseStatus != null ? '&response_status=$responseStatus' : ''}',
|
||||
server: server
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue