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
5fe77db4
Commit
5fe77db4
authored
Jan 21, 2021
by
Tim Rizzi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor update to Packages API docs
parent
decdb130
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/api/packages.md
doc/api/packages.md
+2
-2
No files found.
doc/api/packages.md
View file @
5fe77db4
...
@@ -92,7 +92,7 @@ GET /groups/:id/packages
...
@@ -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_)
|
`include_versionless`
| boolean | no | When set to true, versionless packages are included in the response. (_Introduced in GitLab 13.8_)
```
shell
```
shell
curl
--header
"PRIVATE-TOKEN: <your_access_token>"
"https://gitlab.example.com/api/v4/groups/:id/packages?exclude_subgroups=
tru
e"
curl
--header
"PRIVATE-TOKEN: <your_access_token>"
"https://gitlab.example.com/api/v4/groups/:id/packages?exclude_subgroups=
fals
e"
```
```
> **Deprecation:**
> **Deprecation:**
...
@@ -264,7 +264,7 @@ GET /projects/:id/packages/:package_id/package_files
...
@@ -264,7 +264,7 @@ GET /projects/:id/packages/:package_id/package_files
|
`package_id`
| integer | yes | ID of a package. |
|
`package_id`
| integer | yes | ID of a package. |
```
shell
```
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:
Example response:
...
...
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