media:addfromurl | ||||
---|---|---|---|---|
Description: | ||||
Adds new media entry by importing an HTTP or FTP URL. The entry will be queued for import and then for conversion. |
||||
Input Params | ||||
Name | Type | Description | Required | Default Value |
mediaEntry | KalturaMediaEntry | Media entry metadata | V | |
url | string | An HTTP or FTP URL | V | |
Output Type | ||||
KalturaMediaEntry | ||||
Errors | ||||
PROPERTY_VALIDATION_MIN_LENGTH,The property "%s" must have a min length of %s characters | ||||
PROPERTY_VALIDATION_CANNOT_BE_NULL,The property "%s" cannot be NULL | ||||
Example HTTP Hit | ||||
http://www.kaltura.com/api_v3/?service=media&action=addfromurl POST fields: 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:rootEntryId mediaEntry:operationAttributes mediaEntry:entitledUsersEdit mediaEntry:entitledUsersPublish mediaEntry:plays mediaEntry:views 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 url |