aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/PluginService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/PluginService.cs')
-rw-r--r--MediaBrowser.Api/PluginService.cs54
1 files changed, 0 insertions, 54 deletions
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
@@ -24,21 +24,6 @@ namespace MediaBrowser.Api
}
/// <summary>
- /// Class GetPluginAssembly
- /// </summary>
- [Route("/Plugins/{Id}/Assembly", "GET")]
- [Api(("Gets a plugin assembly file"))]
- public class GetPluginAssembly
- {
- /// <summary>
- /// Gets or sets the id.
- /// </summary>
- /// <value>The id.</value>
- [ApiMember(Name = "Id", Description = "Plugin Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]
- public Guid Id { get; set; }
- }
-
- /// <summary>
/// Class UninstallPlugin
/// </summary>
[Route("/Plugins/{Id}", "DELETE")]
@@ -90,21 +75,6 @@ namespace MediaBrowser.Api
}
/// <summary>
- /// Class GetPluginConfigurationFile
- /// </summary>
- [Route("/Plugins/{Id}/ConfigurationFile", "GET")]
- [Api(("Gets a plugin's configuration file, in plain text"))]
- public class GetPluginConfigurationFile
- {
- /// <summary>
- /// Gets or sets the id.
- /// </summary>
- /// <value>The id.</value>
- [ApiMember(Name = "Id", Description = "Plugin Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]
- public Guid Id { get; set; }
- }
-
- /// <summary>
/// Class GetPluginSecurityInfo
/// </summary>
[Route("/Plugins/SecurityInfo", "GET")]
@@ -206,18 +176,6 @@ namespace MediaBrowser.Api
/// </summary>
/// <param name="request">The request.</param>
/// <returns>System.Object.</returns>
- public object Get(GetPluginAssembly request)
- {
- var plugin = _appHost.Plugins.First(p => p.Id == request.Id);
-
- return ResultFactory.GetStaticFileResult(RequestContext, plugin.AssemblyFilePath);
- }
-
- /// <summary>
- /// Gets the specified request.
- /// </summary>
- /// <param name="request">The request.</param>
- /// <returns>System.Object.</returns>
public object Get(GetPluginConfiguration request)
{
var plugin = _appHost.Plugins.First(p => p.Id == request.Id);
@@ -234,18 +192,6 @@ namespace MediaBrowser.Api
/// </summary>
/// <param name="request">The request.</param>
/// <returns>System.Object.</returns>
- public object Get(GetPluginConfigurationFile request)
- {
- var plugin = _appHost.Plugins.First(p => p.Id == request.Id);
-
- return ResultFactory.GetStaticFileResult(RequestContext, plugin.ConfigurationFilePath);
- }
-
- /// <summary>
- /// Gets the specified request.
- /// </summary>
- /// <param name="request">The request.</param>
- /// <returns>System.Object.</returns>
public object Get(GetPluginSecurityInfo request)
{
var result = new PluginSecurityInfo