From 374b7f2f039211d5a8fb80348b72070841f393ec Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 22 Apr 2013 00:38:03 -0400 Subject: new Artist entity --- MediaBrowser.Api/UserLibrary/ItemsService.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Api/UserLibrary/ItemsService.cs') diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.cs index 79e00998f..7d3581846 100644 --- a/MediaBrowser.Api/UserLibrary/ItemsService.cs +++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs @@ -21,6 +21,13 @@ namespace MediaBrowser.Api.UserLibrary [Api(Description = "Gets items based on a query.")] public class GetItems : BaseItemsRequest, IReturn { + /// + /// Gets or sets the user id. + /// + /// The user id. + [ApiMember(Name = "UserId", Description = "User Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] + public Guid UserId { get; set; } + /// /// Limit results to items containing a specific person /// @@ -328,7 +335,7 @@ namespace MediaBrowser.Api.UserLibrary }); case ItemFilter.IsRecentlyAdded: - return items.Where(item => item.IsRecentlyAdded(currentUser)); + return items.Where(item => item.IsRecentlyAdded()); case ItemFilter.IsResumable: return items.Where(item => -- cgit v1.2.3