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 | 
  | 
| Parent Resource | Root List Resource | 
| Child Resources | None | 
Links¶
| Name | Method | Resource | 
|---|---|---|
| self | GET | Server Info Resource | 
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 | 
| 112 - OAuth2 Missing Scope ErrorHTTP 403 - Forbidden | Your OAuth2 token lacks the necessary scopes for this request. | 
| 113 - OAuth2 Access Denied ErrorHTTP 403 - Forbidden | OAuth2 token access for this resource is prohibited. | 
Examples¶
application/vnd.reviewboard.org.server-info+json¶
$ curl https://reviews.example.com/api/info/ -H "Accept: application/json"
HTTP 200 OK
Content-Length: 789
Content-Type: application/vnd.reviewboard.org.server-info+json
ETag: 27d58ede1cdc4bfa55446f5abed78d8f2fb96ce4
Vary: Accept, Cookie
X-Content-Type-Options: nosniff
{
  "info": {
    "capabilities": {
      "diffs": {
        "base_commit_ids": true, 
        "moved_files": true, 
        "validation": {
          "base_commit_ids": true
        }
      }, 
      "extra_data": {
        "json_patching": true
      }, 
      "review_requests": {
        "commit_ids": true, 
        "supports_history": true, 
        "trivial_publish": true
      }, 
      "scmtools": {
        "git": {
          "empty_files": true, 
          "symlinks": 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": "4.0.12", 
      "version": "4.0.12"
    }, 
    "site": {
      "administrators": [
        {
          "email": "admin@example.com", 
          "name": "Example Admin"
        }
      ], 
      "time_zone": "UTC", 
      "url": "http://example.com/"
    }
  }, 
  "stat": "ok"
}