OpenIsle Docs
API 概览
Current user GET Update profile PUT
Api
Users
Me

# Current user

Get current authenticated user information

GET
/`api`/`users`/`me`

## Authorization

Authorization Bearer <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
    }

User tags GET

Previous Page

Update profile PUT

Next Page

    curl -X GET "https://www.open-isle.com/api/users/me"