badges
Retrieve a badge preview for a group
Previews the final link_url and image_url for a specified group after resolving the placeholder interpolation.
get/api/v4/groups/{id}/badges/render
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the group owned by the authenticated user.
Query parameters
link_urlstring required
URL of the badge link
image_urlstring required
URL of the badge image
Response
Retrieve a badge preview for a group
Example response
{
"name": "Pipeline Status",
"link_url": "https://example.gitlab.com",
"image_url": "https://example.gitlab.com",
"rendered_link_url": "https://example.gitlab.com",
"rendered_image_url": "https://example.gitlab.com"
}Changes
No recorded changes to this operation across all 5 revisions of this API.