API:GET /user/:id

From SoFurry
Revision as of 13:03, 25 April 2016 by Tetsudra (talk | contribs) (Created page with "= Resource URL = https://api.sofurrybeta.com/user = Request = GET /user/3 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/3
X-SoFurry-Token: 1:f23f4c181cc8b73a6b4b5d14b45ce79b
{}

Response: Success

HTTP 200
{
  "id": 3,
  "name": "user2",
  "email": "user2@sofurrybeta.com",
  "level": "user",
  "created_at": "2016-04-15 11:08:01",
  "updated_at": "2016-04-15 11:08:01",
  "activated_at": null,
  "bio": null
}

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