code: public List<Commit> getCommits(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
          return (getCommits(projectIdOrPath, null, null, null, page, perPage));
      }
docs: Get a list of repository commits in a project.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/repository/commits</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param page the page to get
  @param perPage the number of commits per page
  @return a list containing the commits for the specified project ID
  @throws GitLabApiException GitLabApiException if any exception occurs during execution