From e878dca3d74e1b8644d56e4f717b0a8e0362e888 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 17 Nov 2019 22:53:11 -0800 Subject: Add API parameter to filter entries by category --- client/core.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client') 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. -- cgit v1.2.3