Like or unlike an article
Add an article to your Liked list, or remove it.
PUT https://cotlet.dev/api/v1/instapaper/bookmarks/{bookmark_id}/liked
write
Sets the liked flag on one article and returns it. It does not change whether the article is in Home, the Archive or a folder. Reaches no one and is undone with the same call, so it runs without asking.
Parameters
| Name | Type | Description |
|---|---|---|
| bookmark_id integer required | integer | Bookmark ID from list_bookmarks. |
| liked boolean required | boolean | true to like, false to unlike. |
Request
curl -X PUT https://cotlet.dev/api/v1/instapaper/bookmarks/1/liked \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"liked":true}' result = client.call("instapaper", "set_liked", {"bookmark_id":1,"liked":True}) const result = await cotlet.call('instapaper', 'set_liked', {"bookmark_id":1,"liked":true}); cotlet call instapaper set_liked --data '{"bookmark_id":1,"liked":true}' Example response
{
"bookmark_id": 1893240551,
"title": "How to Salt Pasta Water",
"liked": true,
"archived": false
}