Server Info Resource¶
Name | info |
URI | /api/info/ |
Description | 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. |
HTTP Methods |
|
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.
Examples¶
application/vnd.reviewboard.org.server-info+json¶
{
"info": {
"capabilities": {
"diffs": {
"base_commit_ids": true,
"moved_files": true
},
"scmtools": {
"perforce": {
"moved_files": true
}
}
},
"product": {
"is_release": false,
"name": "Review Board",
"package_version": "1.7.29alpha0",
"version": "1.7.29 alpha 0 (dev)"
},
"site": {
"administrators": [
{
"email": "admin@example.com",
"name": "Example Admin"
}
],
"time_zone": "UTC",
"url": "http://example.com/"
}
},
"stat": "ok"
}
application/vnd.reviewboard.org.server-info+xml¶
<?xml version="1.0" encoding="utf-8"?>
<rsp>
<info>
<product>
<is_release>0</is_release>
<package_version>1.7.29alpha0</package_version>
<version>1.7.29 alpha 0 (dev)</version>
<name>Review Board</name>
</product>
<site>
<url>http://example.com/</url>
<administrators>
<array>
<item>
<name>Example Admin</name>
<email>admin@example.com</email>
</item>
</array>
</administrators>
<time_zone>UTC</time_zone>
</site>
<capabilities>
<scmtools>
<perforce>
<moved_files>1</moved_files>
</perforce>
</scmtools>
<diffs>
<moved_files>1</moved_files>
<base_commit_ids>1</base_commit_ids>
</diffs>
</capabilities>
</info>
<stat>ok</stat>
</rsp>