# Function description

This interface provides cover data information. The interface needs to implement the following business logic:

  1. Upload the local cover to Object Storage
  2. According to the task ID, save the cover url to the database

# Request

# Request example

POST / coverCompletion
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 cover data information, for example:

{
    "taskId": 1,
    "taskInfo": {
        "coverFilePath": "/opt/bsedit/cover.jpg"
    }
}
Field Description Type
taskId The task ID passed to the transcoder by the caller long
taskInfo task information object
coverFilePath cover path string

# Response

The interface implementation can return the normal response body.