GitLab API icon

GitLab API

Gitlab

Actions1062

Composer_packages → getApiV4GroupIdPackagesComposerPackages

AI-generated

Summary

Retrieve a list of Composer packages published within a specified GitLab group identified by its ID or URL-encoded path.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group whose Composer packages you want to list.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com if not overridden.
  • method — HTTP method to use; defaults to GET and generally should remain GET for this operation.
  • skipAuthentication — Option to skip using authentication; default is false, meaning authentication via GitLab credentials is used.

Output shape

a list of Composer package objects associated with the specified group

The operation returns data from the endpoint /api/v4/group/{id}/-/packages/composer/packages using an authenticated GET request by default. The returned data shape matches the GitLab API response for Composer packages of a group. Errors and pagination behavior depend on the underlying GitLab API and are not explicitly handled by the node.

Examples

Example 1: List Composer packages for group with ID 42

Set 'id' path parameter to '42', use default GitLab credential for authentication, ensure method is GET.

Links

Discussion