GitLab API

GitlabTool

Actions1095

Composer_packages → getApiV4ProjectsIdPackagesComposerArchives*packageName

AI-generated

Summary

Retrieves a Composer package archive for a GitLab project using the project ID or URL-encoded path, package name, and Composer metadata SHA. Sends the request to the configured GitLab base URL with the selected HTTP method; authentication is used unless skipped.

Inputs

  • Skip Authentication — When enabled, skips GitLab API authentication; otherwise the GitLab API credential is used.
  • Base URL — GitLab instance base URL; defaults to https://gitlab.com. The node source notes that the actual base URL is defined by the GitLab API credential.
  • Method — HTTP method for the request; defaults to GET. Available methods are GET, POST, PUT, DELETE, HEAD, and PATCH.
  • id (required) — Project ID or URL-encoded project path.
  • sha (required) — Shasum of the current composer.json file.
  • package_name (required) — Composer package name.

Output shape

An HTTP response from the GitLab API, typically the package archive as binary data.

The operation defines no request body. The supplied source shows request configuration but not response handling, so the exact n8n output format is not established.

Links

Discussion