Commit 8687fe3
authored
Add id and q filter options (#268)
## Pull Request Overview
This PR adds user-friendly filtering options to the dispatch API by
introducing two new filter fields: `dispatch_ids` for filtering by
specific dispatch IDs and `q` for free-text search across dispatch ID
and type fields.
- Added `dispatch_ids` field to enable filtering by specific dispatch
IDs with OR logic
- Added `q` field for free-text search with special syntax for ID tokens
(using `#` prefix)File tree
2 files changed
+19
-0
lines changed- proto/frequenz/api/dispatch/v1
2 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
304 | 321 | | |
305 | 322 | | |
306 | 323 | | |
| |||
0 commit comments