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 |
documentEntry | KalturaDocumentEntry | Document entry metadata |
uploadTokenId | string | Upload token id |
Output Type | ||
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: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:documentType documentEntry:assetParamsIds uploadTokenId |