OpenIsle Docs
ApiUsersMe

Current user

Get current authenticated user information

GET
/api/users/me
AuthorizationBearer <token>

In: header

Response Body

curl -X GET "https://www.open-isle.com/api/users/me"
{
  "id": 0,
  "username": "string",
  "email": "string",
  "avatar": "string",
  "role": "string",
  "introduction": "string",
  "followers": 0,
  "following": 0,
  "createdAt": "2019-08-24T14:15:22Z",
  "lastPostTime": "2019-08-24T14:15:22Z",
  "lastCommentTime": "2019-08-24T14:15:22Z",
  "totalViews": 0,
  "visitedDays": 0,
  "readPosts": 0,
  "likesSent": 0,
  "likesReceived": 0,
  "subscribed": true,
  "experience": 0,
  "point": 0,
  "currentLevel": 0,
  "nextLevelExp": 0
}