badges

Retrieve a badge for a group

Retrieves a specified badge for a group.

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

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

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

badge_idinteger required

The badge ID

Response

Retrieve a badge for a group

namestring required
link_urlstring required
image_urlstring required
rendered_link_urlstring required
rendered_image_urlstring required
idinteger required
kindstring required

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",
  "id": 1,
  "kind": "project"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.