The Free Software Media System - Server Backend & API
Deprecate the redundant /Trailers endpoint
dannee75161c55759
diff --git a/Jellyfin.Api/Controllers/TrailersController.cs b/Jellyfin.Api/Controllers/TrailersController.csindex 121db66858..6bddd85337 100644--- a/Jellyfin.Api/Controllers/TrailersController.cs+++ b/Jellyfin.Api/Controllers/TrailersController.cs@@ -122,6 +122,7 @@ public class TrailersController : BaseJellyfinApiController/// <returns>A <see cref="QueryResult{BaseItemDto}"/> with the trailers.</returns>[HttpGet][ProducesResponseType(StatusCodes.Status200OK)]+ [Obsolete("Use GetItems with includeItemTypes=Trailer instead.")]public async Task<ActionResult<QueryResult<BaseItemDto>>> GetTrailers([FromQuery] Guid? userId,[FromQuery] string? maxOfficialRating,