Jump to >

Server Info Resource

Deprecated in 2.0

Information on the Review Board server.

This contains product information, such as the version, and site-specific information, such as the main URL and list of administrators.

This is deprecated in favor of the data in the root resource.

Details

Name info
URI /api/info/
Token Policy ID server_info
HTTP Methods
  • GET - Returns the information on the Review Board server.
Parent Resource Root List Resource
Child Resources None
Anonymous Access Yes, if anonymous site access is enabled

HTTP GET

Returns the information on the Review Board server.

Errors

100 - Does Not ExistHTTP 404 - Not Found Object does not exist
101 - Permission DeniedHTTP 403 - Forbidden You don’t have permission for this
103 - Not Logged InHTTP 401 - Unauthorized You are not logged in

Examples

application/vnd.reviewboard.org.server-info+json

$ curl http://reviews.example.com/api/info/ -H "Accept: application/json"
Vary: Accept, Cookie
Content-Type: application/vnd.reviewboard.org.server-info+json
X-Content-Type-Options: nosniff
{
  "info": {
    "capabilities": {
      "diffs": {
        "base_commit_ids": true, 
        "moved_files": true, 
        "validation": {
          "base_commit_ids": true
        }
      }, 
      "review_requests": {
        "commit_ids": true, 
        "trivial_publish": true
      }, 
      "scmtools": {
        "git": {
          "empty_files": true
        }, 
        "mercurial": {
          "empty_files": true
        }, 
        "perforce": {
          "empty_files": true, 
          "moved_files": true
        }, 
        "svn": {
          "empty_files": true
        }
      }, 
      "text": {
        "can_include_raw_values": true, 
        "markdown": true, 
        "per_field_text_types": true
      }
    }, 
    "product": {
      "is_release": true, 
      "name": "Review Board", 
      "package_version": "2.5.16", 
      "version": "2.5.16"
    }, 
    "site": {
      "administrators": [
        {
          "email": "admin@example.com", 
          "name": "Example Admin"
        }
      ], 
      "time_zone": "UTC", 
      "url": "http://example.com/"
    }
  }, 
  "stat": "ok"
}