Skip to content

Retrieve a badge for a group

GET
/api/v4/groups/{id}/badges/{badge_id}

Retrieves a specified badge for a group.

id
required
string

The ID or URL-encoded path of the group owned by the authenticated user.

badge_id
required
integer

The badge ID

OK

Media type application/json
object
name
string
link_url
string
image_url
string
rendered_link_url
string
rendered_image_url
string
id
integer format: int64
kind
string
Example
{
"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",
"id": 1,
"kind": "project"
}

Bad Request

Not Found