| << Back to previous view |
[QB-3067] Return latest builds based on user_id
|
|
| Status: | Closed |
| Project: | QuickBuild |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Robin Shen | Assigned To: | Robin Shen |
| Resolution: | Won't Fix | Votes: | 0 |
| Remaining Estimate: | Unknown | Time Spent: | Unknown |
| Original Estimate: | Unknown | ||
| Description |
|
Currently using HTTP GET
``` http://localhost:8810/rest/latest_builds?parent_configuration_id=<parent configuration id> ``` We'd like to get results from a specific user (scheduled master branch builds only) As far as I can tell, latest_builds does not accept ``` http://localhost:8810/rest/latest_builds?parent_configuration_id=<parent configuration id>&user_id=<user id> ``` Somewhat cumbersome alternative is to first get all child configurations and then ``` http://localhost:8810/rest/builds?configuration_id=<configuration id>&user_id=<user id>&count=<count> ``` If we for example use user_id=<user id>&count=1, are we always guaranteed the latest build by that user? Anyway we can have the latest_builds work with user_id? Any suggestions welcome. Thanks in advance. |