注意:以下文档只适用于TOP接口,请谨慎使用!
云游戏混淆用户ID校验
云游戏战绩上传
云游戏战绩上传通用接口
查询用户信息
云游戏准入校验
云游戏消息发送
云游戏算力评估发起task
查询云游戏的测试结果
查询算力评估的结果
云游戏执行功能测试
流程预测
Avatar视频录制PAAS回调
游戏状态事件回调
推送diamond配置
用户Avatar body查询
女娲平台云游戏用户校验
文件下载回调
新氢玩Avatar脸部装扮数据查询
Avatar形象保存地址回调
游戏删除回调
云游戏适配接口
发送消息给游戏
登录存在账号
创建新的mpproject
云游戏变更风险检测
paas集群会话状态同步
上传版本
建游戏房间
外部商户业务请求校验
外部商户请求结果回写
云游戏场景互动开始游戏
分配joinCode
游戏玩家心跳
踢人
获取用户状态
获取游戏状态
用户停止游戏
查询启动次数,成功率
云游戏更新感知
云游戏更新感知能力检查
网络拓扑查询接口
云游戏融合适配
强制关闭房间
支付发起
同步订购科目信息
递延-确认订单
订单退款
获取虚拟手柄配置
查询可退金
订购退款
会话相关信息查询
发起降配订单
充值
查询账户余额
发起提现
后置收银台渲染接口
页面异步操作接口
支付提交接口(奥创/astore)
查询支付结果
咖哒用户ID查询
后付费结算
信控账户额度查询
信控账户额度修改
信控账户开户
列表查询账户以及余额
汇金结算记录
创建预案文档
信控还款
修改信控账户
订购资金集合查询
立即确收
发起降配订单V2
账单导出签署回调流程
获取fileKey
弹性扩缩接口
统计实例数
查询应用扩缩能力
监控指标查询
罗技游戏列表
分页查询钉钉游戏中心游戏数据
批量查询钉钉游戏中心游戏数据
环境 | HTTP请求地址 | HTTPS请求地址 |
---|---|---|
正式环境 | http://gw.api.taobao.com/router/rest | https://eco.taobao.com/router/rest |
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
method | String | 是 | API接口名称。 |
app_key | String | 是 | TOP分配给应用的AppKey。 |
target_app_key | String | 否 | 被调用的目标AppKey,仅当被调用的API为第三方ISV提供时有效。 |
sign_method | String | 是 | 签名的摘要算法,可选值为:hmac,md5。 |
sign | String | 是 | API输入参数签名结果,签名算法介绍请点击这里。 |
session | String | 否 | 用户登录授权成功后,TOP颁发给应用的授权信息,详细介绍请点击这里。当此API的标签上注明:“需要授权”,则此参数必传;“不需要授权”,则此参数不需要传;“可选授权”,则此参数为可选。 |
timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,时区为GMT+8,例如:2015-01-01 12:00:00。淘宝API服务端允许客户端请求最大时间误差为10分钟。 |
format | String | 否 | 响应格式。默认为xml格式,可选值:xml,json。 |
v | String | 是 | API协议版本,可选值:2.0。 |
partner_id | String | 否 | 合作伙伴身份标识。 |
simplify | Boolean | 否 | 是否采用精简JSON返回格式,仅当format=json时有效,默认值为:false。 |
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
mix_user_id | String | 必须 | NDU2MzYxOTY4M1U= | 云游戏混淆用户ID |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result_code | String | 0 | 返回码 |
data | Boolean | true | 是否有效 |
result_message | String | null | 返回码描述 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaCloudgameUserMixuseridCheckRequest req = new AlibabaCloudgameUserMixuseridCheckRequest(); req.setMixUserId("NDU2MzYxOTY4M1U="); AlibabaCloudgameUserMixuseridCheckResponse rsp = client.execute(req); System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret); AlibabaCloudgameUserMixuseridCheckRequest req = new AlibabaCloudgameUserMixuseridCheckRequest(); req.MixUserId = "NDU2MzYxOTY4M1U="; AlibabaCloudgameUserMixuseridCheckResponse rsp = client.Execute(req); Console.WriteLine(rsp.Body);
$c = new TopClient; $c->appkey = $appkey; $c->secretKey = $secret; $req = new AlibabaCloudgameUserMixuseridCheckRequest; $req->setMixUserId("NDU2MzYxOTY4M1U="); $resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \ -H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \ -d 'app_key=12129701' \ -d 'format=json' \ -d 'method=alibaba.cloudgame.user.mixuserid.check' \ -d 'partner_id=apidoc' \ -d 'sign=92264FDF1B54F19FEE557A45FEE496DE' \ -d 'sign_method=hmac' \ -d 'timestamp=2025-05-03+22%3A55%3A11' \ -d 'v=2.0' \ -d 'mix_user_id=NDU2MzYxOTY4M1U%3D'
# -*- coding: utf-8 -*- import top.api req=top.api.AlibabaCloudgameUserMixuseridCheckRequest(url,port) req.set_app_info(top.appinfo(appkey,secret)) req.mix_user_id="NDU2MzYxOTY4M1U=" try: resp= req.getResponse() print(resp) except Exception,e: print(e)
pTopRequest pRequest = alloc_top_request(); pTopResponse pResponse = NULL; pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret); set_api_name(pRequest,"alibaba.cloudgame.user.mixuserid.check"); add_param(pRequest,"mix_user_id","NDU2MzYxOTY4M1U="); pResponse = top_execute(pClient,pRequest,NULL); printf("ret code:%d\n",pResponse->code); if(pResponse->code == 0){ pTopResponseIterator ite = init_response_iterator(pResponse); pResultItem pResultItem = alloc_result_item(); while(parseNext(ite, pResultItem) == 0){ printf("%s:%s\n",pResultItem->key,pResultItem->value); } destroy_response_iterator(ite); destroy_result_item(pResultItem); } destroy_top_request(pRequest); destroy_top_response(pResponse); destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient; var client = new TopClient({ 'appkey': 'appkey', 'appsecret': 'secret', 'REST_URL': 'http://gw.api.taobao.com/router/rest' }); client.execute('alibaba.cloudgame.user.mixuserid.check', { 'mix_user_id':'NDU2MzYxOTY4M1U=' }, function(error, response) { if (!error) console.log(response); else console.log(error); })
<alibaba_cloudgame_user_mixuserid_check_response> <result_code>0</result_code> <data>true</data> <result_message>null</result_message> </alibaba_cloudgame_user_mixuserid_check_response>
{ "alibaba_cloudgame_user_mixuserid_check_response":{ "result_code":"0", "data":true, "result_message":"null" } }
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
{ "error_response":{ "msg":"Remote service error", "code":50, "sub_msg":"非法参数", "sub_code":"isv.invalid-parameter" } }
错误码 | 错误描述 | 解决方案 |
---|