Services

General Objects

Filter Objects

Array Objects

Enums

String Enums Constants

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
searchResult KalturaSearchResult Result object from search service
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=addfromsearchresult
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
searchResult:keyWords
searchResult:searchSource
searchResult:mediaType
searchResult:extraData
searchResult:authData
searchResult:id
searchResult:title
searchResult:thumbUrl
searchResult:description
searchResult:tags
searchResult:url
searchResult:sourceLink
searchResult:credit
searchResult:licenseType
searchResult:flashPlaybackType
searchResult:fileExt