GitLab API icon

GitLab API

Gitlab

Actions1062

Merge_requests → getApiV4ProjectsIdMergeRequestsMergeRequestIidCommits

AI-generated

Summary

Retrieve the list of commits associated with a specific merge request in a GitLab project by providing the project ID or URL-encoded path and the merge request IID.

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 whose commits will be fetched.
  • Skip Authentication — Option to disable authentication for this request, default is false.
  • baseUrl — The base URL of the GitLab instance, default is https://gitlab.com.
  • Method — HTTP method to use for the request; default and typical value is GET.

Output shape

a list of commit objects associated with the specified merge request

The operation returns the commits related to the merge request identified by the given project ID and merge request IID. Authentication is required by default unless explicitly skipped. No pagination details are specified.

Links

Discussion