GitLab API icon

GitLab API

Gitlab

Actions1062

Rpm_packages → getApiV4ProjectsIdPackagesRpm*packageFileId*fileName

AI-generated

Summary

Retrieves a specific RPM package file from a GitLab project using the GitLab API.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project (e.g., 42 or group%2Fproject).
  • package_file_id (required) — The numeric ID of the RPM package file to fetch.
  • file_name (required) — The file name of the RPM package (e.g., my-package-1.0-1.x86_64.rpm).
  • skipAuthentication — When true, the node will not use the configured GitLab API credentials; otherwise credentials are required.
  • baseUrl — Alternative base URL for the GitLab instance (defaults to https://gitlab.com).
  • method — HTTP method to use for the request (default: GET). Other options: POST, PUT, DELETE, HEAD, PATCH.

Output shape

object

The operation returns the raw response from the GitLab API endpoint /api/v4/projects/{id}/packages/rpm/{package_file_id}/{file_name}. For a GET request this is a JSON object describing the RPM package file (including attributes such as id, name, version, status, etc.). If the method is changed, the output corresponds to whatever that method returns.

Links

Discussion