T 返回数据 id string data id 示例: { "time":1572405713583, "data":{ "id":"xxxxxxxxxxxxxxxxxxxxxxx" }, "code":200, "msg":"OK" }
T 返回数据 id string data id 示例: { "time":1572405713583, "data":{ "id":"xxxxxxxxxxxxxxxxxxxxxxx" }, "code":200, "msg":"OK" }
T 返回数据 id string data 指令 ID 示例: { time : 1614052251574 , data : { id : xxxxxxxxxxxxxxxxxxxxxxxx } , code : 200 , msg : OK }
依照例子中的时间策略,地址分别是bos://{bucket_name}/input/201512111955/data.txt,bos://{bucket_name}/input/201512112025/data.txt,bos://{bucket_name}/input/201512112055/data.txt,如此类推。
T 返回数据 version int data 版本号 示例: { "time":1572405713583, "data":{ "version":1 }, "code":200, "msg":"OK" }
T 数据信息 version int data 更新后意图模板版本号 { "code":200, "time":1567998660176, "msg":"OK", "data": { "version":1 } }
T 数据信息 id string data id信息 示例: { "data":{"id":"xxxxxxx"} "code":200, "time":1567998660176, "msg":"OK", }
T 数据 version int data 版本号 示例: { "data":{"version":1}, "code":200, "time":1568274632887, "msg":"OK" }
data_class.VideoDetail(**detail) print(video_detail) elif content_type == "status": status_detail = data_class.StatusDetail(**detail) print(status_detail) else: default_detail = data_class.DefaultDetail
1.mp3' , 'rb' ) as f : audio = f . read ( ) ## params 为GET参数 data 为POST Body result = requests . post ( 'http://127.0.0.1:24401/' , params = { 'threshold' : 0.1 } , data = audio ) . json ( ) C# 使用示例代码如下