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-01-22 03:09:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-01-22 03:09:25 +0300
commit21796f414cf380088217c1a76a4c3ba5d7b6fdd1 (patch)
tree4f089a914fc216d95894375714c2a732f3cf00f3 /doc/api/packages.md
parentb102159513dca6066df9cceb14e35f62ab7ce36f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/packages.md')
-rw-r--r--doc/api/packages.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/packages.md b/doc/api/packages.md
index a0d966fdd88..516f171e851 100644
--- a/doc/api/packages.md
+++ b/doc/api/packages.md
@@ -92,7 +92,7 @@ GET /groups/:id/packages
| `include_versionless` | boolean | no | When set to true, versionless packages are included in the response. (_Introduced in GitLab 13.8_)
```shell
-curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/groups/:id/packages?exclude_subgroups=true"
+curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/groups/:id/packages?exclude_subgroups=false"
```
> **Deprecation:**
@@ -264,7 +264,7 @@ GET /projects/:id/packages/:package_id/package_files
| `package_id` | integer | yes | ID of a package. |
```shell
-curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/packages/4/package_files"
+curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/:id/packages/4/package_files"
```
Example response: