GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves asset links associated with a specific release tag in a GitLab project using the GitLab API. It is useful for automating the process of fetching release asset information, such as download links or related resources, for a given project and release tag. Practical examples include integrating release asset data into CI/CD pipelines, monitoring release contents, or aggregating release information for reporting.

Use Case Examples

  1. Fetch asset links for a release tag 'v1.0' in project with ID '12345' to automate deployment processes.
  2. Retrieve paginated asset links for a specific release to display in a custom dashboard.

Properties

Name Meaning
Skip Authentication Option to skip API authentication, useful for public projects or testing.
Authentication Type of authentication used for the API request, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method used for the API request, default is GET.
Query Parameters Optional query parameters for pagination such as page number and items per page.
Path Parameters Required path parameters identifying the project and release tag.

Output

JSON

  • id - The project ID or identifier used in the request path.
  • tag_name - The release tag name used in the request path.
  • assets_links - Array of asset link objects associated with the release, containing details such as URL, name, and link type.

Dependencies

  • GitLab API key credential for authentication unless skipping authentication.

Troubleshooting

  • Ensure the project ID and tag name are correctly URL-encoded and valid to avoid 404 errors.
  • If authentication is required, verify that the GitLab API key credential is correctly configured and has sufficient permissions.
  • Pagination parameters (page and per_page) should be valid integers; invalid values may cause errors or unexpected results.

Links

Discussion