Mark query parameters as obsolete

This commit is contained in:
crobibero 2021-03-25 20:30:15 -06:00
parent 73fe9d3f69
commit e0ff51cf2a

View File

@ -201,7 +201,7 @@ namespace Jellyfin.Api.Controllers
[FromRoute, Required] string mediaSourceId,
[FromRoute, Required] int index,
[FromRoute, Required] string routeFormat,
[FromQuery] string? format,
[FromQuery, ParameterObsolete] string? format,
[FromQuery] long? endPositionTicks,
[FromQuery] bool copyTimestamps = false,
[FromQuery] bool addVttTimeMap = false,
@ -278,7 +278,7 @@ namespace Jellyfin.Api.Controllers
[FromRoute, Required] int index,
[FromRoute, Required] long startPositionTicks,
[FromRoute, Required] string routeFormat,
[FromQuery] string? format,
[FromQuery, ParameterObsolete] string? format,
[FromQuery] long? endPositionTicks,
[FromQuery] bool copyTimestamps = false,
[FromQuery] bool addVttTimeMap = false)