thumbasset:generate | ||
---|---|---|
Input Params | ||
name | type | Description |
entryId | string | |
thumbParams | KalturaThumbParams | |
sourceAssetId | string | id of the source asset (flavor or thumbnail) to be used as source for the thumbnail generation |
Output Type | ||
type | ||
KalturaThumbAsset | ||
Errors | ||
ENTRY_ID_NOT_FOUND,Entry id "%s" not found | ||
ENTRY_TYPE_NOT_SUPPORTED,Entry type "%s" not suppported | ||
ENTRY_MEDIA_TYPE_NOT_SUPPORTED,Entry media type "%s" not suppported | ||
THUMB_ASSET_ID_NOT_FOUND,The Thumbnail asset not found for params id "%s" | ||
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:id thumbParams:partnerId thumbParams:name thumbParams:systemName thumbParams:description thumbParams:createdAt thumbParams:isSystemDefault thumbParams:tags thumbParams:requiredPermissions 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 sourceAssetId |