add sorting to access logs

This commit is contained in:
pascal
2026-02-16 13:50:57 +01:00
parent 1024d45698
commit 8eb4cd8884
4 changed files with 280 additions and 3 deletions

View File

@@ -7409,6 +7409,20 @@ paths:
minimum: 1
maximum: 100
description: Number of items per page (max 100)
- in: query
name: sort_by
schema:
type: string
enum: [timestamp, host, path, method, status_code, duration, source_ip]
default: timestamp
description: Field to sort by
- in: query
name: sort_order
schema:
type: string
enum: [asc, desc]
default: desc
description: Sort order (ascending or descending)
- in: query
name: search
schema: