示例#1
0
 /// <summary>
 /// Gets the commit information associated with a repository. By default, this call returns all the commits
 /// across all branches, bookmarks, and tags. The newest commit is first.
 /// </summary>
 /// <param name="accountName">The team or individual account owning the repo.</param>
 /// <param name="repoSlug">The repo identifier.</param>
 /// <param name="options">The options for the call to the API.</param>
 public BitBucketCommitsResponse GetCommits(string accountName, string repoSlug, BitBucketCommitsOptions options)
 {
     return(BitBucketCommitsResponse.ParseResponse(Raw.GetCommits(accountName, repoSlug, options)));
 }
示例#2
0
 /// <summary>
 /// Gets the commit information associated with a repository. By default, this call returns all the commits
 /// across all branches, bookmarks, and tags. The newest commit is first.
 /// </summary>
 /// <param name="accountName">The team or individual account owning the repo.</param>
 /// <param name="repoSlug">The repo identifier.</param>
 /// <param name="page">The page.</param>
 public BitBucketCommitsResponse GetCommits(string accountName, string repoSlug, int page = 0)
 {
     return(BitBucketCommitsResponse.ParseResponse(Raw.GetCommits(accountName, repoSlug, page)));
 }