From 8fe7dfd4ce39d4bb3d9a96e3ada8783c26e291a2 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 11 Apr 2013 23:50:47 -0400 Subject: added people pages --- MediaBrowser.Api/UserLibrary/BaseItemsRequest.cs | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'MediaBrowser.Api/UserLibrary/BaseItemsRequest.cs') diff --git a/MediaBrowser.Api/UserLibrary/BaseItemsRequest.cs b/MediaBrowser.Api/UserLibrary/BaseItemsRequest.cs index 4975b653a..c9dd86381 100644 --- a/MediaBrowser.Api/UserLibrary/BaseItemsRequest.cs +++ b/MediaBrowser.Api/UserLibrary/BaseItemsRequest.cs @@ -16,13 +16,6 @@ namespace MediaBrowser.Api.UserLibrary [ApiMember(Name = "UserId", Description = "User Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] public Guid UserId { get; set; } - /// - /// What to sort the results by - /// - /// The sort by. - [ApiMember(Name = "SortBy", Description = "Optional. Specify one or more sort orders, comma delimeted. Options: Album, AlbumArtist, Artist, CommunityRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Runtime", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET", AllowMultiple = true)] - public string SortBy { get; set; } - /// /// Skips over a given number of items within the results. Use for paging. /// @@ -117,21 +110,5 @@ namespace MediaBrowser.Api.UserLibrary return val.Split(',').Select(v => (ItemFields)Enum.Parse(typeof(ItemFields), v, true)); } - - /// - /// Gets the order by. - /// - /// IEnumerable{ItemSortBy}. - public IEnumerable GetOrderBy() - { - var val = SortBy; - - if (string.IsNullOrEmpty(val)) - { - return new string[] { }; - } - - return val.Split(','); - } } } -- cgit v1.2.3