diff --git a/Jellyfin.Api/Controllers/InstantMixController.cs b/Jellyfin.Api/Controllers/InstantMixController.cs index 6b4670d6c..f1ff770a4 100644 --- a/Jellyfin.Api/Controllers/InstantMixController.cs +++ b/Jellyfin.Api/Controllers/InstantMixController.cs @@ -11,6 +11,7 @@ using MediaBrowser.Controller.Playlists; using MediaBrowser.Model.Dto; using MediaBrowser.Model.Querying; using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace Jellyfin.Api.Controllers @@ -56,8 +57,10 @@ namespace Jellyfin.Api.Controllers /// Optional. Include user data. /// Optional. The max number of images to return, per image type. /// Optional. The image types to include in the output. + /// Instant playlist returned. /// A with the playlist items. [HttpGet("/Songs/{id}/InstantMix")] + [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult> GetInstantMixFromSong( [FromRoute] Guid id, [FromQuery] Guid userId, @@ -89,8 +92,10 @@ namespace Jellyfin.Api.Controllers /// Optional. Include user data. /// Optional. The max number of images to return, per image type. /// Optional. The image types to include in the output. + /// Instant playlist returned. /// A with the playlist items. [HttpGet("/Albums/{id}/InstantMix")] + [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult> GetInstantMixFromAlbum( [FromRoute] Guid id, [FromQuery] Guid userId, @@ -122,8 +127,10 @@ namespace Jellyfin.Api.Controllers /// Optional. Include user data. /// Optional. The max number of images to return, per image type. /// Optional. The image types to include in the output. + /// Instant playlist returned. /// A with the playlist items. [HttpGet("/Playlists/{id}/InstantMix")] + [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult> GetInstantMixFromPlaylist( [FromRoute] Guid id, [FromQuery] Guid userId, @@ -155,8 +162,10 @@ namespace Jellyfin.Api.Controllers /// Optional. Include user data. /// Optional. The max number of images to return, per image type. /// Optional. The image types to include in the output. + /// Instant playlist returned. /// A with the playlist items. [HttpGet("/MusicGenres/{name}/InstantMix")] + [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult> GetInstantMixFromMusicGenre( [FromRoute] string name, [FromQuery] Guid userId, @@ -187,8 +196,10 @@ namespace Jellyfin.Api.Controllers /// Optional. Include user data. /// Optional. The max number of images to return, per image type. /// Optional. The image types to include in the output. + /// Instant playlist returned. /// A with the playlist items. [HttpGet("/Artists/InstantMix")] + [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult> GetInstantMixFromArtists( [FromRoute] Guid id, [FromQuery] Guid userId, @@ -220,8 +231,10 @@ namespace Jellyfin.Api.Controllers /// Optional. Include user data. /// Optional. The max number of images to return, per image type. /// Optional. The image types to include in the output. + /// Instant playlist returned. /// A with the playlist items. [HttpGet("/MusicGenres/InstantMix")] + [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult> GetInstantMixFromMusicGenres( [FromRoute] Guid id, [FromQuery] Guid userId, @@ -253,8 +266,10 @@ namespace Jellyfin.Api.Controllers /// Optional. Include user data. /// Optional. The max number of images to return, per image type. /// Optional. The image types to include in the output. + /// Instant playlist returned. /// A with the playlist items. [HttpGet("/Items/{id}/InstantMix")] + [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult> GetInstantMixFromItem( [FromRoute] Guid id, [FromQuery] Guid userId,