aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-03-23 22:45:00 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-03-23 22:45:00 -0400
commite2dcddc5ac43846baea0f9b1a0fc62844dd9ee1d (patch)
treee3818758a13a107cb28e54bb63ce489366ea50d5 /MediaBrowser.Api/Library/LibraryService.cs
parent521ec4936101d6affaf68a95cd8dee090395e2b6 (diff)
made compression and caching available to plugin api endpoints
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryService.cs13
1 files changed, 6 insertions, 7 deletions
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
/// </summary>
[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<List<string>>
{
}
@@ -24,7 +23,7 @@ namespace MediaBrowser.Api.Library
/// Class GetItemTypes
/// </summary>
[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<List<string>>
{
/// <summary>
@@ -39,7 +38,7 @@ namespace MediaBrowser.Api.Library
/// Class GetPerson
/// </summary>
[Route("/Persons/{Name}", "GET")]
- [ServiceStack.ServiceHost.Api(Description = "Gets a person, by name")]
+ [Api(Description = "Gets a person, by name")]
public class GetPerson : IReturn<BaseItemDto>
{
/// <summary>
@@ -54,7 +53,7 @@ namespace MediaBrowser.Api.Library
/// Class GetStudio
/// </summary>
[Route("/Studios/{Name}", "GET")]
- [ServiceStack.ServiceHost.Api(Description = "Gets a studio, by name")]
+ [Api(Description = "Gets a studio, by name")]
public class GetStudio : IReturn<BaseItemDto>
{
/// <summary>
@@ -69,7 +68,7 @@ namespace MediaBrowser.Api.Library
/// Class GetGenre
/// </summary>
[Route("/Genres/{Name}", "GET")]
- [ServiceStack.ServiceHost.Api(Description = "Gets a genre, by name")]
+ [Api(Description = "Gets a genre, by name")]
public class GetGenre : IReturn<BaseItemDto>
{
/// <summary>
@@ -84,7 +83,7 @@ namespace MediaBrowser.Api.Library
/// Class GetYear
/// </summary>
[Route("/Years/{Year}", "GET")]
- [ServiceStack.ServiceHost.Api(Description = "Gets a year")]
+ [Api(Description = "Gets a year")]
public class GetYear : IReturn<BaseItemDto>
{
/// <summary>