]>
git.wh0rd.org Git - tt-rss.git/commit
Add new API method: `getFeedStats'
`getFeedStats' calls the new static function `api_get_feed_stats' to
return an array of real feeds of the following form:
[{
"first" : 1127,
"unread" : 873,
"last" : 15460,
"title" : "Some feed",
"id" : 31,
"total" : 1513
}]
where "first", "last", "total" are the first, last and total number of
articles in the feed.
This adds the ability to nntp-oriented clients to efficiently retrieve
an "active file" without having to resort to `getHeadlines(limit=-1)'