GitLab API icon

GitLab API

Gitlab

Actions1062

Composer_packages → getApiV4GroupIdPackagesComposerPSha

AI-generated

Summary

Retrieve a Composer package JSON specified by commit SHA from a GitLab group using the API endpoint /api/v4/group/{id}/-/packages/composer/p/{sha}.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group to query.
  • sha (required) — The SHA checksum of the Composer package JSON to retrieve.
  • baseUrl — Base URL of the GitLab instance, defaulting to https://gitlab.com.
  • skipAuthentication — Optionally skip authentication when making the request.

Output shape

a single JSON object representing the Composer package data at the specified SHA in the group

Returns data from the GitLab API without pagination. Requires authentication unless 'Skip Authentication' is enabled.

Links

Discussion