Merge pull request #2946 from Asquera/fix/access_to_non_existent_branch

API: Fixes return code when accessing non existent branch (#2922)
This commit is contained in:
Dmitriy Zaporozhets 2013-02-12 09:24:54 -08:00
commit 8f9c01feed
3 changed files with 9 additions and 0 deletions

View file

@ -79,6 +79,9 @@ Parameters:
}
```
Will return status code `200` on success or `404 Not found` if the branch is not available.
## Protect a project repository branch
Protect a single project repository branch.