diff options
author | Fodor Zoltan <fodor18zoltan@gmail.com> | 2018-05-03 08:53:20 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-08-29 17:35:40 +0200 |
commit | d0701f2eff52cb2e51d686feab1519b3a3834804 (patch) | |
tree | e31f487b00b8a12fc63ed9e7937e454cac8f37dc /doc/api | |
parent | b79da896ac1e05e41c394ce76667344a2e966ee2 (diff) | |
download | gitlab-ce-d0701f2eff52cb2e51d686feab1519b3a3834804.tar.gz |
Update tags release POST and PUT to be more specific.md
Originally submitted at
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5557.
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/tags.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/api/tags.md b/doc/api/tags.md index 4af096c3c0c..f2a3f9f28d2 100644 --- a/doc/api/tags.md +++ b/doc/api/tags.md @@ -174,10 +174,21 @@ Parameters: - `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user - `tag_name` (required) - The name of a tag + +Request body: + - `description` (required) - Release notes with markdown support ```json { + "description": "Amazing release. Wow" +} +``` + +Response: + +```json +{ "tag_name": "1.0.0", "description": "Amazing release. Wow" } @@ -195,10 +206,21 @@ Parameters: - `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user - `tag_name` (required) - The name of a tag + +Request body: + - `description` (required) - Release notes with markdown support ```json { + "description": "Amazing release. Wow" +} +``` + +Response: + +```json +{ "tag_name": "1.0.0", "description": "Amazing release. Wow" } |