The Free Software Media System - Server Backend & API
Update endpoint docs
crobibero7516e3ebbec8
diff --git a/Jellyfin.Api/Controllers/AttachmentsController.cs b/Jellyfin.Api/Controllers/AttachmentsController.csindex b0cdfb86e9..30fb951cf9 100644--- a/Jellyfin.Api/Controllers/AttachmentsController.cs+++ b/Jellyfin.Api/Controllers/AttachmentsController.cs@@ -41,7 +41,9 @@ namespace Jellyfin.Api.Controllers/// <param name="videoId">Video ID.</param>/// <param name="mediaSourceId">Media Source ID.</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}")][Produces("application/octet-stream")][ProducesResponseType(StatusCodes.Status200OK)]