ITEMS


METHOD

/api/items/mark-feed-as-read.php

This method marks all items from a particular feed as read.


ENDPOINT

http://cranked_installation_url/api/items/mark-feed-as-read.php


PARAMETERS POST

PARAMETER DEFAULT REQUIRED NOTES
api_key null Yes API key can be retrieved from /api/auth/login.php
feed_id null Yes The id of the feed you want to mark all its items as read.

SUCCESS RESPONSE

{
   "result":"success",
   "total_unread_count":"2650",
   "folder_unread_count":{
      "6":"12",
      "8":"1249"
   }
}

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
feed_id not passed feed_id was not passed into the API call