OpenIsle Docs
ApiSearchUsers

Search users

Search users by keyword

GET
/api/search/users
AuthorizationBearer <token>

In: header

Query Parameters

keywordstring

Response Body

curl -X GET "https://www.open-isle.com/api/search/users?keyword=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
  }
]