Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The REST API's video upload via REST API feature is a very useful feature for for creating a custom upload portal or UI, and for system integrators to synchronize the VideoManager Pro with a CMS-master.content management system.

Uploading with the API is done via chunking. You have the option to include metadata, such as a Upload-options are full-file or chunked upload, furthermore you can optionally specify title, description and keywords as metadata, as well as define a channel-. You can also define the channel ID and group - ID that the uploaded video will will be assigned to to.

The following steps are necessary for the upload and are described in detail:To upload a video via the REST API, follow the steps listed below. While the first two steps are executed through the API, the upload is done via a separate asset-management endpoint.

  1. Create a video entity (with title, description)
  2. get a upload link from the file handler (the link has a timeout)
  3. upload video
  4. a filename) in a specified VideoManager

  5. Get the upload URL from the asset-management endpoint

  6. Upload a video

The following chapters describe how to perform each step using cURL to demonstrate usage in the examples.

Note

The URLs in the methods throughout the following chapters refer to the general live instance of movingimage. Customers using VideoManager Pro on a custom domain must adjust the URLs accordingly.