media:addfrombulk | |||||
---|---|---|---|---|---|
Description: | |||||
Adds new media entry by importing an HTTP or FTP URL. The entry will be queued for import and then for conversion. This action should be exposed only to the batches |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
mediaEntry | KalturaMediaEntry | Media entry metadata | V | ||
url | string | An HTTP or FTP URL | V | ||
bulkUploadId | int | The id of the bulk upload job | V | ||
Output Type | |||||
KalturaMediaEntry | |||||
Errors | |||||
PROPERTY_VALIDATION_MIN_LENGTH;PROP_NAME,MIN_LEN;The property "@PROP_NAME@" must have a min length of @MIN_LEN@ characters | |||||
PROPERTY_VALIDATION_CANNOT_BE_NULL;PROP_NAME;The property "@PROP_NAME@" cannot be null | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=media&action=addfrombulk POST fields: mediaEntry:relatedObjects mediaEntry:id mediaEntry:name mediaEntry:description mediaEntry:partnerId mediaEntry:userId mediaEntry:creatorId mediaEntry:tags mediaEntry:adminTags mediaEntry:categories mediaEntry:categoriesIds mediaEntry:status mediaEntry:moderationStatus mediaEntry:moderationCount mediaEntry:type mediaEntry:createdAt mediaEntry:updatedAt mediaEntry:rank mediaEntry:totalRank mediaEntry:votes mediaEntry:groupId mediaEntry:partnerData mediaEntry:downloadUrl mediaEntry:searchText mediaEntry:licenseType mediaEntry:version mediaEntry:thumbnailUrl mediaEntry:accessControlId mediaEntry:startDate mediaEntry:endDate mediaEntry:referenceId mediaEntry:replacingEntryId mediaEntry:replacedEntryId mediaEntry:replacementStatus mediaEntry:partnerSortValue mediaEntry:conversionProfileId mediaEntry:redirectEntryId mediaEntry:rootEntryId mediaEntry:parentEntryId mediaEntry:operationAttributes mediaEntry:entitledUsersEdit mediaEntry:entitledUsersPublish mediaEntry:capabilities mediaEntry:plays mediaEntry:views mediaEntry:lastPlayedAt mediaEntry:width mediaEntry:height mediaEntry:duration mediaEntry:msDuration mediaEntry:durationType mediaEntry:mediaType mediaEntry:conversionQuality mediaEntry:sourceType mediaEntry:searchProviderType mediaEntry:searchProviderId mediaEntry:creditUserName mediaEntry:creditUrl mediaEntry:mediaDate mediaEntry:dataUrl mediaEntry:flavorParamsIds mediaEntry:isTrimDisabled url bulkUploadId |