GitLab API

GitlabTool

Actions1095

Maven_packages → getApiV4GroupsIdPackagesMaven*pathFileName

AI-generated

Summary

Retrieve a specific Maven package file from a GitLab group by specifying the group ID or path, the package path, and the exact file name.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group containing the Maven package.
  • path (required) — The package path identifying the Maven package, e.g., 'foo/bar/mypkg/1.0-SNAPSHOT'.
  • file_name (required) — The exact file name of the Maven package file to retrieve, e.g., 'mypkg-1.0-SNAPSHOT.jar'.
  • method — The HTTP method to use for the API call, defaults to GET.
  • baseUrl — The base URL of the GitLab instance, defaulting to 'https://gitlab.com'.
  • skipAuthentication — Option to skip authentication, default is false (authentication required).

Output shape

binary file

Returns the binary content of the specified Maven package file from the GitLab group. The response will be the raw file data retrieved via the GET request to the GitLab API endpoint '/api/v4/groups/{id}/-/packages/maven/*path/{file_name}'.

Links

Discussion