diff options
author | Sebastian Ziebell <sebastian.ziebell@asquera.de> | 2013-02-09 20:54:52 +0100 |
---|---|---|
committer | Sebastian Ziebell <sebastian.ziebell@asquera.de> | 2013-02-09 21:01:17 +0100 |
commit | 2bd955961cdb6d0fa7e51e8fbb61581d6b101b05 (patch) | |
tree | 869ac4ce5844165dd8f6d764989f39a81c78376b /doc/api/repositories.md | |
parent | 40e7846f3e25b7f679c9dda719c135fca1ef3d5b (diff) | |
download | gitlab-ce-2bd955961cdb6d0fa7e51e8fbb61581d6b101b05.tar.gz |
Changed function to `not_found`.
Instead of using funtion `error!` the function `not_found!` is used to return 404 error. Adjusted documentation accordingly.
Diffstat (limited to 'doc/api/repositories.md')
-rw-r--r-- | doc/api/repositories.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md index bc6ca70aa50..fd0ef1f53eb 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -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. |