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: 851
Content-Type: application/vnd.reviewboard.org.server-info+json
ETag: 57c4a59b638da9a5bf57b2660c929d93fcf80419
Vary: Accept, Cookie
X-Content-Type-Options: nosniff
{
"info": {
"capabilities": {
"authentication": {
"client_web_login": false
},
"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": false,
"name": "Review Board",
"package_version": "5.0.7a0",
"version": "5.0.7 alpha 0 (dev)"
},
"site": {
"administrators": [
{
"email": "admin@example.com",
"name": "Example Admin"
}
],
"time_zone": "UTC",
"url": "http://example.com/"
}
},
"stat": "ok"
}