Adds new upload token to upload a file
nullobject responseProfile:object:KalturaBaseResponseProfile
abstractobjectType:string Enum: KalturaDetachedResponseProfile, KalturaResponseProfileHolder, KalturaResponseProfileKalturaBaseResponseProfile must also match any of:
object:KalturaDetachedResponseProfile object:KalturaResponseProfileHolder object:KalturaResponseProfile
nullobject uploadToken:object:KalturaUploadToken attachedObjectId:string
readOnlyThe id of the object this token is attached to.
attachedObjectType:string
readOnlyThe type of the object this token is attached to.
autoFinalize:integer Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]
insertOnlyEnum Type:
KalturaNullableBooleanautoFinalize - Should the upload be finalized once the file size on disk matches the file size reported when adding the upload token.
createdAt:integer
readOnlyCreation date as Unix timestamp (In seconds)
fileName:string
insertOnlyName of the file for the upload token, can be empty when the upload token is created and will be updated internally after the file is uploaded
fileSize:number
insertOnlyFile size in bytes, can be empty when the upload token is created and will be updated internally after the file is uploaded
id:string
readOnlyUpload token unique ID
partnerId:integer
readOnlyPartner ID of the upload token
status:integer Enum: PENDING [0], PARTIAL_UPLOAD [1], FULL_UPLOAD [2], CLOSED [3], TIMED_OUT [4], DELETED [5]
readOnlyEnum Type:
KalturaUploadTokenStatusStatus of the upload token
updatedAt:integer
readOnlyLast update date as Unix timestamp (In seconds)
uploadUrl:string
readOnlyUpload url - to explicitly determine to which domain to address the uploadToken->upload call
uploadedFileSize:number
readOnlyUploaded file size in bytes, can be used to identify how many bytes were uploaded before resuming
userId:string
readOnlyUser id for the upload token
Success
nullobject:KalturaUploadToken attachedObjectId:string
readOnlyThe id of the object this token is attached to.
attachedObjectType:string
readOnlyThe type of the object this token is attached to.
autoFinalize:integer Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]
insertOnlyEnum Type:
KalturaNullableBooleanautoFinalize - Should the upload be finalized once the file size on disk matches the file size reported when adding the upload token.
createdAt:integer
readOnlyCreation date as Unix timestamp (In seconds)
fileName:string
insertOnlyName of the file for the upload token, can be empty when the upload token is created and will be updated internally after the file is uploaded
fileSize:number
insertOnlyFile size in bytes, can be empty when the upload token is created and will be updated internally after the file is uploaded
id:string
readOnlyUpload token unique ID
partnerId:integer
readOnlyPartner ID of the upload token
status:integer Enum: PENDING [0], PARTIAL_UPLOAD [1], FULL_UPLOAD [2], CLOSED [3], TIMED_OUT [4], DELETED [5]
readOnlyEnum Type:
KalturaUploadTokenStatusStatus of the upload token
updatedAt:integer
readOnlyLast update date as Unix timestamp (In seconds)
uploadUrl:string
readOnlyUpload url - to explicitly determine to which domain to address the uploadToken->upload call
uploadedFileSize:number
readOnlyUploaded file size in bytes, can be used to identify how many bytes were uploaded before resuming
userId:string
readOnlyUser id for the upload token