Kaltura API

media.addFromSearchResult
Description:
Adds new media entry by importing the media file from a search provider. This action should be used with the search service result.
Input Params
Name Type Description Required Default Value
mediaEntry KalturaMediaEntry Media entry metadata 1
searchResult KalturaSearchResult Result object from search service 1
Output Type
KalturaMediaEntry
Example HTTP Hit
http://www.kaltura.com/api_v3/service/media/action/addFromSearchResult
JSON object:
				
{ mediaEntry: { objectType: "KalturaMediaEntry", msDuration: value, mediaType: value, conversionQuality: "value", sourceType: "value", searchProviderType: value, searchProviderId: "value", creditUserName: "value", creditUrl: "value", streams: [{ objectType: "KalturaStreamContainer", type: "value", trackIndex: value, language: "value", channelIndex: value, label: "value", channelLayout: "value" }] }, searchResult: { objectType: "KalturaSearchResult", keyWords: "value", searchSource: value, mediaType: value, extraData: "value", authData: "value", id: "value", title: "value", thumbUrl: "value", description: "value", tags: "value", url: "value", sourceLink: "value", credit: "value", licenseType: value, flashPlaybackType: "value", fileExt: "value" } }