aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/GenresController.cs
diff options
context:
space:
mode:
authorcvium <clausvium@gmail.com>2020-11-06 08:34:20 +0100
committercvium <clausvium@gmail.com>2020-11-06 08:34:20 +0100
commit6e6ecbc988286108c691578a526f1f29aef4a229 (patch)
tree4e07f0e99b808161d63ff6b2ab93d0960044c5a6 /Jellyfin.Api/Controllers/GenresController.cs
parent6fdcd1205314653b4b7a454ac86134842e225356 (diff)
Make /MusicGenres obsolete
Diffstat (limited to 'Jellyfin.Api/Controllers/GenresController.cs')
-rw-r--r--Jellyfin.Api/Controllers/GenresController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/GenresController.cs b/Jellyfin.Api/Controllers/GenresController.cs
index 4e47658b0..94c1b4b9e 100644
--- a/Jellyfin.Api/Controllers/GenresController.cs
+++ b/Jellyfin.Api/Controllers/GenresController.cs
@@ -66,6 +66,7 @@ namespace Jellyfin.Api.Controllers
/// <response code="200">Genres returned.</response>
/// <returns>An <see cref="OkResult"/> containing the queryresult of genres.</returns>
[HttpGet]
+ [HttpGet("/MusicGenres", Name = "GetMusicGenres-Deprecated")]
[ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<QueryResult<BaseItemDto>> GetGenres(
[FromQuery] int? startIndex,