GitLab API icon

GitLab API

Gitlab

Actions1062

Badges → getApiV4GroupsIdBadgesRender

AI-generated

Summary

Render a group badge in GitLab by sending a GET request to the group's badges render endpoint, specifying required group ID and badge URLs as query parameters.

Inputs

  • id (required) — The ID or URL-encoded path of the group owned by the authenticated user.
  • link_url (required) — URL of the badge link.
  • image_url (required) — URL of the badge image.
  • skipAuthentication — Whether to skip authentication; defaults to false.
  • baseUrl — Base GitLab URL; defaults to https://gitlab.com.
  • method — HTTP method to use; defaults to GET.

Output shape

a binary or text response representing the rendered badge image or content

Returns the rendered badge content from the GitLab API for the specified group and parameters. This endpoint requires authentication unless skipped via input and uses the base URL from credentials or override. No pagination or envelope is applied.

Examples

Example 1: Render a badge for group 'my-group' with specified badge image and link URLs

Set 'id' to 'my-group', 'link_url' to the badge's target URL, 'image_url' to the badge's image URL, use default GET method and baseUrl, and authenticate with GitLab credentials.

Links

Discussion