interface MigrateRequest {
    legacyViewCount?: number;
    owner?: { userId: string };
    publishDate?: string | Date;
    sensitiveContent?: boolean;
    userName?: string;
    whenUploaded?: string | Date;
}

Properties

legacyViewCount?: number

Retain the total views count from an outside system as an optional param.

owner?: { userId: string }

change "owner" to this user. Owner takes precedence over Uploader field in sorting/UI

publishDate?: string | Date

By default, the publishDate is set to the current date the video is set to Active status. You can also set the publishDate to a date in the future to make the video Active at that time. If the video is already Active, the publishDate can be set to a date in the past.

sensitiveContent?: boolean

This will prevent sensitive content from being indexed in Elastic Search.

  • consider using the PATCH API instead
userName?: string

change "uploader" value to this user

whenUploaded?: string | Date

When video was first uploaded (ISO Date)