GitLab API icon

GitLab API

Gitlab

Actions1062

Group_packages → getApiV4GroupsIdPackages

AI-generated

Summary

Retrieve a paginated list of packages belonging to a specified GitLab group, with various optional filters for package type, name, version, status, ordering, and inclusion of subgroups.

Inputs

  • id (required) — ID or URL-encoded path of the group to fetch packages from.
  • exclude_subgroups — Boolean flag to exclude packages from subgroups.
  • page — Page number for pagination of results.
  • per_page — Number of package items to return per page.
  • order_by — Field to order the returned packages by (created_at, name, version, type, project_path). Defaults to created_at.
  • sort — Sort direction for the returned packages (asc or desc). Defaults to asc.
  • package_type — Filter packages by specified type (e.g., maven, npm, conan, etc.).
  • package_name — Filter packages by exact package name.
  • package_version — Filter packages by exact package version.
  • include_versionless — Include packages without a version when set to true.
  • status — Filter packages by status (default, hidden, processing, error, pending_destruction, deprecated).

Output shape

a paginated list of package objects for the specified group

Supports pagination via 'page' and 'per_page' query parameters. Optional filters can limit or order results. The endpoint requires authentication unless 'Skip Authentication' is set to true.

Links

Discussion