miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.97k stars 728 forks source link

feat(api): Allow filtering globally hidden entries #2790

Closed wolfhechel closed 3 months ago

wolfhechel commented 3 months ago

The API doesn't provide the methods to simulate the Unread page, i.e. unread entries from globally visible feeds. This can now be done through /v1/entries?status=unread&globally_visible=true.

Extended the filtering structure for the client library to support this as well. While writing integration tests I noticed that the CreateFeed handler doesn't update subscription.HideGlobally from the CreateFeedRequest, fixed that as well.


Do you follow the guidelines?