GitLab API icon

GitLab API

Gitlab

Actions1062

Nuget_packages → getApiV4ProjectsIdPackagesNugetDownload*packageNameIndex

AI-generated

Summary

Download a NuGet package index file from a specified GitLab project using the package name and project ID or path.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project from which to download the NuGet package index.
  • package_name (required) — The name of the NuGet package to download, typically including the version and .nupkg extension.
  • skipAuthentication — Optionally skip authentication for the API request.
  • baseUrl — Base URL for the GitLab instance, defaulting to https://gitlab.com.
  • method — HTTP method to use for the request, default is GET.

Output shape

a binary file stream representing the downloaded NuGet package index file

The response is the raw file content as obtained from the API endpoint /api/v4/projects/{id}/packages/nuget/download/*package_name/index. Authentication is used by default unless 'Skip Authentication' is enabled.

Links

Discussion