Get Repositories¶
| Path: | api/json/repositories/ | 
|---|
HTTP GET¶
Returns a list of visible repositories on the server.
Responses¶
HTTP 200: Success¶
| Field | Type | Description | 
|---|---|---|
| repositories | Array of Repository | The list of visible repositories. | 
Example Response¶
{
  stat: "ok",
  repositories: [
    {
      id: 1,
      name: "Review Board",
      path: "git://github.com/reviewboard/reviewboard.git",
      tool: "Git"
    },
  ]
}
HTTP 401: Unauthorized¶
Error 103: Not Logged In¶
The client making the request is not logged in and the server disallows anonymous access.
See Authenticating for more information.