OpenIsle Docs
API 概览
Search users GET
Api
Search
Users

# Search users

Search users by keyword

GET
/`api`/`search`/`users`

## Authorization

Authorization Bearer <token>

In: `header`

## Query Parameters

keyword string

## 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,
        "bot": true
      }
    ]

Search posts by title GET

Previous Page

Sitemap GET

Next Page

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