Services

General Objects

Filter Objects

Array Objects

Enums

String Enums Constants

Kaltura API

attachment_attachmentasset:setcontent
Description:
Update content of attachment asset
Input Params
Name Type Description Required Default Value Restrictions
id string V
contentResource KalturaContentResource V
Output Type
KalturaAttachmentAsset
Errors
ATTACHMENT_ASSET_ID_NOT_FOUND;ASSET_ID;Attachment asset id "@ASSET_ID@" not found
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
ATTACHMENT_ASSET_ID_NOT_FOUND;ASSET_ID;Attachment asset id "@ASSET_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=attachment_attachmentasset&action=setcontent
POST fields:
id
contentResource:relatedObjects