Gets a list of group badges viewable by the authenticated user.

GET /groups/{id}/badges

This feature was introduced in GitLab 10.6.

Path parameters

  • id string Required

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

Query parameters

  • page integer(int32)

    Current page number

    Default value is 1.

  • per_page integer(int32)

    Number of items per page

    Default value is 20.

  • name string

    Name for the badge

Responses

  • 200 application/json

    Gets a list of group badges viewable by the authenticated user.

    Hide response attributes Show response attributes object
    • name string
    • image_url string
    • rendered_image_url string
    • id string
    • kind string
GET /groups/{id}/badges
curl \
 --request GET 'https://www.gitlab.com/api/v4/groups/{id}/badges' \
 --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"
  }
]