请求URI: /openapi/v1/user/info
请求方式: GET
请求参数
参数名称 | 请求位置 | 类型 | 描述 | 必须 |
---|---|---|---|---|
token | header | string | 调用令牌 | 是 |
请求示例:
curl -X GET "https://openapi.v1.guangdianyun.tv/openapi/v1/user/info" \
-H "accept: application/json" \
-H "token: token"
响应字段说明:
字段 | 说明 |
---|---|
unionId | 用户唯一标识 |
uin | 公司唯一标识 |
用户邮箱地址 | |
phone | 用户手机号 |
avaUrl | 头像地址 |
realName | 用户姓名 |
company | 公司名称 |
accessId | accessId |
accessKey | accessKey |
响应示例:
{
"code": 200,
"msg": "OK",
"data": {
"unionId": "1003-0-0",
"account": 1003,
"accountId": 1480,
"accountStatus": 1,
"agencyLoginBackground": "20181130/d29aedf602b579e9fc2c75c216132576.png",
"aodianAccessIdPStream": "251075396207",
"aodianAccessKeyPStream": "ZoE88gM6IgpHcliFA8nmLlXWKOGoPF3g",
"aodianUinPStream": 35710,
"authKey": "ad123456",
"authStatus": 0,
"ava": "20190513/c58ad56f253fffcd106bfc0903f7b97c.png",
"avaUrl": "https://static-pro.guangdianyun.tv/1003/userPhoto/20190513/c58ad56f253fffcd106bfc0903f7b97c.png",
"broadcastMakeHsmsGroupId": "g_3346f625a2e246c033e76d386556c262",
"broadcastMakeType": 2,
"businessManagerId": 8,
"childAccount": "",
"clientStore": 1,
"cmsExamine": 1,
"cname": "gjc-cname.guangdianyun.tv",
"cnameStatus": 0,
"company": "奥点广电云1003",
"copyLssApp": "copy_guangdianyun_25492",
"dmsKeyInfo": {
"sub_key": "sub_key",
"pub_key": "pub_key",
"appid": "appid"
},
"email": "email@qq.com",
"isChild": 2,
"isExamine": 0,
"isLss": 1,
"lastLoginTime": 1585809686,
"lcpsUsedTime": 131,
"leagueStatus": 2,
"liveProgramMpsId": 1376,
"liveVersion": 1,
"lpsApp": "25492",
"lssApp": "lms_25492",
"lssAppPStream": "guangdianyun_35710",
"masterPhone": "13100000000",
"maxrecordduration": 8,
"microInfo": {
"background": "https://static-pro.guangdianyun.tv/1003/micro/20191119/AwBtyJ3Pn2GQNm7sFz2mfzyWZ5RWxJYc5886.jpeg",
"consoleLogo": "",
"consoleLogoLong": "",
"declare": [
""
],
"domain": "",
"icon": "",
"loginTitle": "",
"logo": "",
"smallLogo": "",
"titleStyle": "",
"type": "console",
"uin": 1003
},
"msgDmsKey": {
"app_key": 15537,
"appid": "gdyRoomMsg",
"authCode": "5baa5ae7c97491908f10098afb08ad04",
"pub_key": "pub_1d439ee2e6473b8e5bdf5ee7a9acbc10",
"s_key": "s_40b56454bdadf66d228b49eecf24204c",
"status": 1,
"sub_key": "sub_66e6a5092ab6b215a37216f6b960eb9a",
"user": 25492
},
"name": "公共测试",
"newsTitle": "66666",
"oldAccess": 0,
"passport": "13100000000",
"passportType": "phone",
"password": "27b448bcfbb989698aac17ddf26ab98a",
"phone": "13186995563",
"platform": "gdy",
"projectVersion": 1,
"radioProgramMpsId": 19991,
"radioStorage": 2,
"rbacStatus": 1,
"realName": "公共测试",
"registerTime": 1522819861,
"roleId": null,
"roleInit": 1,
"roleType": 1,
"specialRoomType": 0,
"status": 1,
"consoleToken": "consoleToken.consoleToken.consoleToken",
"tvLssApp": "tv_radio_25492",
"tvProgramMpsId": 19990,
"tvStorage": 2,
"twAuditing": 0,
"uin": 1003,
"type": "user",
"cid": 0,
"aid": 0,
"userAva": "https://static-pro.guangdianyun.tv/1003/userPhoto/20190513/c58ad56f253fffcd106bfc0903f7b97c.png",
"userFrom": 3,
"userHeadImg": "20190513/c58ad56f253fffcd106bfc0903f7b97c.png",
"userId": null,
"userType": 3,
"version": "pre"
}
}
最后编辑: 广电云技术部 文档更新时间: 2024-11-14 10:47 作者:广电云技术部