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
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 http://reviews.example.com/api -H "Accept: application/json"
Content-Type: application/vnd.reviewboard.org.server-info+json
X-Content-Type-Options: nosniff
ETag: d57a6c5e41d49c61bb5229be227691c2629b7b9f
Vary: Accept, Cookie
{
  "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.7",
      "version": "4.0.7"
    },
    "site": {
      "administrators": [
        {
          "email": "admin@example.com",
          "name": "Example Admin"
        }
      ],
      "time_zone": "UTC",
      "url": "http://example.com/"
    }
  },
  "stat": "ok"
}