From 36f6cd5631ae48adae6be99571327a926090a588 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Wed, 1 May 2024 19:20:36 +0200 Subject: [PATCH] Cleanup watchlist openapi doc --- back/src/Kyoo.Core/Views/Resources/WatchlistApi.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/back/src/Kyoo.Core/Views/Resources/WatchlistApi.cs b/back/src/Kyoo.Core/Views/Resources/WatchlistApi.cs index e0c4b158..0e733d6d 100644 --- a/back/src/Kyoo.Core/Views/Resources/WatchlistApi.cs +++ b/back/src/Kyoo.Core/Views/Resources/WatchlistApi.cs @@ -32,12 +32,12 @@ using static Kyoo.Abstractions.Models.Utils.Constants; namespace Kyoo.Core.Api; /// -/// List new items added to kyoo. +/// List times on the user's watchlist /// [Route("watchlist")] [ApiController] -[PartialPermission("LibraryItem")] -[ApiDefinition("News", Group = ResourcesGroup)] +[PartialPermission("Watchlist")] +[ApiDefinition("Watchlist", Group = ResourcesGroup)] [UserOnly] public class WatchlistApi(IWatchStatusRepository repository) : BaseApi { @@ -45,7 +45,7 @@ public class WatchlistApi(IWatchStatusRepository repository) : BaseApi /// Get all /// /// - /// Get all resources that match the given filter. + /// Get all resources in the user's watchlist /// /// Filter the returned items. /// How many items per page should be returned, where should the page start...