How to Use the API to Create a New Flavor Asset for an Existing Entry
Updated: Tue Apr 18 09:21:53 2017, By Contribute to this page
To create a new flavor asset for an existing entry, call the flavorAsset.convert API action.
<?php require_once('lib/KalturaClient.php');
$config = new KalturaConfiguration($partnerId);
$config->serviceUrl = 'https://www.kaltura.com/';
$client = new KalturaClient($config);
$client->setKs('AddYourKS');
$entryId = '1_entryIdString';
$flavorParamsId = 11111;
$results = $client->flavorAsset->convert($entryId, $flavorParamsId);