Skip to content

SetFeed

Avi Aryan edited this page Mar 14, 2016 · 6 revisions

Post to /api/feed/

/addsubscription

  • Adds a new sub
  • requires auth
  • Parameters - searchparam

/changesubscription

  • requires authentication
  • allows you to delete links from a subscription
  • pass all subscription links as input, that is replaced

Parameters

  • subsid - Subscription ID
  • pids - List of all remaining pid's after deletion from the client side
{
    'id': INT,
    'password': STR,
    'subsid': INT,
    'pids': [INT, INT, INT, INT]
}

/deletesubscription

  • deletes a subscription
  • requires authentication
  • parameters - subsid

NOTES

  • requires authentication means you have to send both userid (id) and password (password) in the POST request.
{
  'id': INT,
  'password': STR
}

Clone this wiki locally