• Get Review Board
  • What's New
  • Products
  • Review Board Code review, image review, and document review
  • Documentation
  • Release Notes
  • Power Pack Enterprise integrations, reports, and enhanced document review
  • Try for 60 Days
  • Purchase
  • RBCommons Review Board as a Service, hosted by us
  • Pricing
  • RBTools Command line tools and Python API for Review Board
  • Documentation
  • Release Notes
  • Review Bot Automated code review, connecting tools you already use
  • Documentation
  • Release Notes
  • RB Gateway Manage Git and Mercurial repositories in your network
  • Documentation
  • Release Notes
  • Learn and Explore
  • What is Code Review?
  • Documentation
  • Frequently Asked Questions
  • Support Options
  • Third-Party Integrations
  • Demo
  • Review Board RBTools Power Pack Review Bot Djblets RB Gateway
    1. Review Board 1.5
    2. Version 7.x
    3. Version 6.x
    4. Version 5.0
    5. Version 4.0
    6. Version 3.0
    7. Version 2.5
    8. Version 2.0
    9. Version 1.7
    10. Version 1.6
    11. Version 1.5
    12. Version 1.0
    13. Web API Guide
    14. REST API 2.0
    15. Resources
    16. Root List Resource
    17. Review Request List Resource
    18. Review Request Resource
    19. Diff List Resource
    20. Diff Resource
    21. File Diff List Resource
    22. File Diff Resource
  • Home
  • Users Guide
  • Getting Started
  • Introduction
  • What is Code Review?
  • General Workflow
  • Navigating Review Board
  • Dashboard
  • Searching
  • Managing Review Requests
  • Creating Review Requests
  • Updating Review Requests
  • Closing Review Requests
  • Reviewing Review Requests
  • Reviewing Diffs
  • Reviewing Screenshots
  • Editing and Publishing Reviews
  • Replying to Comments
  • Tools
  • post-review
  • Administration Guide
  • Installation
  • Installing on Linux
  • Installing on Windows
  • Upgrading Review Board
  • Installing Development Releases
  • Site Maintenance
  • The rb-site Tool
  • Creating Sites
  • Upgrading Sites
  • Enabling Search
  • Management Commands
  • Administration UI
  • Overview of the Administration UI
  • Administrator Dashboard
  • Database Management
  • Settings
  • General Settings
  • Authentication Settings
  • E-Mail Settings
  • Diff Viewer Settings
  • Logging Settings
  • File Storage Settings
  • Management
  • Managing Default Reviewers
  • Managing Permission Groups
  • Managing Repositories
  • Managing Review Groups
  • Managing Users
  • Web API Guide
  • Overview
  • Authenticating
  • Resource Tree
  • Resources
  • Diff List Resource
  • Diff Resource
  • File Diff List Resource
  • File Diff Resource
  • Diff Resource
  • File Diff List Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Draft Screenshot Resource
  • File Diff Comment List Resource
  • File Diff List Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • Repository Info Resource
  • Repository List Resource
  • Repository Resource
  • Repository Info Resource
  • Repository Resource
  • Repository Info Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review Diff Comment Resource
  • Review Draft Resource
  • Review Group List Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Group User List Resource
  • Review List Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Draft Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Review Draft Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply Diff Comment Resource
  • Review Reply Draft Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Draft Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Request Draft Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Review Request Last Update Resource
  • Review Request List Resource
  • Review Request Resource
  • Diff List Resource
  • Diff Resource
  • Review List Resource
  • Review Resource
  • Review Draft Resource
  • Review Request Draft Resource
  • Draft Screenshot List Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Review Request Resource
  • Diff List Resource
  • Diff Resource
  • File Diff List Resource
  • Review List Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review Reply List Resource
  • Review Screenshot Comment List Resource
  • Review Draft Resource
  • Review Request Draft Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Review Screenshot Comment Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Draft Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Root List Resource
  • Repository List Resource
  • Repository Resource
  • Repository Info Resource
  • Review Group List Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Request List Resource
  • Review Request Resource
  • Diff List Resource
  • Review List Resource
  • Review Request Draft Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Server Info Resource
  • Session Resource
  • User List Resource
  • User Resource
  • Watched List Resource
  • Screenshot Comment List Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Server Info Resource
  • Session Resource
  • User List Resource
  • User Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Request List Resource
  • User Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • Watched Review Request Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • Errors
  • 100 - Does Not Exist
  • 101 - Permission Denied
  • 103 - Not Logged In
  • 104 - Login Failed
  • 105 - Invalid Form Data
  • 203 - Invalid Change Number
  • 204 - Change Number In Use
  • 205 - Missing Repository
  • 206 - Invalid Repository
  • 207 - Repository File Not Found
  • 208 - Invalid User
  • 209 - Repository Action Not Supported
  • 210 - Repository Information Error
  • 212 - Empty Changeset
  • 213 - Server Configuration Error
  • 214 - Bad Host Key
  • 215 - Unverified Host Key
  • 216 - Unverified Host Certificate
  • 217 - Missing User Key
  • 218 - Repository Authentication Error
  • Glossary
  • Overview
  • Authenticating
  • Web API Reference
  • Comment
  • DiffSet
  • FileDiff
  • Repository
  • Review
  • Review Request
  • Review Request Draft
  • Screenshot
  • Screenshot Comment
  • User
  • Log In
  • Log Out
  • Get Server Information
  • Get Repositories
  • Get Repository Information
  • Get Users
  • Get Review Groups
  • Get Users In Review Group
  • Star Review Group
  • Unstar Review Group
  • Get Review Requests
  • Count Review Requests
  • Get Review Requests to Review Group
  • Count Review Requests to Review Group
  • Get Review Requests to User
  • Count Review Requests to User
  • Get Review Requests to User Directly
  • Count Review Requests to User Directly
  • Get Review Requests From User
  • Count Review Requests From User
  • New Review Request
  • Get Review Request
  • Get Review Request by Change Number
  • Get Review Request's Last Update
  • Star Review Request
  • Unstar Review Request
  • Close Review Request
  • Reopen Review Request
  • Delete Review Request
  • Publish Review Request
  • Is Review Request Discussed Since Last Visit
  • Update Review Request Draft From Change Number
  • Get Review Request Draft
  • Publish Review Request Draft
  • Discard Review Request Draft
  • Set Review Request Draft Field
  • Set Multiple Review Request Draft Fields
  • Get Diffsets
  • Upload Diff
  • Get Comments on Diff Line
  • Get Comments on Interdiff Line
  • Create Screenshot
  • Get Comments on Screenshot Region
  • Get Reviews
  • Count Reviews
  • Get Review
  • Get Comments on Review
  • Count Comments on Review
  • Get Review Draft
  • Set and Save Review Draft
  • Set and Publish Review Draft
  • Delete Review Draft
  • Get Comments on Review Draft
  • Get Replies
  • Count Replies
  • Set Reply Draft Fields
  • Publish Reply Draft
  • Discard Reply Draft
  • Data Types
  • Comment
  • DiffSet
  • FileDiff
  • Repository
  • Review
  • Review Request
  • Review Request Draft
  • Screenshot
  • Screenshot Comment
  • User
  • API Calls
  • Log In
  • Log Out
  • Get Server Information
  • Get Repositories
  • Get Repository Information
  • Get Users
  • Get Review Groups
  • Get Users In Review Group
  • Star Review Group
  • Unstar Review Group
  • Get Review Requests
  • Count Review Requests
  • Get Review Requests to Review Group
  • Count Review Requests to Review Group
  • Get Review Requests to User
  • Count Review Requests to User
  • Get Review Requests to User Directly
  • Count Review Requests to User Directly
  • Get Review Requests From User
  • Count Review Requests From User
  • New Review Request
  • Get Review Request
  • Get Review Request by Change Number
  • Get Review Request's Last Update
  • Star Review Request
  • Unstar Review Request
  • Close Review Request
  • Reopen Review Request
  • Delete Review Request
  • Publish Review Request
  • Is Review Request Discussed Since Last Visit
  • Update Review Request Draft From Change Number
  • Get Review Request Draft
  • Publish Review Request Draft
  • Discard Review Request Draft
  • Set Review Request Draft Field
  • Set Multiple Review Request Draft Fields
  • Get Diffsets
  • Upload Diff
  • Get Comments on Diff Line
  • Get Comments on Interdiff Line
  • Create Screenshot
  • Get Comments on Screenshot Region
  • Get Reviews
  • Count Reviews
  • Get Review
  • Get Comments on Review
  • Count Comments on Review
  • Get Review Draft
  • Set and Save Review Draft
  • Set and Publish Review Draft
  • Delete Review Draft
  • Get Comments on Review Draft
  • Get Replies
  • Count Replies
  • Set Reply Draft Fields
  • Publish Reply Draft
  • Discard Reply Draft
  • REST API 2.0
  • Overview
  • Authenticating
  • Resources
  • Diff List Resource
  • Diff Resource
  • File Diff List Resource
  • Diff Resource
  • File Diff List Resource
  • File Diff Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Draft Screenshot Resource
  • File Diff Comment List Resource
  • File Diff List Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • Repository Info Resource
  • Repository List Resource
  • Repository Resource
  • Repository Info Resource
  • Repository Resource
  • Repository Info Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review Diff Comment Resource
  • Review Draft Resource
  • Review Group List Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Group User List Resource
  • Review List Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review Reply List Resource
  • Review Screenshot Comment List Resource
  • Review Draft Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply Diff Comment Resource
  • Review Reply Draft Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Draft Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Request Draft Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Review Request Last Update Resource
  • Review Request List Resource
  • Review Request Resource
  • Diff List Resource
  • Review List Resource
  • Review Request Draft Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Review Request Resource
  • Diff List Resource
  • Diff Resource
  • Review List Resource
  • Review Resource
  • Review Draft Resource
  • Review Request Draft Resource
  • Draft Screenshot List Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Review Screenshot Comment Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Draft Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Root List Resource
  • Repository List Resource
  • Repository Resource
  • Review Group List Resource
  • Review Group Resource
  • Review Request List Resource
  • Review Request Resource
  • Server Info Resource
  • Session Resource
  • User List Resource
  • User Resource
  • Screenshot Comment List Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Server Info Resource
  • Session Resource
  • User List Resource
  • User Resource
  • Watched List Resource
  • User Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Request List Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • Watched Review Request Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • Errors
  • 100 - Does Not Exist
  • 101 - Permission Denied
  • 103 - Not Logged In
  • 104 - Login Failed
  • 105 - Invalid Form Data
  • 203 - Invalid Change Number
  • 204 - Change Number In Use
  • 205 - Missing Repository
  • 206 - Invalid Repository
  • 207 - Repository File Not Found
  • 208 - Invalid User
  • 209 - Repository Action Not Supported
  • 210 - Repository Information Error
  • 212 - Empty Changeset
  • 213 - Server Configuration Error
  • 214 - Bad Host Key
  • 215 - Unverified Host Key
  • 216 - Unverified Host Certificate
  • 217 - Missing User Key
  • 218 - Repository Authentication Error
  • Glossary
  • REST API 1.0 (deprecated)
  • Overview
  • Authenticating
  • Web API Reference
  • Comment
  • DiffSet
  • FileDiff
  • Repository
  • Review
  • Review Request
  • Review Request Draft
  • Screenshot
  • Screenshot Comment
  • User
  • Log In
  • Log Out
  • Get Server Information
  • Get Repositories
  • Get Repository Information
  • Get Users
  • Get Review Groups
  • Get Users In Review Group
  • Star Review Group
  • Unstar Review Group
  • Get Review Requests
  • Count Review Requests
  • Get Review Requests to Review Group
  • Count Review Requests to Review Group
  • Get Review Requests to User
  • Count Review Requests to User
  • Get Review Requests to User Directly
  • Count Review Requests to User Directly
  • Get Review Requests From User
  • Count Review Requests From User
  • New Review Request
  • Get Review Request
  • Get Review Request by Change Number
  • Get Review Request's Last Update
  • Star Review Request
  • Unstar Review Request
  • Close Review Request
  • Reopen Review Request
  • Delete Review Request
  • Publish Review Request
  • Is Review Request Discussed Since Last Visit
  • Update Review Request Draft From Change Number
  • Get Review Request Draft
  • Publish Review Request Draft
  • Discard Review Request Draft
  • Set Review Request Draft Field
  • Set Multiple Review Request Draft Fields
  • Get Diffsets
  • Upload Diff
  • Get Comments on Diff Line
  • Get Comments on Interdiff Line
  • Create Screenshot
  • Get Comments on Screenshot Region
  • Get Reviews
  • Count Reviews
  • Get Review
  • Get Comments on Review
  • Count Comments on Review
  • Get Review Draft
  • Set and Save Review Draft
  • Set and Publish Review Draft
  • Delete Review Draft
  • Get Comments on Review Draft
  • Get Replies
  • Count Replies
  • Set Reply Draft Fields
  • Publish Reply Draft
  • Discard Reply Draft
  • Data Types
  • Comment
  • DiffSet
  • FileDiff
  • Repository
  • Review
  • Review Request
  • Review Request Draft
  • Screenshot
  • Screenshot Comment
  • User
  • API Calls
  • Log In
  • Log Out
  • Get Server Information
  • Get Repositories
  • Get Repository Information
  • Get Users
  • Get Review Groups
  • Get Users In Review Group
  • Star Review Group
  • Unstar Review Group
  • Get Review Requests
  • Count Review Requests
  • Get Review Requests to Review Group
  • Count Review Requests to Review Group
  • Get Review Requests to User
  • Count Review Requests to User
  • Get Review Requests to User Directly
  • Count Review Requests to User Directly
  • Get Review Requests From User
  • Count Review Requests From User
  • New Review Request
  • Get Review Request
  • Get Review Request by Change Number
  • Get Review Request's Last Update
  • Star Review Request
  • Unstar Review Request
  • Close Review Request
  • Reopen Review Request
  • Delete Review Request
  • Publish Review Request
  • Is Review Request Discussed Since Last Visit
  • Update Review Request Draft From Change Number
  • Get Review Request Draft
  • Publish Review Request Draft
  • Discard Review Request Draft
  • Set Review Request Draft Field
  • Set Multiple Review Request Draft Fields
  • Get Diffsets
  • Upload Diff
  • Get Comments on Diff Line
  • Get Comments on Interdiff Line
  • Create Screenshot
  • Get Comments on Screenshot Region
  • Get Reviews
  • Count Reviews
  • Get Review
  • Get Comments on Review
  • Count Comments on Review
  • Get Review Draft
  • Set and Save Review Draft
  • Set and Publish Review Draft
  • Delete Review Draft
  • Get Comments on Review Draft
  • Get Replies
  • Count Replies
  • Set Reply Draft Fields
  • Publish Reply Draft
  • Discard Reply Draft
  • Frequently Asked Questions
  • General Index
  • Release Notes
  • This documentation covers Review Board 1.5. You can select a version above or view the latest documentation.

    File Diff Resource¶

    Name file
    URI /api/review-requests/{review_request_id}/diffs/{diff_revision}/files/{filediff_id}/
    Description

    Provides information on per-file diffs.

    Each of these contains a single, self-contained diff file that applies to exactly one file on a repository.

    HTTP Methods
    • GET - Returns the information or contents on a per-file diff.
    Parent Resource File Diff List Resource
    Child Resources
    • File Diff Comment List Resource
    Anonymous Access Yes, if anonymous site access is enabled

    Fields¶

    Field Type Description
    dest_detail String Additional information of the destination file. This is parsed from the diff, but is usually not used for anything.
    dest_file String The new name of the patched file. This may be the same as the existing file.
    id Integer The numeric ID of the file diff.
    source_file String The original name of the modified file in the diff.
    source_revision String The revision of the file being modified. This is a valid revision in the repository.

    Links¶

    Name Method Resource
    diff_comments GET File Diff Comment List Resource
    self GET File Diff Resource

    HTTP GET¶

    Returns the information or contents on a per-file diff.

    The output varies by mimetype.

    If application/json or application/xml is used, then the fields for the diff are returned, like with any other resource.

    If text/x-patch is used, then the actual diff file itself is returned. This diff should be as it was when uploaded originally, for this file only, with potentially some extra SCM-specific headers stripped.

    If application/vnd.reviewboard.org.diff.data+json or application/vnd.reviewboard.org.diff.data+xml is used, then the raw diff data (lists of inserts, deletes, replaces, moves, header information, etc.) is returned in either JSON or XML. This contains nearly all of the information used to render the diff in the diff viewer, and can be useful for building a diff viewer that interfaces with Review Board.

    If ?syntax-highlighting=1 is passed, the rendered diff content for each line will contain HTML markup showing syntax highlighting. Otherwise, the content will be in plain text.

    The format of the diff data is a bit complex. The data is stored under a top-level diff_data element and contains the following information:

    Field Type Description
    binary Boolean Whether or not the file is a binary file. Binary files won’t have any diff content to display.
    chunks List of Dictionary A list of chunks. These are used to render the diff. See below.
    changed_chunk_indexes List of Integer The list of chunks in the diff that have actual changes (inserts, deletes, or replaces).
    new_file Boolean Whether or not this is a newly added file, rather than an existing file in the repository.
    num_changes Integer The number of changes made in this file (chunks of adds, removes, or deletes).

    Each chunk contains the following fields:

    Field Type Description
    change One of equal, delete, insert, replace The type of change on this chunk. The type influences what sort of information is available for the chunk.
    collapsable Boolean Whether or not this chunk is collapseable. A collapseable chunk is one that is hidden by default in the diff viewer, but can be expanded. These will always be equal chunks, but not every equal chunk is necessarily collapseable (as they may be there to provide surrounding context for the changes).
    index Integer The index of the chunk. This is 0-based.
    lines List of List

    The list of rendered lines for a side-by-side diff. Each entry in the list is itself a list with 8 items:

    1. Row number of the line in the combined side-by-side diff.
    2. The line number of the line in the left-hand file, as an integer (for replace, delete, and equal chunks) or an empty string (for insert).
    3. The text for the line in the left-hand file.
    4. The indexes within the text for the left-hand file that have been replaced by text in the right-hand side. Each index is a list of start, end positions, 0-based. This is only available for replace lines. Otherwise the list is empty.
    5. The line number of the line in the right-hand file, as an integer (for replace, insert and equal chunks) or an empty string (for delete).
    6. The text for the line in the right-hand file.
    7. The indexes within the text for the right-hand file that are replacements for text in the left-hand file. Each index is a list of start, end positions, 0-based. This is only available for replace lines. Otherwise the list is empty.
    8. A boolean that indicates if the line contains only whitespace changes.
    meta Dictionary Additional information about the chunk. See below for more information.
    numlines Integer The number of lines in the chunk.

    A chunk’s meta information contains:

    Field Type Description
    headers List of (String, String) Class definitions, function definitions, or other useful headers that should be displayed before this chunk. This helps users to identify where in a file they are and what the current chunk may be a part of.
    whitespace_chunk Boolean Whether or not the entire chunk consists only of whitespace changes.
    whitespace_lines List of (Integer, Integer) A list of start, end row indexes in the lins that contain whitespace-only changes. These are 1-based.

    Other meta information may be available, but most is intended for internal use and shouldn’t be relied upon.

    Examples¶

    application/json¶

    {
      "file": {
        "dest_detail": "(working copy)", 
        "dest_file": "/trunk/reviewboard/settings_local.py.tmpl", 
        "id": 31, 
        "links": {
          "diff_comments": {
            "href": "http://reviews.example.com/api/review-requests/8/diffs/1/files/31/diff-comments/", 
            "method": "GET"
          }, 
          "self": {
            "href": "http://reviews.example.com/api/review-requests/8/diffs/1/files/31/", 
            "method": "GET"
          }
        }, 
        "source_file": "/trunk/reviewboard/settings_local.py.tmpl", 
        "source_revision": "1797"
      }, 
      "stat": "ok"
    }
    

    application/xml¶

    <?xml version="1.0" encoding="utf-8"?>
    <rsp>
     <stat>ok</stat>
     <file>
      <links>
       <self>
        <href>http://reviews.example.com/api/review-requests/8/diffs/1/files/31/</href>
        <method>GET</method>
       </self>
       <diff_comments>
        <href>http://reviews.example.com/api/review-requests/8/diffs/1/files/31/diff-comments/</href>
        <method>GET</method>
       </diff_comments>
      </links>
      <dest_detail>(working copy)</dest_detail>
      <source_revision>1797</source_revision>
      <source_file>/trunk/reviewboard/settings_local.py.tmpl</source_file>
      <dest_file>/trunk/reviewboard/settings_local.py.tmpl</dest_file>
      <id>31</id>
     </file>
    </rsp>
    

    text/x-patch¶

    Index: /trunk/reviewboard/settings_local.py.tmpl
    ===================================================================
    --- /trunk/reviewboard/settings_local.py.tmpl	(revision 1797)
    +++ /trunk/reviewboard/settings_local.py.tmpl	(working copy)
    @@ -13,15 +13,15 @@
     # django installations, the best option is probably to use memcached.
     CACHE_BACKEND = 'locmem:///'
     
    -# Local time zone for this installation. All choices can be found here:
    -# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
    -TIME_ZONE = 'US/Pacific'
    -
     # Language code for this installation. All choices can be found here:
     # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
     # http://blogs.law.harvard.edu/tech/stories/storyReader$15
     LANGUAGE_CODE = 'en-us'
     
    +# Local time zone for this installation. All choices can be found here:
    +# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
    +TIME_ZONE = 'US/Pacific'
    +
     # This should match the ID of the Site object in the database.  This is used to
     # figure out URLs to stick in e-mails and related pages.
     SITE_ID = 1
    @@ -34,7 +34,6 @@
     # to load the internationalization machinery.
     USE_I18N = True
     
    -
     # TLS for LDAP.  If you're using LDAP authentication and your LDAP server
     # doesn't support ldaps://, you can enable start-TLS with this.
     LDAP_TLS = False
    

    application/vnd.reviewboard.org.diff.data+json¶

    {
      "diff_data": {
        "binary": false, 
        "changed_chunk_indexes": [
          2, 
          4, 
          6
        ], 
        "chunks": [
          {
            "change": "equal", 
            "collapsable": true, 
            "index": 0, 
            "lines": [
              [
                1, 
                1, 
                "# Database backend.  Any supported django database engine should work.", 
                [], 
                1, 
                "# Database backend.  Any supported django database engine should work.", 
                [], 
                false
              ], 
              [
                2, 
                2, 
                "DATABASE_ENGINE = &#39;mysql&#39;      # &#39;postgresql&#39;, &#39;mysql&#39;, &#39;sqlite3&#39; or &#39;ado_mssql&#39;.", 
                [], 
                2, 
                "DATABASE_ENGINE = &#39;mysql&#39;      # &#39;postgresql&#39;, &#39;mysql&#39;, &#39;sqlite3&#39; or &#39;ado_mssql&#39;.", 
                [], 
                false
              ], 
              [
                3, 
                3, 
                "DATABASE_NAME = &#39;reviewboard&#39;  # Or path to database file if using sqlite3.", 
                [], 
                3, 
                "DATABASE_NAME = &#39;reviewboard&#39;  # Or path to database file if using sqlite3.", 
                [], 
                false
              ], 
              [
                4, 
                4, 
                "DATABASE_USER = &#39;********&#39;     # Not used with sqlite3.", 
                [], 
                4, 
                "DATABASE_USER = &#39;********&#39;     # Not used with sqlite3.", 
                [], 
                false
              ], 
              [
                5, 
                5, 
                "DATABASE_PASSWORD = &#39;********&#39; # Not used with sqlite3.", 
                [], 
                5, 
                "DATABASE_PASSWORD = &#39;********&#39; # Not used with sqlite3.", 
                [], 
                false
              ], 
              [
                6, 
                6, 
                "DATABASE_HOST = &#39;&#39;             # Set to empty string for localhost.", 
                [], 
                6, 
                "DATABASE_HOST = &#39;&#39;             # Set to empty string for localhost.", 
                [], 
                false
              ], 
              [
                7, 
                7, 
                "DATABASE_PORT = &#39;&#39;             # Set to empty string for default.", 
                [], 
                7, 
                "DATABASE_PORT = &#39;&#39;             # Set to empty string for default.", 
                [], 
                false
              ], 
              [
                8, 
                8, 
                "", 
                [], 
                8, 
                "", 
                [], 
                false
              ], 
              [
                9, 
                9, 
                "# Make this unique, and don&#39;t share it with anybody.", 
                [], 
                9, 
                "# Make this unique, and don&#39;t share it with anybody.", 
                [], 
                false
              ], 
              [
                10, 
                10, 
                "SECRET_KEY = &#39;***********************************************&#39;", 
                [], 
                10, 
                "SECRET_KEY = &#39;***********************************************&#39;", 
                [], 
                false
              ]
            ], 
            "meta": {
              "left_headers": [], 
              "right_headers": []
            }, 
            "numlines": 10
          }, 
          {
            "change": "equal", 
            "collapsable": false, 
            "index": 1, 
            "lines": [
              [
                11, 
                11, 
                "", 
                [], 
                11, 
                "", 
                [], 
                false
              ], 
              [
                12, 
                12, 
                "# Cache backend.  Unset this to turn off caching completely.  As with most", 
                [], 
                12, 
                "# Cache backend.  Unset this to turn off caching completely.  As with most", 
                [], 
                false
              ], 
              [
                13, 
                13, 
                "# django installations, the best option is probably to use memcached.", 
                [], 
                13, 
                "# django installations, the best option is probably to use memcached.", 
                [], 
                false
              ], 
              [
                14, 
                14, 
                "CACHE_BACKEND = &#39;locmem:///&#39;", 
                [], 
                14, 
                "CACHE_BACKEND = &#39;locmem:///&#39;", 
                [], 
                false
              ], 
              [
                15, 
                15, 
                "", 
                [], 
                15, 
                "", 
                [], 
                false
              ]
            ], 
            "meta": {
              "left_headers": [], 
              "right_headers": []
            }, 
            "numlines": 5
          }, 
          {
            "change": "delete", 
            "collapsable": false, 
            "index": 2, 
            "lines": [
              [
                16, 
                16, 
                "# Local time zone for this installation. All choices can be found here:", 
                [], 
                "", 
                "", 
                [], 
                false, 
                21
              ], 
              [
                17, 
                17, 
                "# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE", 
                [], 
                "", 
                "", 
                [], 
                false, 
                22
              ], 
              [
                18, 
                18, 
                "TIME_ZONE = &#39;US/Pacific&#39;", 
                [], 
                "", 
                "", 
                [], 
                false, 
                23
              ], 
              [
                19, 
                19, 
                "", 
                [], 
                "", 
                "", 
                [], 
                false
              ]
            ], 
            "meta": {
              "left_headers": [], 
              "moved": {
                "16": 21, 
                "17": 22, 
                "18": 23
              }, 
              "right_headers": [], 
              "whitespace_chunk": false, 
              "whitespace_lines": []
            }, 
            "numlines": 4
          }, 
          {
            "change": "equal", 
            "collapsable": false, 
            "index": 3, 
            "lines": [
              [
                20, 
                20, 
                "# Language code for this installation. All choices can be found here:", 
                [], 
                16, 
                "# Language code for this installation. All choices can be found here:", 
                [], 
                false
              ], 
              [
                21, 
                21, 
                "# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes", 
                [], 
                17, 
                "# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes", 
                [], 
                false
              ], 
              [
                22, 
                22, 
                "# http://blogs.law.harvard.edu/tech/stories/storyReader$15", 
                [], 
                18, 
                "# http://blogs.law.harvard.edu/tech/stories/storyReader$15", 
                [], 
                false
              ], 
              [
                23, 
                23, 
                "LANGUAGE_CODE = &#39;en-us&#39;", 
                [], 
                19, 
                "LANGUAGE_CODE = &#39;en-us&#39;", 
                [], 
                false
              ], 
              [
                24, 
                24, 
                "", 
                [], 
                20, 
                "", 
                [], 
                false
              ]
            ], 
            "meta": {
              "left_headers": [], 
              "right_headers": [], 
              "whitespace_chunk": false, 
              "whitespace_lines": []
            }, 
            "numlines": 5
          }, 
          {
            "change": "insert", 
            "collapsable": false, 
            "index": 4, 
            "lines": [
              [
                25, 
                "", 
                "", 
                [], 
                21, 
                "# Local time zone for this installation. All choices can be found here:", 
                [], 
                false, 
                16
              ], 
              [
                26, 
                "", 
                "", 
                [], 
                22, 
                "# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE", 
                [], 
                false, 
                17
              ], 
              [
                27, 
                "", 
                "", 
                [], 
                23, 
                "TIME_ZONE = &#39;US/Pacific&#39;", 
                [], 
                false, 
                18
              ], 
              [
                28, 
                "", 
                "", 
                [], 
                24, 
                "", 
                [], 
                false
              ]
            ], 
            "meta": {
              "left_headers": [], 
              "moved": {
                "21": 16, 
                "22": 17, 
                "23": 18
              }, 
              "right_headers": [], 
              "whitespace_chunk": false, 
              "whitespace_lines": []
            }, 
            "numlines": 4
          }, 
          {
            "change": "equal", 
            "collapsable": false, 
            "index": 5, 
            "lines": [
              [
                29, 
                25, 
                "# This should match the ID of the Site object in the database.  This is used to", 
                [], 
                25, 
                "# This should match the ID of the Site object in the database.  This is used to", 
                [], 
                false
              ], 
              [
                30, 
                26, 
                "# figure out URLs to stick in e-mails and related pages.", 
                [], 
                26, 
                "# figure out URLs to stick in e-mails and related pages.", 
                [], 
                false
              ], 
              [
                31, 
                27, 
                "SITE_ID = 1", 
                [], 
                27, 
                "SITE_ID = 1", 
                [], 
                false
              ], 
              [
                32, 
                28, 
                "", 
                [], 
                28, 
                "", 
                [], 
                false
              ], 
              [
                33, 
                29, 
                "# Set this to the place of your reviewboard if it does not reside", 
                [], 
                29, 
                "# Set this to the place of your reviewboard if it does not reside", 
                [], 
                false
              ], 
              [
                34, 
                30, 
                "# at the root of your server. - Add the trailing slash.", 
                [], 
                30, 
                "# at the root of your server. - Add the trailing slash.", 
                [], 
                false
              ], 
              [
                35, 
                31, 
                "# SITE_ROOT = &quot;/reviewboard/&quot;", 
                [], 
                31, 
                "# SITE_ROOT = &quot;/reviewboard/&quot;", 
                [], 
                false
              ], 
              [
                36, 
                32, 
                "", 
                [], 
                32, 
                "", 
                [], 
                false
              ], 
              [
                37, 
                33, 
                "# If you set this to False, Django will make some optimizations so as not", 
                [], 
                33, 
                "# If you set this to False, Django will make some optimizations so as not", 
                [], 
                false
              ], 
              [
                38, 
                34, 
                "# to load the internationalization machinery.", 
                [], 
                34, 
                "# to load the internationalization machinery.", 
                [], 
                false
              ], 
              [
                39, 
                35, 
                "USE_I18N = True", 
                [], 
                35, 
                "USE_I18N = True", 
                [], 
                false
              ], 
              [
                40, 
                36, 
                "", 
                [], 
                36, 
                "", 
                [], 
                false
              ]
            ], 
            "meta": {
              "left_headers": [], 
              "right_headers": [], 
              "whitespace_chunk": false, 
              "whitespace_lines": []
            }, 
            "numlines": 12
          }, 
          {
            "change": "delete", 
            "collapsable": false, 
            "index": 6, 
            "lines": [
              [
                41, 
                37, 
                "", 
                [], 
                "", 
                "", 
                [], 
                false
              ]
            ], 
            "meta": {
              "left_headers": [], 
              "right_headers": [], 
              "whitespace_chunk": false, 
              "whitespace_lines": []
            }, 
            "numlines": 1
          }, 
          {
            "change": "equal", 
            "collapsable": false, 
            "index": 7, 
            "lines": [
              [
                42, 
                38, 
                "# TLS for LDAP.  If you&#39;re using LDAP authentication and your LDAP server", 
                [], 
                37, 
                "# TLS for LDAP.  If you&#39;re using LDAP authentication and your LDAP server", 
                [], 
                false
              ], 
              [
                43, 
                39, 
                "# doesn&#39;t support ldaps://, you can enable start-TLS with this.", 
                [], 
                38, 
                "# doesn&#39;t support ldaps://, you can enable start-TLS with this.", 
                [], 
                false
              ], 
              [
                44, 
                40, 
                "LDAP_TLS = False", 
                [], 
                39, 
                "LDAP_TLS = False", 
                [], 
                false
              ]
            ], 
            "meta": {
              "left_headers": [], 
              "right_headers": [], 
              "whitespace_chunk": false, 
              "whitespace_lines": []
            }, 
            "numlines": 3
          }
        ], 
        "new_file": false, 
        "num_changes": 3
      }, 
      "stat": "ok"
    }
    

    application/vnd.reviewboard.org.diff.data+xml¶

    <?xml version="1.0" encoding="utf-8"?>
    <rsp>
     <diff_data>
      <chunks>
       <array>
        <item>
         <index>0</index>
         <lines>
          <array>
           <item>
            <array>
             <item>1</item>
             <item>1</item>
             <item># Database backend.  Any supported django database engine should work.</item>
             <item>
              <array>
              </array>
             </item>
             <item>1</item>
             <item># Database backend.  Any supported django database engine should work.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>2</item>
             <item>2</item>
             <item>DATABASE_ENGINE = &amp;#39;mysql&amp;#39;      # &amp;#39;postgresql&amp;#39;, &amp;#39;mysql&amp;#39;, &amp;#39;sqlite3&amp;#39; or &amp;#39;ado_mssql&amp;#39;.</item>
             <item>
              <array>
              </array>
             </item>
             <item>2</item>
             <item>DATABASE_ENGINE = &amp;#39;mysql&amp;#39;      # &amp;#39;postgresql&amp;#39;, &amp;#39;mysql&amp;#39;, &amp;#39;sqlite3&amp;#39; or &amp;#39;ado_mssql&amp;#39;.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>3</item>
             <item>3</item>
             <item>DATABASE_NAME = &amp;#39;reviewboard&amp;#39;  # Or path to database file if using sqlite3.</item>
             <item>
              <array>
              </array>
             </item>
             <item>3</item>
             <item>DATABASE_NAME = &amp;#39;reviewboard&amp;#39;  # Or path to database file if using sqlite3.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>4</item>
             <item>4</item>
             <item>DATABASE_USER = &amp;#39;********&amp;#39;     # Not used with sqlite3.</item>
             <item>
              <array>
              </array>
             </item>
             <item>4</item>
             <item>DATABASE_USER = &amp;#39;********&amp;#39;     # Not used with sqlite3.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>5</item>
             <item>5</item>
             <item>DATABASE_PASSWORD = &amp;#39;********&amp;#39; # Not used with sqlite3.</item>
             <item>
              <array>
              </array>
             </item>
             <item>5</item>
             <item>DATABASE_PASSWORD = &amp;#39;********&amp;#39; # Not used with sqlite3.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>6</item>
             <item>6</item>
             <item>DATABASE_HOST = &amp;#39;&amp;#39;             # Set to empty string for localhost.</item>
             <item>
              <array>
              </array>
             </item>
             <item>6</item>
             <item>DATABASE_HOST = &amp;#39;&amp;#39;             # Set to empty string for localhost.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>7</item>
             <item>7</item>
             <item>DATABASE_PORT = &amp;#39;&amp;#39;             # Set to empty string for default.</item>
             <item>
              <array>
              </array>
             </item>
             <item>7</item>
             <item>DATABASE_PORT = &amp;#39;&amp;#39;             # Set to empty string for default.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>8</item>
             <item>8</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>8</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>9</item>
             <item>9</item>
             <item># Make this unique, and don&amp;#39;t share it with anybody.</item>
             <item>
              <array>
              </array>
             </item>
             <item>9</item>
             <item># Make this unique, and don&amp;#39;t share it with anybody.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>10</item>
             <item>10</item>
             <item>SECRET_KEY = &amp;#39;***********************************************&amp;#39;</item>
             <item>
              <array>
              </array>
             </item>
             <item>10</item>
             <item>SECRET_KEY = &amp;#39;***********************************************&amp;#39;</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
          </array>
         </lines>
         <numlines>10</numlines>
         <meta>
          <right_headers>
           <array>
           </array>
          </right_headers>
          <left_headers>
           <array>
           </array>
          </left_headers>
         </meta>
         <collapsable>1</collapsable>
         <change>equal</change>
        </item>
        <item>
         <index>1</index>
         <lines>
          <array>
           <item>
            <array>
             <item>11</item>
             <item>11</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>11</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>12</item>
             <item>12</item>
             <item># Cache backend.  Unset this to turn off caching completely.  As with most</item>
             <item>
              <array>
              </array>
             </item>
             <item>12</item>
             <item># Cache backend.  Unset this to turn off caching completely.  As with most</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>13</item>
             <item>13</item>
             <item># django installations, the best option is probably to use memcached.</item>
             <item>
              <array>
              </array>
             </item>
             <item>13</item>
             <item># django installations, the best option is probably to use memcached.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>14</item>
             <item>14</item>
             <item>CACHE_BACKEND = &amp;#39;locmem:///&amp;#39;</item>
             <item>
              <array>
              </array>
             </item>
             <item>14</item>
             <item>CACHE_BACKEND = &amp;#39;locmem:///&amp;#39;</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>15</item>
             <item>15</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>15</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
          </array>
         </lines>
         <numlines>5</numlines>
         <meta>
          <right_headers>
           <array>
           </array>
          </right_headers>
          <left_headers>
           <array>
           </array>
          </left_headers>
         </meta>
         <collapsable>0</collapsable>
         <change>equal</change>
        </item>
        <item>
         <index>2</index>
         <lines>
          <array>
           <item>
            <array>
             <item>16</item>
             <item>16</item>
             <item># Local time zone for this installation. All choices can be found here:</item>
             <item>
              <array>
              </array>
             </item>
             <item></item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
             <item>21</item>
            </array>
           </item>
           <item>
            <array>
             <item>17</item>
             <item>17</item>
             <item># http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE</item>
             <item>
              <array>
              </array>
             </item>
             <item></item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
             <item>22</item>
            </array>
           </item>
           <item>
            <array>
             <item>18</item>
             <item>18</item>
             <item>TIME_ZONE = &amp;#39;US/Pacific&amp;#39;</item>
             <item>
              <array>
              </array>
             </item>
             <item></item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
             <item>23</item>
            </array>
           </item>
           <item>
            <array>
             <item>19</item>
             <item>19</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item></item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
          </array>
         </lines>
         <numlines>4</numlines>
         <meta>
          <right_headers>
           <array>
           </array>
          </right_headers>
          <whitespace_chunk>0</whitespace_chunk>
          <moved>
           <int value="16">21</int>
           <int value="17">22</int>
           <int value="18">23</int>
          </moved>
          <left_headers>
           <array>
           </array>
          </left_headers>
          <whitespace_lines>
           <array>
           </array>
          </whitespace_lines>
         </meta>
         <collapsable>0</collapsable>
         <change>delete</change>
        </item>
        <item>
         <index>3</index>
         <lines>
          <array>
           <item>
            <array>
             <item>20</item>
             <item>20</item>
             <item># Language code for this installation. All choices can be found here:</item>
             <item>
              <array>
              </array>
             </item>
             <item>16</item>
             <item># Language code for this installation. All choices can be found here:</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>21</item>
             <item>21</item>
             <item># http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes</item>
             <item>
              <array>
              </array>
             </item>
             <item>17</item>
             <item># http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>22</item>
             <item>22</item>
             <item># http://blogs.law.harvard.edu/tech/stories/storyReader$15</item>
             <item>
              <array>
              </array>
             </item>
             <item>18</item>
             <item># http://blogs.law.harvard.edu/tech/stories/storyReader$15</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>23</item>
             <item>23</item>
             <item>LANGUAGE_CODE = &amp;#39;en-us&amp;#39;</item>
             <item>
              <array>
              </array>
             </item>
             <item>19</item>
             <item>LANGUAGE_CODE = &amp;#39;en-us&amp;#39;</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>24</item>
             <item>24</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>20</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
          </array>
         </lines>
         <numlines>5</numlines>
         <meta>
          <right_headers>
           <array>
           </array>
          </right_headers>
          <whitespace_chunk>0</whitespace_chunk>
          <left_headers>
           <array>
           </array>
          </left_headers>
          <whitespace_lines>
           <array>
           </array>
          </whitespace_lines>
         </meta>
         <collapsable>0</collapsable>
         <change>equal</change>
        </item>
        <item>
         <index>4</index>
         <lines>
          <array>
           <item>
            <array>
             <item>25</item>
             <item></item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>21</item>
             <item># Local time zone for this installation. All choices can be found here:</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
             <item>16</item>
            </array>
           </item>
           <item>
            <array>
             <item>26</item>
             <item></item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>22</item>
             <item># http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
             <item>17</item>
            </array>
           </item>
           <item>
            <array>
             <item>27</item>
             <item></item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>23</item>
             <item>TIME_ZONE = &amp;#39;US/Pacific&amp;#39;</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
             <item>18</item>
            </array>
           </item>
           <item>
            <array>
             <item>28</item>
             <item></item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>24</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
          </array>
         </lines>
         <numlines>4</numlines>
         <meta>
          <right_headers>
           <array>
           </array>
          </right_headers>
          <whitespace_chunk>0</whitespace_chunk>
          <moved>
           <int value="21">16</int>
           <int value="22">17</int>
           <int value="23">18</int>
          </moved>
          <left_headers>
           <array>
           </array>
          </left_headers>
          <whitespace_lines>
           <array>
           </array>
          </whitespace_lines>
         </meta>
         <collapsable>0</collapsable>
         <change>insert</change>
        </item>
        <item>
         <index>5</index>
         <lines>
          <array>
           <item>
            <array>
             <item>29</item>
             <item>25</item>
             <item># This should match the ID of the Site object in the database.  This is used to</item>
             <item>
              <array>
              </array>
             </item>
             <item>25</item>
             <item># This should match the ID of the Site object in the database.  This is used to</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>30</item>
             <item>26</item>
             <item># figure out URLs to stick in e-mails and related pages.</item>
             <item>
              <array>
              </array>
             </item>
             <item>26</item>
             <item># figure out URLs to stick in e-mails and related pages.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>31</item>
             <item>27</item>
             <item>SITE_ID = 1</item>
             <item>
              <array>
              </array>
             </item>
             <item>27</item>
             <item>SITE_ID = 1</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>32</item>
             <item>28</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>28</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>33</item>
             <item>29</item>
             <item># Set this to the place of your reviewboard if it does not reside</item>
             <item>
              <array>
              </array>
             </item>
             <item>29</item>
             <item># Set this to the place of your reviewboard if it does not reside</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>34</item>
             <item>30</item>
             <item># at the root of your server. - Add the trailing slash.</item>
             <item>
              <array>
              </array>
             </item>
             <item>30</item>
             <item># at the root of your server. - Add the trailing slash.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>35</item>
             <item>31</item>
             <item># SITE_ROOT = &amp;quot;/reviewboard/&amp;quot;</item>
             <item>
              <array>
              </array>
             </item>
             <item>31</item>
             <item># SITE_ROOT = &amp;quot;/reviewboard/&amp;quot;</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>36</item>
             <item>32</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>32</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>37</item>
             <item>33</item>
             <item># If you set this to False, Django will make some optimizations so as not</item>
             <item>
              <array>
              </array>
             </item>
             <item>33</item>
             <item># If you set this to False, Django will make some optimizations so as not</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>38</item>
             <item>34</item>
             <item># to load the internationalization machinery.</item>
             <item>
              <array>
              </array>
             </item>
             <item>34</item>
             <item># to load the internationalization machinery.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>39</item>
             <item>35</item>
             <item>USE_I18N = True</item>
             <item>
              <array>
              </array>
             </item>
             <item>35</item>
             <item>USE_I18N = True</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>40</item>
             <item>36</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>36</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
          </array>
         </lines>
         <numlines>12</numlines>
         <meta>
          <right_headers>
           <array>
           </array>
          </right_headers>
          <whitespace_chunk>0</whitespace_chunk>
          <left_headers>
           <array>
           </array>
          </left_headers>
          <whitespace_lines>
           <array>
           </array>
          </whitespace_lines>
         </meta>
         <collapsable>0</collapsable>
         <change>equal</change>
        </item>
        <item>
         <index>6</index>
         <lines>
          <array>
           <item>
            <array>
             <item>41</item>
             <item>37</item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item></item>
             <item></item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
          </array>
         </lines>
         <numlines>1</numlines>
         <meta>
          <right_headers>
           <array>
           </array>
          </right_headers>
          <whitespace_chunk>0</whitespace_chunk>
          <left_headers>
           <array>
           </array>
          </left_headers>
          <whitespace_lines>
           <array>
           </array>
          </whitespace_lines>
         </meta>
         <collapsable>0</collapsable>
         <change>delete</change>
        </item>
        <item>
         <index>7</index>
         <lines>
          <array>
           <item>
            <array>
             <item>42</item>
             <item>38</item>
             <item># TLS for LDAP.  If you&amp;#39;re using LDAP authentication and your LDAP server</item>
             <item>
              <array>
              </array>
             </item>
             <item>37</item>
             <item># TLS for LDAP.  If you&amp;#39;re using LDAP authentication and your LDAP server</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>43</item>
             <item>39</item>
             <item># doesn&amp;#39;t support ldaps://, you can enable start-TLS with this.</item>
             <item>
              <array>
              </array>
             </item>
             <item>38</item>
             <item># doesn&amp;#39;t support ldaps://, you can enable start-TLS with this.</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
           <item>
            <array>
             <item>44</item>
             <item>40</item>
             <item>LDAP_TLS = False</item>
             <item>
              <array>
              </array>
             </item>
             <item>39</item>
             <item>LDAP_TLS = False</item>
             <item>
              <array>
              </array>
             </item>
             <item>0</item>
            </array>
           </item>
          </array>
         </lines>
         <numlines>3</numlines>
         <meta>
          <right_headers>
           <array>
           </array>
          </right_headers>
          <whitespace_chunk>0</whitespace_chunk>
          <left_headers>
           <array>
           </array>
          </left_headers>
          <whitespace_lines>
           <array>
           </array>
          </whitespace_lines>
         </meta>
         <collapsable>0</collapsable>
         <change>equal</change>
        </item>
       </array>
      </chunks>
      <binary>0</binary>
      <changed_chunk_indexes>
       <array>
        <item>2</item>
        <item>4</item>
        <item>6</item>
       </array>
      </changed_chunk_indexes>
      <num_changes>3</num_changes>
      <new_file>0</new_file>
     </diff_data>
     <stat>ok</stat>
    </rsp>
    

    Keep up with the latest Review Board releases, security updates, and helpful information.

    About
    News
    Demo
    RBCommons Hosting
    Integrations
    Happy Users
    Support Options
    Documentation
    FAQ
    User Manual
    RBTools
    Administration Guide
    Power Pack
    Release Notes
    Downloads
    Review Board
    RBTools
    Djblets
    Power Pack
    Package Store
    PGP Signatures
    Contributing
    Bug Tracker
    Submit Patches
    Development Setup
    Wiki
    Follow Us
    Mailing Lists
    Reddit
    Twitter
    Mastodon
    Facebook
    YouTube

    Copyright © 2006-2025 Beanbag, Inc. All rights reserved.

    Terms of Service — Privacy Policy — AI Ethics Policy — Branding

    On this page

    • [Top]
    • Fields
    • Links
    • HTTP GET
    • Examples
      • application/json
      • application/xml
      • text/x-patch
      • application/vnd.reviewboard.org.diff.data+json
      • application/vnd.reviewboard.org.diff.data+xml