media:addfromentry | |||||
---|---|---|---|---|---|
Description: | |||||
Copy entry into new entry |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
sourceEntryId | string | Media entry id to copy from | V | ||
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 | |||||
KalturaMediaEntry | |||||
Errors | |||||
ENTRY_ID_NOT_FOUND;ENTRY_ID;Entry id "@ENTRY_ID@" 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;DATA;The original flavor asset could not be created [@DATA@] | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=media&action=addfromentry POST fields: sourceEntryId mediaEntry:relatedObjects mediaEntry:id mediaEntry:name mediaEntry:description mediaEntry:partnerId mediaEntry:userId mediaEntry:creatorId 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:redirectEntryId mediaEntry:rootEntryId mediaEntry:parentEntryId mediaEntry:operationAttributes mediaEntry:entitledUsersEdit mediaEntry:entitledUsersPublish mediaEntry:capabilities mediaEntry:plays mediaEntry:views mediaEntry:lastPlayedAt 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 mediaEntry:isTrimDisabled sourceFlavorParamsId |