thumbAsset:add | |||||
---|---|---|---|---|---|
Description: | |||||
Add thumbnail asset |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
entryId | string | V | |||
thumbAsset | KalturaThumbAsset | V | |||
Output Type | |||||
KalturaThumbAsset | |||||
Errors | |||||
ENTRY_ID_NOT_FOUND;ENTRY_ID;Entry id "@ENTRY_ID@" not found | |||||
THUMB_ASSET_ALREADY_EXISTS;ASSET_ID,PARAMS_ID;Thumbnail asset id "@ASSET_ID@" already use thumbnail params id "@PARAMS_ID@" | |||||
UPLOAD_TOKEN_INVALID_STATUS_FOR_ADD_ENTRY;;Upload token is in an invalid status for adding entry, maybe the a file was not uploaded or the token was used | |||||
UPLOADED_FILE_NOT_FOUND_BY_TOKEN;;The uploaded file was not found by the given token id, or was already used | |||||
RECORDED_WEBCAM_FILE_NOT_FOUND;;The recorded webcam file was not found by the given token id, or was already used | |||||
THUMB_ASSET_ID_NOT_FOUND;ID;The Thumbnail asset id "@ID@" not found | |||||
STORAGE_PROFILE_ID_NOT_FOUND;ID;Storage profile id @ID@ not found | |||||
RESOURCE_TYPE_NOT_SUPPORTED;RES_TYPE;Resource type "@RES_TYPE@" not suppported | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=thumbAsset&action=add POST fields: entryId thumbAsset:relatedObjects thumbAsset:id thumbAsset:entryId thumbAsset:partnerId thumbAsset:version thumbAsset:size thumbAsset:tags thumbAsset:fileExt thumbAsset:createdAt thumbAsset:updatedAt thumbAsset:deletedAt thumbAsset:description thumbAsset:partnerData thumbAsset:partnerDescription thumbAsset:actualSourceAssetParamsIds thumbAsset:thumbParamsId thumbAsset:width thumbAsset:height thumbAsset:status |