Commit 48ff9f0a authored by David Fernandez's avatar David Fernandez

Fix typo in packages API within a group

parent 9ff6da73
...@@ -61,7 +61,7 @@ GET /groups/:id/packages ...@@ -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`. | | `exclude_subgroups` | boolean | false | If the param is included as true, packages from projects from subgroups are not listed. Default is `false`. |
```bash ```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: Example response:
......
...@@ -15,7 +15,7 @@ module API ...@@ -15,7 +15,7 @@ module API
optional :exclude_subgroups, type: Boolean, default: false, desc: 'Determines if subgroups should be excluded' optional :exclude_subgroups, type: Boolean, default: false, desc: 'Determines if subgroups should be excluded'
end end
resource :groups, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do 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' detail 'This feature was introduced in GitLab 12.5'
success EE::API::Entities::Package success EE::API::Entities::Package
end 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