cURL
curl --request POST \ --url https://apiv1.cakeip.com/openapi/account/queryTraffic \ --header 'Content-Type: application/json' \ --data ' { "appKey": "<string>", "params": { "username": "<string>" } } '
{ "code": 0, "msg": "<string>", "data": { "fullTraffic": 1000, "traffic": 800, "details": [ { "provider": 1, "name": "精选美区", "traffic": 300 }, { "provider": 2, "name": "全球混合", "traffic": 500 } ] } }
代理商查询用户流量
Plant to add to the store
AppKey密钥
动态参数集合
Show child attributes
plant response
获取剩余流量响应(汇总所有供应商流量)
状态码,0为操作成功
0
-1
响应消息
流量数据(汇总所有供应商)