OpenIsle Docs
API 概览
Get user GET
Api
Users
Identifier

# Get user

Get user by identifier

GET
/`api`/`users`/`{identifier}`

## Authorization

AuthorizationBearer <token>

In: `header`

## Path Parameters

identifierstring

## Response Body

###

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

    {
      "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
    }

Admin users GET

Previous Page

User aggregate GET

Next Page

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