GitLab API

GitlabTool

Actions1095

Maven_packages → putApiV4ProjectsIdPackagesMaven*pathFileNameAuthorize

AI-generated

Summary

Authorize access for a specific Maven package file within a GitLab project by sending a PUT request to the project's Maven package authorization endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project where the Maven package is stored.
  • file_name (required) — The Maven package file name, for example, 'mypkg-1.0-SNAPSHOT.pom', to authorize access for.
  • putApiV4ProjectsIdPackagesMaven*pathFileNameAuthorize (required) — Request body containing authorization details as defined by the API schema for the Maven package file authorization endpoint.
  • skipAuthentication — Boolean flag to skip authentication; defaults to false, meaning authentication via GitLab API credentials is required.

Output shape

a single record

Returns the API response from the PUT operation to the authorization endpoint for the specified Maven package file in the given project. The exact structure depends on the GitLab API response schema for this operation.

Links

Discussion