GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to create a new release for a specified project. It is useful for automating release management workflows in GitLab, such as tagging new versions of software projects and publishing release notes. For example, it can be used in CI/CD pipelines to automatically create releases after successful builds.

Use Case Examples

  1. Automatically create a release in a GitLab project after a successful build.
  2. Manage project releases programmatically by specifying release details via the node.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method to use for the API request, default is GET but POST is used for creating releases.
Path Parameters Parameters included in the API request path, specifically the project ID or URL-encoded path required to identify the project for which the release is created.

Output

JSON

  • id - The unique identifier of the created release.
  • tag_name - The tag name associated with the release.
  • description - Description or release notes of the release.
  • created_at - Timestamp when the release was created.
  • released_at - Timestamp when the release was published.
  • author - Information about the author who created the release.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID or URL-encoded path is correctly provided in the path parameters; otherwise, the API request will fail.
  • Authentication errors may occur if the GitLab API key is missing or invalid; verify the API key credentials.
  • Check that the base URL is correct, especially if using a self-hosted GitLab instance.
  • API rate limits or permission issues may cause errors when creating releases; ensure the API key has sufficient permissions.

Links

Discussion