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 | |
Child Resources | None |
Links¶
Name |
Method |
Resource |
---|---|---|
self | GET |
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: 1789
Content-Type: application/vnd.reviewboard.org.server-info+json
ETag: c1e8dad83b78c56e558be7567958425a7a68ef91
Vary: Accept, Cookie
X-Content-Type-Options: nosniff
{
"info": {
"capabilities": {
"authentication": {
"client_web_login": true
},
"diffs": {
"base_commit_ids": true,
"file_attachments": true,
"max_binary_size": 10485760,
"max_diff_size": 2097152,
"moved_files": true,
"validation": {
"base_commit_ids": true
}
},
"extra_data": {
"json_patching": true
},
"review_requests": {
"commit_ids": true,
"supports_history": true,
"trivial_publish": true
},
"review_uis": {
"supported_mimetypes": [
"application/javascript",
"application/json",
"application/msword",
"application/pdf",
"application/vnd.ms-excel",
"application/vnd.ms-powerpoint",
"application/vnd.oasis.opendocument.presentation",
"application/vnd.oasis.opendocument.spreadsheet",
"application/vnd.oasis.opendocument.text",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/x-javascript",
"application/x-json",
"application/x-pdf",
"application/x-yaml",
"image/*",
"text/*",
"text/markdown",
"text/x-markdown"
]
},
"scmtools": {
"git": {
"empty_files": true,
"symlinks": true
},
"mercurial": {
"empty_files": true
},
"perforce": {
"empty_files": true,
"moved_files": true
},
"supported_tools": [
"bazaar",
"clearcase",
"cliosoft_sos",
"cvs",
"git",
"mercurial",
"perforce",
"plastic",
"subversion",
"tfs",
"tfs_git",
"versionvault"
],
"svn": {
"empty_files": true
}
},
"text": {
"can_include_raw_values": true,
"markdown": true,
"per_field_text_types": true
}
},
"product": {
"is_release": false,
"name": "Review Board",
"package_version": "8.0a0",
"version": "8.0 alpha 0 (dev)"
},
"site": {
"administrators": [
{
"email": "admin@example.com",
"name": "Example Admin"
}
],
"time_zone": "UTC",
"url": "http://example.com/"
}
},
"stat": "ok"
}