diff --git a/Octokit.Reactive/Clients/IObservableRepositoryTrafficClient.cs b/Octokit.Reactive/Clients/IObservableRepositoryTrafficClient.cs
index 5d027e1396..9592e9921d 100644
--- a/Octokit.Reactive/Clients/IObservableRepositoryTrafficClient.cs
+++ b/Octokit.Reactive/Clients/IObservableRepositoryTrafficClient.cs
@@ -10,23 +10,6 @@ namespace Octokit.Reactive
///
public interface IObservableRepositoryTrafficClient
{
- ///
- /// List the top 10 referrers over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-referrers
- /// The owner of the repository
- /// The name of the repository
- [Obsolete("Please use GetAllReferrers instead")]
- IObservable GetReferrers(string owner, string name);
-
- ///
- /// List the top 10 referrers over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-referrers
- /// The owner of the repository
- [Obsolete("Please use GetAllReferrers instead")]
- IObservable GetReferrers(long repositoryId);
-
///
/// List the top 10 referrers over the last 14 days
///
@@ -42,23 +25,6 @@ public interface IObservableRepositoryTrafficClient
/// The owner of the repository
IObservable GetAllReferrers(long repositoryId);
- ///
- /// List the top 10 popular contents over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-paths
- /// The owner of the repository
- /// The name of the repository
- [Obsolete("Please use GetAllPaths instead")]
- IObservable GetPaths(string owner, string name);
-
- ///
- /// List the top 10 popular contents over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-paths
- /// The owner of the repository
- [Obsolete("Please use GetAllPaths instead")]
- IObservable GetPaths(long repositoryId);
-
///
/// List the top 10 popular contents over the last 14 days
///
diff --git a/Octokit.Reactive/Clients/ObservableRepositoryTrafficClient.cs b/Octokit.Reactive/Clients/ObservableRepositoryTrafficClient.cs
index b37373ce75..ef160d24f4 100644
--- a/Octokit.Reactive/Clients/ObservableRepositoryTrafficClient.cs
+++ b/Octokit.Reactive/Clients/ObservableRepositoryTrafficClient.cs
@@ -15,29 +15,6 @@ public ObservableRepositoryTrafficClient(IGitHubClient client)
_client = client.Repository.Traffic;
}
- ///
- /// List the top 10 popular contents over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-paths
- /// The owner of the repository
- [Obsolete("Please use GetAllPaths instead")]
- public IObservable GetPaths(long repositoryId)
- {
- return GetAllPaths(repositoryId);
- }
-
- ///
- /// List the top 10 popular contents over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-paths
- /// The owner of the repository
- /// The name of the repository
- [Obsolete("Please use GetAllPaths instead")]
- public IObservable GetPaths(string owner, string name)
- {
- return GetAllPaths(owner, name);
- }
-
///
/// List the top 10 popular contents over the last 14 days
///
@@ -62,29 +39,6 @@ public IObservable GetAllPaths(string owner, string name)
return _client.GetAllPaths(owner, name).ToObservable().SelectMany(x => x);
}
- ///
- /// List the top 10 referrers over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-referrers
- /// The owner of the repository
- [Obsolete("Please use GetAllReferrers instead")]
- public IObservable GetReferrers(long repositoryId)
- {
- return GetAllReferrers(repositoryId);
- }
-
- ///
- /// List the top 10 referrers over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-referrers
- /// The owner of the repository
- /// The name of the repository
- [Obsolete("Please use GetAllReferrers instead")]
- public IObservable GetReferrers(string owner, string name)
- {
- return GetAllReferrers(owner, name);
- }
-
///
/// List the top 10 referrers over the last 14 days
///
diff --git a/Octokit/Clients/IRepositoryTrafficClient.cs b/Octokit/Clients/IRepositoryTrafficClient.cs
index a6f9d3d327..343680f5d5 100644
--- a/Octokit/Clients/IRepositoryTrafficClient.cs
+++ b/Octokit/Clients/IRepositoryTrafficClient.cs
@@ -12,29 +12,6 @@ namespace Octokit
///
public interface IRepositoryTrafficClient
{
- ///
- /// List the top 10 referrers over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-referrers
- /// The owner of the repository
- /// The name of the repository
- [Obsolete("Please use GetAllReferrers instead")]
- Task> GetReferrers(string owner, string name);
-
- ///
- /// List the top 10 referrers over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-referrers
- /// The owner of the repository
- [Obsolete("Please use GetAllReferrers instead")]
- Task> GetReferrers(long repositoryId);
-
- ///
- /// List the top 10 referrers over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-referrers
- /// The owner of the repository
- /// The name of the repository
[ExcludeFromPaginationApiOptionsConventionTest("Pagination not supported by GitHub API (tested 29/08/2017)")]
Task> GetAllReferrers(string owner, string name);
@@ -46,23 +23,6 @@ public interface IRepositoryTrafficClient
[ExcludeFromPaginationApiOptionsConventionTest("Pagination not supported by GitHub API (tested 29/08/2017)")]
Task> GetAllReferrers(long repositoryId);
- ///
- /// List the top 10 popular contents over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-paths
- /// The owner of the repository
- /// The name of the repository
- [Obsolete("Please use GetAllPaths instead")]
- Task> GetPaths(string owner, string name);
-
- ///
- /// List the top 10 popular contents over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-paths
- /// The owner of the repository
- [Obsolete("Please use GetAllPaths instead")]
- Task> GetPaths(long repositoryId);
-
///
/// List the top 10 popular contents over the last 14 days
///
diff --git a/Octokit/Clients/RepositoryTrafficClient.cs b/Octokit/Clients/RepositoryTrafficClient.cs
index 3b5199b1a8..89ffe02733 100644
--- a/Octokit/Clients/RepositoryTrafficClient.cs
+++ b/Octokit/Clients/RepositoryTrafficClient.cs
@@ -10,29 +10,6 @@ public RepositoryTrafficClient(IApiConnection apiConnection) : base(apiConnectio
{
}
- ///
- /// List the top 10 popular contents over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-paths
- /// The owner of the repository
- [Obsolete("Please use GetAllPaths instead")]
- public Task> GetPaths(long repositoryId)
- {
- return GetAllPaths(repositoryId);
- }
-
- ///
- /// List the top 10 popular contents over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-paths
- /// The owner of the repository
- /// The name of the repository
- [Obsolete("Please use GetAllPaths instead")]
- public Task> GetPaths(string owner, string name)
- {
- return GetAllPaths(owner, name);
- }
-
///
/// List the top 10 popular contents over the last 14 days
///
@@ -57,29 +34,6 @@ public Task> GetAllPaths(string owner, stri
return ApiConnection.GetAll(ApiUrls.RepositoryTrafficPaths(owner, name), AcceptHeaders.RepositoryTrafficApiPreview);
}
- ///
- /// List the top 10 referrers over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-referrers
- /// The owner of the repository
- [Obsolete("Please use GetAllReferrers instead")]
- public Task> GetReferrers(long repositoryId)
- {
- return GetAllReferrers(repositoryId);
- }
-
- ///
- /// List the top 10 referrers over the last 14 days
- ///
- /// https://developer.github.com/v3/repos/traffic/#list-referrers
- /// The owner of the repository
- /// The name of the repository
- [Obsolete("Please use GetAllReferrers instead")]
- public Task> GetReferrers(string owner, string name)
- {
- return GetAllReferrers(owner, name);
- }
-
///
/// List the top 10 referrers over the last 14 days
///