GitLab API icon

GitLab API

Gitlab

Actions1062

Rubygem_packages → getApiV4ProjectsIdPackagesRubygemsGemsFileName

AI-generated

Summary

Retrieves a specific RubyGem package file from a GitLab project.

Inputs

  • id (required) — The ID or URL-encoded path of the project
  • file_name (required) — Package file name
  • skipAuthentication — Whether to skip authentication
  • authentication — Authentication method
  • baseUrl — Base URL for the GitLab instance
  • method — HTTP method

Output shape

Returns the RubyGem package file as returned by the GitLab API.

No request body is sent.

Examples

Example 1: Fetch a gem file

Set project ID and gem file name; optionally override base URL or authentication.

Links

Discussion