Update video information

PUT

Use this method to update the metadata of a video such as file name.

Path parameters

index-idstringRequired

The unique identifier of the index to which the video has been uploaded.

video-idstringRequired

The unique identifier of the video to update.

Request

This endpoint expects an object.
user_metadatamap from strings to anyOptional

Metadata that helps you categorize your videos. You can specify a list of keys and values. Keys must be of type string, and values can be of the following types: string, integer, float or boolean.

Example:

1"user_metadata": {
2 "category": "recentlyAdded",
3 "batchNumber": 5,
4 "rating": 9.3,
5 "needsReview": true
6}
Notes
  • If you want to store other types of data such as objects or arrays, you must convert your data into string values.
  • You cannot override the following system-generated metadata fields:
    • duration
    • filename
    • fps
    • height
    • model_names
    • size
    • video_title
    • width

Errors

Built with