Mark a stream as read
Mark every article in a Feed or source as read, optionally only older ones.
POST https://cotlet.dev/api/v1/feedly/all-read/mark
write
Marks all unread articles in one Feed or source as read, the same as Shift + A on a list. older_than limits it to articles published before that time. The call returns the article IDs it changed, so mark_articles_read with state 'unread' restores them in one call. It changes your read state only and runs without asking first.
Parameters
| Name | Type | Description |
|---|---|---|
| stream string required | string | A feed_id or source_id from list_feeds. |
| older_than datetime | datetime | Only articles published before this time. |
Request
curl -X POST https://cotlet.dev/api/v1/feedly/all-read/mark \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"stream":"stream"}' result = client.call("feedly", "mark_all_read", {"stream":"stream"}) const result = await cotlet.call('feedly', 'mark_all_read', {"stream":"stream"}); cotlet call feedly mark_all_read --data '{"stream":"stream"}' Example response
{
"stream": "feed_gen03",
"marked": 3,
"article_ids": [
"art_c4410a",
"art_c4410b",
"art_c4410c"
]
}