From 5b1a00b669b7e3ae9437a4825ecd00a4bcb4abbd Mon Sep 17 00:00:00 2001 From: Fodor Zoltan Date: Thu, 3 May 2018 08:53:20 +0000 Subject: Update tags release POST and PUT to be more specific.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally submitted at https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5557. Signed-off-by: Rémy Coutable --- doc/api/tags.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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,8 +174,19 @@ 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", @@ -195,8 +206,19 @@ 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", -- cgit v1.2.1