Add cover
POST/upload/:video_id/videos
Upload cover image to a video.
Request
Path Parameters
video_id stringrequired
Header Parameters
Content-Type stringrequired
Example: multipart/form-data
Accept stringrequired
Example: application/json
- multipart/form-data
Body
file binaryrequired
(Required)
Responses
- 200
- 400
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
image stringrequired
thumb stringrequired
{
"status": "string",
"image": "string",
"thumb": "string"
}
OK
{
"status": "<string>",
"image": "<string>",
"thumb": "<string>"
}
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
{
"status": "string"
}
Bad Request
{
"status": "<string>"
}
Loading...