rustici_software_cloud_v2 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +355 -356
- data/lib/rustici_software_cloud_v2/api/about_api.rb +4 -4
- data/lib/rustici_software_cloud_v2/api/application_management_api.rb +190 -62
- data/lib/rustici_software_cloud_v2/api/authentication_api.rb +9 -17
- data/lib/rustici_software_cloud_v2/api/course_api.rb +903 -196
- data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +458 -268
- data/lib/rustici_software_cloud_v2/api/invitations_api.rb +212 -170
- data/lib/rustici_software_cloud_v2/api/learner_api.rb +48 -48
- data/lib/rustici_software_cloud_v2/api/ping_api.rb +2 -0
- data/lib/rustici_software_cloud_v2/api/registration_api.rb +255 -269
- data/lib/rustici_software_cloud_v2/api/reporting_api.rb +19 -23
- data/lib/rustici_software_cloud_v2/api/xapi_api.rb +81 -66
- data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +124 -55
- data/lib/rustici_software_cloud_v2/api_client.rb +2 -2
- data/lib/rustici_software_cloud_v2/configuration.rb +3 -3
- data/lib/rustici_software_cloud_v2/models/about_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +8 -36
- data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +234 -0
- data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +186 -0
- data/lib/rustici_software_cloud_v2/models/application_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/application_token.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +194 -0
- data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/comment_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +4 -1
- data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/course_schema.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +2 -19
- data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +4 -2
- data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +4 -2
- data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +4 -2
- data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/credential_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +4 -2
- data/lib/rustici_software_cloud_v2/models/destination_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +4 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +221 -0
- data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +43 -3
- data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +205 -0
- data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +187 -0
- data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +207 -0
- data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +29 -6
- data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +216 -0
- data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +195 -0
- data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +4 -1
- data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +8 -36
- data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/learner_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +213 -0
- data/lib/rustici_software_cloud_v2/models/message_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +10 -8
- data/lib/rustici_software_cloud_v2/models/objective_schema.rb +11 -43
- data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/ping_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +8 -36
- data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +4 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +215 -0
- data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +4 -1
- data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +6 -4
- data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +228 -0
- data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +4 -1
- data/lib/rustici_software_cloud_v2/models/registration_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/response_error.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +8 -36
- data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/score_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/setting_item.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/title_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +196 -0
- data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +15 -3
- data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +4 -1
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_account.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_context.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +5 -29
- data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +4 -1
- data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_result.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_score.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +3 -1
- data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +13 -1
- data/lib/rustici_software_cloud_v2/version.rb +1 -1
- data/lib/rustici_software_cloud_v2.rb +13 -0
- data/rustici_software_cloud_v2.gemspec +2 -1
- data/spec/api_client_spec.rb +17 -0
- metadata +35 -2
@@ -19,10 +19,10 @@ module RusticiSoftwareCloudV2
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Deletes all
|
23
|
-
# Deletes all of the information
|
24
|
-
# @param learner_id The id of the learner
|
25
|
-
# @param user_email The email of the user initiating this request on behalf of the learner being deleted. This must be a valid primary email address for a SCORM Cloud realm which this application is in.
|
22
|
+
# Deletes all PII for a learnerId
|
23
|
+
# Deletes all of the PII information for the learner. This is meant for use with complying with GDPR requests from learners. >**Note:** >This method is asynchronous. A returned success status indicates a background process has been started, but there will still be a delay before the deletion of PII information takes place.
|
24
|
+
# @param learner_id The id of the learner
|
25
|
+
# @param user_email The email of the user initiating this request on behalf of the learner being deleted. This must be a valid primary email address for a SCORM Cloud realm which this application is in.
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [nil]
|
28
28
|
def delete_all_learner_data(learner_id, user_email, opts = {})
|
@@ -30,10 +30,10 @@ module RusticiSoftwareCloudV2
|
|
30
30
|
nil
|
31
31
|
end
|
32
32
|
|
33
|
-
# Deletes all
|
34
|
-
# Deletes all of the information
|
35
|
-
# @param learner_id The id of the learner
|
36
|
-
# @param user_email The email of the user initiating this request on behalf of the learner being deleted. This must be a valid primary email address for a SCORM Cloud realm which this application is in.
|
33
|
+
# Deletes all PII for a learnerId
|
34
|
+
# Deletes all of the PII information for the learner. This is meant for use with complying with GDPR requests from learners. >**Note:** >This method is asynchronous. A returned success status indicates a background process has been started, but there will still be a delay before the deletion of PII information takes place.
|
35
|
+
# @param learner_id The id of the learner
|
36
|
+
# @param user_email The email of the user initiating this request on behalf of the learner being deleted. This must be a valid primary email address for a SCORM Cloud realm which this application is in.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
39
39
|
def delete_all_learner_data_with_http_info(learner_id, user_email, opts = {})
|
@@ -41,11 +41,11 @@ module RusticiSoftwareCloudV2
|
|
41
41
|
@api_client.config.logger.debug 'Calling API: LearnerApi.delete_all_learner_data ...'
|
42
42
|
end
|
43
43
|
# verify the required parameter 'learner_id' is set
|
44
|
-
if
|
44
|
+
if learner_id.nil?
|
45
45
|
fail ArgumentError, "Missing the required parameter 'learner_id' when calling LearnerApi.delete_all_learner_data"
|
46
46
|
end
|
47
47
|
# verify the required parameter 'user_email' is set
|
48
|
-
if
|
48
|
+
if user_email.nil?
|
49
49
|
fail ArgumentError, "Missing the required parameter 'user_email' when calling LearnerApi.delete_all_learner_data"
|
50
50
|
end
|
51
51
|
# resource path
|
@@ -79,9 +79,9 @@ module RusticiSoftwareCloudV2
|
|
79
79
|
end
|
80
80
|
return data, status_code, headers
|
81
81
|
end
|
82
|
-
# Delete
|
83
|
-
# Delete the tags
|
84
|
-
# @param learner_id The id of the learner
|
82
|
+
# Delete tags from a learnerId
|
83
|
+
# Delete the specified tags from the learner. Deleting tags that do not exist will still result in a success.
|
84
|
+
# @param learner_id The id of the learner
|
85
85
|
# @param tags
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @return [nil]
|
@@ -90,9 +90,9 @@ module RusticiSoftwareCloudV2
|
|
90
90
|
nil
|
91
91
|
end
|
92
92
|
|
93
|
-
# Delete
|
94
|
-
# Delete the tags
|
95
|
-
# @param learner_id The id of the learner
|
93
|
+
# Delete tags from a learnerId
|
94
|
+
# Delete the specified tags from the learner. Deleting tags that do not exist will still result in a success.
|
95
|
+
# @param learner_id The id of the learner
|
96
96
|
# @param tags
|
97
97
|
# @param [Hash] opts the optional parameters
|
98
98
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
@@ -101,11 +101,11 @@ module RusticiSoftwareCloudV2
|
|
101
101
|
@api_client.config.logger.debug 'Calling API: LearnerApi.delete_learner_tags ...'
|
102
102
|
end
|
103
103
|
# verify the required parameter 'learner_id' is set
|
104
|
-
if
|
104
|
+
if learner_id.nil?
|
105
105
|
fail ArgumentError, "Missing the required parameter 'learner_id' when calling LearnerApi.delete_learner_tags"
|
106
106
|
end
|
107
107
|
# verify the required parameter 'tags' is set
|
108
|
-
if
|
108
|
+
if tags.nil?
|
109
109
|
fail ArgumentError, "Missing the required parameter 'tags' when calling LearnerApi.delete_learner_tags"
|
110
110
|
end
|
111
111
|
# resource path
|
@@ -138,9 +138,9 @@ module RusticiSoftwareCloudV2
|
|
138
138
|
end
|
139
139
|
return data, status_code, headers
|
140
140
|
end
|
141
|
-
# Get
|
142
|
-
#
|
143
|
-
# @param learner_id The id of the learner
|
141
|
+
# Get tags for a learnerId
|
142
|
+
# Returns the tags for the learner.
|
143
|
+
# @param learner_id The id of the learner
|
144
144
|
# @param [Hash] opts the optional parameters
|
145
145
|
# @return [TagListSchema]
|
146
146
|
def get_learner_tags(learner_id, opts = {})
|
@@ -148,9 +148,9 @@ module RusticiSoftwareCloudV2
|
|
148
148
|
data
|
149
149
|
end
|
150
150
|
|
151
|
-
# Get
|
152
|
-
#
|
153
|
-
# @param learner_id The id of the learner
|
151
|
+
# Get tags for a learnerId
|
152
|
+
# Returns the tags for the learner.
|
153
|
+
# @param learner_id The id of the learner
|
154
154
|
# @param [Hash] opts the optional parameters
|
155
155
|
# @return [Array<(TagListSchema, Fixnum, Hash)>] TagListSchema data, response status code and response headers
|
156
156
|
def get_learner_tags_with_http_info(learner_id, opts = {})
|
@@ -158,7 +158,7 @@ module RusticiSoftwareCloudV2
|
|
158
158
|
@api_client.config.logger.debug 'Calling API: LearnerApi.get_learner_tags ...'
|
159
159
|
end
|
160
160
|
# verify the required parameter 'learner_id' is set
|
161
|
-
if
|
161
|
+
if learner_id.nil?
|
162
162
|
fail ArgumentError, "Missing the required parameter 'learner_id' when calling LearnerApi.get_learner_tags"
|
163
163
|
end
|
164
164
|
# resource path
|
@@ -192,9 +192,9 @@ module RusticiSoftwareCloudV2
|
|
192
192
|
end
|
193
193
|
return data, status_code, headers
|
194
194
|
end
|
195
|
-
#
|
196
|
-
#
|
197
|
-
# @param learner_id The id of the learner
|
195
|
+
# Add tags to a learnerId
|
196
|
+
# Applies the provided tags to the learner. Tags are used to easily identify resources. Adding tags can enable more refined searches when working with Reportage.
|
197
|
+
# @param learner_id The id of the learner
|
198
198
|
# @param tags
|
199
199
|
# @param [Hash] opts the optional parameters
|
200
200
|
# @return [nil]
|
@@ -203,9 +203,9 @@ module RusticiSoftwareCloudV2
|
|
203
203
|
nil
|
204
204
|
end
|
205
205
|
|
206
|
-
#
|
207
|
-
#
|
208
|
-
# @param learner_id The id of the learner
|
206
|
+
# Add tags to a learnerId
|
207
|
+
# Applies the provided tags to the learner. Tags are used to easily identify resources. Adding tags can enable more refined searches when working with Reportage.
|
208
|
+
# @param learner_id The id of the learner
|
209
209
|
# @param tags
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
211
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
@@ -214,11 +214,11 @@ module RusticiSoftwareCloudV2
|
|
214
214
|
@api_client.config.logger.debug 'Calling API: LearnerApi.put_learner_tags ...'
|
215
215
|
end
|
216
216
|
# verify the required parameter 'learner_id' is set
|
217
|
-
if
|
217
|
+
if learner_id.nil?
|
218
218
|
fail ArgumentError, "Missing the required parameter 'learner_id' when calling LearnerApi.put_learner_tags"
|
219
219
|
end
|
220
220
|
# verify the required parameter 'tags' is set
|
221
|
-
if
|
221
|
+
if tags.nil?
|
222
222
|
fail ArgumentError, "Missing the required parameter 'tags' when calling LearnerApi.put_learner_tags"
|
223
223
|
end
|
224
224
|
# resource path
|
@@ -251,9 +251,9 @@ module RusticiSoftwareCloudV2
|
|
251
251
|
end
|
252
252
|
return data, status_code, headers
|
253
253
|
end
|
254
|
-
#
|
255
|
-
#
|
256
|
-
# @param batch
|
254
|
+
# Add a group of tags to a group of learnerIds
|
255
|
+
# Applies all of the provided tags on all of the provided learners. Tags are used to easily identify resources. Adding tags can enable more refined searches when working with Reportage.
|
256
|
+
# @param batch Array of ids, and array of tags for bulk tag operations
|
257
257
|
# @param [Hash] opts the optional parameters
|
258
258
|
# @return [nil]
|
259
259
|
def put_learner_tags_batch(batch, opts = {})
|
@@ -261,9 +261,9 @@ module RusticiSoftwareCloudV2
|
|
261
261
|
nil
|
262
262
|
end
|
263
263
|
|
264
|
-
#
|
265
|
-
#
|
266
|
-
# @param batch
|
264
|
+
# Add a group of tags to a group of learnerIds
|
265
|
+
# Applies all of the provided tags on all of the provided learners. Tags are used to easily identify resources. Adding tags can enable more refined searches when working with Reportage.
|
266
|
+
# @param batch Array of ids, and array of tags for bulk tag operations
|
267
267
|
# @param [Hash] opts the optional parameters
|
268
268
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
269
269
|
def put_learner_tags_batch_with_http_info(batch, opts = {})
|
@@ -271,7 +271,7 @@ module RusticiSoftwareCloudV2
|
|
271
271
|
@api_client.config.logger.debug 'Calling API: LearnerApi.put_learner_tags_batch ...'
|
272
272
|
end
|
273
273
|
# verify the required parameter 'batch' is set
|
274
|
-
if
|
274
|
+
if batch.nil?
|
275
275
|
fail ArgumentError, "Missing the required parameter 'batch' when calling LearnerApi.put_learner_tags_batch"
|
276
276
|
end
|
277
277
|
# resource path
|
@@ -304,9 +304,9 @@ module RusticiSoftwareCloudV2
|
|
304
304
|
end
|
305
305
|
return data, status_code, headers
|
306
306
|
end
|
307
|
-
# Update
|
308
|
-
# A learner in SCORM Cloud is not an entity on its own. In fact, learners only exist as information on individual registrations.
|
309
|
-
# @param learner_id The id of the learner
|
307
|
+
# Update all Registrations for a learnerId
|
308
|
+
# Updates information about a group of registrations, such as learner email and name. A learner in SCORM Cloud is not an entity on its own. In fact, learners only exist as information on individual registrations. This method will update the information on each of the registrations that the provided `learnerId` is attached to. >**Caution:** >Providing an empty string will cause the value in SCORM Cloud to be set to empty. This may have unintended consequences with regards to functionality. >**Note:** >This method is asynchronous. A returned success status indicates a background process has been started, but there will still be a delay before the changes on the registrations take place.
|
309
|
+
# @param learner_id The id of the learner
|
310
310
|
# @param learner_info
|
311
311
|
# @param [Hash] opts the optional parameters
|
312
312
|
# @return [nil]
|
@@ -315,9 +315,9 @@ module RusticiSoftwareCloudV2
|
|
315
315
|
nil
|
316
316
|
end
|
317
317
|
|
318
|
-
# Update
|
319
|
-
# A learner in SCORM Cloud is not an entity on its own. In fact, learners only exist as information on individual registrations.
|
320
|
-
# @param learner_id The id of the learner
|
318
|
+
# Update all Registrations for a learnerId
|
319
|
+
# Updates information about a group of registrations, such as learner email and name. A learner in SCORM Cloud is not an entity on its own. In fact, learners only exist as information on individual registrations. This method will update the information on each of the registrations that the provided `learnerId` is attached to. >**Caution:** >Providing an empty string will cause the value in SCORM Cloud to be set to empty. This may have unintended consequences with regards to functionality. >**Note:** >This method is asynchronous. A returned success status indicates a background process has been started, but there will still be a delay before the changes on the registrations take place.
|
320
|
+
# @param learner_id The id of the learner
|
321
321
|
# @param learner_info
|
322
322
|
# @param [Hash] opts the optional parameters
|
323
323
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
@@ -326,11 +326,11 @@ module RusticiSoftwareCloudV2
|
|
326
326
|
@api_client.config.logger.debug 'Calling API: LearnerApi.update_learner_info ...'
|
327
327
|
end
|
328
328
|
# verify the required parameter 'learner_id' is set
|
329
|
-
if
|
329
|
+
if learner_id.nil?
|
330
330
|
fail ArgumentError, "Missing the required parameter 'learner_id' when calling LearnerApi.update_learner_info"
|
331
331
|
end
|
332
332
|
# verify the required parameter 'learner_info' is set
|
333
|
-
if
|
333
|
+
if learner_info.nil?
|
334
334
|
fail ArgumentError, "Missing the required parameter 'learner_info' when calling LearnerApi.update_learner_info"
|
335
335
|
end
|
336
336
|
# resource path
|
@@ -19,6 +19,7 @@ module RusticiSoftwareCloudV2
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Ping the API
|
22
23
|
# Get back a message indicating that the API is working.
|
23
24
|
# @param [Hash] opts the optional parameters
|
24
25
|
# @return [PingSchema]
|
@@ -27,6 +28,7 @@ module RusticiSoftwareCloudV2
|
|
27
28
|
data
|
28
29
|
end
|
29
30
|
|
31
|
+
# Ping the API
|
30
32
|
# Get back a message indicating that the API is working.
|
31
33
|
# @param [Hash] opts the optional parameters
|
32
34
|
# @return [Array<(PingSchema, Fixnum, Hash)>] PingSchema data, response status code and response headers
|