GitLab API icon

GitLab API

Gitlab

Actions1062

Maven_packages → getApiV4ProjectsIdPackagesMaven*pathFileName

AI-generated

Summary

Retrieve a specific Maven package file from a GitLab project using the API endpoint for Maven packages identified by project ID, package path, and file name.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to fetch the Maven package from.
  • path (required) — The Maven package path within the project, e.g., 'foo/bar/mypkg/1.0-SNAPSHOT'.
  • file_name (required) — The name of the Maven package file to retrieve, e.g., 'mypkg-1.0-SNAPSHOT.jar'.
  • method — HTTP method to use (GET, POST, PUT, DELETE, HEAD, PATCH); typically 'GET' to retrieve the file.
  • baseUrl — Base URL for the GitLab instance; defaults to 'https://gitlab.com' if unset.
  • skipAuthentication — Whether to skip authentication; defaults to false.

Output shape

binary file

Returns the binary content of the specified Maven package file. The file is retrieved through a direct API call and may require authentication depending on project permissions.

Links

Discussion