mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:46:00 +00:00
api: add getHeadlines since_id
This commit is contained in:
@@ -196,10 +196,11 @@
|
||||
/* all_articles, unread, adaptive, marked, updated */
|
||||
$view_mode = db_escape_string($_REQUEST["view_mode"]);
|
||||
$include_attachments = (bool)db_escape_string($_REQUEST["include_attachments"]);
|
||||
$since_id = (int)db_escape_string($_REQUEST["since_id"]);
|
||||
|
||||
$headlines = api_get_headlines($link, $feed_id, $limit, $offset,
|
||||
$filter, $is_cat, $show_excerpt, $show_content, $view_mode, false,
|
||||
$include_attachments);
|
||||
$include_attachments, $since_id);
|
||||
|
||||
print api_wrap_reply(API_STATUS_OK, $seq, $headlines);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user