Gets a badge of a project.
This feature was introduced in GitLab 10.6.
Path parameters
-
The ID or URL-encoded path of the project.
-
The badge ID
GET
/projects/{id}/badges/{badge_id}
curl \
--request GET 'https://www.gitlab.com/api/v4/projects/gitlab-org/gitlab/badges/{badge_id}' \
--header "Private-Token: $API_KEY"
Response examples (200)
{
"name": "string",
"link_url": "string",
"image_url": "string",
"rendered_link_url": "string",
"rendered_image_url": "string",
"id": "string",
"kind": "string"
}