aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/LibraryController.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-06-26 06:12:26 +0900
committerGitHub <noreply@github.com>2020-06-26 06:12:26 +0900
commitf11ca0ba9490a63006c01c40d8678817ced07271 (patch)
tree22955353e968ccfa04df9c6ad2be185d9d4392db /Jellyfin.Api/Controllers/LibraryController.cs
parent45f195aca9f0e5291e2e4760142dac2bfb70a38a (diff)
parent835bda7be334915a013a6e0feef3a43ce0ed2ee6 (diff)
Merge pull request #3446 from crobibero/api-missing-route
Add missing route
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryController.cs')
-rw-r--r--Jellyfin.Api/Controllers/LibraryController.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs
index 9ad70024a..b822b3991 100644
--- a/Jellyfin.Api/Controllers/LibraryController.cs
+++ b/Jellyfin.Api/Controllers/LibraryController.cs
@@ -281,6 +281,8 @@ namespace Jellyfin.Api.Controllers
/// <response code="200">Theme songs and videos returned.</response>
/// <response code="404">Item not found.</response>
/// <returns>The item theme videos.</returns>
+ [HttpGet("/Items/{itemId}/ThemeMedia")]
+ [Authorize(Policy = Policies.DefaultAuthorization)]
[ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<AllThemeMediaResult> GetThemeMedia(
[FromRoute] Guid itemId,