GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves repository tags for a specific project from the GitLab API (version 4). It is useful for scenarios where you need to list or manage tags in a GitLab project repository, such as automation workflows that monitor or act on repository tags.

Use Case Examples

  1. Fetch all tags of a GitLab project to display in a dashboard.
  2. Automate deployment processes by retrieving the latest tags from a repository.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, 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.
Query Parameters Optional query parameters to filter and paginate the tags list.
Path Parameters Path parameter specifying the project ID or URL-encoded path to identify the project.

Output

JSON

  • id - The ID or URL-encoded path of the project used in the request.
  • tags - List of repository tags returned by the GitLab API, including tag details such as name, commit, and release information.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID or path is correctly URL-encoded and valid to avoid 404 errors.
  • Verify that the API key has sufficient permissions to access the project's repository tags.
  • Check network connectivity and base URL correctness if requests fail to reach the GitLab server.

Links

Discussion