Tag article
Add a tag to articles, or take one off. A new tag name creates the tag.
POST https://cotlet.dev/api/v1/inoreader/article/tag
write
Adds the tag to up to 50 articles, or removes it when remove is true. Tags are visible only to you and an article can carry several. It reaches no one and is undone with one more call, so it runs without asking first. A tag assigned this way can trigger a rule that watches that tag, and that rule may email or send the article on.
Parameters
| Name | Type | Description |
|---|---|---|
| article_ids array required | array | Article IDs from list_articles or search_articles, up to 50 per call. |
| tag string required | string | Tag name, for example rag-research. |
| remove boolean | boolean | true takes the tag off. Default: false. |
Request
curl -X POST https://cotlet.dev/api/v1/inoreader/article/tag \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"article_ids":"article ids","tag":"tag"}' result = client.call("inoreader", "tag_article", {"article_ids":"article ids","tag":"tag"}) const result = await cotlet.call('inoreader', 'tag_article', {"article_ids":"article ids","tag":"tag"}); cotlet call inoreader tag_article --data '{"article_ids":"article ids","tag":"tag"}' Example response
{
"updated": 10,
"tag": "rag-research",
"removed": false
}