diff --git a/MediaBrowser.Api/UserLibrary/GenresService.cs b/MediaBrowser.Api/UserLibrary/GenresService.cs index 43dcf2a319..1962dff5c9 100644 --- a/MediaBrowser.Api/UserLibrary/GenresService.cs +++ b/MediaBrowser.Api/UserLibrary/GenresService.cs @@ -11,7 +11,7 @@ namespace MediaBrowser.Api.UserLibrary /// /// Class GetGenres /// - [Route("/Users/{UserId}/Items/{Id}/Genres", "GET")] + [Route("/Users/{UserId}/Items/{ParentId}/Genres", "GET")] [Route("/Users/{UserId}/Items/Root/Genres", "GET")] [ServiceStack.ServiceHost.Api(Description = "Gets all genres from a given item, folder, or the entire library")] public class GetGenres : GetItemsByName diff --git a/MediaBrowser.Api/UserLibrary/PersonsService.cs b/MediaBrowser.Api/UserLibrary/PersonsService.cs index 81c0b2b7e8..0c6f807bfb 100644 --- a/MediaBrowser.Api/UserLibrary/PersonsService.cs +++ b/MediaBrowser.Api/UserLibrary/PersonsService.cs @@ -11,7 +11,7 @@ namespace MediaBrowser.Api.UserLibrary /// /// Class GetPersons /// - [Route("/Users/{UserId}/Items/{Id}/Persons", "GET")] + [Route("/Users/{UserId}/Items/{ParentId}/Persons", "GET")] [Route("/Users/{UserId}/Items/Root/Persons", "GET")] [ServiceStack.ServiceHost.Api(Description = "Gets all persons from a given item, folder, or the entire library")] public class GetPersons : GetItemsByName diff --git a/MediaBrowser.Api/UserLibrary/StudiosService.cs b/MediaBrowser.Api/UserLibrary/StudiosService.cs index 197abd0c5f..3c3d1a504d 100644 --- a/MediaBrowser.Api/UserLibrary/StudiosService.cs +++ b/MediaBrowser.Api/UserLibrary/StudiosService.cs @@ -11,7 +11,7 @@ namespace MediaBrowser.Api.UserLibrary /// /// Class GetStudios /// - [Route("/Users/{UserId}/Items/{Id}/Studios", "GET")] + [Route("/Users/{UserId}/Items/{ParentId}/Studios", "GET")] [Route("/Users/{UserId}/Items/Root/Studios", "GET")] [ServiceStack.ServiceHost.Api(Description = "Gets all studios from a given item, folder, or the entire library")] public class GetStudios : GetItemsByName diff --git a/MediaBrowser.Api/UserLibrary/YearsService.cs b/MediaBrowser.Api/UserLibrary/YearsService.cs index c3e3c8366b..99ea08cda0 100644 --- a/MediaBrowser.Api/UserLibrary/YearsService.cs +++ b/MediaBrowser.Api/UserLibrary/YearsService.cs @@ -12,7 +12,7 @@ namespace MediaBrowser.Api.UserLibrary /// /// Class GetYears /// - [Route("/Users/{UserId}/Items/{Id}/Years", "GET")] + [Route("/Users/{UserId}/Items/{ParentId}/Years", "GET")] [Route("/Users/{UserId}/Items/Root/Years", "GET")] [ServiceStack.ServiceHost.Api(Description = "Gets all years from a given item, folder, or the entire library")] public class GetYears : GetItemsByName