GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to manage release asset links for a specific project release identified by a project ID and a release tag name. It supports the operation to post (create) new asset links for a release, which is useful for adding downloadable links or references to external resources associated with a release in GitLab. Practical use cases include automating the addition of release notes, binaries, or documentation links to a GitLab release.

Use Case Examples

  1. Automatically add a download link to a release asset after a CI/CD pipeline completes.
  2. Create links to external resources such as documentation or changelogs for a specific release in a GitLab project.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public endpoints or testing.
Authentication Type of authentication used, here it is GitLab API authentication, hidden if skipping authentication is enabled.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but POST is used for creating release asset links.
Path Parameters Parameters for the API path including the project ID and the release tag name to identify the release for which asset links are managed.

Output

JSON

  • id - The ID of the created release asset link.
  • name - The name of the release asset link.
  • url - The URL of the release asset link.
  • created_at - Timestamp when the asset link was created.
  • updated_at - Timestamp when the asset link was last updated.

Dependencies

  • GitLab API credentials for authentication

Troubleshooting

  • Ensure the project ID and tag name are correctly URL-encoded and valid in GitLab to avoid 404 errors.
  • Authentication errors may occur if the API token is missing or invalid; verify credentials are correctly configured.
  • Check that the request body schema matches the expected format for creating release asset links to prevent validation errors.

Links

Discussion