GitLab API

GitlabTool

Actions1000

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 release asset information, such as download links or related resources, for a given project and release tag in GitLab. For example, it can be used to automate release management workflows or integrate release data into other systems.

Use Case Examples

  1. Fetch all asset links for the release tagged 'v1.0' in project with ID '12345'.
  2. Paginate through asset links of a release to display or process them in batches.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public projects or testing.
Authentication Type of authentication to use, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters for pagination such as 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 - Boolean indicating if the link is external.
  • link_type - Type of the link (e.g., 'other', 'runbook').
  • created_at - Timestamp when the asset link was created.
  • updated_at - Timestamp when the asset link was last updated.

Dependencies

  • GitLab API key credential

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, per_page) should be valid integers; invalid values may cause errors or unexpected results.

Links

Discussion