summaryrefslogtreecommitdiff
path: root/FAQ.md
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-05-28 18:19:47 +0000
committerAndrew Dolgov <[email protected]>2023-05-28 18:19:47 +0000
commit7b1be4c5048d726d98b82f4577dc4d44d42c141a (patch)
treee27b006a7e1ab6aab086e5ffbdb2ec30a8461c5d /FAQ.md
parent151dbec20a1762be0fa0c2082c66d0dc9da28a87 (diff)
Update FAQ
Diffstat (limited to 'FAQ.md')
-rw-r--r--FAQ.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/FAQ.md b/FAQ.md
index 6c6e7f3..b05c52f 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -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.