帮助列表 |
https://openapi.aodianyun.com/v2/VOD.GetAmount
POST
Content-Type: application/x-www-form-urlencoded
access_id:安全校验ID,值为字符串。必选
示例:”access_id”:”123456789”
access_key:安全校验码,值为字符串。必选
示例:”access_key”:”ABCDEFG”
stime:查看VOD服务起始时间,值为时间戳。必选
示例:"stime”:“1472659200”
etime:查看VOD服务结束时间,值为时间戳。必选
示例:"etime”:“1479795074”
domain:查看VOD服务域名,值为字符串。可选
示例:"domain”:“23490.live-vod.cdn.aodianyun.com”
curl -X POST \ https://openapi.aodianyun.com/v2/VOD.GetAmount \-H "Content-Type: application/x-www-form-urlencoded" \ -d '{"access_id":"123456","access_key":"ABCDEFG","stime":1472659200,"etime":1479795074,"domain":"23490.live-vod.cdn.aodianyun.com"}'
Flag:操作处理结果状态码
示例:”Flag”:100。提示:Flag=100为成功,失败为非100,失败FlagString中体现。
FlagString:操作处理结果状态说明
示例:“FlagString”:“search success”
List:返回该用户vod服务在该起始和结束时间段的流量情况
示例:“List”:“{"type(流量类型)":["direct(直播流量)","upload(上传流量)"],"data":{"1479724200":{"uptime(更新时间点,时间戳)":1479724200,"direct(从上次更新时间到此次更新时间段的直播流量值,单位:byte)":42105327},"step":86400,"time_period(起始和结束时间戳)":[1472659200,1479795074]}”
{ "Flag": 100, "FlagString": "search success", "List": {"type":["direct","upload"],"data":{"1479724200":{"uptime":1479724200,"direct":42105327},"step":86400,"time_period":[1472659200,1479795074]}} }
您可以使用奥点云开放平台提供的API接口调试工具进行接口调试。
请登录:https://openapi.aodianyun.com/tools