user_information
POST
/action/openapi/user_information
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.oschina.net/action/openapi/user_information' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token": "string",
"user": "string",
"friend": "string",
"friend_name": "string",
"dataType": "string"
}'
响应示例响应示例
{
"uid": 20,
"name": "xxx",
"ident": "xxx",
"gender": 1,
"relation": 3,
"province": "上海",
"city": "闵行",
"platforms": [
"Java EE",
"PHP",
".NET/C#",
"JavaScript",
"Delphi/Pascal"
],
"expertise": [
"WEB开发",
"服务器端开发",
"DBA/数据库"
],
"joinTime": "2008-09-18 09:17:15.0",
"lastLoginTime": "2012-03-13 15:22:58.0",
"portrait": "http://www.oschina.net/uploads/user/0/20_50.jpg",
"notice": {
"replyCount": 0,
"msgCount": 0,
"fansCount": 0,
"referCount": 0
}
}
请求参数
Body 参数application/json