GitLab API icon

GitLab API

Gitlab

Actions1062

Rubygem_packages → getApiV4ProjectsIdPackagesRubygemsApiV1Dependencies

AI-generated

Summary

Fetches RubyGem package dependencies for a GitLab project. Performs a GET request to /api/v4/projects/{id}/packages/rubygems/api/v1/dependencies, optionally filtering by gem names via the 'gems' query parameter. Uses the gitlabApi credential unless skipAuthentication is enabled. Returns the dependency data as provided by the GitLab API.

Inputs

  • id (required) — Project ID or URL-encoded path of the project (integer)
  • gems — Comma‑delimited list of gem names to filter dependencies (string)

Output shape

Array of dependency objects as defined by the GitLab API response for the RubyGems dependencies endpoint

The exact structure follows the upstream OpenAPI spec; refer to GitLab documentation for details.

Links

Discussion