cURL
curl --request POST \ --url https://apiv1.cakeip.com/openapi/account/getUsableTraffic \ --header 'Content-Type: application/json' \ --data ' { "appKey": "<string>" } '
{ "code": 0, "msg": "<string>", "data": { "fullTraffic": 1000, "traffic": 800, "details": [ { "provider": 1, "name": "精选美区", "traffic": 300 }, { "provider": 2, "name": "全球混合", "traffic": 500 } ] } }
用户获取剩余流量(汇总所有供应商流量,并返回各供应商明细)
获取剩余流量请求
AppKey密钥
获取剩余流量成功
获取剩余流量响应(汇总所有供应商流量)
状态码,0为操作成功
0
-1
响应消息
流量数据(汇总所有供应商)
Show child attributes