# Function description
This interface provides audio data information. The generated audio data is used for audio contrast calibration.
The interface needs to implement the following business logic:
- Upload the audio file to Object Storage
- According to the task ID, save the audio url information to the database
# Request
# Request example
POST / audioDataCompletion
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 audio data information, for example:
{
"taskId": 1,
"taskInfo": {
"audioDataFilePath": "/opt/bsedit/uuid.data"
}
}
Field | Description | Type |
---|---|---|
taskId | The task ID passed to the transcoder by the caller | long |
taskInfo | task information | object |
audioDataFilePath | audio file local path | string |
# Response
The interface implementation can return the normal response body.