document_documents:addfromentry | ||
---|---|---|
Description: | ||
Copy entry into new entry |
||
Input Params | ||
name | type | Description |
sourceEntryId | string | Document entry id to copy from |
documentEntry | KalturaDocumentEntry | Document 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 | ||
KalturaDocumentEntry | ||
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=document_documents&action=addfromentry POST fields: sourceEntryId documentEntry:id documentEntry:name documentEntry:description documentEntry:partnerId documentEntry:userId documentEntry:tags documentEntry:adminTags documentEntry:categories documentEntry:categoriesIds documentEntry:status documentEntry:moderationStatus documentEntry:moderationCount documentEntry:type documentEntry:createdAt documentEntry:updatedAt documentEntry:rank documentEntry:totalRank documentEntry:votes documentEntry:groupId documentEntry:partnerData documentEntry:downloadUrl documentEntry:searchText documentEntry:licenseType documentEntry:version documentEntry:thumbnailUrl documentEntry:accessControlId documentEntry:startDate documentEntry:endDate documentEntry:referenceId documentEntry:replacingEntryId documentEntry:replacedEntryId documentEntry:replacementStatus documentEntry:partnerSortValue documentEntry:conversionProfileId documentEntry:rootEntryId documentEntry:operationAttributes documentEntry:documentType documentEntry:assetParamsIds sourceFlavorParamsId |