rustici_software_cloud_v2 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/rustici_software_cloud_v2/api/about_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/application_management_api.rb +100 -5
- data/lib/rustici_software_cloud_v2/api/authentication_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +6 -1
- data/lib/rustici_software_cloud_v2/api/course_api.rb +42 -1
- data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +53 -2
- data/lib/rustici_software_cloud_v2/api/invitations_api.rb +33 -1
- data/lib/rustici_software_cloud_v2/api/learner_api.rb +8 -1
- data/lib/rustici_software_cloud_v2/api/ping_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/registration_api.rb +32 -1
- data/lib/rustici_software_cloud_v2/api/reporting_api.rb +5 -1
- data/lib/rustici_software_cloud_v2/api/xapi_api.rb +15 -1
- data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +11 -1
- data/lib/rustici_software_cloud_v2/api_client.rb +3 -2
- data/lib/rustici_software_cloud_v2/api_error.rb +0 -1
- data/lib/rustici_software_cloud_v2/configuration.rb +0 -8
- data/lib/rustici_software_cloud_v2/models/about_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_info_list_schema.rb +197 -0
- data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +12 -2
- data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_token.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/comment_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/connector_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/connector_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_connector_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_lti13_info_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_connector_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/learner_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/lti13_platform_configuration_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/message_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/objective_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/paginated_list.rb +186 -0
- data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/ping_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_completion.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_success.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/response_error.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/score_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_item.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/title_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/update_connector_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_account.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_context.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_result.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_score.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/version.rb +1 -2
- data/lib/rustici_software_cloud_v2.rb +2 -1
- data/rustici_software_cloud_v2.gemspec +0 -1
- data/spec/api_client_spec.rb +0 -1
- data/spec/configuration_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -1
- metadata +4 -2
@@ -6,7 +6,6 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.27
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -19,6 +18,9 @@ module RusticiSoftwareCloudV2
|
|
19
18
|
def initialize(api_client = ApiClient.default)
|
20
19
|
@api_client = api_client
|
21
20
|
end
|
21
|
+
|
22
|
+
extend Gem::Deprecate
|
23
|
+
|
22
24
|
# Get a launch link to preview a Course
|
23
25
|
# Returns the launch link to use to preview the course. Course preview does not require an underlying registration. As such, no interactions will be tracked during the preview launch. Previews are meant to be a way to confirm the course looks and acts the way it should. >**Note:** >The cmi5 standard does not support the ability to preview a course. A launch link can be built for a cmi5 course, but visiting the link will result in an error page. More details can be found in this [article explaining the complications behind cmi5 preview launches](https://support.scorm.com/hc/en-us/articles/1260805676710).
|
24
26
|
# @param course_id
|
@@ -79,6 +81,7 @@ module RusticiSoftwareCloudV2
|
|
79
81
|
end
|
80
82
|
return data, status_code, headers
|
81
83
|
end
|
84
|
+
|
82
85
|
# Get a launch link to preview a Course Version
|
83
86
|
# Returns the launch link to use to preview the course version. Course preview does not require an underlying registration. As such, no interactions will be tracked during the preview launch. Previews are meant to be a way to confirm the course looks and acts the way it should. >**Note:** >The cmi5 standard does not support the ability to preview a course. A launch link can be built for a cmi5 course, but visiting the link will result in an error page. More details can be found in this [article explaining the complications behind cmi5 preview launches](https://support.scorm.com/hc/en-us/articles/1260805676710).
|
84
87
|
# @param course_id
|
@@ -145,6 +148,7 @@ module RusticiSoftwareCloudV2
|
|
145
148
|
end
|
146
149
|
return data, status_code, headers
|
147
150
|
end
|
151
|
+
|
148
152
|
# Create a Course from a package fetched from an external source
|
149
153
|
# Creates a course from a package fetched and imported from the provided url. The package will be downloaded from the url and stored in SCORM Cloud. An import job ID will be returned, which can be used with GetImportJobStatus to view the status of the import. Courses represent the learning material a learner will progress through. >**Note:** >The import job ID used for calls to GetImportJobStatus are only valid for one week after the course import finishes.
|
150
154
|
# @param course_id A unique identifier your application will use to identify the course after import. Your application is responsible both for generating this unique ID and for keeping track of the ID for later use.
|
@@ -212,6 +216,7 @@ module RusticiSoftwareCloudV2
|
|
212
216
|
end
|
213
217
|
return data, status_code, headers
|
214
218
|
end
|
219
|
+
|
215
220
|
# Create a Course from a fetched or referenced external media file
|
216
221
|
# Creates a course from one of the following methods: fetchRequest, mediaFileReferenceRequest, or connectorReferenceRequest. In all cases, an import job ID will be returned, which can be used with GetImportJobStatus to view the status of the import. Courses represent the learning material a learner will progress through. - A fetchRequest performs the same actions as CreateFetchAndImportCourseJob. A course will be created from a package fetched from the provided url. The package will be downloaded from the url and stored in SCORM Cloud. - A mediaFileReferenceRequest will not store the file in SCORM Cloud. Instead it will reference the media file at the time the learner needs to view the file from the provided url. - A connectorReferenceRequest is used to import content from an external content connector, for example an LTI 1.3 tool. >**Note:** >The import job ID used for calls to GetImportJobStatus are only valid for one week after the course import finishes. >**Info:** >Unless working with media files, it is typical to use one of the other two import methods. >- CreateUploadAndImportCourseJob would be used if the course is in your local file system. >- CreateFetchAndImportCourseJob would be better suited for situations where the course is uploaded remotely but is accessible via a public url.
|
217
222
|
# @param course_id A unique identifier your application will use to identify the course after import. Your application is responsible both for generating this unique ID and for keeping track of the ID for later use.
|
@@ -279,6 +284,7 @@ module RusticiSoftwareCloudV2
|
|
279
284
|
end
|
280
285
|
return data, status_code, headers
|
281
286
|
end
|
287
|
+
|
282
288
|
# Create a Course from an uploaded package
|
283
289
|
# Creates a course from a package uploaded from your file system. The package will be sent as part of the request and will be stored in SCORM Cloud. An import job ID will be returned, which can be used with GetImportJobStatus to view the status of the import. Courses represent the learning material a learner will progress through. >**Note:** >The import job ID used for calls to GetImportJobStatus are only valid for one week after the course import finishes.
|
284
290
|
# @param course_id A unique identifier your application will use to identify the course after import. Your application is responsible both for generating this unique ID and for keeping track of the ID for later use.
|
@@ -349,6 +355,7 @@ module RusticiSoftwareCloudV2
|
|
349
355
|
end
|
350
356
|
return data, status_code, headers
|
351
357
|
end
|
358
|
+
|
352
359
|
# Delete a Course
|
353
360
|
# Deletes the specified course. >**Caution:** >When a course is deleted, so is everything connected to the course. This includes: >- Registrations >- Invitations >- Dispatches >- Debug Logs
|
354
361
|
# @param course_id
|
@@ -402,6 +409,7 @@ module RusticiSoftwareCloudV2
|
|
402
409
|
end
|
403
410
|
return data, status_code, headers
|
404
411
|
end
|
412
|
+
|
405
413
|
# Delete an asset file from a Course
|
406
414
|
# Deletes the asset file at the specified relative path from the latest version of the course. GetCourseFileList can be used to find the relative path of the file. >**Caution:** >This may have unintended consequences if the asset is still being linked to in other files in the course. Make sure that other files relying on this asset are modified or removed as well. This can be done with the ImportCourseAssetFile or UploadCourseAssetFile endpoints.
|
407
415
|
# @param course_id
|
@@ -462,6 +470,7 @@ module RusticiSoftwareCloudV2
|
|
462
470
|
end
|
463
471
|
return data, status_code, headers
|
464
472
|
end
|
473
|
+
|
465
474
|
# Delete a configuration setting explicitly set for a Course
|
466
475
|
# Clears the specified setting from the course. This causes the setting to inherit a value from a higher level (e.g. application). If the configuration setting was not set at the course level it will continue to persist and will require deletion from the level it was set.
|
467
476
|
# @param course_id
|
@@ -521,6 +530,7 @@ module RusticiSoftwareCloudV2
|
|
521
530
|
end
|
522
531
|
return data, status_code, headers
|
523
532
|
end
|
533
|
+
|
524
534
|
# Delete tags from a Course
|
525
535
|
# Deletes the specified tags from the course. Deleting tags that do not exist will still result in a success.
|
526
536
|
# @param course_id
|
@@ -580,6 +590,7 @@ module RusticiSoftwareCloudV2
|
|
580
590
|
end
|
581
591
|
return data, status_code, headers
|
582
592
|
end
|
593
|
+
|
583
594
|
# Delete a Course Version
|
584
595
|
# Deletes the specified version of the course. If deleting the last remaining version of the course, the course itself will be deleted and no longer accessible. >**Caution:** >When a course is deleted, so is everything connected to this course. This includes: >- Registrations >- Invitations >- Dispatches >- Debug Logs
|
585
596
|
# @param course_id
|
@@ -639,6 +650,7 @@ module RusticiSoftwareCloudV2
|
|
639
650
|
end
|
640
651
|
return data, status_code, headers
|
641
652
|
end
|
653
|
+
|
642
654
|
# Delete an asset file from a Course Version
|
643
655
|
# Deletes the asset file at the specified relative path from the course version. GetCourseVersionFileList can be used to find the relative path of the file. >**Caution:** >This may have unintended consequences if the asset is still being linked to in other files in the course. Make sure that other files relying on this asset are modified or removed as well. This can be done with the ImportCourseVersionAssetFile or UploadCourseVersionAssetFile endpoints.
|
644
656
|
# @param course_id
|
@@ -705,6 +717,7 @@ module RusticiSoftwareCloudV2
|
|
705
717
|
end
|
706
718
|
return data, status_code, headers
|
707
719
|
end
|
720
|
+
|
708
721
|
# Delete a configuration setting explicitly set for a Course Version
|
709
722
|
# Clears the specified setting from the course version. This causes the setting to inherit a value from a higher level (e.g. application). If the configuration setting was not set at the course level it will continue to persist and will require deletion from the level it was set.
|
710
723
|
# @param course_id
|
@@ -770,6 +783,7 @@ module RusticiSoftwareCloudV2
|
|
770
783
|
end
|
771
784
|
return data, status_code, headers
|
772
785
|
end
|
786
|
+
|
773
787
|
# Get detailed information about a Course
|
774
788
|
# Returns detailed information about the course. This includes title, update date, learning standard, and version.
|
775
789
|
# @param course_id
|
@@ -830,6 +844,7 @@ module RusticiSoftwareCloudV2
|
|
830
844
|
end
|
831
845
|
return data, status_code, headers
|
832
846
|
end
|
847
|
+
|
833
848
|
# Download an asset file from a Course
|
834
849
|
# Downloads the asset file at the specified relative path from the latest version of the course. GetCourseFileList can be used to find the relative path of the file.
|
835
850
|
# @param course_id
|
@@ -891,6 +906,7 @@ module RusticiSoftwareCloudV2
|
|
891
906
|
end
|
892
907
|
return data, status_code, headers
|
893
908
|
end
|
909
|
+
|
894
910
|
# Get effective configuration settings for a Course
|
895
911
|
# Returns the effective configuration settings for the course. If not set at the course level, the setting will inherit a value from a higher level (e.g. application). If there is a configuration setting present at a more specific level, that setting will override the one set at the course level.
|
896
912
|
# @param course_id
|
@@ -948,6 +964,7 @@ module RusticiSoftwareCloudV2
|
|
948
964
|
end
|
949
965
|
return data, status_code, headers
|
950
966
|
end
|
967
|
+
|
951
968
|
# Get a list of asset files in a Course
|
952
969
|
# Returns a list of asset files in the course. Included will be the relative path to use for the other course asset manipulation calls.
|
953
970
|
# @param course_id
|
@@ -1002,6 +1019,7 @@ module RusticiSoftwareCloudV2
|
|
1002
1019
|
end
|
1003
1020
|
return data, status_code, headers
|
1004
1021
|
end
|
1022
|
+
|
1005
1023
|
# Get xAPI statements for a Course
|
1006
1024
|
# Returns xAPI statements for the course.
|
1007
1025
|
# @param course_id
|
@@ -1068,6 +1086,7 @@ module RusticiSoftwareCloudV2
|
|
1068
1086
|
end
|
1069
1087
|
return data, status_code, headers
|
1070
1088
|
end
|
1089
|
+
|
1071
1090
|
# Get tags for a Course
|
1072
1091
|
# Returns the tags for the course.
|
1073
1092
|
# @param course_id
|
@@ -1122,6 +1141,7 @@ module RusticiSoftwareCloudV2
|
|
1122
1141
|
end
|
1123
1142
|
return data, status_code, headers
|
1124
1143
|
end
|
1144
|
+
|
1125
1145
|
# Download an asset file from a specific Course Version
|
1126
1146
|
# Downloads the asset file at the provided relative path from the course version. GetCourseVersionFileList can be used to find the relative path of the file.
|
1127
1147
|
# @param course_id
|
@@ -1189,6 +1209,7 @@ module RusticiSoftwareCloudV2
|
|
1189
1209
|
end
|
1190
1210
|
return data, status_code, headers
|
1191
1211
|
end
|
1212
|
+
|
1192
1213
|
# Get effective configuration settings for a Course Version
|
1193
1214
|
# Returns the effective configuration settings for the course version. If not set at the course level, the setting will inherit a value from a higher level (e.g. application). If there is a configuration setting present at a more specific level, that setting will override the one set at the course level.
|
1194
1215
|
# @param course_id
|
@@ -1252,6 +1273,7 @@ module RusticiSoftwareCloudV2
|
|
1252
1273
|
end
|
1253
1274
|
return data, status_code, headers
|
1254
1275
|
end
|
1276
|
+
|
1255
1277
|
# Get a list of asset files in a Course Version
|
1256
1278
|
# Returns a list of asset files in the course version. Included will be the relative path to use for the other course asset manipulation calls.
|
1257
1279
|
# @param course_id
|
@@ -1312,6 +1334,7 @@ module RusticiSoftwareCloudV2
|
|
1312
1334
|
end
|
1313
1335
|
return data, status_code, headers
|
1314
1336
|
end
|
1337
|
+
|
1315
1338
|
# Get detailed information about a Course Version
|
1316
1339
|
# Returns detailed information about the course version. This includes update date and registration count (if optional value is passed in).
|
1317
1340
|
# @param course_id
|
@@ -1378,6 +1401,7 @@ module RusticiSoftwareCloudV2
|
|
1378
1401
|
end
|
1379
1402
|
return data, status_code, headers
|
1380
1403
|
end
|
1404
|
+
|
1381
1405
|
# Get xAPI statements for a Course Version
|
1382
1406
|
# Returns xAPI statements for the course version.
|
1383
1407
|
# @param course_id
|
@@ -1450,6 +1474,7 @@ module RusticiSoftwareCloudV2
|
|
1450
1474
|
end
|
1451
1475
|
return data, status_code, headers
|
1452
1476
|
end
|
1477
|
+
|
1453
1478
|
# Get a list of a Course's Versions
|
1454
1479
|
# Returns information about all versions of the course. This can be useful to see information such as registration counts and modification times across the versions of a course.
|
1455
1480
|
# @param course_id
|
@@ -1516,6 +1541,7 @@ module RusticiSoftwareCloudV2
|
|
1516
1541
|
end
|
1517
1542
|
return data, status_code, headers
|
1518
1543
|
end
|
1544
|
+
|
1519
1545
|
# Download a zip package for a Course
|
1520
1546
|
# Downloads a zip package for the course. The course zip package contains all of the files (assets) needed for a learner to take the course. The returned zip will contain all of the files orginally uploaded with the course, as well as any modifications made through updating/ adding new assets. >**Info:** >If looking to retrieve a specific file from a course, use `GetCourseAsset` instead.
|
1521
1547
|
# @param course_id
|
@@ -1570,6 +1596,7 @@ module RusticiSoftwareCloudV2
|
|
1570
1596
|
end
|
1571
1597
|
return data, status_code, headers
|
1572
1598
|
end
|
1599
|
+
|
1573
1600
|
# Get a list of Courses
|
1574
1601
|
# Returns a list of courses. Can be filtered using the request parameters to provide a subset of results. >**Note:** >This request is paginated and will only provide a limited amount of resources at a time. If there are more results to be collected, a `more` token provided with the response which can be passed to get the next page of results. When passing this token, no other filter parameters can be sent as part of the request. The resources will continue to respect the filters passed in by the original request.
|
1575
1602
|
# @param [Hash] opts the optional parameters
|
@@ -1583,6 +1610,7 @@ module RusticiSoftwareCloudV2
|
|
1583
1610
|
# @option opts [String] :more Pagination token returned as `more` property of multi page list requests
|
1584
1611
|
# @option opts [BOOLEAN] :include_course_metadata Include course metadata in the results. If the course has no metadata, adding this parameter has no effect. (default to false)
|
1585
1612
|
# @option opts [BOOLEAN] :include_registration_count Include the registration count in the results (default to false)
|
1613
|
+
# @option opts [BOOLEAN] :include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token. (default to false)
|
1586
1614
|
# @return [CourseListSchema]
|
1587
1615
|
def get_courses(opts = {})
|
1588
1616
|
data, _status_code, _headers = get_courses_with_http_info(opts)
|
@@ -1602,6 +1630,7 @@ module RusticiSoftwareCloudV2
|
|
1602
1630
|
# @option opts [String] :more Pagination token returned as `more` property of multi page list requests
|
1603
1631
|
# @option opts [BOOLEAN] :include_course_metadata Include course metadata in the results. If the course has no metadata, adding this parameter has no effect.
|
1604
1632
|
# @option opts [BOOLEAN] :include_registration_count Include the registration count in the results
|
1633
|
+
# @option opts [BOOLEAN] :include_total_count Include the total count of results matching the provided filters as a header on the initial request. The header will not be present on subsequent requests resulting from passing the `more` token.
|
1605
1634
|
# @return [Array<(CourseListSchema, Fixnum, Hash)>] CourseListSchema data, response status code and response headers
|
1606
1635
|
def get_courses_with_http_info(opts = {})
|
1607
1636
|
if @api_client.config.debugging
|
@@ -1622,6 +1651,7 @@ module RusticiSoftwareCloudV2
|
|
1622
1651
|
query_params[:'more'] = opts[:'more'] if !opts[:'more'].nil?
|
1623
1652
|
query_params[:'includeCourseMetadata'] = opts[:'include_course_metadata'] if !opts[:'include_course_metadata'].nil?
|
1624
1653
|
query_params[:'includeRegistrationCount'] = opts[:'include_registration_count'] if !opts[:'include_registration_count'].nil?
|
1654
|
+
query_params[:'includeTotalCount'] = opts[:'include_total_count'] if !opts[:'include_total_count'].nil?
|
1625
1655
|
|
1626
1656
|
# header parameters
|
1627
1657
|
header_params = {}
|
@@ -1648,6 +1678,7 @@ module RusticiSoftwareCloudV2
|
|
1648
1678
|
end
|
1649
1679
|
return data, status_code, headers
|
1650
1680
|
end
|
1681
|
+
|
1651
1682
|
# Get import job status for a Course
|
1652
1683
|
# Check the status of a course import. This can be called incrementally to check the progress of a call to any of the import options. >**Note:** >The import job ID used for calls to GetImportJobStatus are only valid for one week after the course import finishes.
|
1653
1684
|
# @param import_job_id Id received when the import job was submitted to the importJobs resource.
|
@@ -1702,6 +1733,7 @@ module RusticiSoftwareCloudV2
|
|
1702
1733
|
end
|
1703
1734
|
return data, status_code, headers
|
1704
1735
|
end
|
1736
|
+
|
1705
1737
|
# Download a zip package for a Course Version
|
1706
1738
|
# Downloads a zip package for the course version. The course zip package contains all of the files (assets) needed for a learner to take the course. The returned zip will contain all of the files orginally uploaded with the course, as well as any modifications made through updating/ adding new assets. >**Info:** >If looking to retrieve a specific file from a course version, use `GetCourseVersionAsset` instead.
|
1707
1739
|
# @param course_id
|
@@ -1762,6 +1794,7 @@ module RusticiSoftwareCloudV2
|
|
1762
1794
|
end
|
1763
1795
|
return data, status_code, headers
|
1764
1796
|
end
|
1797
|
+
|
1765
1798
|
# Import an asset file for a Course
|
1766
1799
|
# Creates or updates an asset file fetched from the provided url into the course. The file will be downloaded from the url and stored in SCORM Cloud. This is a useful way to modify the course structure without needing to reimport the whole course after you've made changes. >**Info:** >If the course structure is being heavily modified, consider creating a new version instead. This can be done by calling one of the course import jobs while passing true for `mayCreateNewVersion`.
|
1767
1800
|
# @param course_id
|
@@ -1825,6 +1858,7 @@ module RusticiSoftwareCloudV2
|
|
1825
1858
|
end
|
1826
1859
|
return data, status_code, headers
|
1827
1860
|
end
|
1861
|
+
|
1828
1862
|
# Import an asset file for a Course Version
|
1829
1863
|
# Creates or updates an asset file fetched from the provided url into the course version. The file will be downloaded from the url and stored in SCORM Cloud. This is a useful way to modify the course structure without needing to reimport the whole course after you've made changes. >**Info:** >If the course structure is being heavily modified, consider creating a new version instead. This can be done by calling one of the course import jobs while passing true for `mayCreateNewVersion`.
|
1830
1864
|
# @param course_id
|
@@ -1894,6 +1928,7 @@ module RusticiSoftwareCloudV2
|
|
1894
1928
|
end
|
1895
1929
|
return data, status_code, headers
|
1896
1930
|
end
|
1931
|
+
|
1897
1932
|
# Add tags to a Course
|
1898
1933
|
# Applies the provided tags to the course. Tags are used to easily identify resources. Adding tags can enable more refined searches when making calls to certain endpoints (e.g. GetCourses).
|
1899
1934
|
# @param course_id
|
@@ -1953,6 +1988,7 @@ module RusticiSoftwareCloudV2
|
|
1953
1988
|
end
|
1954
1989
|
return data, status_code, headers
|
1955
1990
|
end
|
1991
|
+
|
1956
1992
|
# Add a group of tags to a group of Courses
|
1957
1993
|
# Applies all of the provided tags on all of the provided courses. Tags are used to easily identify resources. Adding tags can enable more refined searches when making calls to certain endpoints (e.g. GetCourses).
|
1958
1994
|
# @param batch Array of ids, and array of tags for bulk tag operations
|
@@ -2006,6 +2042,7 @@ module RusticiSoftwareCloudV2
|
|
2006
2042
|
end
|
2007
2043
|
return data, status_code, headers
|
2008
2044
|
end
|
2045
|
+
|
2009
2046
|
# Update configuration settings for a Course
|
2010
2047
|
# Updates configuration settings at the course level. This will explicitly set a value at the course level and override any settings from a higher level. These settings will affect all items within the course which do not have their own explicit configuration set. This can effectively be used to set course level defaults.
|
2011
2048
|
# @param course_id
|
@@ -2065,6 +2102,7 @@ module RusticiSoftwareCloudV2
|
|
2065
2102
|
end
|
2066
2103
|
return data, status_code, headers
|
2067
2104
|
end
|
2105
|
+
|
2068
2106
|
# Update title for a Course
|
2069
2107
|
# Updates the title of the course.
|
2070
2108
|
# @param course_id
|
@@ -2124,6 +2162,7 @@ module RusticiSoftwareCloudV2
|
|
2124
2162
|
end
|
2125
2163
|
return data, status_code, headers
|
2126
2164
|
end
|
2165
|
+
|
2127
2166
|
# Update configuration settings for a Course Version
|
2128
2167
|
# Updates configuration settings at the course level. This will explicitly set a value at the course level and override any settings from a higher level. These settings will affect all items within the course which do not have their own explicit configuration set. This can effectively be used to set course level defaults.
|
2129
2168
|
# @param course_id
|
@@ -2189,6 +2228,7 @@ module RusticiSoftwareCloudV2
|
|
2189
2228
|
end
|
2190
2229
|
return data, status_code, headers
|
2191
2230
|
end
|
2231
|
+
|
2192
2232
|
# Upload an asset file for a Course
|
2193
2233
|
# Creates or updates an asset file uploaded from your file system into the course. The file will be sent as part of the request and will be stored in SCORM Cloud alongside the course. This is a useful way to modify the course structure without needing to reimport the whole course after you've made changes. >**Info:** >If the course structure is being heavily modified, consider creating a new version instead. This can be done by calling one of the course import jobs while passing true for `mayCreateNewVersion`.
|
2194
2234
|
# @param course_id
|
@@ -2256,6 +2296,7 @@ module RusticiSoftwareCloudV2
|
|
2256
2296
|
end
|
2257
2297
|
return data, status_code, headers
|
2258
2298
|
end
|
2299
|
+
|
2259
2300
|
# Upload an asset file for Course Version
|
2260
2301
|
# Creates or updates an asset file uploaded from your file system into the course version. The file will be sent as part of the request and will be stored in SCORM Cloud alongside the course. This is a useful way to modify the course structure without needing to reimport the whole course after you've made changes. >**Info:** >If the course structure is being heavily modified, consider creating a new version instead. This can be done by calling one of the course import jobs while passing true for `mayCreateNewVersion`.
|
2261
2302
|
# @param course_id
|