diff options
| author | David <daullmer@gmail.com> | 2020-06-25 17:15:08 +0200 |
|---|---|---|
| committer | David <daullmer@gmail.com> | 2020-06-25 17:15:08 +0200 |
| commit | 53f4a8ce58282902d7cae34f07488ebd71447f2d (patch) | |
| tree | cf777e8c88c75da4b4227361b86d2bbd42e462f9 /Jellyfin.Api/Controllers/CollectionController.cs | |
| parent | dad6f12b1081ecf19204d039fbff7e45ad7dee2e (diff) | |
Add missing response code documentation
Diffstat (limited to 'Jellyfin.Api/Controllers/CollectionController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/CollectionController.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/CollectionController.cs b/Jellyfin.Api/Controllers/CollectionController.cs index d3f79afaf..29db0b178 100644 --- a/Jellyfin.Api/Controllers/CollectionController.cs +++ b/Jellyfin.Api/Controllers/CollectionController.cs @@ -46,8 +46,10 @@ namespace Jellyfin.Api.Controllers /// <param name="ids">Item Ids to add to the collection.</param> /// <param name="isLocked">Whether or not to lock the new collection.</param> /// <param name="parentId">Optional. Create the collection within a specific folder.</param> + /// <response code="200">Collection created.</response> /// <returns>A <see cref="CollectionCreationOptions"/> with information about the new collection.</returns> [HttpPost] + [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult<CollectionCreationResult> CreateCollection( [FromQuery] string name, [FromQuery] string ids, |
