/// <summary> /// Gets GitHub Enterprise Pages statistics (must be Site Admin user). /// </summary> /// <remarks> /// https://developer.github.com/v3/enterprise/admin_stats/#get-statistics /// </remarks> /// <returns>The <see cref="AdminStatsPages"/> statistics.</returns> public async Task <AdminStatsPages> GetStatisticsPages() { var endpoint = ApiUrls.EnterpriseAdminStatsPages(); return(await ApiConnection.Get <AdminStatsPages>(endpoint) .ConfigureAwait(false)); }
public Task <AdminStatsPages> GetStatisticsPages() { var endpoint = ApiUrls.EnterpriseAdminStatsPages(); return(ApiConnection.Get <AdminStatsPages>(endpoint)); }