Commit 0226c196 authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'hc-docs-generic-package-store-retrieve-duplicates' into 'master'

Document duplicate-handling of generic packages

See merge request gitlab-org/gitlab!50343
parents 0bfcf6c3 a6d31c65
...@@ -27,6 +27,8 @@ or [CI job token](../../../api/README.md#gitlab-ci-job-token). ...@@ -27,6 +27,8 @@ or [CI job token](../../../api/README.md#gitlab-ci-job-token).
When you publish a package file, if the package does not exist, it is created. When you publish a package file, if the package does not exist, it is created.
If a package with the same name, version, and filename already exists, it is also created. It does not overwrite the existing package.
Prerequisites: Prerequisites:
- You need to [authenticate with the API](../../../api/README.md#authentication). - You need to [authenticate with the API](../../../api/README.md#authentication).
...@@ -62,7 +64,9 @@ Example response: ...@@ -62,7 +64,9 @@ Example response:
## Download package file ## Download package file
Install a package file. Download a package file.
If multiple packages have the same name, version, and filename, then the most recent one is retrieved.
Prerequisites: Prerequisites:
......
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