diff options
Diffstat (limited to 'doc/api/packages/nuget.md')
-rw-r--r-- | doc/api/packages/nuget.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/packages/nuget.md b/doc/api/packages/nuget.md index 4c63524291b..ebcb51be447 100644 --- a/doc/api/packages/nuget.md +++ b/doc/api/packages/nuget.md @@ -1,7 +1,7 @@ --- stage: Package -group: Package -info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about..example/handbook/product/ux/technical-writing/#assignments +group: Package Registry +info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments --- # NuGet API **(FREE)** @@ -97,9 +97,9 @@ PUT projects/:id/packages/nuget ```shell curl --request PUT \ - --upload-file path/to/mynugetpkg.1.3.0.17.nupkg \ + --form 'package=@path/to/mynugetpkg.1.3.0.17.nupkg' \ --user <username>:<personal_access_token> \ - "https://gitlab.example.com/api/v4/projects/1/packages/nuget" + "https://gitlab.example.com/api/v4/projects/1/packages/nuget/" ``` ## Upload a symbol package file @@ -121,7 +121,7 @@ PUT projects/:id/packages/nuget/symbolpackage ```shell curl --request PUT \ - --upload-file path/to/mynugetpkg.1.3.0.17.snupkg \ + --form 'package=@path/to/mynugetpkg.1.3.0.17.snupkg' \ --user <username>:<personal_access_token> \ "https://gitlab.example.com/api/v4/projects/1/packages/nuget/symbolpackage" ``` |