<< Back to previous view

[QB-2241] Add filtering option to /rest/configurations?recursive=true and /rest/build_requests RESTful queries
Created: 14/Nov/14  Updated: 14/Nov/14

Status: Open
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.37
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Indrek Kruusa Assigned To: Robin Shen
Resolution: Unresolved Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Any


 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"



Generated at Sun May 05 04:10:52 UTC 2024 using JIRA 189.