- 开发指南
- 基础API
- 登录模块
- 联系人模块
- 群模块
- 消息模块
- 朋友圈模块
- 标签模块
- 个人模块
- 收藏夹模块
- 视频号模块
- 账号管理
修改个人信息
POST
http://218.78.116.24:10883/gewe/v2/api/personal/updateProfile
比如修改昵称则参数仅传appId和nickName
修改地区则参数可传appId、country、province、city
请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string
设备ID
city
string
城市
country
string
国家
nickName
string
昵称
province
string
省份
sex
string
必需
signature
string
签名
示例
{
"appId": "{{appid}}",
"city": "",
"country": "",
"nickName": "",
"province": "",
"sex": 1,
"signature": "......"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://218.78.116.24:10883/gewe/v2/api/personal/updateProfile' \
--header 'X-GEWE-TOKEN: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "",
"city": "",
"country": "",
"nickName": "",
"province": "",
"sex": 1,
"signature": "......"
}'
返回响应
🟢200成功
application/json
Body
ret
integer
必需
msg
string
必需
示例
{
"ret": 200,
"msg": "操作成功"
}
修改于 2024-04-17 08:07:28