事件名称
NewFileUpload
事件说明
普通回调
如果选择普通回调模式,则回调 URL 会接收到来自云点播的 HTTP 请求。请求采用 POST 方法,请求内容在 BODY 中,如下所示(省略了值为 null 的字段)。
{"EventType":"NewFileUpload","FileUploadEvent":{"FileId":"5285890784273533167","MediaBasicInfo":{"Name":"动物世界","Description":"","CreateTime":"2019-01-09T16:36:22Z","UpdateTime":"2019-01-09T16:36:24Z","ExpireTime":"9999-12-31T23:59:59Z","ClassId":0,"ClassName":"其他","ClassPath":"其他","CoverUrl":"","Type":"mp4","MediaUrl":"http://125676836723.vod2.myqcloud.com/xxx/xxx/q1BORBPQH1IA.mp4","TagSet":[],"StorageRegion":"ap-guangzhou-2","SourceInfo":{"SourceType":"Upload","SourceContext":""},"Vid":"5285890784273533167"},"ProcedureTaskId":"","ReviewAudioVideoTaskId":""}}
可靠回调
{"Response": {"EventSet": [{"EventHandle": "EventHandle.N","EventType": "NewFileUpload","FileUploadEvent": {"FileId": "5285890784273533167","MediaBasicInfo": {"Name": "动物世界","Description": "","CreateTime": "2019-01-09T16:36:22Z","UpdateTime": "2019-01-09T16:36:24Z","ExpireTime": "9999-12-31T23:59:59Z","ClassId": 0,"ClassName": "其他","ClassPath": "其他","CoverUrl": "","Type": "mp4","MediaUrl": "http://125676836723.vod2.myqcloud.com/xxx/xxx/q1BORBPQH1IA.mp4","TagSet": [],"StorageRegion": "ap-guangzhou-2","SourceInfo": {"SourceType": "Upload","SourceContext": ""},"Vid": "5285890784273533167"},"ProcedureTaskId": "","ReviewAudioVideoTaskId":""}}],"RequestId": "335bdaa3-db0e-46ce-9946-51941d9cb0f5"}}