diff --git a/MediaBrowser.Api/PluginService.cs b/MediaBrowser.Api/PluginService.cs index f3f0b3a8f..33c09bbfe 100644 --- a/MediaBrowser.Api/PluginService.cs +++ b/MediaBrowser.Api/PluginService.cs @@ -23,21 +23,6 @@ namespace MediaBrowser.Api { } - /// - /// Class GetPluginAssembly - /// - [Route("/Plugins/{Id}/Assembly", "GET")] - [Api(("Gets a plugin assembly file"))] - public class GetPluginAssembly - { - /// - /// Gets or sets the id. - /// - /// The id. - [ApiMember(Name = "Id", Description = "Plugin Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] - public Guid Id { get; set; } - } - /// /// Class UninstallPlugin /// @@ -89,21 +74,6 @@ namespace MediaBrowser.Api public Stream RequestStream { get; set; } } - /// - /// Class GetPluginConfigurationFile - /// - [Route("/Plugins/{Id}/ConfigurationFile", "GET")] - [Api(("Gets a plugin's configuration file, in plain text"))] - public class GetPluginConfigurationFile - { - /// - /// Gets or sets the id. - /// - /// The id. - [ApiMember(Name = "Id", Description = "Plugin Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] - public Guid Id { get; set; } - } - /// /// Class GetPluginSecurityInfo /// @@ -201,18 +171,6 @@ namespace MediaBrowser.Api return ToOptimizedResult(result); } - /// - /// Gets the specified request. - /// - /// The request. - /// System.Object. - public object Get(GetPluginAssembly request) - { - var plugin = _appHost.Plugins.First(p => p.Id == request.Id); - - return ResultFactory.GetStaticFileResult(RequestContext, plugin.AssemblyFilePath); - } - /// /// Gets the specified request. /// @@ -229,18 +187,6 @@ namespace MediaBrowser.Api return ToOptimizedResultUsingCache(cacheKey, dateModified, null, () => plugin.Configuration); } - /// - /// Gets the specified request. - /// - /// The request. - /// System.Object. - public object Get(GetPluginConfigurationFile request) - { - var plugin = _appHost.Plugins.First(p => p.Id == request.Id); - - return ResultFactory.GetStaticFileResult(RequestContext, plugin.ConfigurationFilePath); - } - /// /// Gets the specified request. ///