Class: Kaltura::KalturaXInternalService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_client.rb

Overview

Internal Service is used for actions that are used internally in Kaltura applications and might be changed in the future without any notice.

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaXInternalService

Returns a new instance of KalturaXInternalService.



14091
14092
14093
# File 'lib/kaltura_client.rb', line 14091

def initialize(client)
	super(client)
end

Instance Method Details

#x_add_bulk_download(entry_ids, flavor_params_id = '') ⇒ Object

Creates new download job for multiple entry ids (comma separated), an email will be sent when the job is done This sevice support the following entries: - MediaEntry - Video will be converted using the flavor params id - Audio will be downloaded as MP3 - Image will be downloaded as Jpeg - MixEntry will be flattened using the flavor params id - Other entry types are not supported Returns the admin email that the email message will be sent to



14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
# File 'lib/kaltura_client.rb', line 14105

def x_add_bulk_download(entry_ids, flavor_params_id='')
	kparams = {}
	# Comma separated list of entry ids
	client.add_param(kparams, 'entryIds', entry_ids);
	client.add_param(kparams, 'flavorParamsId', flavor_params_id);
	client.queue_service_action_call('xinternal', 'xAddBulkDownload', kparams);
	if (client.is_multirequest)
		return nil;
	end
	return client.do_queue();
end