GitLab API icon

GitLab API

Gitlab

Actions1062

Badges → getApiV4GroupsIdBadges

AI-generated

Summary

Retrieve badges of a specified GitLab group using the group's ID or URL-encoded path, optionally filtering and paginating the results.

Inputs

  • id (required) — The ID or URL-encoded path of the group owned by the authenticated user. This path parameter determines which group's badges to retrieve.
  • page — The current page number for paginated results. Defaults to 1 if not set.
  • per_page — The number of badge items to return per page. Defaults to 20 if not specified.
  • name — Filter badges by name.
  • skipAuthentication — Optionally skip authentication; default is false meaning authentication is used.
  • baseUrl — Base URL of the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use for the request; default is GET.

Output shape

a JSON array of badge objects associated with the specified group

The output corresponds to the response from the GET request to /api/v4/groups/{id}/badges. Supports pagination via 'page' and 'per_page' query parameters. Filtering by badge name is supported via the 'name' query parameter.

Links

Discussion