Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
48ff9f0a
Commit
48ff9f0a
authored
Nov 11, 2019
by
David Fernandez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in packages API within a group
parent
9ff6da73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
doc/api/packages.md
doc/api/packages.md
+1
-1
ee/lib/api/group_packages.rb
ee/lib/api/group_packages.rb
+1
-1
No files found.
doc/api/packages.md
View file @
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/group
s
/:id/packages?exclude_subgroups
=
true
```
Example response:
...
...
ee/lib/api/group_packages.rb
View file @
48ff9f0a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment