Jump to >

Repository Info Resource

Name info
URI /api/repositories/{repository_id}/info/
Description

Provides server-side information on a repository.

Some repositories can return custom server-side information. This is not available for all types of repositories. The information will be specific to that type of repository.

HTTP Methods
  • GET - Returns repository-specific information from a server.
Parent Resource Repository Resource
Child Resources None
Anonymous Access Yes, if anonymous site access is enabled

HTTP GET

Returns repository-specific information from a server.

Examples

application/vnd.reviewboard.org.repository-info+json

{
  "info": {
    "root_url": "http://reviewboard.googlecode.com/svn", 
    "url": "http://reviewboard.googlecode.com/svn", 
    "uuid": "5efc13c4-1f27-0410-8691-ff2d1f55687e"
  }, 
  "stat": "ok"
}

application/vnd.reviewboard.org.repository-info+xml

<?xml version="1.0" encoding="utf-8"?>
<rsp>
 <info>
  <url>http://reviewboard.googlecode.com/svn</url>
  <root_url>http://reviewboard.googlecode.com/svn</root_url>
  <uuid>5efc13c4-1f27-0410-8691-ff2d1f55687e</uuid>
 </info>
 <stat>ok</stat>
</rsp>