Closed
Description
In 1.9-rc2 (and 1.10-dev):
In a the response for the http://locahost:3000/api/v1/repos/<owner>/<repo>/git/commits/<hash>
there are a bad URLs, one for the HTML Url, the other for the trees URL. Example:
{
...
"html_url": "http://localhost:3000/testuser/testrepo/commits/6691301cf8fb73e57206ea5430003dd296764111",
...
"tree": {
"url": "http://localhost:3000/api/v1/repos/testuser/testrepo/trees/6691301cf8fb73e57206ea5430003dd296764111",
"sha": "6691301cf8fb73e57206ea5430003dd296764111"
}
...
}
It should be commit
and not commits,
/git/treesnot just
/trees`, respectively.