summaryrefslogtreecommitdiff
path: root/doc/api/tags.md
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2015-11-21 18:51:41 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2015-11-21 18:51:41 +0100
commit6f7e90f6dba300591281aba08ffbe30ce3cc5c90 (patch)
treeebc223b60ee1edfe286b457f5888ee95c8c7d940 /doc/api/tags.md
parentfaef95af1a07bdcfd02eead36d144f332b428f1f (diff)
downloadgitlab-ce-6f7e90f6dba300591281aba08ffbe30ce3cc5c90.tar.gz
Use POST to create a new release instead of PUT
Diffstat (limited to 'doc/api/tags.md')
-rw-r--r--doc/api/tags.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/tags.md b/doc/api/tags.md
index ca9e2cef651..ab135117250 100644
--- a/doc/api/tags.md
+++ b/doc/api/tags.md
@@ -84,13 +84,13 @@ It returns 200 if the operation succeed. In case of an error,
405 with an explaining error message is returned.
-## New release
+## Create a new release
-Add release notes to the existing git tag. It returns 200 if the release is
+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.
```
-PUT /projects/:id/repository/tags/:tag_name/release
+POST /projects/:id/repository/tags/:tag_name/release
```
Parameters: