GitLab API icon

GitLab API

Gitlab

Actions1062

Composer_packages → getApiV4GroupIdPackagesComposer*packageName

AI-generated

Summary

Fetch Composer package details for a specified GitLab group by its ID or URL-encoded path and the Composer package name.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group from which to retrieve the Composer package.
  • package_name (required) — The Composer package name to look up within the specified group.
  • method — HTTP method to use for the request; defaults to GET but allows other methods (POST, PUT, DELETE, HEAD, PATCH) though GET is typical for retrieval.
  • baseUrl — Base URL for the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Whether to skip authentication for this request; defaults to false (authentication required).

Output shape

a single JSON object representing the Composer package details returned from the GitLab API for the specified group and package name.

Returns data according to the GitLab API response at the endpoint /api/v4/group/{id}/-/packages/composer/*package_name. The operation requires authentication by default unless skipAuthentication is set to true. Only JSON response bodies are returned; no pagination or envelope wrapping indicated.

Links

Discussion