I am able to retrieve the commits for a file using the below URL.
https://gitlab.aws.site.domain.com/api/v4/projects/68456/repository/commits?path=testflow/flow.java
But adding the optional parameter all, ends up with empty array.
https://gitlab.aws.site.domain.com/api/v4/projects/68456/repository/commits?path=testflow/flow.java&all=true
Calling with just path
will get me latest results ? and is all
not for all commits across branches. I thought if ref_name is not passed it takes the default. I tried the above apis with ref_name too but the same responses.
I checked further for few of the other project files, adding all
gets me back lesser results as compared to without all
parameter.