Commit fc757f9a authored by Evan Read's avatar Evan Read

Merge branch 'add-job-token-note-to-api' into 'master'

Add authentication note to releases API

See merge request gitlab-org/gitlab!66499
parents 7176c651 8ce37c6c
...@@ -15,6 +15,15 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -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. > - [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. 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 ## List Releases
Paginated list of Releases, sorted by `released_at`. Paginated list of Releases, sorted by `released_at`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment