Kaltura API Documentationmedia.bulkUploadAdd

Add new bulk upload batch job

Conversion profile id can be specified in the API or in the CSV file, the one in the CSV file will be stronger.

If no conversion profile was specified, partner's default will be used

Try it out
post https://www.kaltura.com/api_v3/service/media/action/bulkUploadAdd

Request Parameters

fileData:file  required

Response

Success

object:KalturaBulkUpload
bulkFileUrl:string
bulkUploadObjectType:string
Enum: JOB [bulkUploadFilter.JOB], SCHEDULE_EVENT [scheduleBulkUpload.SCHEDULE_EVENT], SCHEDULE_RESOURCE [scheduleBulkUpload.SCHEDULE_RESOURCE], ENTRY [1], CATEGORY [2], USER [3], CATEGORY_USER [4], CATEGORY_ENTRY [5], USER_ENTRY [6]

Enum Type: KalturaBulkUploadObjectType

bulkUploadType:string
Enum: CSV [bulkUploadCsv.CSV], FILTER [bulkUploadFilter.FILTER], XML [bulkUploadXml.XML], DROP_FOLDER_XML [dropFolderXmlBulkUpload.DROP_FOLDER_XML], ICAL [scheduleBulkUpload.ICAL], DROP_FOLDER_ICAL [scheduleDropFolder.DROP_FOLDER_ICAL]

Enum Type: KalturaBulkUploadType

csvFileUrl:string
description:string
error:string
errorNumber:integer
errorType:integer
Enum: APP [0], RUNTIME [1], HTTP [2], CURL [3], KALTURA_API [4], KALTURA_CLIENT [5]

Enum Type: KalturaBatchJobErrorTypes

fileName:string
id:integer
logFileUrl:string
numOfEntries:integer
numOfObjects:integer
results:array[object:KalturaBulkUploadResult]
object:KalturaBulkUploadResult
action:string
Enum: CANCEL [scheduleBulkUpload.CANCEL], ADD [1], UPDATE [2], DELETE [3], REPLACE [4], TRANSFORM_XSLT [5], ADD_OR_UPDATE [6], ACTIVATE [7], REJECT [8]

Enum Type: KalturaBulkUploadAction

bulkUploadJobId:integer

The id of the parent job

bulkUploadResultObjectType:string
Enum: JOB [bulkUploadFilter.JOB], SCHEDULE_EVENT [scheduleBulkUpload.SCHEDULE_EVENT], SCHEDULE_RESOURCE [scheduleBulkUpload.SCHEDULE_RESOURCE], ENTRY [1], CATEGORY [2], USER [3], CATEGORY_USER [4], CATEGORY_ENTRY [5], USER_ENTRY [6]

Enum Type: KalturaBulkUploadObjectType

errorCode:string
errorDescription:string
errorType:integer
id:integer

readOnly

The id of the result

lineIndex:integer

The index of the line in the CSV

objectErrorDescription:string
objectId:string
objectStatus:integer
objectType:string
Enum: KalturaBulkUploadResultCategory, KalturaBulkUploadResultCategoryEntry, KalturaBulkUploadResultCategoryUser, KalturaBulkUploadResultEntry, KalturaBulkUploadResultJob, KalturaBulkUploadResultScheduleEvent, KalturaBulkUploadResultScheduleResource, KalturaBulkUploadResultUser, KalturaBulkUploadResultUserEntry
partnerData:string
partnerId:integer
pluginsData:array[object:KalturaBulkUploadPluginData]rowData:string

The data as recieved in the csv

status:string
Enum: ERROR [1], OK [2], IN_PROGRESS [3]

Enum Type: KalturaBulkUploadResultStatus

status:integer
Enum: PENDING [0], QUEUED [1], PROCESSING [2], PROCESSED [3], MOVEFILE [4], FINISHED [5], FAILED [6], ABORTED [7], ALMOST_DONE [8], RETRY [9], FATAL [10], DONT_PROCESS [11], FINISHED_PARTIALLY [12], SUSPEND [13], SUSPEND_ALMOST_DONE [14]

Enum Type: KalturaBatchJobStatus

uploadedBy:string
uploadedByUserId:string
uploadedOn:integer