Tiny Tiny RSS: Community

Possible for getHeadlines API call that returns starred headlines for 1 feed_id?


#1

I am trying to use the getHeadlines API call to get back only starred headlines associated with a specific feed (id). The API seems to treat starred as its own special feed_id (-1). Is there a way that I can specify multiple values for feed_id?

Thanks.


#2

look for view mode in API docs


#3

I’m currently setting view_mode=unread. Is ‘marked’ the same as ‘starred’?
Can i query for headlines that are both unread & starred somehow?


#4

yes

afraid not :frowning:


#5

Ok, thanks for confirming that i’m not missing a solution.


#6

The API is pluggable so you could add this feature if it’s important.


#7

Can you not use something like the below? The documentation suggests you can, but I no longer have TT-RSS installed, so I can’t confirm.

{
 "op": "getHeadlines",
 "feed_id": 2112,
 "search": "unread:true star:true"
}

#8

Seems to work in my tests.


#9

Excellent, ‘search’ works perfectly. thanks!