mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
Merge remote-tracking branch 'upstream/dev'
This commit is contained in:
commit
cd2c9a40e5
283 changed files with 10998 additions and 1985 deletions
9
Ombi.Api.Interfaces/IAppveyorApi.cs
Normal file
9
Ombi.Api.Interfaces/IAppveyorApi.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using Ombi.Api.Models.Appveyor;
|
||||
|
||||
namespace Ombi.Api.Interfaces
|
||||
{
|
||||
public interface IAppveyorApi
|
||||
{
|
||||
AppveyorProjects GetProjectHistory(string branchName, int records = 10);
|
||||
}
|
||||
}
|
19
Ombi.Api.Interfaces/IEmbyApi.cs
Normal file
19
Ombi.Api.Interfaces/IEmbyApi.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Ombi.Api.Models.Emby;
|
||||
|
||||
namespace Ombi.Api.Interfaces
|
||||
{
|
||||
public interface IEmbyApi
|
||||
{
|
||||
EmbyItemContainer<EmbyMovieItem> GetAllMovies(string apiKey, string userId, Uri baseUri);
|
||||
EmbyItemContainer<EmbySeriesItem> GetAllShows(string apiKey, string userId, Uri baseUri);
|
||||
EmbyItemContainer<EmbyEpisodeItem> GetAllEpisodes(string apiKey, string userId, Uri baseUri);
|
||||
EmbyItemContainer<EmbyMovieInformation> GetCollection(string mediaId, string apiKey, string userId, Uri baseUrl);
|
||||
List<EmbyUser> GetUsers(Uri baseUri, string apiKey);
|
||||
EmbyItemContainer<EmbyLibrary> ViewLibrary(string apiKey, string userId, Uri baseUri);
|
||||
EmbyInformation GetInformation(string mediaId, EmbyMediaType type, string apiKey, string userId, Uri baseUri);
|
||||
EmbyUser LogIn(string username, string password, string apiKey, Uri baseUri);
|
||||
EmbySystemInfo GetSystemInformation(string apiKey, Uri baseUrl);
|
||||
}
|
||||
}
|
|
@ -8,8 +8,9 @@ namespace Ombi.Api.Interfaces
|
|||
public interface IRadarrApi
|
||||
{
|
||||
RadarrAddMovie AddMovie(int tmdbId, string title, int year, int qualityId, string rootPath, string apiKey, Uri baseUrl, bool searchNow = false);
|
||||
List<RadarrMovieResponse> GetMovies(string apiKey, Uri baseUrl);
|
||||
RadarrMovieContainer GetMovies(string apiKey, Uri baseUrl);
|
||||
List<SonarrProfile> GetProfiles(string apiKey, Uri baseUrl);
|
||||
SystemStatus SystemStatus(string apiKey, Uri baseUrl);
|
||||
List<SonarrRootFolder> GetRootFolders(string apiKey, Uri baseUrl);
|
||||
}
|
||||
}
|
|
@ -54,8 +54,10 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="IApiRequest.cs" />
|
||||
<Compile Include="IAppveyorApi.cs" />
|
||||
<Compile Include="ICouchPotatoApi.cs" />
|
||||
<Compile Include="IDiscordApi.cs" />
|
||||
<Compile Include="IEmbyApi.cs" />
|
||||
<Compile Include="IHeadphonesApi.cs" />
|
||||
<Compile Include="IMusicBrainzApi.cs" />
|
||||
<Compile Include="INetflixApi.cs" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue