API:GET /user/:id

From SoFurry
Jump to: navigation, search

Resource URL

https://api.sofurrybeta.com/user/{id}

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.