Bulk Media.Update

Hi everyone,

I am looking into adding an admin group as co-editors of all of our media.

Is there a way to apply it to all media in the repository?
body : object
entryId * : string
With entryId field:
1- is there an options to use “*” for example to refer to all media?
2- is it possible to have a list of media ids, or
3-would it be necessary to set up a batch updating 1 video at a time?

Thanks in advance! :slight_smile:

Hi @jeronimo ,

You can either call media.list() and then iterate over each entry and call media.update() or you can use the XML bulk update mechanism (see Bulk Upload - Kaltura VPaaS API Documentation).
For updating the co-editors, you’ll want something like this:

  <mrss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
1 Like