GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves detailed information about a specific tag in a GitLab project's repository using the GitLab API v4. It is useful for scenarios where you need to fetch metadata or details about a particular tag within a project, such as in release management, version tracking, or automation workflows involving Git tags.

Use Case Examples

  1. Fetch details of a release tag named 'v1.0' in a project with ID '12345' to automate deployment processes.
  2. Retrieve tag information to verify the existence and metadata of a tag before triggering CI/CD pipelines.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public repositories or testing.
Authentication Type of authentication used for the request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the project ID and tag name for the API request.

Output

JSON

  • id - The ID or URL-encoded path of the project.
  • tag_name - The name of the tag.
  • message - The message associated with the tag, if any.
  • commit - Details about the commit the tag points to.
  • release - Release information associated with the tag, if available.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and tag name are correctly URL-encoded to avoid 404 errors.
  • If authentication is required, verify that the GitLab API key credential is correctly configured and has sufficient permissions.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct and accessible.

Links

Discussion