GitLab API

GitlabTool

Actions1095

Maven_packages → putApiV4ProjectsIdPackagesMaven*pathFileName

AI-generated

Summary

Upload or update a Maven package file in a specific GitLab project by providing the project ID or path and the package file name as path parameters, along with the file data in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project where the Maven package file will be uploaded or updated.
  • file_name (required) — The name of the Maven package file to upload or update (e.g., 'mypkg-1.0-SNAPSHOT.pom').
  • putApiV4ProjectsIdPackagesMaven*pathFileName (required) — The request body containing the actual package file data to be uploaded or updated.
  • Skip Authentication — Whether to skip use of authentication for this request; defaults to false (use authentication).
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

a response from the GitLab API representing the result of the Maven package file upload or update

The operation expects path parameters for the project and filename and a request body containing the package file data. It returns the GitLab server's response, which typically includes metadata about the uploaded package file or confirmation of the update. Authentication is used by default unless skipped explicitly.

Links

Discussion