goncalossilva_kaltura-ruby 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.gitignore +7 -0
- data/LICENSE +661 -0
- data/README.markdown +56 -0
- data/README.rdoc +54 -0
- data/Rakefile +61 -0
- data/VERSION +1 -0
- data/VERSION.yml +5 -0
- data/goncalossilva_kaltura-ruby.gemspec +179 -0
- data/lib/kaltura.rb +19 -0
- data/lib/kaltura/constants.rb +77 -0
- data/lib/kaltura/constants/access_control_order_by.rb +14 -0
- data/lib/kaltura/constants/audio_codec.rb +16 -0
- data/lib/kaltura/constants/base.rb +61 -0
- data/lib/kaltura/constants/batch_job.rb +87 -0
- data/lib/kaltura/constants/bit_rate_mode.rb +14 -0
- data/lib/kaltura/constants/category_order_by.rb +18 -0
- data/lib/kaltura/constants/commercial_use_type.rb +14 -0
- data/lib/kaltura/constants/container_format.rb +21 -0
- data/lib/kaltura/constants/control_panel_command.rb +49 -0
- data/lib/kaltura/constants/conversion_profile_order_by.rb +14 -0
- data/lib/kaltura/constants/country_restriction_type.rb +16 -0
- data/lib/kaltura/constants/data_entry_order_by.rb +20 -0
- data/lib/kaltura/constants/directory_restriction_type.rb +14 -0
- data/lib/kaltura/constants/document.rb +39 -0
- data/lib/kaltura/constants/duration_type.rb +16 -0
- data/lib/kaltura/constants/editor_type.rb +14 -0
- data/lib/kaltura/constants/email_ingestion_profile_status.rb +14 -0
- data/lib/kaltura/constants/entry.rb +59 -0
- data/lib/kaltura/constants/file_sync.rb +67 -0
- data/lib/kaltura/constants/flavor_asset_status.rb +18 -0
- data/lib/kaltura/constants/gender.rb +15 -0
- data/lib/kaltura/constants/google_syndication_feed.rb +39 -0
- data/lib/kaltura/constants/i_tunes_syndication_feed.rb +42 -0
- data/lib/kaltura/constants/i_tunes_syndication_feed/categories.rb +82 -0
- data/lib/kaltura/constants/license_type.rb +29 -0
- data/lib/kaltura/constants/live_stream_admin_entry_order_by.rb +31 -0
- data/lib/kaltura/constants/mail_job_order_by.rb +16 -0
- data/lib/kaltura/constants/media.rb +55 -0
- data/lib/kaltura/constants/mix_entry_order_by.rb +28 -0
- data/lib/kaltura/constants/moderation.rb +34 -0
- data/lib/kaltura/constants/notification.rb +43 -0
- data/lib/kaltura/constants/nullable_boolean.rb +14 -0
- data/lib/kaltura/constants/partner.rb +64 -0
- data/lib/kaltura/constants/playable_entry_order_by.rb +28 -0
- data/lib/kaltura/constants/playlist.rb +35 -0
- data/lib/kaltura/constants/report_type.rb +24 -0
- data/lib/kaltura/constants/search_provider_type.rb +29 -0
- data/lib/kaltura/constants/session_type.rb +14 -0
- data/lib/kaltura/constants/site_restriction_type.rb +14 -0
- data/lib/kaltura/constants/source_type.rb +17 -0
- data/lib/kaltura/constants/stats.rb +49 -0
- data/lib/kaltura/constants/stats/kmc_event_type.rb +77 -0
- data/lib/kaltura/constants/syndication_feed.rb +37 -0
- data/lib/kaltura/constants/system_user.rb +17 -0
- data/lib/kaltura/constants/tube_mogul_syndication_feed.rb +34 -0
- data/lib/kaltura/constants/ui_conf.rb +26 -0
- data/lib/kaltura/constants/upload_error_code.rb +9 -0
- data/lib/kaltura/constants/user.rb +16 -0
- data/lib/kaltura/constants/video_codec.rb +16 -0
- data/lib/kaltura/constants/widget.rb +15 -0
- data/lib/kaltura/constants/yahoo_syndication_feed.rb +44 -0
- data/lib/kaltura/filter.rb +75 -0
- data/lib/kaltura/filter/access_control_filter.rb +20 -0
- data/lib/kaltura/filter/base_entry_filter.rb +115 -0
- data/lib/kaltura/filter/base_filter.rb +7 -0
- data/lib/kaltura/filter/base_job_filter.rb +28 -0
- data/lib/kaltura/filter/batch_job_filter.rb +54 -0
- data/lib/kaltura/filter/category_filter.rb +23 -0
- data/lib/kaltura/filter/control_panel_command_filter.rb +39 -0
- data/lib/kaltura/filter/conversion_profile_filter.rb +12 -0
- data/lib/kaltura/filter/document_entry_filter.rb +12 -0
- data/lib/kaltura/filter/file_sync_filter.rb +93 -0
- data/lib/kaltura/filter/flavor_params_filter.rb +11 -0
- data/lib/kaltura/filter/flavor_params_output_filter.rb +14 -0
- data/lib/kaltura/filter/media_entry_filter.rb +22 -0
- data/lib/kaltura/filter/media_entry_filter_for_playlist.rb +11 -0
- data/lib/kaltura/filter/partner_filter.rb +22 -0
- data/lib/kaltura/filter/playable_entry_filter.rb +40 -0
- data/lib/kaltura/filter/report_input_filter.rb +25 -0
- data/lib/kaltura/filter/system_partner_usage_filter.rb +15 -0
- data/lib/kaltura/filter/ui_conf_filter.rb +40 -0
- data/lib/kaltura/filter/user_filter.rb +27 -0
- data/lib/kaltura/filter/widget_filter.rb +37 -0
- data/lib/kaltura/kaltura_client.rb +1762 -0
- data/lib/kaltura/kaltura_client_base.rb +300 -0
- data/lib/kaltura/response.rb +112 -0
- data/lib/kaltura/service.rb +142 -0
- data/lib/kaltura/service/access_control_service.rb +110 -0
- data/lib/kaltura/service/admin_user_service.rb +69 -0
- data/lib/kaltura/service/base_entry_service.rb +331 -0
- data/lib/kaltura/service/base_service.rb +42 -0
- data/lib/kaltura/service/bulk_upload_service.rb +75 -0
- data/lib/kaltura/service/category_service.rb +112 -0
- data/lib/kaltura/service/conversion_profile_service.rb +116 -0
- data/lib/kaltura/service/data_service.rb +116 -0
- data/lib/kaltura/service/email_ingestion_profile_service.rb +122 -0
- data/lib/kaltura/service/flavor_asset_service.rb +155 -0
- data/lib/kaltura/service/flavor_params_service.rb +111 -0
- data/lib/kaltura/service/live_stream_service.rb +140 -0
- data/lib/kaltura/service/media_service.rb +546 -0
- data/lib/kaltura/service/mixing_service.rb +86 -0
- data/lib/kaltura/service/notification_service.rb +13 -0
- data/lib/kaltura/service/partner_service.rb +41 -0
- data/lib/kaltura/service/playlist_service.rb +73 -0
- data/lib/kaltura/service/report_service.rb +47 -0
- data/lib/kaltura/service/search_service.rb +34 -0
- data/lib/kaltura/service/session_service.rb +24 -0
- data/lib/kaltura/service/stats_service.rb +24 -0
- data/lib/kaltura/service/syndication_feed_service.rb +50 -0
- data/lib/kaltura/service/system_partner_service.rb +58 -0
- data/lib/kaltura/service/system_service.rb +11 -0
- data/lib/kaltura/service/system_user_service.rb +63 -0
- data/lib/kaltura/service/ui_conf_service.rb +51 -0
- data/lib/kaltura/service/upload_service.rb +18 -0
- data/lib/kaltura/service/user_service.rb +44 -0
- data/lib/kaltura/service/widget_service.rb +38 -0
- data/lib/kaltura/service/x_internal_service.rb +13 -0
- data/test/kaltura-ruby_test.rb +7 -0
- data/test/test.rb +23 -0
- data/test/test_2.rb +26 -0
- data/test/test_error.rb +14 -0
- data/test/test_helper.rb +10 -0
- metadata +222 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::Filter::MixEntryFilter
|
|
8
|
+
##
|
|
9
|
+
class MixEntryOrderBy
|
|
10
|
+
PLAYS_ASC = "+plays" #order by plays ascending
|
|
11
|
+
PLAYS_DESC = "-plays" #order by plays descending
|
|
12
|
+
VIEWS_ASC = "+views" #order by views ascending
|
|
13
|
+
VIEWS_DESC = "-views" #order by views descending
|
|
14
|
+
DURATION_ASC = "+duration" #order by duration ascending
|
|
15
|
+
DURATION_DESC = "-duration" #order by duration descending
|
|
16
|
+
MS_DURATION_ASC = "+msDuration" #order by millisecond duration ascending
|
|
17
|
+
MS_DURATION_DESC = "-msDuration" #order by millisecond duration descending
|
|
18
|
+
NAME_ASC = "+name" #order by name ascending
|
|
19
|
+
NAME_DESC = "-name" #order by name descending
|
|
20
|
+
MODERATION_COUNT_ASC = "+moderationCount" #order by moderation count ascending
|
|
21
|
+
MODERATION_COUNT_DESC = "-moderationCount" #order by moderation count descending
|
|
22
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending
|
|
23
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending
|
|
24
|
+
RANK_ASC = "+rank" #order by rank ascending
|
|
25
|
+
RANK_DESC = "-rank" #order by rank descending
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::ModerationFlag
|
|
8
|
+
##
|
|
9
|
+
module Moderation
|
|
10
|
+
##
|
|
11
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
12
|
+
# be more in line with the C# API client's namespacing.
|
|
13
|
+
#
|
|
14
|
+
# @see Kaltura::ModerationFlag
|
|
15
|
+
##
|
|
16
|
+
class FlagStatus
|
|
17
|
+
PENDING = 1 #Pending moderation flag
|
|
18
|
+
MODERATED = 2 #Moderated flag
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class FlagType
|
|
22
|
+
SEXUAL_CONTENT = 1 #Flag for sexual content
|
|
23
|
+
VIOLENT_REPULSIVE = 2 #Flag for violent or repulsive content
|
|
24
|
+
HARMFUL_DANGEROUS = 3 #Flag for harmful or dangerous content
|
|
25
|
+
SPAM_COMMERCIALS = 4 #Spam flag
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
class ObjectType
|
|
29
|
+
ENTRY = 2 #flag a entry.
|
|
30
|
+
USER = 3 #flag a user.
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::Filter::NotificationFilter
|
|
8
|
+
# @see Kaltura::Service::NotificationService
|
|
9
|
+
##
|
|
10
|
+
module Notification
|
|
11
|
+
##
|
|
12
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
13
|
+
# be more in line with the C# API client's namespacing.
|
|
14
|
+
#
|
|
15
|
+
# @see Kaltura::Filter::NotificationFilter
|
|
16
|
+
##
|
|
17
|
+
class OrderBy
|
|
18
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending.
|
|
19
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descening.
|
|
20
|
+
EXECUTION_ATTEMPTS_ASC = "+executionAttempts" #order by execution attempts ascending.
|
|
21
|
+
EXECUTION_ATTEMPTS_DESC = "-executionAttempts" #order by execution attempts descending.
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
##
|
|
25
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
26
|
+
# be more in line with the C# API client's namespacing.
|
|
27
|
+
#
|
|
28
|
+
# @see Kaltura::Service::NotificationService
|
|
29
|
+
##
|
|
30
|
+
class Type
|
|
31
|
+
ENTRY_ADD = 1 #Notify when an entry is added.
|
|
32
|
+
ENTR_UPDATE_PERMISSIONS = 2 #Notify when an entries permisisons have changed.
|
|
33
|
+
ENTRY_DELETE = 3 #Notify when an entry is deleted.
|
|
34
|
+
ENTRY_BLOCK = 4 #Notify when an entry becomes unavailable due to moderation.
|
|
35
|
+
ENTRY_UPDATE = 5 #Notify when an entry is updated.
|
|
36
|
+
ENTRY_UPDATE_THUMBNAIL = 6 #Notify when an entries thumbnail is updated.
|
|
37
|
+
ENTRY_UPDATE_MODERATION = 7 #Notify when an entry is moderated.
|
|
38
|
+
USER_ADD = 21 #Notify when a new user is created.
|
|
39
|
+
USER_BANNED = 26 #Notify when a user is banned.
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
##
|
|
8
|
+
class NullableBoolean
|
|
9
|
+
NULL_VALUE = -1 #Null
|
|
10
|
+
FALSE_VALUE = 0 #False
|
|
11
|
+
TRUE_VALUE = 1 #True
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::Filter::PartnerFilter
|
|
8
|
+
# @see Kaltura::Partner
|
|
9
|
+
##
|
|
10
|
+
module Partner
|
|
11
|
+
##
|
|
12
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
13
|
+
# be more in line with the C# API client's namespacing.
|
|
14
|
+
#
|
|
15
|
+
# @see Kaltura::Filter::PartnerFilter
|
|
16
|
+
##
|
|
17
|
+
class OrderBy
|
|
18
|
+
ID_ASC = "+id" #order by ID ascending
|
|
19
|
+
ID_DESC = "-id" #order by ID descending
|
|
20
|
+
NAME_ASC = "+name" #order by name ascending
|
|
21
|
+
NAME_DESC = "-name" #order by name descending
|
|
22
|
+
WEBSITE_ASC = "+website" #order by website ascending
|
|
23
|
+
WEBSITE_DESC = "-website" #order by website descending
|
|
24
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending
|
|
25
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending
|
|
26
|
+
ADMIN_NAME_ASC = "+adminName" #order by admin name ascending
|
|
27
|
+
ADMIN_NAME_DESC = "-adminName" #order by admin name descending
|
|
28
|
+
ADMIN_EMAIL_ASC = "+adminEmail" #order by admin email ascending
|
|
29
|
+
ADMIN_EMAIL_DESC = "-adminEmail" #order by admin email descending
|
|
30
|
+
STATUS_ASC = "+status" #order by status ascending
|
|
31
|
+
STATUS_DESC = "-status" #order by status descending
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
##
|
|
35
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
36
|
+
# be more in line with the C# API client's namespacing.
|
|
37
|
+
#
|
|
38
|
+
# @see Kaltura::Partner
|
|
39
|
+
##
|
|
40
|
+
class Status
|
|
41
|
+
ACTIVE = 1 #Partner is active.
|
|
42
|
+
BLOCKED = 2 #Partner is banned.
|
|
43
|
+
FULL_BLOCK = 3 #Partner is mega-banned
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
##
|
|
47
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
48
|
+
# be more in line with the C# API client's namespacing.
|
|
49
|
+
#
|
|
50
|
+
# @see Kaltura::Partner
|
|
51
|
+
##
|
|
52
|
+
class Type
|
|
53
|
+
KMC = 1 #KMC Partner
|
|
54
|
+
WIKI = 100 #Media Wiki Partner
|
|
55
|
+
WORDPRESS = 101 #Wordpress Partner
|
|
56
|
+
DRUPAL = 102 #Drupal Partner
|
|
57
|
+
DEKIWIKI = 103 #Deki Wiki Partner
|
|
58
|
+
MOODLE = 104 #Moodle Partner
|
|
59
|
+
COMMUNITY_EDITION = 105 #CE Partner
|
|
60
|
+
JOOMLA = 106 #Joomla Partner
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::Filter::PlayableEntryFilter
|
|
8
|
+
##
|
|
9
|
+
class PlayableEntryOrderBy
|
|
10
|
+
PLAYS_ASC = "+plays" #order by plays ascending
|
|
11
|
+
PLAYS_DESC = "-plays" #order by plays descending
|
|
12
|
+
VIEWS_ASC = "+views" #order by views ascending
|
|
13
|
+
VIEWS_DESC = "-views" #order by views descending
|
|
14
|
+
DURATION_ASC = "+duration" #order by duration ascending
|
|
15
|
+
DURATION_DESC = "-duration" #order by duration descending
|
|
16
|
+
MS_DURATION_ASC = "+msDuration" #order by millisecond duration ascending
|
|
17
|
+
MS_DURATION_DESC = "-msDuration" #order by millisecond duration descending
|
|
18
|
+
NAME_ASC = "+name" #order by name ascending
|
|
19
|
+
NAME_DESC = "-name" #order by name descending
|
|
20
|
+
MODERATION_COUNT_ASC = "+moderationCount" #order by moderation count ascending
|
|
21
|
+
MODERATION_COUNT_DESC = "-moderationCount" #order by moderation count descending
|
|
22
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending
|
|
23
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending
|
|
24
|
+
RANK_ASC = "+rank" #order by rank ascending
|
|
25
|
+
RANK_DESC = "-rank" #order by rank descending
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::Filter::PlaylistFilter
|
|
8
|
+
# @see Kaltura::Playlist
|
|
9
|
+
##
|
|
10
|
+
module Playlist
|
|
11
|
+
##
|
|
12
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
13
|
+
# be more in line with the C# API client's namespacing.
|
|
14
|
+
#
|
|
15
|
+
# @see Kaltura::Filter::PlaylistFilter
|
|
16
|
+
##
|
|
17
|
+
class OrderBy
|
|
18
|
+
NAME_ASC = "+name" #order by name ascending
|
|
19
|
+
NAME_DESC = "-name" #order by name descending
|
|
20
|
+
MODERATION_COUNT_ASC = "+moderationCount" #order by moderation count ascending
|
|
21
|
+
MODERATION_COUNT_DESC = "-moderationCount" #order by moderation count descending
|
|
22
|
+
CREATED_AT_ASC = "+createdAt" #order by created_at ascending
|
|
23
|
+
CREATED_AT_DESC = "-createdAt" #order by created_at descending
|
|
24
|
+
RANK_ASC = "+rank" #order by rank ascending
|
|
25
|
+
RANK_DESC = "-rank" #order by rank descending
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
class Type
|
|
29
|
+
DYNAMIC = 10 #Dynamic playlist
|
|
30
|
+
STATIC_LIST = 3 #Static playlist
|
|
31
|
+
EXTERNAL = 101 #External Playlist
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::ReportGraph
|
|
8
|
+
# @see Kaltura::ReportInputFilter
|
|
9
|
+
# @see Kaltura::ReportTable
|
|
10
|
+
# @see Kaltura::ReportTotal
|
|
11
|
+
# @see Kaltura::ReportType
|
|
12
|
+
##
|
|
13
|
+
class ReportType
|
|
14
|
+
TOP_CONTENT = 1 #Top content report
|
|
15
|
+
CONTENT_DROPOFF = 2 #content drop-off report
|
|
16
|
+
CONTENT_INTERACTIONS = 3 #content interactions report
|
|
17
|
+
MAP_OVERLAY = 4 #map overlay report
|
|
18
|
+
TOP_CONTRIBUTORS = 5 #top contributors report
|
|
19
|
+
TOP_SYNDICATION = 6 #top syndication report
|
|
20
|
+
CONTENT_CONTRIBUTIONS = 7 #content contributions report
|
|
21
|
+
ADMIN_CONSOLE = 10 #admin console report
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::Search
|
|
8
|
+
# @see Kaltura::SearchResult
|
|
9
|
+
##
|
|
10
|
+
class SearchProviderType
|
|
11
|
+
FLICKR = 3 #Flickr search
|
|
12
|
+
YOUTUBE = 4 #Youtube search
|
|
13
|
+
MYSPACE = 7 #MySpace search
|
|
14
|
+
PHOTOBUCKET = 8 #photobucket search
|
|
15
|
+
JAMENDO = 9 #Jamendo search
|
|
16
|
+
CCMIXTER = 10 #CCMixer search
|
|
17
|
+
NYPL = 11 #NYPL search
|
|
18
|
+
CURRENT = 12 #Current search
|
|
19
|
+
MEDIA_COMMONS = 13 #Media Commons search
|
|
20
|
+
KALTURA = 20 #Kaltura search
|
|
21
|
+
KALTURA_USER_CLIPS = 21 #Kaltura mix search
|
|
22
|
+
ARCHIVE_ORG = 22 #Archive.org search
|
|
23
|
+
KALTURA_PARTNER = 23 #Kaltura partner search
|
|
24
|
+
METACAFE = 24 #Metacafe search
|
|
25
|
+
SEARCH_PROXY = 28 #Search proxy
|
|
26
|
+
PARTNER_SPECIFIC = 100 #partner specific search
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::Service::SessionService
|
|
8
|
+
##
|
|
9
|
+
class SessionType
|
|
10
|
+
USER = 0 #User KS
|
|
11
|
+
ADMIN = 2 #Admin KS
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::SiteRestriction
|
|
8
|
+
##
|
|
9
|
+
class SiteRestrictionType
|
|
10
|
+
RESTRICT_SITE_LIST = 0 #Site white list
|
|
11
|
+
ALLOW_SITE_LIST = 1 #Site black list
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
##
|
|
4
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
5
|
+
# be more in line with the C# API client's namespacing.
|
|
6
|
+
#
|
|
7
|
+
# @see Kaltura::MediaEntry
|
|
8
|
+
##
|
|
9
|
+
class SourceType
|
|
10
|
+
FILE = 1 #Sourced by a file
|
|
11
|
+
WEBCAM = 2 #Sourced from a webcam recording
|
|
12
|
+
URL = 5 #Sourced by an external URL
|
|
13
|
+
SEARCH_PROVIDER = 6 #Sourced by a website search.
|
|
14
|
+
AKAMAI_LIVE = 29 #Sourced from Akamai.
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
require 'kaltura/constants/stats/kmc_event_type'
|
|
2
|
+
|
|
3
|
+
module Kaltura
|
|
4
|
+
module Constants
|
|
5
|
+
##
|
|
6
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
7
|
+
# be more in line with the C# API client's namespacing.
|
|
8
|
+
#
|
|
9
|
+
# @see Kaltura::StatsEvent
|
|
10
|
+
# @see Kaltura::StatsKmcEvent
|
|
11
|
+
##
|
|
12
|
+
module Stats
|
|
13
|
+
##
|
|
14
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
15
|
+
# be more in line with the C# API client's namespacing.
|
|
16
|
+
#
|
|
17
|
+
# @see Kaltura::StatsEvent
|
|
18
|
+
##
|
|
19
|
+
class EventType
|
|
20
|
+
WIDGET_LOADED = 1 #Widget loaded event.
|
|
21
|
+
MEDIA_LOADED = 2 #Media loaded event.
|
|
22
|
+
PLAY = 3 #Play event.
|
|
23
|
+
PLAY_REACHED_25 = 4 #Player has reached 25% completed event.
|
|
24
|
+
PLAY_REACHED_50 = 5 #Player has reached 50% completed event.
|
|
25
|
+
PLAY_REACHED_75 = 6 #Player has reached 75% completed event.
|
|
26
|
+
PLAY_REACHED_100 = 7 #Player has reached 100% completed event.
|
|
27
|
+
OPEN_EDIT = 8 #Editor has been opened event.
|
|
28
|
+
OPEN_VIRAL = 9 #Share button has been clicked.
|
|
29
|
+
OPEN_DOWNLOAD = 10 #Download button has been clicked.
|
|
30
|
+
OPEN_REPORT = 11 #Report has been generated.
|
|
31
|
+
BUFFER_START = 12 #The player has started buffering.
|
|
32
|
+
BUFFER_END = 13 #The player has ended buffering.
|
|
33
|
+
OPEN_FULL_SCREEN = 14 #The fullscreen button has been clicked.
|
|
34
|
+
CLOSE_FULL_SCREEN = 15 #The fullscreen window has been closed.
|
|
35
|
+
REPLAY = 16 #The replay button has been clicked.
|
|
36
|
+
SEEK = 17 #A seek event has fired.
|
|
37
|
+
OPEN_UPLOAD = 18 #A KSU/KCW upload has begun.
|
|
38
|
+
SAVE_PUBLISH = 19 #A KCW/KAE/KSE clip has been saved.
|
|
39
|
+
CLOSE_EDITOR = 20 #A KCW/KAE/KSE clip has been saved.
|
|
40
|
+
PRE_BUMPER_PLAYED = 21 #The ad at the start of the video has played
|
|
41
|
+
POST_BUMPER_PLAYED = 22 #The ad at the end of the video has been played.
|
|
42
|
+
BUMPER_CLICKED = 23 #The ad was clicked.
|
|
43
|
+
FUTURE_USE_1 = 24 #When unicorns rule the earth.
|
|
44
|
+
FUTURE_USE_2 = 25 #Reserved for when twitter gains sentience.
|
|
45
|
+
FUTURE_USE_3 = 26 #Unsure.
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
module Kaltura
|
|
2
|
+
module Constants
|
|
3
|
+
module Stats
|
|
4
|
+
##
|
|
5
|
+
# The constants module will soon be depreciated into an Enumeration module to
|
|
6
|
+
# be more in line with the C# API client's namespacing.
|
|
7
|
+
#
|
|
8
|
+
# @see Kaltura::StatsKmcEvent
|
|
9
|
+
##
|
|
10
|
+
class KmcEventType
|
|
11
|
+
CONTENT_PAGE_VIEW = 1001 #A page with a KDP widget is viewed.
|
|
12
|
+
CONTENT_ADD_PLAYLIST = 1010 #A playable entry is added to a playlist.
|
|
13
|
+
CONTENT_EDIT_PLAYLIST = 1011 #A playist is edited.
|
|
14
|
+
CONTENT_DELETE_PLAYLIST = 1012 #Content is removed from a playlist.
|
|
15
|
+
CONTENT_DELETE_ITEM = 1058 #A property is removed from an entry.
|
|
16
|
+
CONTENT_EDIT_ENTRY = 1013 #An entry is edited.
|
|
17
|
+
CONTENT_CHANGE_THUMBNAIL = 1014 #An entry's thumbnail is changed.
|
|
18
|
+
CONTENT_ADD_TAGS = 1015 #Tags are added to an entry.
|
|
19
|
+
CONTENT_REMOVE_TAGS = 1016 #Tags are removed from an entry.
|
|
20
|
+
CONTENT_ADD_ADMIN_TAGS = 1017 #Administrative tags are added to an entry.
|
|
21
|
+
CONTENT_REMOVE_ADMIN_TAGS = 1018 #Administrative tags are removed from an entry.
|
|
22
|
+
CONTENT_DOWNLOAD = 1019 #An entry/flavor is downloaded.
|
|
23
|
+
CONTENT_APPROVE_MODERATION = 1020 #An entry is appproved.
|
|
24
|
+
CONTENT_REJECT_MODERATION = 1021 #An entry is rejected.
|
|
25
|
+
CONTENT_BULK_UPLOAD = 1022 #The Batch uploaded use used.
|
|
26
|
+
CONTENT_ADMIN_KCW_UPLOAD = 1023 #The KCW is used to upload content.
|
|
27
|
+
CONTENT_CONTENT_GO_TO_PAGE = 1057 #An entry is clicked, bringing up a detailed menu.
|
|
28
|
+
CONTENT_ENTRY_DRILLDOWN = 1088 #A dropdown is entered from the entry menu.
|
|
29
|
+
CONTENT_OPEN_PREVIEW_AND_EMBED = 1089 #the preview and embed link is clicked.
|
|
30
|
+
ACCOUNT_CHANGE_PARTNER_INFO = 1030 #The accounts API information is changed.
|
|
31
|
+
ACCOUNT_CHANGE_LOGIN_INFO = 1031 #The accounts login information is changed.
|
|
32
|
+
ACCOUNT_CONTACT_US_USAGE = 1032 #The accounts contact information is changed.
|
|
33
|
+
ACCOUNT_UPDATE_SERVER_SETTINGS = 1033 #The accounts server settings are changed.
|
|
34
|
+
ACCOUNT_ACCOUNT_OVERVIEW = 1034 #The account overview settings are changed.
|
|
35
|
+
ACCOUNT_ACCESS_CONTROL = 1035 #The access control for an account is modified.
|
|
36
|
+
ACCOUNT_TRANSCODING_SETTINGS = 1036 #The default transcoding settings are modified.
|
|
37
|
+
ACCOUNT_ACCOUNT_UPGRADE = 1037 #The Account is upgraded/downgraded.
|
|
38
|
+
ACCOUNT_SAVE_SERVER_SETTINGS = 1038 #The Account udpates are saved to the database.
|
|
39
|
+
ACCOUNT_ACCESS_CONTROL_DELETE = 1039 #The account's access has been revoked.
|
|
40
|
+
ACCOUNT_SAVE_TRANSCODING_SETTINGS = 1040 #The accounts encoding settings have been saved to the database.
|
|
41
|
+
LOGIN = 1041 #A KMC login event fires.
|
|
42
|
+
DASHBOARD_IMPORT_CONTENT = 1042 #The content report is brought in on the dashboard.
|
|
43
|
+
DASHBOARD_UPDATE_CONTENT = 1043 #The content report is updated on the dashbaord.
|
|
44
|
+
DASHBOARD_ACCOUNT_CONTACT_US = 1044 #The Dashboard contact settings have changed.
|
|
45
|
+
DASHBOARD_VIEW_REPORTS = 1045 #The view report for the Dashboard is updated.
|
|
46
|
+
DASHBOARD_EMBED_PLAYER = 1046 #The player is embedded on the Dashboard report is updated.
|
|
47
|
+
DASHBOARD_EMBED_PLAYLIST = 1047 #The dashboard playlist is updated.
|
|
48
|
+
DASHBOARD_CUSTOMIZE_PLAYERS = 1048 #The dashboard player is customized.
|
|
49
|
+
APP_STUDIO_NEW_PLAYER_SINGLE_VIDEO = 1050 #A new single video player is created.
|
|
50
|
+
APP_STUDIO_NEW_PLAYER_PLAYLIST = 1051 #A new playlist player is created.
|
|
51
|
+
APP_STUDIO_NEW_PLAYER_MULTI_TAB_PLAYLIST = 1052 #A new multi-tab playlist player is created.
|
|
52
|
+
APP_STUDIO_EDIT_PLAYER_SINGLE_VIDEO = 1053 #A single video player is updated.
|
|
53
|
+
APP_STUDIO_EDIT_PLAYER_PLAYLIST = 1054 #A playlist player is updated.
|
|
54
|
+
APP_STUDIO_EDIT_PLAYER_MULTI_TAB_PLAYLIST = 1055 #A multitab playlist player is updated.
|
|
55
|
+
APP_STUDIO_DUPLICATE_PLAYER = 1056 #A player is duplicated.
|
|
56
|
+
REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_TAB = 1070 #The bandwidth usage report is updated.
|
|
57
|
+
REPORTS_AND_ANALYTICS_CONTENT_REPORTS_TAB = 1071 #The content reports tab is updated.
|
|
58
|
+
REPORTS_AND_ANALYTICS_USERS_AND_COMMUNITY_REPORTS_TAB = 1072 #The user community report is updated.
|
|
59
|
+
REPORTS_AND_ANALYTICS_TOP_CONTRIBUTORS = 1073 #The top contributors report is updated.
|
|
60
|
+
REPORTS_AND_ANALYTICS_MAP_OVERLAYS = 1074 #The map overlays report is updated.
|
|
61
|
+
REPORTS_AND_ANALYTICS_TOP_SYNDICATIONS = 1075 #The top syndications report is updated.
|
|
62
|
+
REPORTS_AND_ANALYTICS_TOP_CONTENT = 1076 #The top content report is updated.
|
|
63
|
+
REPORTS_AND_ANALYTICS_CONTENT_DROPOFF = 1077 #The content dropoff report is updated.
|
|
64
|
+
REPORTS_AND_ANALYTICS_CONTENT_INTERACTIONS = 1078 #The content intearaction report is updated.
|
|
65
|
+
REPORTS_AND_ANALYTICS_CONTENT_CONTRIBUTIONS = 1079 #The content contributions report is updated.
|
|
66
|
+
REPORTS_AND_ANALYTICS_VIDEO_DRILL_DOWN = 1080 #The dropdowns on the reports section is clicked.
|
|
67
|
+
REPORTS_AND_ANALYTICS_CONTENT_DRILL_DOWN_INTERACTION = 1081 #The dropdown on the report section is used.
|
|
68
|
+
REPORTS_AND_ANALYTICS_CONTENT_CONTRIBUTIONS_DRILLDOWN = 1082 #The content contributions dropdown is selected.
|
|
69
|
+
REPORTS_AND_ANALYTICS_VIDEO_DRILL_DOWN_DROPOFF = 1083 #The content dropoff dropdown is selected.
|
|
70
|
+
REPORTS_AND_ANALYTICS_MAP_OVERLAYS_DRILLDOWN = 1084 #The map overlays dropdown is selected.
|
|
71
|
+
REPORTS_AND_ANALYTICS_TOP_SYNDICATIONS_DRILL_DOWN = 1085 #The top syndications dropdown is selected.
|
|
72
|
+
REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_VIEW_MONTHLY = 1086 #The monthly bandwith report.
|
|
73
|
+
REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_VIEW_YEARLY = 1087 #The yearly bandwith report.
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|