mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-04 22:24:14 -04:00
Cleanup watchlist openapi doc
This commit is contained in:
parent
c52d818a1d
commit
36f6cd5631
@ -32,12 +32,12 @@ using static Kyoo.Abstractions.Models.Utils.Constants;
|
|||||||
namespace Kyoo.Core.Api;
|
namespace Kyoo.Core.Api;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// List new items added to kyoo.
|
/// List times on the user's watchlist
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("watchlist")]
|
[Route("watchlist")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[PartialPermission("LibraryItem")]
|
[PartialPermission("Watchlist")]
|
||||||
[ApiDefinition("News", Group = ResourcesGroup)]
|
[ApiDefinition("Watchlist", Group = ResourcesGroup)]
|
||||||
[UserOnly]
|
[UserOnly]
|
||||||
public class WatchlistApi(IWatchStatusRepository repository) : BaseApi
|
public class WatchlistApi(IWatchStatusRepository repository) : BaseApi
|
||||||
{
|
{
|
||||||
@ -45,7 +45,7 @@ public class WatchlistApi(IWatchStatusRepository repository) : BaseApi
|
|||||||
/// Get all
|
/// Get all
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Get all resources that match the given filter.
|
/// Get all resources in the user's watchlist
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <param name="filter">Filter the returned items.</param>
|
/// <param name="filter">Filter the returned items.</param>
|
||||||
/// <param name="pagination">How many items per page should be returned, where should the page start...</param>
|
/// <param name="pagination">How many items per page should be returned, where should the page start...</param>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user