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/index.md')
-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`.