API:GET /user

From SoFurry
Revision as of 12:58, 25 April 2016 by Tetsudra (talk | contribs) (Created page with "= Resource URL = https://api.sofurrybeta.com/user = Request = GET /user X-SoFurry-Token: 1:f23f4c181cc8b73a6b4b5d14b45ce79b {} = Response: Success = HTTP 200 { "...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Resource URL

https://api.sofurrybeta.com/user

Request

GET /user
X-SoFurry-Token: 1:f23f4c181cc8b73a6b4b5d14b45ce79b
{}

Response: Success

HTTP 200
{
  "id": 1,
  "name": "Tetsudra",
  "email": "drgn@tetsudra.com",
  "level": "user",
  "created_at": "2016-04-14 12:50:53",
  "updated_at": "2016-04-25 12:56:26",
  "activated_at": "2016-04-14 12:53:12",
  "bio": "I am a dragon!"
}

The resulting content will be a JSON object containing information about the authenticated user's profile.