用户
修改用户资料(昵称、头像等)
接口说明
此接口用于为已经登录的用户修改当前的基本资料(如昵称、头像)。 当提供screenName时才更新昵称,提供profileImageBase64时才更新头像图片,否则不会产生变化。
更新头像图片
头像图片需要转换成base64编码后放入profileImageBase64字段中。此字段长度不能超过1MB。 上传的图片将保留长宽比,转换为边长最长600px的长方形,并存储为jpg格式。
权限需求
此接口需要登录后才可使用(请求中包含Authorization头)
post/api/v2/user/profile
Request
- Base URL: https://api.dandanplay.net
- URL: https://api.dandanplay.net/api/v2/user/profile
- Auth: one of:
- API key in header X-AppId
- API key in header X-AppSecret
- HTTP bearer
Request body
Response
返回修改结果
Changes
No recorded changes to this operation across all 1 revision of this API.