diff --git a/Octokit.Reactive/Clients/IObservableRepositoryContentsClient.cs b/Octokit.Reactive/Clients/IObservableRepositoryContentsClient.cs
index 520bf118..45d07226 100644
--- a/Octokit.Reactive/Clients/IObservableRepositoryContentsClient.cs
+++ b/Octokit.Reactive/Clients/IObservableRepositoryContentsClient.cs
@@ -141,12 +141,12 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- /// The content path
/// The name of the commit/branch/tag. Default: the repository’s default branch (usually master)
+ /// The content path
///
/// A collection of representing the content at the specified path
///
- IObservable GetAllContentsByRef(string owner, string name, string path, string reference);
+ IObservable GetAllContentsByRef(string owner, string name, string reference, string path);
///
diff --git a/Octokit.Reactive/Clients/ObservableRepositoryContentsClient.cs b/Octokit.Reactive/Clients/ObservableRepositoryContentsClient.cs
index 7f818ca0..f45de373 100644
--- a/Octokit.Reactive/Clients/ObservableRepositoryContentsClient.cs
+++ b/Octokit.Reactive/Clients/ObservableRepositoryContentsClient.cs
@@ -211,17 +211,17 @@ namespace Octokit.Reactive
///
/// The owner of the repository
/// The name of the repository
- /// The content path
/// The name of the commit/branch/tag. Default: the repository’s default branch (usually master)
+ /// The content path
///
/// A collection of representing the content at the specified path
///
- public IObservable GetAllContentsByRef(string owner, string name, string path, string reference)
+ public IObservable GetAllContentsByRef(string owner, string name, string reference, string path)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
Ensure.ArgumentNotNullOrEmptyString(name, "name");
- Ensure.ArgumentNotNullOrEmptyString(path, "path");
Ensure.ArgumentNotNullOrEmptyString(reference, "reference");
+ Ensure.ArgumentNotNullOrEmptyString(path, "path");
return _client.Connection.GetAndFlattenAllPages(ApiUrls.RepositoryContent(owner, name, path, reference));
}