Skip to content

Commit

Permalink
Refactor OpenAPI specification to include filter parameters for time …
Browse files Browse the repository at this point in the history
…range
  • Loading branch information
abaldeweg authored Feb 6, 2025
1 parent 08d537b commit 64e39dd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions logs_web/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ paths:
type: object
example:
{
"time": {
"$gte": "2025-01-17T00:00:00Z",
"$lte": "2025-01-31T23:59:59Z"
},
"sort": {
"time": -1
}
"filter":
{
"time":
{
"$gte": "2025-01-17T00:00:00Z",
"$lte": "2025-01-31T23:59:59Z",
},
},
"sort": { "time": -1 },
}
responses:
"200":
Expand Down

0 comments on commit 64e39dd

Please sign in to comment.