# Function description
This interface provides waveform data information.
The interface needs to implement the following business logic:
- Upload the video waveform file to object storage
- According to the task ID, save the video waveform url information to the database
# Request
# Request example
POST / waveformCompletion
HTTP / 1.1
Host: <host>
Content-Type: application/json
# Request Parameters
none
# Request Headers
none
# Request Body
The request body is a json string containing waveform data information, for example:
{
"taskId": 1,
"taskInfo": {
"leftChannelFilePath": "/opt/bsedit/<uuid>-leftchannel.data",
"rightChannelFilePath": "/opt/bsedit/<uuid>-rightchannel.data",
"leftChannelFilePathList":["",""],
"rightChannelFilePathList":["",""]
}
}
Field | Description | Type |
---|---|---|
taskId | The task ID passed to the transcoder by the caller | long |
taskInfo | task information | object |
leftChannelFilePath | left channel waveform data file path | string |
rightChannelFilePath | Right channel waveform data file path | string |
leftChannelFilePathList | left channel multitrack waveform data file path | array |
rightChannelFilePathList | Right channel multitrack waveform data file path | array |
# Response
The interface implementation can return the normal response body.