GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves a specific badge from a GitLab group using the GitLab API. It is useful for scenarios where you need to fetch detailed information about a particular badge associated with a group, such as for display in dashboards, audits, or integrations that manage group badges.

Use Case Examples

  1. Fetch a badge by its ID from a specific GitLab group to display badge details in a project management tool.
  2. Retrieve badge information to verify badge existence or properties before performing updates or deletions.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the request is sent, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters to specify the group ID or URL-encoded path and the badge ID to identify the badge to retrieve.

Output

JSON

  • id - The unique identifier of the badge.
  • name - The name of the badge.
  • image_url - The URL of the badge image.
  • link_url - The URL the badge links to.
  • group_id - The ID of the group to which the badge belongs.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and badge ID are correct and accessible by the authenticated user to avoid 404 Not Found errors.
  • If authentication is skipped, verify that the GitLab instance allows unauthenticated access to badge information.
  • Check the baseUrl is correctly set to the GitLab instance URL if using a self-hosted GitLab server.

Links

Discussion