GitHub api to obtain last N number of commits
<p>Is it possible to obtain last N number of commits to a particular branch in a GitHub repository using GitHub API ?</p>
<p>I just found few GitHub api details regarding the commits <a href="https://developer.github.com/v3/repos/commits/" rel="nofollow noreferrer">here</a>, but none of them are giving details about last N number of commits!</p>
<p>Anyone can provide a better idea about this ?</p>
<p>Also, Is it possible to identify the changed file type during the last commit from a user ?</p>