Add absolute URL to the review API payload.

Review Request #7888 — Created Jan. 17, 2016 and submitted

Information

Review Board
release-2.6.x

Reviewers

Now that we can link directly to a review in the UI, we should provide that
link in the API. This change adds a new absolute_url field to the Review
resource that includes this, modeled after how we do it for the ReviewRequest
resource.

  • Manually verified that the URL was serialized correctly.
  • Ran unit tests.
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/webapi/tests/test_review.py
        reviewboard/webapi/resources/base_review.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/webapi/tests/test_review.py
        reviewboard/webapi/resources/base_review.py
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.6.x (9111263)