GitLab API

GitlabTool

Actions1095

Rubygem_packages → getApiV4ProjectsIdPackagesRubygemsFileName

AI-generated

Summary

Fetches a RubyGems package file from a GitLab project using GET /api/v4/projects/{id}/packages/rubygems/{file_name}. Provide the project ID or URL-encoded path and the spec file name; the request uses the GitLab API base URL and authentication settings.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication.
  • baseUrl — GitLab API base URL; defaults to https://gitlab.com. The source indicates the effective base URL is defined by the GitLab API credential.
  • method — HTTP method selector, defaulting to GET. The endpoint path indicates this operation retrieves a file.
  • Path Parameters (required) — id: project ID or URL-encoded project path. file_name: RubyGems spec file name.

Output shape

A single endpoint response item.

The operation schema declares a file path parameter and no request body schema. The provided source pack does not show the shared OpenAPI tool's response handling or the endpoint's response schema.

Links

Discussion