Bug 795505

Summary: [RFE] Cannot query filters based on multiple ids
Product: [Retired] Pulp Reporter: Partha Aji <paji>
Component: user-experienceAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED NOTABUG QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cperry, mhrivnak, skarmark
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-27 14:36:32 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 Partha Aji 2012-02-20 18:18:22 UTC
Description of problem:
Current pulp implementation does not do things like returning information on multiple filters based on filter ids.  If I need information on 5 specific package filters I 'd either need to do 5 separate calls in the rest API or make one call and get all the filters and sift through to get the info on the 5 filters I want.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create a few filters > 2

2. Run the following
export AUTH=`python -c "import base64; print base64.encodestring(\"admin:admin\")[:-1]"`
curl -k -H "Authorization: Basic $AUTH"  https://localhost/pulp/api/filters/?id=<filter1>&id=<filter2>  (replace the filter1 filter2 with the filters you created)

  
Actual results:
You get a list of all filters not just the ones you specified.

Expected results:
Info on just the filters I need.

Additional info:

Comment 1 Michael Hrivnak 2013-09-27 14:36:32 UTC
pulp no longer stores filters.