GitLab API

GitlabTool

Actions1000

Overview

This node operation allows creating a new release in a specified GitLab project by making a POST request to the GitLab API endpoint `/api/v4/projects/{id}/releases`. It is useful for automating release management workflows in GitLab projects, such as tagging new versions or publishing release notes programmatically.

Use Case Examples

  1. Automatically create a release when a new version of your software is ready.
  2. Integrate release creation into a CI/CD pipeline to streamline deployment processes.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API access.
Authentication Select the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is POST for this operation.
Path Parameters Parameters to specify the project ID or URL-encoded path where the release will be created.

Output

JSON

  • id - The ID or URL-encoded path of the project where the release is created
  • tag_name - The tag name for the release
  • description - Description or release notes associated with 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 path is correctly URL-encoded and valid to avoid 404 errors.
  • Verify that the authentication token has sufficient permissions to create releases in the specified project.
  • Check the request body schema matches the expected format to prevent validation errors from the API.

Links

Discussion