document:addfromuploadedfile | ||||
---|---|---|---|---|
Description: | ||||
Add new document entry after the specific document file was uploaded and the upload token id exists |
||||
Input Params | ||||
Name | Type | Description | Required | Default Value |
documentEntry | KalturaDocumentEntry | Document entry metadata | V | |
uploadTokenId | string | Upload token id | V | |
Output Type | ||||
KalturaDocumentEntry | ||||
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=document&action=addfromuploadedfile POST fields: documentEntry:id documentEntry:name documentEntry:description documentEntry:partnerId documentEntry:userId documentEntry:creatorId documentEntry:tags documentEntry:adminTags documentEntry:categories documentEntry:categoriesIds documentEntry:status documentEntry:moderationStatus documentEntry:moderationCount documentEntry:type documentEntry:createdAt documentEntry:updatedAt documentEntry:rank documentEntry:totalRank documentEntry:votes documentEntry:groupId documentEntry:partnerData documentEntry:downloadUrl documentEntry:searchText documentEntry:licenseType documentEntry:version documentEntry:thumbnailUrl documentEntry:accessControlId documentEntry:startDate documentEntry:endDate documentEntry:referenceId documentEntry:replacingEntryId documentEntry:replacedEntryId documentEntry:replacementStatus documentEntry:partnerSortValue documentEntry:conversionProfileId documentEntry:rootEntryId documentEntry:operationAttributes documentEntry:entitledUsersEdit documentEntry:entitledUsersPublish documentEntry:documentType documentEntry:assetParamsIds uploadTokenId |