caption_captionasset:add | |||||
---|---|---|---|---|---|
Description: | |||||
Add caption asset |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
entryId | string | V | |||
captionAsset | KalturaCaptionAsset | V | |||
Output Type | |||||
KalturaCaptionAsset | |||||
Errors | |||||
ENTRY_ID_NOT_FOUND;ENTRY_ID;Entry id "@ENTRY_ID@" not found | |||||
ASSET_ID;;PARAM_ID;Caption asset "@ASSET_ID@" already exists for params id "@PARAM_ID@" | |||||
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 | |||||
CAPTION_ASSET_ID_NOT_FOUND;ASSET_ID;Caption 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=caption_captionasset&action=add POST fields: entryId captionAsset:relatedObjects captionAsset:id captionAsset:entryId captionAsset:partnerId captionAsset:version captionAsset:size captionAsset:tags captionAsset:fileExt captionAsset:createdAt captionAsset:updatedAt captionAsset:deletedAt captionAsset:description captionAsset:partnerData captionAsset:partnerDescription captionAsset:actualSourceAssetParamsIds captionAsset:captionParamsId captionAsset:language captionAsset:languageCode captionAsset:isDefault captionAsset:label captionAsset:format captionAsset:status |