# Function description
This interface provides thumbnail data information.
The interface needs to implement the following business logic:
- Upload the video thumbnail file to Object Storage
- According to the task ID, save the video thumbnail information to the database
# Request
# Request example
POST / thumbnailBatchCompletion
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 video metadata information, for example:
{
"taskId": 1,
"taskInfo": {
"thumbnailFileList": [
{
"path": "/opt/bsedit/<uuid>-00001.jpg",
"time": 1000000
},
...
]
}
}
Field | Description | Type |
---|---|---|
taskId | The task ID passed to the transcoder by the caller | long |
taskInfo | task information | object |
thumbnailFileList | Array of thumbnail paths returned by batch | array |
path | Thumbnail path | string |
time | Thumbnail timestamp in microseconds | long |
# Response
The interface implementation can return the normal response body.