Type Alias UpdateRequest

UpdateRequest: Omit<
    UploadMetadata,
    | "uploader"
    | "categoryIds"
    | "doNotTranscode"
    | "is360"
    | "sourceType"
    | "legacyViewCount"
    | "postUploadActions",
> & {
    audioTracks?: { languageId: string; track: number }[];
    categories?: string;
    expirationAction?: ExpirationAction;
    expirationDate?: string;
    linkedUrl?: LinkedUrl;
}

Type declaration

  • OptionalaudioTracks?: { languageId: string; track: number }[]
  • Optionalcategories?: string

    List of category IDs. If you use categoryIds and they do not exist/are incorrect, the request is rejected. The request is also rejected if you do not have contribute rights to a restricted category and you attempt to add/edit or otherwise modify it.

  • OptionalexpirationAction?: ExpirationAction
  • OptionalexpirationDate?: string
  • OptionallinkedUrl?: LinkedUrl