Commit 73a0886c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'fix_typo_groups_package_api_documentation' into 'master'

Fix typo in packages within a group API documentation

See merge request gitlab-org/gitlab!19865
parents 5bc7e631 48ff9f0a
......@@ -61,7 +61,7 @@ GET /groups/:id/packages
| `exclude_subgroups` | boolean | false | If the param is included as true, packages from projects from subgroups are not listed. Default is `false`. |
```bash
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/group/:id/packages?exclude_subgroups=true
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/groups/:id/packages?exclude_subgroups=true
```
Example response:
......
......@@ -15,7 +15,7 @@ module API
optional :exclude_subgroups, type: Boolean, default: false, desc: 'Determines if subgroups should be excluded'
end
resource :groups, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do
desc 'Get all project packages' do
desc 'Get all project packages within a group' do
detail 'This feature was introduced in GitLab 12.5'
success EE::API::Entities::Package
end
......
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