获取用户信息
POST
/api/lemon/user_detail请求参数
Body 参数application/json
user_id
string
用户ID
share_text
string
可选
app端主页分享链接
示例
{
"user_id": "7236771343089615878",
"share_text": ""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
message
string
必需
error_code
integer
必需
error_message
string
必需
data
object
必需
server_time
string
必需
示例
{
"code": 0,
"msg": "string",
"data": {
"message": "string",
"error_code": 0,
"error_message": "string",
"data": {
"user_id": 0,
"user_id_str": "string",
"media_id": 0,
"media_id_str": "string",
"name": "string",
"user_unique_name": "string",
"unique_name_modify_time": 0,
"description": "string",
"user_auth_info": "string",
"media_label": "string",
"media_desc": {},
"user_status": 0,
"icon_url": "string",
"shard_card_cover": "string",
"is_following": 0,
"is_followed": 0,
"posts_count": 0,
"following_count": 0,
"followers_count": 0,
"anonymous_followers": 0,
"comment_count": 0,
"tabs": [
{
"id": "string",
"show_name": "string",
"is_default": true,
"visibility": true
}
],
"share_count": 0,
"is_blocked": true,
"is_blocked_by_profile": true,
"is_blocking_profile": true,
"privacy_status": 0,
"background_url": "string",
"is_default_bg": true,
"permissions": {},
"pendant_info": {
"desc": "string",
"id": 0,
"url": "string"
},
"handle_id": "string",
"recent_visitors": [
null
],
"birthday": "string",
"show_private_guide_alert": true,
"gender": 0,
"location": "string",
"user_tags": [
null
],
"rank": {
"count": 0,
"icon_url": "string",
"text": "string",
"to_view_text": "string",
"url": "string"
},
"yesterday_read": {
"count": 0,
"url": "string"
},
"yesterday_post": {
"count": 0,
"url": "string"
},
"yesterday_interaction": {
"count": 0,
"url": "string"
},
"auth_request_url": "string",
"auth_introduction_url": "string",
"user_is_login": true,
"forum_id": 0,
"share_url": "string",
"contact_info": "string",
"log_extra": "string",
"is_banned_account": true,
"user_liked_count": 0,
"draft_count": 0,
"digg_count": 0,
"favorite_count": 0,
"year_of_birth": 0,
"instagram_id": "string",
"instagram_url": "string",
"user_link": {
"prefix": "string",
"link_name": "string",
"enable_edit": true
},
"draft_cover_list": [
null
],
"setting_ugc_permission_show": true,
"setting_ugc_permission_alert": true,
"ban_status": 0,
"relation_tag": 0,
"user_favorite_count": 0,
"has_skin_report": null,
"show_campaign_center": null,
"is_follow_apply": 0
},
"server_time": "string"
}
}
最后修改时间: 4 个月前