GitLab API

GitlabTool

Actions1095

Releases → getApiV4ProjectsIdReleasesTagNameDownloads*directAssetPath

AI-generated

Summary

Download a specific release asset file from a GitLab project's release using the project ID or path, the release tag name, and the asset's direct path as defined during the asset creation.

Inputs

  • id (required) — The ID or URL-encoded path of the project from which to download the release asset.
  • tag_name (required) — The Git tag name associated with the release.
  • direct_asset_path (required) — The path to the file to download as specified when creating the release asset.
  • method — HTTP method to use for the request, defaults to GET.
  • baseUrl — Optional base URL for the GitLab instance, defaults to https://gitlab.com.
  • skipAuthentication — Option to skip authentication; by default authentication is used via GitLab API credentials.

Output shape

binary data stream corresponding to the requested release asset file.

The operation returns the raw file data of the requested release asset. Authentication is required unless explicitly skipped. Only the specified asset file is returned, not metadata or a list.

Links

Discussion