summaryrefslogtreecommitdiff
path: root/doc/api/tags.md
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2015-11-21 22:24:34 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2015-11-21 22:24:34 +0100
commit3ea05c5b5b253de33d8bf8d615c66e2935b940ef (patch)
tree486d420d9c21ebe85b5b296685a9328179cb41dd /doc/api/tags.md
parent6f7e90f6dba300591281aba08ffbe30ce3cc5c90 (diff)
downloadgitlab-ce-3ea05c5b5b253de33d8bf8d615c66e2935b940ef.tar.gz
Only allow to create a release if it does not exist yet
Diffstat (limited to 'doc/api/tags.md')
-rw-r--r--doc/api/tags.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/tags.md b/doc/api/tags.md
index ab135117250..bc61aa1118f 100644
--- a/doc/api/tags.md
+++ b/doc/api/tags.md
@@ -87,7 +87,8 @@ It returns 200 if the operation succeed. In case of an error,
## Create a new release
Add release notes to the existing git tag. It returns 201 if the release is
-created successfully. If the tag does not exist, 404 is returned.
+created successfully. If the tag does not exist, 404 is returned. If there
+already exists a release for the given tag, 409 is returned.
```
POST /projects/:id/repository/tags/:tag_name/release