using System; namespace Octokit.Reactive { /// /// A client for GitHub Applications Installations API. /// /// /// See the GitHub Apps Installations API documentation for more information. /// public interface IObservableGitHubAppInstallationsClient { /// /// List repositories of the authenticated GitHub App Installation (requires GitHubApp Installation-Token auth). /// /// https://developer.github.com/v3/apps/installations/#list-repositories IObservable GetAllRepositoriesForCurrent(); /// /// List repositories of the authenticated GitHub App Installation (requires GitHubApp Installation-Token auth). /// /// Options for changing the API response /// https://developer.github.com/v3/apps/installations/#list-repositories IObservable GetAllRepositoriesForCurrent(ApiOptions options); /// /// List repositories accessible to the user for an installation (requires GitHubApp User-To-Server Auth). /// /// The Id of the installation /// https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation IObservable GetAllRepositoriesForCurrentUser(long installationId); /// /// List repositories accessible to the user for an installation (requires GitHubApp User-To-Server Auth). /// /// The Id of the installation /// Options for changing the API response /// https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation IObservable GetAllRepositoriesForCurrentUser(long installationId, ApiOptions options); } }