media:addfromuploadedfile | ||
---|---|---|
Description: | ||
Add new entry after the specific media file was uploaded and the upload token id exists DEPRECATED - use media.add instead |
||
Input Params | ||
name | type | Description |
mediaEntry | KalturaMediaEntry | Media entry metadata |
uploadTokenId | string | Upload token id |
Output Type | ||
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 | ||
UPLOADED_FILE_NOT_FOUND_BY_TOKEN,The uploaded file was not found by the given token id, or was already used | ||
Example HTTP Hit | ||
http://www.kaltura.com/api_v3/?service=media&action=addfromuploadedfile POST fields: mediaEntry:id mediaEntry:name mediaEntry:description mediaEntry:partnerId mediaEntry:userId 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: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 uploadTokenId |