Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 3863 by Web API should provide an id field for a review request's every depends_on entry

What version are you running?


What's the URL of the page this enhancement relates to, if any?

Describe the enhancement and the motivation for it.

Currently if I query review requests either via review_requests or review_requests/<review_request_id> Web API resource, depends_on data appears in the response like this:

"depends_on": [         {
   "href": "http://adsrv2/reviewboard/api/review-requests/51/";,
   "method": "GET",
   "title": "blah-blah-blah"

If I want to query a review request's depends_on ids, I can:

a) Implement a hack, and use substring on the href field. This is not only unelegant, but also violates a principle stated in the first chapter of the Web API documentation (

b) Launch another GET request using the href field, and get the id from the response. Suppose my review requests has got two dozen depends_on references, I will have to do two dozen separate calls to get a couple of characters worth of result per response payload. Not really elegant, nor efficient.

There should be an id field within every depends_on element. Example:

"depends_on": [         {
   "id": "51",
   "href": "http://adsrv2/reviewboard/api/review-requests/51/";,
   "method": "GET",
   "title": "blah-blah-blah"

What operating system are you using? What browser?

Windows 7

Please provide any additional information below.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to