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

Key: QB-2174
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Lukasz Guminski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

REST Query build notifications by statusDate

Created: 09/Sep/14 07:44 PM   Updated: 11/Sep/14 12:53 AM
Return to search
Component/s: None
Affects Version/s: 5.1.33
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Current REST API for query for build notifications is missing ability to query _incrementally_.

"last_notified_build_id" option is not sufficient, as when you query with e.g "last_notified_build_id=1", you get a list of builds with ids with gaps e.g. 1, 2, 5, and you don't know if builds 3 and 4 haven't yet completed, or you just have access rights to them, and you will never get notification on them.

So you don't know if next time you can query with last_notified_build_id=5 (because you will never get notifications about 3 and 4 due to permissions) or you should re-query with last_notified_build_id=1 (because the build are still running)

Instead there should last_status_date parameter, so that you could query for all notifications on builds that completed (either successfully or failed depending on your notification settings) after a specified date.



 All   Comments   Work Log   Change History      Sort Order:
Change by Robin Shen [10/Sep/14 01:32 AM]
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Won't Fix [ 2 ]