ITEMS


METHOD

/api/items/update.php

This method updates attributes of an article.


ENDPOINT

http://cranked_installation_url/api/items/update.php


PARAMETERS POST

PARAMETER DEFAULT REQUIRED NOTES
api_key null Yes API key can be retrieved from /api/auth/login.php
feed_item_id null Yes The id of the article item you want to update.
read null No 1 to mark item as read. 0 to mark item as unread.
saved null No 1 to save an item. 0 to unsave an item.
mobilizer null No 1 to always mobilize items for the feed this item belongs to. 0 to 'not' mobilize items for the feed this item belongs to.

SUCCESS RESPONSE

{"result":"success"}

ERROR RESPONSE

ERROR MESSAGE NOTES
No data passed API was called but no data were passed
API key not passed The required API key was not passed into the call
Invalid API key The API key was passed into the call but is invalid
No actions passed No parameters was passed into the API call other than the API key
feed_item_id not passed feed_item_id was not passed into the API call