diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-20 13:00:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-20 13:00:54 +0300 |
commit | 3cccd102ba543e02725d247893729e5c73b38295 (patch) | |
tree | f36a04ec38517f5deaaacb5acc7d949688d1e187 /doc/api/packages | |
parent | 205943281328046ef7b4528031b90fbda70c75ac (diff) |
Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42
Diffstat (limited to 'doc/api/packages')
-rw-r--r-- | doc/api/packages/composer.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/packages/composer.md b/doc/api/packages/composer.md index b3a27519729..ea2e917bbba 100644 --- a/doc/api/packages/composer.md +++ b/doc/api/packages/composer.md @@ -262,6 +262,8 @@ Example response: ## Download a package archive +> Authorization for this endpoint was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/331601) in GitLab 14.10. + Download a Composer package. This URL is provided in the [v1](#v1-package-metadata) or [v2 package metadata](#v2-package-metadata) response. A `.zip` file extension must be in the request. @@ -287,3 +289,6 @@ curl --user <username>:<personal_access_token> "https://gitlab.example.com/api/v ``` This writes the downloaded file to `package.tar.gz` in the current directory. + +NOTE: +This endpoint requires authorization in GitLab 14.10 and later. In GitLab 14.9 and earlier, it was publicly accessible. |