GitLab API

GitlabTool

Actions1095

Commits → getApiV4ProjectsIdRepositoryCommitsSha

AI-generated

Summary

Retrieves a GitLab project commit by commit SHA, branch name, or tag. Provide the project ID or URL-encoded path and the commit reference; the optional stats query controls whether commit statistics are included.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips the GitLab API credential; otherwise the node uses its GitLab API authentication credential.
  • baseUrl — Defaults to https://gitlab.com. The node source says the actual base URL is defined in the GitLab API credential.
  • Method — HTTP method selector, defaulting to GET. The operation path is for retrieving a commit.
  • Id (required) — Project ID or URL-encoded project path.
  • Sha (required) — Commit SHA, branch name, or tag name.
  • Stats — Query parameter for including commit statistics. The schema default is true; the visible query field has an empty-string default.

Output shape

A GitLab API response for the specified commit.

The source pack delegates request execution and response shaping to OpenApiToolNode; it does not expose the response fields or establish pagination.

Links

Discussion