GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the latest release permalink for a specified project from the GitLab API, optionally appending a suffix path to the release URL. It is useful for automation workflows that need to fetch the most recent release information of a project hosted on GitLab, such as deployment pipelines, release monitoring, or integration with other tools.

Use Case Examples

  1. Fetch the latest release permalink for a project by its ID to trigger a deployment process.
  2. Retrieve the latest release URL with a specific suffix path to access additional release assets or metadata.

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 send the request to, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Query Parameters.suffix_path The path to be suffixed to the latest release URL, allowing access to specific release assets or metadata.
Path Parameters.id The ID or URL-encoded path of the project whose latest release permalink is being retrieved.

Output

JSON

  • id - The project ID or URL-encoded path used in the request.
  • suffix_path - The suffix path appended to the latest release permalink.
  • release - The latest release information retrieved from the GitLab API, including details such as tag name, description, and release assets.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID is correctly URL-encoded to avoid 404 errors.
  • Verify that the GitLab API key credential has sufficient permissions to access project release information.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to release data.
  • Check the suffix_path parameter for correct formatting to avoid malformed URLs.

Links

Discussion