GitLab API

GitlabTool

Actions1095

Merge_requests → getApiV4ProjectsIdMergeRequestsMergeRequestIidCommits

AI-generated

Summary

Retrieve the list of commits in a specific merge request identified by project ID and merge request IID from GitLab.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the merge request.
  • merge_request_iid (required) — The internal ID (IID) of the merge request from which to fetch commits.
  • skipAuthentication — Optional boolean to skip using authentication for the request.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use; defaults to GET.

Output shape

a list of commit objects associated with the specified merge request

The output corresponds to the data returned by the GitLab API endpoint GET /api/v4/projects/{id}/merge_requests/{merge_request_iid}/commits. Pagination and error handling depend on the underlying GitLab API and n8n's standard behavior.

Links

Discussion