diff options
author | Frédéric Guillot <fred@miniflux.net> | 2019-11-17 22:53:11 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-11-17 23:05:22 -0800 |
commit | e878dca3d74e1b8644d56e4f717b0a8e0362e888 (patch) | |
tree | 3a352dcc9a19244d7ff683f80a725cd28b21a471 /client | |
parent | fad9ad2be4fc800f8710e2a498cc8f536af8827c (diff) |
Add API parameter to filter entries by category
Diffstat (limited to 'client')
-rw-r--r-- | client/core.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/core.go b/client/core.go index 91366e2..275f176 100644 --- a/client/core.go +++ b/client/core.go @@ -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. |