Search people
请用 (https://yedoll.com/mobile_api/search_people) API to access people searching endpoint
Get 参数
参数 | 值 | 描述 |
---|---|---|
query | Search keywords | 例如: John Smith |
offset | Last post offset ID | This is only needed when loading posts of the pagination system. |
session_id (Optional) | Access token ID | 例如: de25cc16eb00960f076... |
page_size | Total post limit for each request | Recommended: 20 |
成功响应
{
"code": 200,
"message": "Results found",
"data":[
{
"id": 78,
"about": "",
"followers": 0,
"posts": 0,
"avatar": "http://colibri.loc/upload/default/avatar.png",
"last_active": "29 Sep, 20 11:09 AM",
"username": "@mansurTLs",
"fname": "First name",
"lname": "Last name",
"email": "jovogals@gmail.com",
"verified": "0",
"name": "First name Last name",
"url": "http://colibri.loc/@mansurTLs",
"is_user": false,
"is_following": false
}
]
}
错误响应
{
"code": 204,
"message": "No data found",
"data": []
}
{
"code": 400,
"message": "The search term is invalid or missing",
"data": []
}