diff options
| author | crobibero <cody@robibe.ro> | 2020-05-02 17:12:56 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-05-19 08:55:15 -0600 |
| commit | 26a2bea179b8c2d8b772b714e6296c03b5c1e0d3 (patch) | |
| tree | 2e798fa34635e84a3f5e8bd1441c24b6c026430e /Jellyfin.Api/Controllers/AttachmentsController.cs | |
| parent | 177339e8d5f3ad9eea6a3d6cd068e58d637e443d (diff) | |
Update endpoint docs
Diffstat (limited to 'Jellyfin.Api/Controllers/AttachmentsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/AttachmentsController.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/AttachmentsController.cs b/Jellyfin.Api/Controllers/AttachmentsController.cs index b0cdfb86e..30fb951cf 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)] |
