Page optimized for desktop experience. Please use a desktop browser for best compatibility.

Upload Video Presentation Chapters

This endpoint uploads a PowerPoint presentation to create chapters for a specified video. Posting chapters replaces all existing chapters a video contains. The first slide begins at 00:00:00 with the rest evenly distributed throughout the duration of the video. The slide titles are the names of the chapter titles. If there are slides without titles, the slide number is the title. The endpoint requires the user have edit rights to the video.

POST
/api/uploads/video-presentations/{videoId}

Path Parameters

Parameter Type Validations
videoId string, required ID of video to upload presentation chapters to

Request Body

application/json

{
"PresentationFile": "string"
}

Parameter Type Validations
PresentationFile string, required

Presentation file for the chapter. Please provide Content-Type header for the uploaded file. Accepted values are text/plain or application/octetstream.

Response Messages

Successful response

Bad request

  • code = “VideoIdDoesNotExist” = “Incorrect video Id specified.”
  • code = “InvalidFileType” = “Presentation file uploaded is not supported.”

Unauthorized error

user does not have edit rights

Internal server error