Search⌘ K

Edit a Video and Fetch a List of Related Videos

Explore how to edit video details and retrieve related videos using specific Dailymotion API endpoints with JavaScript. This lesson teaches defining requests, handling responses, and managing video data effectively.

In this lesson, we'll learn two very important functionalities offered by the Dailymotion Data API using the following endpoints:

  • Edit a video: {base_url}/video/video_Id

  • Fetch related videos: {base_url}/video/video_Id/related

Edit a video

In this section, we'll edit the video we published in the last lesson. The {base_url}/video/video_Id endpoint utilizes POST method and takes one required parameter, which is the ID of the video that we want to edit.

Request parameters

It also takes some optional parameters; ...