thumbAsset:generate | |||||
---|---|---|---|---|---|
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
entryId | string | V | |||
thumbParams | KalturaThumbParams | V | |||
sourceAssetId | string | id of the source asset (flavor or thumbnail) to be used as source for the thumbnail generation | |||
Output Type | |||||
KalturaThumbAsset | |||||
Errors | |||||
ENTRY_ID_NOT_FOUND;ENTRY_ID;Entry id "@ENTRY_ID@" not found | |||||
ENTRY_TYPE_NOT_SUPPORTED;ENTRY_TYPE;Entry type "@ENTRY_TYPE@" not suppported | |||||
ENTRY_MEDIA_TYPE_NOT_SUPPORTED;MEDIA_TYPE;Entry media type "@MEDIA_TYPE@" not suppported | |||||
THUMB_ASSET_ID_NOT_FOUND;ID;The Thumbnail asset not found for params id "@ID@" | |||||
INVALID_ENTRY_STATUS;;Invalid entry status | |||||
THUMB_ASSET_IS_NOT_READY;;The thumbnail asset is not ready | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=thumbAsset&action=generate POST fields: entryId thumbParams:relatedObjects thumbParams:id thumbParams:partnerId thumbParams:name thumbParams:systemName thumbParams:description thumbParams:createdAt thumbParams:isSystemDefault thumbParams:tags thumbParams:requiredPermissions thumbParams:sourceRemoteStorageProfileId thumbParams:remoteStorageProfileIds thumbParams:mediaParserType thumbParams:sourceAssetParamsIds thumbParams:cropType thumbParams:quality thumbParams:cropX thumbParams:cropY thumbParams:cropWidth thumbParams:cropHeight thumbParams:videoOffset thumbParams:width thumbParams:height thumbParams:scaleWidth thumbParams:scaleHeight thumbParams:backgroundColor thumbParams:sourceParamsId thumbParams:format thumbParams:density thumbParams:stripProfiles thumbParams:videoOffsetInPercentage sourceAssetId |