GitLab API

GitlabTool

Actions1095

Go_proxy → getApiV4ProjectsIdPackagesGo*moduleName@vModuleVersionMod

AI-generated

Summary

Fetches a Go module version’s .mod file from a GitLab project using the configured HTTP method and base URL.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication.
  • Base URL — GitLab instance URL; defaults to https://gitlab.com. The node source notes the credential defines the base URL.
  • Method — HTTP method; defaults to GET. Options are GET, POST, PUT, DELETE, HEAD, and PATCH.
  • Project ID or full path (required) — Path parameter id identifying the GitLab project.
  • Module name (required) — Query parameter module_name naming the Go module.
  • Module version (required) — Path parameter module_version specifying the Go module version.

Output shape

A single HTTP response item containing the requested module version’s .mod file.

The request path is /api/v4/projects/{id}/packages/go/*module_name/@v/{module_version}.mod. The source pack does not show response parsing or error handling, so the exact returned item shape is not established.

Links

Discussion