Skip to main content
View as Markdown

Upload Lifecycle Overview - Content Management

Upload Lifecycle Overview​

Every file upload follows this pattern:

uploadToken.add --> uploadToken.upload (one or more chunks) --> entry.add --> entry.addContent
  1. Create an upload token -- a server-side container that will hold the file
  2. Upload file data -- send the file bytes (single shot or chunked) to the token
  3. Create an entry -- the logical object (metadata, name, type)
  4. Attach content -- link the upload token to the entry, triggering transcoding

Alternative paths:

MethodUse CaseRequires Local File?
uploadToken + media.addContentFull control, chunked/resumable uploadYes
media.addContent with KalturaUrlResourceImport from a remote URL (Kaltura fetches the file)No
media.addContent with KalturaEntryResourceCopy content from an existing entry's source flavorNo
media.addContent with KalturaAssetResourceCreate entry from a specific transcoded renditionNo
media.addContent with KalturaOperationResourceClip/trim/effects from an existing entryNo
media.addContent with KalturaOperationResourcesConcatenate segments from multiple entriesNo
media.addContent with KalturaAssetsParamsResourceContainersMulti-flavor ingest (pre-transcoded files)No (URLs) or Yes (tokens)
media.addContent with KalturaSshUrlResourceImport from SFTP server with SSH keysNo
media.addContent with KalturaRemoteStorageResourceRegister on external storage without copyNo
media.bulkUploadAddBatch ingest via CSV or XMLNo (URLs in CSV)
baseEntry.cloneDeep-clone entry with all assets and metadataNo