Mark articles read or unread
Mark articles as read or unread, optionally hiding them from the list.
POST https://cotlet.dev/api/v1/feedly/articles-read/mark
write
Sets the read state of the articles you name. hide: true is Feedly's Mark as read and hide, which removes the article from the list until a reload; the default only lowers the unread count. It changes your read state only and reaches no one, even in a Team Feed. mark_articles_read runs without asking first, and state 'unread' undoes it in one call.
Parameters
| Name | Type | Description |
|---|---|---|
| article_ids string[] required | string[] | Article IDs from list_articles or search_articles. |
| state string | string | 'read' or 'unread'. Default: read. |
| hide boolean | boolean | true also hides read articles from the list. Default: false. |
Request
curl -X POST https://cotlet.dev/api/v1/feedly/articles-read/mark \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"article_ids":["art_9d41e0","art_9d41e1","art_9d41e2"],"state":"read"}' result = client.call("feedly", "mark_articles_read", {"article_ids":["art_9d41e0","art_9d41e1","art_9d41e2"],"state":"read"}) const result = await cotlet.call('feedly', 'mark_articles_read', {"article_ids":["art_9d41e0","art_9d41e1","art_9d41e2"],"state":"read"}); cotlet call feedly mark_articles_read --data '{"article_ids":["art_9d41e0","art_9d41e1","art_9d41e2"],"state":"read"}' Example response
{
"updated": 3,
"state": "read",
"hide": false,
"article_ids": [
"art_9d41e0",
"art_9d41e1",
"art_9d41e2"
]
}