POST api/SoundFile/UpdateTransContent
添加识别数据,更新识别状态
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"ossFilePath": "sample string 2",
"index": 3,
"SoundFileId": "829763fb-5e79-47b1-b3b0-74a785d011e7",
"TransContent": [
{
"channel_id": 1,
"begin_time": 2,
"end_time": 3,
"emotion_value": "sample string 4",
"silence_duration": 5,
"speech_rate": 6,
"text": "sample string 7"
},
{
"channel_id": 1,
"begin_time": 2,
"end_time": 3,
"emotion_value": "sample string 4",
"silence_duration": 5,
"speech_rate": 6,
"text": "sample string 7"
},
{
"channel_id": 1,
"begin_time": 2,
"end_time": 3,
"emotion_value": "sample string 4",
"silence_duration": 5,
"speech_rate": 6,
"text": "sample string 7"
}
],
"RecognitionStatus": 5,
"dataInfo": {
"i": 1,
"trimin": 2,
"Duration": 3,
"targetAudioFile": "sample string 4"
},
"content": "sample string 6"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"Result": 1,
"Message": "sample string 2",
"Data": {},
"Version": "sample string 4"
}