attachment_attachmentasset:add | ||
---|---|---|
Description: | ||
Add attachment asset |
||
Input Params | ||
name | type | Description |
entryId | string | |
attachmentAsset | KalturaAttachmentAsset | |
Output Type | ||
type | ||
KalturaAttachmentAsset | ||
Errors | ||
ENTRY_ID_NOT_FOUND,Entry id "%s" 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,Attachment asset id "%s" not found | ||
STORAGE_PROFILE_ID_NOT_FOUND,Storage profile id %s not found | ||
RESOURCE_TYPE_NOT_SUPPORTED,Resource type "%s" not suppported | ||
Example HTTP Hit | ||
http://www.kaltura.com/api_v3/?service=attachment_attachmentasset&action=add POST fields: entryId attachmentAsset:id attachmentAsset:entryId attachmentAsset:partnerId attachmentAsset:version attachmentAsset:size attachmentAsset:tags attachmentAsset:fileExt attachmentAsset:createdAt attachmentAsset:updatedAt attachmentAsset:deletedAt attachmentAsset:description attachmentAsset:partnerData attachmentAsset:partnerDescription attachmentAsset:filename attachmentAsset:title attachmentAsset:format attachmentAsset:status |