Update endpoint docs

pull/2931/head
crobibero 5 years ago
parent f3da5dc8b7
commit 7516e3ebbe

@ -41,7 +41,9 @@ namespace Jellyfin.Api.Controllers
/// <param name="videoId">Video ID.</param> /// <param name="videoId">Video ID.</param>
/// <param name="mediaSourceId">Media Source ID.</param> /// <param name="mediaSourceId">Media Source ID.</param>
/// <param name="index">Attachment Index.</param> /// <param name="index">Attachment Index.</param>
/// <returns>Attachment.</returns> /// <response code="200">Attachment retrieved.</response>
/// <response code="404">Video or attachment not found.</response>
/// <returns>An <see cref="FileStreamResult"/> containing the attachment stream on success, or a <see cref="NotFoundResult"/> if the attachment could not be found.</returns>
[HttpGet("{VideoID}/{MediaSourceID}/Attachments/{Index}")] [HttpGet("{VideoID}/{MediaSourceID}/Attachments/{Index}")]
[Produces("application/octet-stream")] [Produces("application/octet-stream")]
[ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status200OK)]

Loading…
Cancel
Save