media:addfromentry | ||
---|---|---|
Description: | ||
Copy entry into new entry DEPRECATED - use media.add instead |
||
Input Params | ||
name | type | Description |
sourceEntryId | string | Media entry id to copy from |
mediaEntry | KalturaMediaEntry | Media entry metadata |
sourceFlavorParamsId | int | The flavor to be used as the new entry source, source flavor will be used if not specified |
Output Type | ||
type | ||
KalturaMediaEntry | ||
Errors | ||
ENTRY_ID_NOT_FOUND,Entry id "%s" not found | ||
ORIGINAL_FLAVOR_ASSET_IS_MISSING,The original flavor asset is missing | ||
FLAVOR_PARAMS_NOT_FOUND,Flavor params not found | ||
ORIGINAL_FLAVOR_ASSET_NOT_CREATED,The original flavor asset could not be created [%s] | ||
Example HTTP Hit | ||
http://www.kaltura.com/api_v3/?service=media&action=addfromentry POST fields: sourceEntryId mediaEntry:id mediaEntry:name mediaEntry:description mediaEntry:partnerId mediaEntry:userId mediaEntry:tags mediaEntry:adminTags mediaEntry:categories mediaEntry:categoriesIds mediaEntry:status mediaEntry:moderationStatus mediaEntry:moderationCount mediaEntry:type mediaEntry:createdAt mediaEntry:updatedAt mediaEntry:rank mediaEntry:totalRank mediaEntry:votes mediaEntry:groupId mediaEntry:partnerData mediaEntry:downloadUrl mediaEntry:searchText mediaEntry:licenseType mediaEntry:version mediaEntry:thumbnailUrl mediaEntry:accessControlId mediaEntry:startDate mediaEntry:endDate mediaEntry:referenceId mediaEntry:replacingEntryId mediaEntry:replacedEntryId mediaEntry:replacementStatus mediaEntry:partnerSortValue mediaEntry:conversionProfileId mediaEntry:rootEntryId mediaEntry:operationAttributes mediaEntry:plays mediaEntry:views mediaEntry:width mediaEntry:height mediaEntry:duration mediaEntry:msDuration mediaEntry:durationType mediaEntry:mediaType mediaEntry:conversionQuality mediaEntry:sourceType mediaEntry:searchProviderType mediaEntry:searchProviderId mediaEntry:creditUserName mediaEntry:creditUrl mediaEntry:mediaDate mediaEntry:dataUrl mediaEntry:flavorParamsIds sourceFlavorParamsId |