Skip to content
shenfeng edited this page Apr 19, 2013 · 11 revisions

People

POST /v1/login

  • email: user email,
  • password: user password

or

  • provider: like weibo, qq
  • id_in_provider: id
  • name: name in provider

=>

   id: 1,
   access_token: "sdfdsfsdfsdfsdf" // a random token 
}

Get user info /v1/user/:id

=>

{
    email: "[email protected]",
    qq: 386297760,
    interested_fields: "html5, bakcend, bigdata",
    work: "None",
    photo: "/user/pic/1212.jpg"
}
Clone this wiki locally