[Feature] Add additional filters for the tasks list endpoint
Closed this issue · 0 comments
jpbruinsslot commented
- date range on created_at
HTTP GET /tasks?min_created_at=2022-10-28T16:00:00
HTTP GET /tasks?min_created_at=2022-10-28T
HTTP GET /tasks?max_created_at=2022-10-28T16:00:00
HTTP GET /tasks?max_created_at=2022-10-28
HTTP GET /tasks?min_created_at=2022-10-28&max_created_at=2022-12-29
- search by ooi name (primary key?)
HTTP GET /tasks?scheduler_id={id}&status={status}
payload:
[
{
"field": "data__input_ooi",
"operator": "eq",
"value": "Hostname|internet|mispo.es"
}
]
- plugin id
HTTP GET /tasks?scheduler_id={id}&status={status}
payload:
[
{
"field": "data__boefje__id",
"operator": "eq",
"value": "dns-records"
}
]
- add migration