GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves asset links associated with a specific release tag in a GitLab project. It is useful for scenarios where you need to programmatically access or manage release assets, such as downloading release files or integrating release data into other workflows. For example, you can use it to fetch all downloadable links for a release to automate deployment or reporting processes.

Use Case Examples

  1. Fetch all asset links for a release tagged 'v1.0' in a project with ID '12345'.
  2. Automate retrieval of release asset URLs to integrate with a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters for pagination, including page number and items per page.
Path Parameters Required path parameters to specify the project and release tag.

Output

JSON

  • id - Unique identifier of the asset link.
  • name - Name of the asset link.
  • url - URL of the asset link.
  • external - Indicates if the link is external.
  • link_type - Type of the link (e.g., other, runbook, image).
  • created_at - Timestamp when the asset link was created.
  • updated_at - Timestamp when the asset link was last updated.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the project ID and tag name are correctly URL-encoded to avoid 404 errors.
  • Check that the GitLab API token has sufficient permissions to access release assets.
  • Verify the base URL is correct for self-hosted GitLab instances to prevent connection errors.

Links

Discussion