diff options
author | Andrew Dolgov <[email protected]> | 2023-05-28 18:19:47 +0000 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-05-28 18:19:47 +0000 |
commit | 7b1be4c5048d726d98b82f4577dc4d44d42c141a (patch) | |
tree | e27b006a7e1ab6aab086e5ffbdb2ec30a8461c5d /FAQ.md | |
parent | 151dbec20a1762be0fa0c2082c66d0dc9da28a87 (diff) |
Update FAQ
Diffstat (limited to 'FAQ.md')
-rw-r--r-- | FAQ.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -134,7 +134,9 @@ You can run any RSS/Atom feed through tt-rss parser [here](https://tt-rss.org/my See this thread for more information / feedback: <https://community.tt-rss.org/t/my-feed-doesnt-parse-properly-or-does-it-myfeedsucks/30> -### I need to get the number of unread articles in the simplest way. +### I need to get the number of unread articles for specific user + +There's a simple unauthenticated endpoint to do just that: ``` $ curl -s "https://example.com/tt-rss/public.php?op=getUnread&login=you&fresh=1" ; echo @@ -143,7 +145,7 @@ $ curl -s "https://example.com/tt-rss/public.php?op=getUnread&login=you" ; echo 8 ``` -In single user mode, use “admin” for login. No password is required. +In single user mode, use “admin” for login. If optional parameter `&fresh=1` is passed via query string, return value includes fresh article count as a `;`-separated string. |