Repositories

Nick Kallen edited this page Aug 22, 2013 · 3 revisions
Clone this wiki locally

Get all repositories

GET /repos
Response
[
  {
    "url": "/repos/Perseus",
    "refs_url": "/repos/Perseus/refs"
  },
  {
    "url": "/repos/bootstrap",
    "refs_url": "/repos/bootstrap/refs"
  },
  {
    "url": "/repos/gitdb",
    "refs_url": "/repos/gitdb/refs"
  }
]

Get a repository

GET /repos/:repo
Response
{
  "url": "/repos/gitdb",
  "refs_url": "/repos/gitdb/refs"
}