packages

Upload the maven package file

This feature was introduced in GitLab 11.3

put/api/v4/projects/{id}/packages/maven/*path/{file_name}

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

file_namestring required

Package file name

Request body

pathstring required

Package path

filestring binary required

The package file to be published (generated by Multipart middleware)

Example request

{
  "path": "foo/bar/mypkg/1.0-SNAPSHOT"
}

Response

Upload the maven package file

Changes

No recorded changes to this operation across all 5 revisions of this API.