Move an article
Move an article to the Archive, back to Home, or into a folder.
POST https://cotlet.dev/api/v1/instapaper/bookmarks/{bookmark_id}/move
write
Moves one article and returns it. Destination is archive, home or a folder ID as a string. Liked stays as it was, because liked and archived are separate. Reaches no one and is undone by moving the article back, so it runs without asking.
Parameters
| Name | Type | Description |
|---|---|---|
| bookmark_id integer required | integer | Bookmark ID from list_bookmarks. |
| destination string required | string | 'archive', 'home', or a folder ID from list_folders as a string, e.g. '381204'. |
Request
curl -X POST https://cotlet.dev/api/v1/instapaper/bookmarks/1893240551/move \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"destination":"archive"}' result = client.call("instapaper", "move_bookmark", {"bookmark_id":1893240551,"destination":"archive"}) const result = await cotlet.call('instapaper', 'move_bookmark', {"bookmark_id":1893240551,"destination":"archive"}); cotlet call instapaper move_bookmark --data '{"bookmark_id":1893240551,"destination":"archive"}' Example response
{
"bookmark_id": 1893240551,
"title": "How to Salt Pasta Water",
"archived": true,
"folder_id": null,
"liked": false
}