Having some trouble with the search API.. I'd like to be able to query for
a package to see if it exists in any repository on the server. Can someone
share an example curl POST to find a particular RPM based on name? I've
been trying the below and getting nothing but null return values.
curl -H "Accept:application/json,version=2" -H
"Content-Type:application/json" -X POST -u admin:**** -k -d '{"criteria":
{"filters": {"id": {"$in": ["ansible"]}, "group": {"$regex": ".*"}},
"fields": ["id", "group", "description"]}}'
https://pulp.server.com/pulp/api/v2/rpm/search/
null
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list