mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 07:20:53 -04:00
Add response code documentation
This commit is contained in:
parent
fe8531f74e
commit
d58e435409
@ -112,11 +112,13 @@ namespace Jellyfin.Api.Controllers
|
|||||||
/// <param name="segmentId">The segment id.</param>
|
/// <param name="segmentId">The segment id.</param>
|
||||||
/// <param name="segmentContainer">The segment container.</param>
|
/// <param name="segmentContainer">The segment container.</param>
|
||||||
/// <response code="200">Hls video segment returned.</response>
|
/// <response code="200">Hls video segment returned.</response>
|
||||||
|
/// <response code="404">Hls segment not found.</response>
|
||||||
/// <returns>A <see cref="FileStreamResult"/> containing the video segment.</returns>
|
/// <returns>A <see cref="FileStreamResult"/> containing the video segment.</returns>
|
||||||
// Can't require authentication just yet due to seeing some requests come from Chrome without full query string
|
// Can't require authentication just yet due to seeing some requests come from Chrome without full query string
|
||||||
// [Authenticated]
|
// [Authenticated]
|
||||||
[HttpGet("Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}")]
|
[HttpGet("Videos/{itemId}/hls/{playlistId}/{segmentId}.{segmentContainer}")]
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
|
[ProducesResponseType(StatusCodes.Status404NotFound)]
|
||||||
[ProducesVideoFile]
|
[ProducesVideoFile]
|
||||||
[SuppressMessage("Microsoft.Performance", "CA1801:ReviewUnusedParameters", MessageId = "itemId", Justification = "Required for ServiceStack")]
|
[SuppressMessage("Microsoft.Performance", "CA1801:ReviewUnusedParameters", MessageId = "itemId", Justification = "Required for ServiceStack")]
|
||||||
public ActionResult GetHlsVideoSegmentLegacy(
|
public ActionResult GetHlsVideoSegmentLegacy(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user