List all badges for a project
GET
/api/v4/projects/{id}/badges
Lists all badges for a specified project, including group badges.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
The ID or URL-encoded path of the project owned by the authenticated user.
Query Parameters
Section titled “Query Parameters”page
integer
Current page number
Example
1per_page
integer
Number of items per page
Example
20name
string
Name for the badge
Responses
Section titled “Responses”OK
Media typeapplication/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