| Summary: | Get Package By NVREA api returns results of OR query | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Tomas Strachota <tstrachota> |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.1.0 | CC: | skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 34 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-25 14:15:06 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tomas Strachota
2012-02-15 17:27:43 UTC
commit f3ac6dc5173e396e34eeffc68e1b4a40d7b211f3 build: 0.282 [root@pulp-v1-1-server ~]# rpm -q pulp
pulp-1.1.4-1.fc16.noarch
[root@pulp-v1-1-server ~]# curl -H "Content-Type: application/json" -H "Accept: application/json" -# -X
curl: option -X: requires parameter
curl: try 'curl --help' or 'curl --manual' for more information
[root@pulp-v1-1-server ~]# curl -H "Content-Type: application/json" -H "Accept: application/json" -# -X POST -d '{"nvrea": [{"name": "frog"}, {"version":"0.1"}]}' -k -u admin:admin https://localhost/pulp/api/repositories/zoo/get_package_by_nvrea/
{"frog-0.1-1.noarch.rpm": {"size": 2439, "license": "GPLv2", "vendor": "", "name": "frog", "repo_defined": true, "buildhost": "smqe-ws15", "checksum": {"sha256": "155419d86251249233f9d8016f6012e138ef3a3f5c679c8685de84460e32e3e3"}, "requires": [], "epoch": "0", "download_url": "https://pulp-v1-1-server.usersys.redhat.com//pulp/repos/zoo/frog-0.1-1.noarch.rpm", "filename": "frog-0.1-1.noarch.rpm", "repoids": ["zoo"], "version": "0.1", "provides": ["frog"], "_ns": "packages", "release": "1", "group": "Internet/Applications", "_id": "1b1bd566-f770-459e-890e-b759d15fe074", "arch": "noarch", "id": "1b1bd566-f770-459e-890e-b759d15fe074", "description": "A dummy package of frog"}}[root@pulp-v1-1-server ~]#
Pulp v1.1 Release |