mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
Add API parameter to filter entries by category
This commit is contained in:
parent
fad9ad2be4
commit
e878dca3d7
6 changed files with 58 additions and 17 deletions
|
@ -48,7 +48,7 @@ type UserModification struct {
|
|||
// Users represents a list of users.
|
||||
type Users []User
|
||||
|
||||
// Category represents a category in the system.
|
||||
// Category represents a feed category.
|
||||
type Category struct {
|
||||
ID int64 `json:"id,omitempty"`
|
||||
Title string `json:"title,omitempty"`
|
||||
|
@ -169,6 +169,7 @@ type Filter struct {
|
|||
BeforeEntryID int64
|
||||
AfterEntryID int64
|
||||
Search string
|
||||
CategoryID int64
|
||||
}
|
||||
|
||||
// EntryResultSet represents the response when fetching entries.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue