GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves a specific release asset link from a GitLab project using the GitLab API. It is useful for scenarios where you need to fetch detailed information about a particular asset link associated with a release tag in a project, such as for automation workflows that manage or audit release assets.

Use Case Examples

  1. Fetching a download link for a release asset to include in a deployment pipeline.
  2. Retrieving metadata about a release asset link for reporting or validation purposes.

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 authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters required in the URL path to identify the project, release tag, and asset link.

Output

JSON

  • id - The unique identifier of the release asset link.
  • name - The name of the release asset link.
  • url - The URL of the release asset link.
  • external - Indicates if the link is external.
  • link_type - The type of the link.
  • created_at - Timestamp when the link was created.
  • updated_at - Timestamp when the link was last updated.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the project ID, tag name, and link ID are correctly provided and URL-encoded if necessary.
  • Verify that the authentication token has sufficient permissions to access the project's release assets.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 404 Not Found if the resource does not exist or 401 Unauthorized if authentication fails.

Links

Discussion