document_documents:addfromentry | ||||
---|---|---|---|---|
Description: | ||||
Copy entry into new entry |
||||
Input Params | ||||
Name | Type | Description | Required | Default Value |
sourceEntryId | string | Document entry id to copy from | V | |
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 | ||||
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:creatorId 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:entitledUsersEdit documentEntry:entitledUsersPublish documentEntry:documentType documentEntry:assetParamsIds sourceFlavorParamsId |