[Pulp-list] httpie query pulp 3 api

Bin Li (BLOOMBERG/ 120 PARK) bli111 at bloomberg.net
Thu May 20 19:58:17 UTC 2021


Just wondering if anyone knows how to use httpie to filter the result from the api.
This query to get failed job works
http GET localhost/pulp/api/v3/tasks/?limit=2  state==failed

But I could not find a way to get failed jobs in a date range.
The below query doesn't give me the correct result.
http GET localhost/pulp/api/v3/tasks/ state==failed%20AND%20started_at%20%3E%3D%20"2021-05-15T0:0:0.0Z"

Can I use httpie to filter or I have to pipe to jq?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20210520/08b5393a/attachment.htm>


More information about the Pulp-list mailing list