diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2015-11-21 20:51:41 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2015-11-21 20:51:41 +0300 |
commit | 6f7e90f6dba300591281aba08ffbe30ce3cc5c90 (patch) | |
tree | ebc223b60ee1edfe286b457f5888ee95c8c7d940 /doc/api | |
parent | faef95af1a07bdcfd02eead36d144f332b428f1f (diff) |
Use POST to create a new release instead of PUT
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/tags.md | 6 |
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: |