Services

General Objects

Filter Objects

Array Objects

Enums

String Enums Constants

Kaltura API

fileAsset:setcontent
Description:
Set content of file asset
Input Params
Name Type Description Required Default Value Restrictions
id string V
contentResource KalturaContentResource V
Output Type
KalturaFileAsset
Errors
FILE_ASSET_ID_NOT_FOUND;ASSET_ID;File asset id ["@ASSET_ID@"] not found
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
RESOURCE_TYPE_NOT_SUPPORTED;RES_TYPE;Resource type "@RES_TYPE@" not suppported
Example HTTP Hit
http://www.kaltura.com/api_v3/?service=fileAsset&action=setcontent
POST fields:
id
contentResource:relatedObjects