Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/releases')
-rw-r--r--doc/api/releases/index.md1
-rw-r--r--doc/api/releases/links.md12
2 files changed, 3 insertions, 10 deletions
diff --git a/doc/api/releases/index.md b/doc/api/releases/index.md
index 6023adb79d0..7489d0bdc9e 100644
--- a/doc/api/releases/index.md
+++ b/doc/api/releases/index.md
@@ -377,6 +377,7 @@ POST /projects/:id/releases
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](../index.md#namespaced-path-encoding). |
| `name` | string | no | The release name. |
| `tag_name` | string | yes | The tag where the release is created from. |
+| `tag_message` | string | no | Message to use if creating a new annotated tag. |
| `description` | string | no | The description of the release. You can use [Markdown](../../user/markdown.md). |
| `ref` | string | yes, if `tag_name` doesn't exist | If a tag specified in `tag_name` doesn't exist, the release is created from `ref` and tagged with `tag_name`. It can be a commit SHA, another tag name, or a branch name. |
| `milestones` | array of string | no | The title of each milestone the release is associated with. [GitLab Premium](https://about.gitlab.com/pricing/) customers can specify group milestones. |
diff --git a/doc/api/releases/links.md b/doc/api/releases/links.md
index 66808900ab6..c239d06ecfd 100644
--- a/doc/api/releases/links.md
+++ b/doc/api/releases/links.md
@@ -6,21 +6,13 @@ info: To determine the technical writer assigned to the Stage/Group associated w
# Release links API **(FREE)**
+> Support for [GitLab CI/CD job token](../../ci/jobs/ci_job_token.md) authentication [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/250819) in GitLab 15.1.
+
Use this API to manipulate GitLab [Release](../../user/project/releases/index.md)
links. For manipulating other Release assets, see [Release API](index.md).
GitLab supports links to `http`, `https`, and `ftp` assets.
-## Authentication
-
-For authentication, the Release Links API accepts:
-
-- A [Personal Access Token](../../user/profile/personal_access_tokens.md) using the
- `PRIVATE-TOKEN` header.
-- A [Project Access Token](../../user/project/settings/project_access_tokens.md) using the `PRIVATE-TOKEN` header.
-
-The [GitLab CI/CD job token](../../ci/jobs/ci_job_token.md) `$CI_JOB_TOKEN` is not supported. See [GitLab issue #50819](https://gitlab.com/gitlab-org/gitlab/-/issues/250819) for more details.
-
## Get links
Get assets as links from a Release.