GitLab API

GitlabTool

Actions1095

Maven_packages → getApiV4PackagesMaven*pathFileName

AI-generated

Summary

Retrieve a specific Maven package file from the GitLab API by specifying the package path and file name.

Inputs

  • baseUrl — Base URL of the GitLab instance to send the request to, defaulting to https://gitlab.com.
  • method (required) — HTTP method to use for the request; GET is the default and typical for this operation.
  • queryParameters.path (required) — The package path, e.g., foo/bar/mypkg/1.0-SNAPSHOT.
  • pathParameters.file_name (required) — The file name of the package file to retrieve, e.g., mypkg-1.0-SNAPSHOT.jar.
  • skipAuthentication — If true, skips authentication; otherwise, uses the configured GitLab API credential.

Output shape

The raw package file content as a binary file retrieved from the specified Maven package path and file name in the GitLab instance.

The operation requires both 'path' (query parameter) and 'file_name' (path parameter) to identify the package file. Authentication is used by default unless explicitly skipped. The response contains the binary data of the requested Maven package file.

Links

Discussion