RepositoryPageBuildsLatest() public static method

Returns the Uri for getting the build metadata for the last build for a given repository
public static RepositoryPageBuildsLatest ( long repositoryId ) : Uri
repositoryId long The Id of the repository
return Uri
        /// <summary>
        /// Gets the build metadata for the last build for a given repository
        /// </summary>
        /// <param name="owner">The owner of the repository</param>
        /// <param name="name">The name of the repository</param>
        ///  <remarks>
        /// See the <a href="https://developer.github.com/v3/repos/pages/#list-latest-pages-build">API documentation</a> for more information.
        /// </remarks>
        public Task <PagesBuild> GetLatest(string owner, string name)
        {
            Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
            Ensure.ArgumentNotNullOrEmptyString(name, "name");

            return(ApiConnection.Get <PagesBuild>(ApiUrls.RepositoryPageBuildsLatest(owner, name)));
        }
 /// <summary>
 /// Gets the build metadata for the last build for a given repository
 /// </summary>
 /// <param name="repositoryId">The Id of the repository</param>
 ///  <remarks>
 /// See the <a href="https://developer.github.com/v3/repos/pages/#list-latest-pages-build">API documentation</a> for more information.
 /// </remarks>
 public Task <PagesBuild> GetLatest(int repositoryId)
 {
     return(ApiConnection.Get <PagesBuild>(ApiUrls.RepositoryPageBuildsLatest(repositoryId)));
 }