History
|
Log In
H
OME
B
ROWSE PROJECT
F
IND ISSUES
Q
UICK SEARCH:
Learn more about
Quick Search
Issue Details
(
XML
|
Word
|
Printable
)
Key:
QB-2241
Type:
Improvement
Status:
Open
Priority:
Major
Assignee:
Robin Shen
Reporter:
Indrek Kruusa
Votes:
0
Watchers:
0
Operations
If you were
logged in
you would be able to see more operations.
QuickBuild
Add filtering option to /rest/configurations?recursive=true and /rest/build_requests RESTful queries
Created:
14/Nov/14 11:50 AM
Updated:
14/Nov/14 11:50 AM
Component/s:
None
Affects Version/s:
5.1.37
Fix Version/s:
None
Original Estimate:
Unknown
Remaining Estimate:
Unknown
Time Spent:
Unknown
Environment:
Any
Description
« Hide
We would like to be able to select more precisely the data returned by these queries:
1) /rest/configurations?recursive=true
2) /rest/build_requests
It makes sense especially when there is a huge amount of configurations in the system.
Possible solutions below.
Example: to get only id, disabled and parent fields listed in /rest/configurations output:
curl -u admin:admin "
http://localhost:8810/rest/configurations?recursive=true&filter=id&filter=disabled&filter=parent
"
Example: to limit output for /rest/build_requests:
curl -u admin:admin "
http://localhost:8810//rest/build_requests&filter=configurationId&filter=priority&filter=status
"
Description
We would like to be able to select more precisely the data returned by these queries: 1) /rest/configurations?recursive=true 2) /rest/build_requests It makes sense especially when there is a huge amount of configurations in the system. Possible solutions below. Example: to get only id, disabled and parent fields listed in /rest/configurations output: curl -u admin:admin "
http://localhost:8810/rest/configurations?recursive=true&filter=id&filter=disabled&filter=parent
" Example: to limit output for /rest/build_requests: curl -u admin:admin "
http://localhost:8810//rest/build_requests&filter=configurationId&filter=priority&filter=status
"
Show »
All
Comments
Work Log
Change History
Sort Order:
There are no entries against this issue.