media:addfromuploadedfile | |||||
---|---|---|---|---|---|
Description: | |||||
Add new entry after the specific media file was uploaded and the upload token id exists |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
mediaEntry | KalturaMediaEntry | Media entry metadata | V | ||
uploadTokenId | string | Upload token id | 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 | |||||
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: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: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 uploadTokenId |