From e2dcddc5ac43846baea0f9b1a0fc62844dd9ee1d Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 23 Mar 2013 22:45:00 -0400 Subject: made compression and caching available to plugin api endpoints --- MediaBrowser.Api/Library/LibraryService.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'MediaBrowser.Api/Library/LibraryService.cs') diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index 73f2243f2..f2867b595 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/MediaBrowser.Api/Library/LibraryService.cs @@ -3,7 +3,6 @@ using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Library; using MediaBrowser.Model.Dto; using MediaBrowser.Model.Querying; -using MediaBrowser.Server.Implementations.HttpServer; using ServiceStack.ServiceHost; using System; using System.Collections.Generic; @@ -15,7 +14,7 @@ namespace MediaBrowser.Api.Library /// Class GetPhyscialPaths /// [Route("/Library/PhysicalPaths", "GET")] - [ServiceStack.ServiceHost.Api(Description = "Gets a list of physical paths from virtual folders")] + [Api(Description = "Gets a list of physical paths from virtual folders")] public class GetPhyscialPaths : IReturn> { } @@ -24,7 +23,7 @@ namespace MediaBrowser.Api.Library /// Class GetItemTypes /// [Route("/Library/ItemTypes", "GET")] - [ServiceStack.ServiceHost.Api(Description = "Gets a list of BaseItem types")] + [Api(Description = "Gets a list of BaseItem types")] public class GetItemTypes : IReturn> { /// @@ -39,7 +38,7 @@ namespace MediaBrowser.Api.Library /// Class GetPerson /// [Route("/Persons/{Name}", "GET")] - [ServiceStack.ServiceHost.Api(Description = "Gets a person, by name")] + [Api(Description = "Gets a person, by name")] public class GetPerson : IReturn { /// @@ -54,7 +53,7 @@ namespace MediaBrowser.Api.Library /// Class GetStudio /// [Route("/Studios/{Name}", "GET")] - [ServiceStack.ServiceHost.Api(Description = "Gets a studio, by name")] + [Api(Description = "Gets a studio, by name")] public class GetStudio : IReturn { /// @@ -69,7 +68,7 @@ namespace MediaBrowser.Api.Library /// Class GetGenre /// [Route("/Genres/{Name}", "GET")] - [ServiceStack.ServiceHost.Api(Description = "Gets a genre, by name")] + [Api(Description = "Gets a genre, by name")] public class GetGenre : IReturn { /// @@ -84,7 +83,7 @@ namespace MediaBrowser.Api.Library /// Class GetYear /// [Route("/Years/{Year}", "GET")] - [ServiceStack.ServiceHost.Api(Description = "Gets a year")] + [Api(Description = "Gets a year")] public class GetYear : IReturn { /// -- cgit v1.2.3