From 837a0fedf91379dfbfbd99748c51745431b84347 Mon Sep 17 00:00:00 2001 From: Fodor Zoltan Date: Thu, 3 May 2018 08:53:20 +0000 Subject: [PATCH] Update tags release POST and PUT to be more specific.md --- doc/api/tags.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/api/tags.md b/doc/api/tags.md index 4af096c3c0cb5f..f2a3f9f28d20b6 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", -- GitLab