Skip to content
RajuKoushik edited this page Mar 12, 2016 · 15 revisions

Login

Post to /api/login

Parameters

  • username or email
  • passwordhash

Returns

"username": STR,
"id": INT,
"firstname": STR,
"lastname": STR,
"email": STR,
"subscriptions": [
 {
  "subsid": INT,
  "searchparam": STR,
  "links": [
   {
    "link": STR,
    "pid": INT,
    "refine": STR
   },
  ]
 },
]

Register

Post to /api/register

Parameters

  • username
  • passwordhash
  • email
  • firstname (opt)
  • lastname (opt)

Clone this wiki locally