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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-21 06:09:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-21 06:09:46 +0300
commita6ebd13ef8a8b95d7b12a442fdb99b03092e98ba (patch)
treeae5c0944b542fc67e7589dd071b1d8c82d5d40a0 /doc/api/releases
parentc13bf680779c861d0c77a06217e5e1e4e77dd65e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/releases')
-rw-r--r--doc/api/releases/index.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api/releases/index.md b/doc/api/releases/index.md
index cb688b81336..35bf24c586c 100644
--- a/doc/api/releases/index.md
+++ b/doc/api/releases/index.md
@@ -15,6 +15,15 @@ info: To determine the technical writer assigned to the Stage/Group associated w
> - [The permission model for create, update and delete actions was fixed](https://gitlab.com/gitlab-org/gitlab/-/issues/327505) in GitLab 14.1.
See [Release permissions](../../user/project/releases/index.md#release-permissions) for more information.
+## Authentication
+
+For authentication, the Releases API accepts either:
+
+- A [Personal Access Token](../../user/profile/personal_access_tokens.md) using the
+ `PRIVATE-TOKEN` header.
+- The [GitLab CI/CD job token](../index.md#gitlab-cicd-job-token) `$CI_JOB_TOKEN` using
+ the `JOB-TOKEN` header.
+
## List Releases
Paginated list of Releases, sorted by `released_at`.