summaryrefslogtreecommitdiff
path: root/doc/api/tags.md
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2015-11-21 17:29:26 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2015-11-21 17:29:26 +0100
commit2cba93a0d2d12ee36bf98569e5c6c14ac7ea40e0 (patch)
tree2d98ebaa9c4640d0e16b1dcd3e1339e6dbb0a0dd /doc/api/tags.md
parent4427e80fb5a8b42b1de04f8346bf0dd431e7dd86 (diff)
downloadgitlab-ce-2cba93a0d2d12ee36bf98569e5c6c14ac7ea40e0.tar.gz
Make tag API consistent for release feature
Diffstat (limited to 'doc/api/tags.md')
-rw-r--r--doc/api/tags.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/tags.md b/doc/api/tags.md
index b5b90cf6b82..cf95f87dc3e 100644
--- a/doc/api/tags.md
+++ b/doc/api/tags.md
@@ -29,7 +29,7 @@ Parameters:
]
},
"release": {
- "tag": "1.0.0",
+ "tag_name": "1.0.0",
"description": "Amazing release. Wow"
},
"name": "v1.0.0",
@@ -70,7 +70,7 @@ Parameters:
]
},
"release": {
- "tag": "1.0.0",
+ "tag_name": "1.0.0",
"description": "Amazing release. Wow"
},
"name": "v1.0.0",
@@ -89,18 +89,18 @@ It returns 200 if the operation succeed. In case of an error,
Add release notes to the existing git tag
```
-PUT /projects/:id/repository/:tag/release
+PUT /projects/:id/repository/tags/:tag_name/release
```
Parameters:
- `id` (required) - The ID of a project
-- `tag` (required) - The name of a tag
+- `tag_name` (required) - The name of a tag
- `description` (required) - Release notes with markdown support
```json
{
- "tag": "1.0.0",
+ "tag_name": "1.0.0",
"description": "Amazing release. Wow"
}
```