Skip to content

How Do I Get Merge Request Commits After the First Page? #690

@trisys3

Description

@trisys3

The merge request commits API does not allow any options, but it seems that any commits after the first 20 are thrown out. Interestingly, the request still takes a longer time if there are more commits in the merge request.

For example, say I have a project called "my/project", and the first merge request on that project has more than 20 commits If I call Gitlab.client.merge_request_commits("my/project", 1).count, I get "20" as the result.

How do I get merge request commits after the first 20?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueSuitable for new contributors — welcome 😊help wantedGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions