History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2241
Type: Improvement Improvement
Status: Open Open
Priority: Major 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"




 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.