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
e3e3bcba
Commit
e3e3bcba
authored
Jun 24, 2021
by
Steve Abrams
Committed by
Nick Gaskill
Jun 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add symbol route to API docs
parent
6eb3e5a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
doc/api/packages/nuget.md
doc/api/packages/nuget.md
+29
-0
No files found.
doc/api/packages/nuget.md
View file @
e3e3bcba
...
...
@@ -102,6 +102,30 @@ curl --request PUT \
"https://gitlab.example.com/api/v4/projects/1/packages/nuget"
```
## Upload a symbol package file
> Introduced in GitLab 12.8.
Upload a NuGet symbol package file (
`.snupkg`
):
```
plaintext
PUT projects/:id/packages/nuget/symbolpackage
```
| Attribute | Type | Required | Description |
| ----------------- | ------ | -------- | ----------- |
|
`id`
| string | yes | The ID or full path of the project. |
|
`package_name`
| string | yes | The name of the package. |
|
`package_version`
| string | yes | The version of the package. |
|
`package_filename`
| string | yes | The name of the file. |
```
shell
curl
--request
PUT
\
--upload-file
path/to/mynugetpkg.1.3.0.17.snupkg
\
--user
<username>:<personal_access_token>
\
"https://gitlab.example.com/api/v4/projects/1/packages/nuget/symbolpackage"
```
## Route prefix
For the remaining routes, there are two sets of identical routes that each make requests in
...
...
@@ -193,6 +217,11 @@ Example response:
"@id"
:
"https://gitlab.example.com/api/v4/projects/1/packages/nuget"
,
"@type"
:
"PackagePublish/2.0.0"
,
"comment"
:
"Push and delete (or unlist) packages."
},
{
"@id"
:
"https://gitlab.example.com/api/v4/projects/1/packages/nuget/symbolpackage"
,
"@type"
:
"SymbolPackagePublish/4.9.0"
,
"comment"
:
"Push symbol packages."
}
]
}
...
...
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