scorm_engine 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scorm_engine/api/endpoints/configuration.rb +31 -1
- data/lib/scorm_engine/version.rb +1 -1
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/is_successful.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_platform.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about/knows_the_version.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_before_option.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/accepts_since_option.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_combined_counts.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_About/_get_about_user_count/tracks_per_tenantcounts.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_delete_app_configuration/fails_when_settings_are_invalid.yml +46 -0
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_delete_app_configuration/is_successful.yml +42 -0
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/includeMetadata/is_successful.yml +931 -0
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/includeMetadata/returns_metadata_in_raw_response_when_included_in_options.yml +931 -0
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/is_successful.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_get_app_configuration/returns_settings_and_values.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/fails_when_settings_are_invalid.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/is_successful.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Configuration/_post_app_configuration/persists_the_settings.yml +44 -44
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_delete_course/works.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/is_successful.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/results/sucessfully_creates_the_Course_attributes.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/results/returns_a_URL_string.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/fetches_a_single_course_but_perhaps_multiple_versions.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_course_id_option/returns_404_when_ID_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_all_the_courses.yml +35 -80
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/fails_when_passed_an_invalid_value.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/_since_option/works.yml +26 -23
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/is_successful.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/is_an_enumerator_of_Course_models.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_courses/results/sucessfully_creates_the_Course_attributes.yml +16 -16
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration/results/makes_settings_available_as_key/value_pairs.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_course_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/fails_when_setting_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_get_course_configuration_setting/results/returns_the_value_as_a_string.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/fails_when_settings_are_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_post_course_configuration/persists_the_settings.yml +25 -25
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_course_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/fails_when_setting_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/is_successful.yml +13 -13
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Configuration/_put_course_configuration_setting/results/persists_the_changes.yml +20 -20
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/successful_imports/works.yml +31 -31
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_get_course_import/unsuccessful_imports/fails_to_import_given_an_invalid_url.yml +20 -63
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses_Import/_post_course_import/unsuccessful_imports/fails_to_import_a_previously_existing_course.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/returns_success_even_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_delete_destination/works.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination/results/sucessfully_creates_the_destination_attributes.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/fails_when_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destination_dispatches_registration_count/works.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_all_the_destinations.yml +14 -14
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/fails_when_passed_an_invalid_value.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/_since_option/works.yml +7 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/is_an_enumerator_of_Destination_models.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_get_destinations/results/sucessfully_creates_the_Destination_attributes.yml +51 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination/is_successful_even_if_the_destination_id_is_not_unique.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/fails_when_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_false.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_enabled/works_when_true.yml +4 -4
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/fails_when_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_false.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_post_destination_dispatches_registration_instancing/works_when_true.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Destinations/_put_destination/results/sucessfully_creates_the_destination_attributes.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/returns_success_even_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch/works.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_delete_dispatch_registration_count/succeeds_even_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_false_when_disabled.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_enabled/is_true_when_enabled.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/fails_when_id_is_invalid.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/is_successful.yml +11 -11
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_registration_count/results/sucessfully_creates_the_dispatch_attributes.yml +11 -11
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_id.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/fails_given_an_invalid_type.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_AICC.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM12.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatch_zip/works_when_type_is_SCORM2004-3RD.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_all_the_dispatches.yml +17 -17
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_more_option_pagination_/returns_the_more_key_in_the_raw_response.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/fails_when_passed_an_invalid_value.yml +4 -4
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/_since_option/works.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/is_an_enumerator_of_dispatch_models.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_get_dispatches/results/sucessfully_creates_the_dispatch_attributes.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_post_dispatch/updates_if_same_dispatch_id.yml +19 -19
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch/results/sucessfully_creates_the_dispatch_attributes.yml +11 -11
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/fails_when_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_false.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Dispatches/_put_dispatch_enabled/works_when_true.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/is_successful.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/reports_the_api_is_up.yml +6 -6
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/is_unsuccessful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Ping/_get_ping/with_invalid_password/returns_status_403.yml +4 -4
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_failure_when_registration_does_not_exist.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_delete_registration/is_successful_when_registration_exists.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_false_when_registration_does_not_exist.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_exists/is_true_when_registration_exists.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/includes_results_we_expect.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_instances/returns_an_array_of_registrations.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_launch_link/results/returns_a_URL_string.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/does_not_return_activity_details_by_default.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/detail/returns_activity_details_if_requested.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/fails_when_registration_does_not_exist.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registration_progress/returns_a_registration_when_it_exists.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/excludes_results.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_course_id/includes_results.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/excludes_results.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/filtering_by_learner_id/includes_results.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/includes_results_we_expect.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/is_successful.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_get_registrations/returns_an_array_of_registrations.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_course_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/fails_if_registration_id_already_exists.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations/_post_registration/is_successful_even_when_given_a_UTF8/slashed_username.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/is_successful.yml +8 -8
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration/results/makes_settings_available_as_key/value_pairs.yml +7 -7
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/is_successful.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_get_registration_configuration_setting/results/returns_the_value_as_a_string.yml +10 -10
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/fails_when_settings_are_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_post_registration_configuration/persists_the_settings.yml +24 -24
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_registration_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/fails_when_setting_id_is_invalid.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/is_successful.yml +12 -12
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_Configuration/_put_registration_configuration_setting/results/persists_the_changes.yml +18 -18
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/fails_when_registration_does_not_exist.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/is_successful.yml +5 -5
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Registrations_LaunchHistory/_get_registration_launch_history/returns_an_array_of_registration_launch_histories.yml +5 -5
- data/spec/scorm_engine/api/endpoints/about_spec.rb +1 -1
- data/spec/scorm_engine/api/endpoints/configuration_spec.rb +32 -1
- data/spec/scorm_engine/api/endpoints/courses_spec.rb +2 -3
- metadata +6 -3
- data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/results/returns_a_URL_string_containing_a_signed_jwt.yml +0 -46
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:11 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,14 +33,14 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Error from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 be07bf9bf37f2e63b7b1c8863b7a11ca.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- NwZzjpQVq3umdr3wuiKKYbTjaX1JceyjFjtdWWAQpueRHxLIViHRvg==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"message":"Course ID ''nonexistent-course'' does not exist"}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Tue, 10 Nov 2020 22:54:11 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_detail/is_successful.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:11 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,17 +33,17 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 892ff18443201978a8cd2296b3d38e18.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- C3hEuCDwpYF1DXjUnEa-jWMMiRYm93bBzk80Z2PLMo5rSKVRy9cSzQ==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"id":"testing-golf-explained","version":0,"title":"Golf Explained
|
44
|
-
- Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:
|
44
|
+
- Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:59:25.000Z","webPath":"/courses/ScormEngineGemTesting-default/testing-golf-explained/0","rootActivity":{"externalIdentifier":"golf_sample_default_org","itemIdentifier":"golf_sample_default_org","resourceIdentifier":"","activityType":"AGGREGATION","href":"","title":"Golf
|
45
45
|
Explained - Run-time Basic Calls","children":[{"externalIdentifier":"item_1","itemIdentifier":"item_1","resourceIdentifier":"resource_1","activityType":"SCO","href":"shared/launchpage.html","title":"Golf
|
46
46
|
Explained","children":[]}]},"metadata":{}}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Tue, 10 Nov 2020 22:54:11 GMT
|
49
49
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:12 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,17 +33,17 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 07c02ae6c53d85283eb15380264d9998.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- k4zy5M5RWyuGaYqv2gxmjYZ5Q0ryQFzluJDmxHwTnt-Q2kZmyaCxgg==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"id":"testing-golf-explained","version":0,"title":"Golf Explained
|
44
|
-
- Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:
|
44
|
+
- Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:59:25.000Z","webPath":"/courses/ScormEngineGemTesting-default/testing-golf-explained/0","rootActivity":{"externalIdentifier":"golf_sample_default_org","itemIdentifier":"golf_sample_default_org","resourceIdentifier":"","activityType":"AGGREGATION","href":"","title":"Golf
|
45
45
|
Explained - Run-time Basic Calls","children":[{"externalIdentifier":"item_1","itemIdentifier":"item_1","resourceIdentifier":"resource_1","activityType":"SCO","href":"shared/launchpage.html","title":"Golf
|
46
46
|
Explained","children":[]}]},"metadata":{}}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Tue, 10 Nov 2020 22:54:12 GMT
|
49
49
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:07 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,14 +33,14 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Error from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 bd6dc6ff7ea2e7a0c6202fdae4d38e80.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- EM7gYUcaOcM8_hgh9KZFEeOzEGRz0HyRo3HEzktV3YS3rytiM13k1g==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"message":"Course ID ''nonexistent-course'' does not exist"}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Tue, 10 Nov 2020 22:54:09 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
data/spec/fixtures/vcr/ScormEngine_Api_Endpoints_Courses/_get_course_preview/is_successful.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -19,11 +19,11 @@ http_interactions:
|
|
19
19
|
content-type:
|
20
20
|
- application/json
|
21
21
|
content-length:
|
22
|
-
- '
|
22
|
+
- '241'
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:09 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,14 +33,14 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 a1d0bea525f74dd86deb7d34bec14cac.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- kCelaQiyzW-0_aQwMUjVFoLlF4H3gb0eINEWWJ_sNP7tmhXIPML6-A==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: '{"launchLink":"/ScormEngineInterface/defaultui/launch.jsp?
|
43
|
+
string: '{"launchLink":"/ScormEngineInterface/defaultui/launch.jsp?package=ApiCourseId%7Ctesting-golf-explained%21VersionId%7C0&configuration=ScormEngineGemTesting-default&tracking=false&RedirectOnExitUrl=https%3A%2F%2Fexample.com&forceReview=false"}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Tue, 10 Nov 2020 22:54:10 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -19,11 +19,11 @@ http_interactions:
|
|
19
19
|
content-type:
|
20
20
|
- application/json
|
21
21
|
content-length:
|
22
|
-
- '
|
22
|
+
- '241'
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:10 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,14 +33,14 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 f8e91eeca584f530dcca3e3417221c89.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- pmZWM_4ODPpR6U8vo50viegy3rZhggWxh-4yahQUlaGNt6XpQgqgtg==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string: '{"launchLink":"/ScormEngineInterface/defaultui/launch.jsp?
|
43
|
+
string: '{"launchLink":"/ScormEngineInterface/defaultui/launch.jsp?package=ApiCourseId%7Ctesting-golf-explained%21VersionId%7C0&configuration=ScormEngineGemTesting-default&tracking=false&RedirectOnExitUrl=https%3A%2F%2Fexample.com&forceReview=false"}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Tue, 10 Nov 2020 22:54:10 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:26 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,15 +33,15 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 ec99de6a8df96b4e008b942ab98e6595.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- l99OSWSX1bMQTWb6benHOCRQIAlLBRn-SBPeR_ZdBhQbb9f7vtb4SA==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"courses":[{"id":"testing-golf-explained","version":0,"title":"Golf
|
44
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:
|
44
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:59:25.000Z"}]}'
|
45
45
|
http_version:
|
46
|
-
recorded_at:
|
46
|
+
recorded_at: Tue, 10 Nov 2020 22:54:26 GMT
|
47
47
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:26 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,14 +33,14 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Error from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 b165299644482a8ffbc85462a8b9e7f1.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
38
|
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- na93pydDo2SCLy10gONW_R1uMcEdj4bea6Si0wlID64HJlZQlAqFww==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"message":"Course ID ''invalid-bogus'' does not exist"}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Tue, 10 Nov 2020 22:54:26 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- ScormEngine Ruby Gem 0.8.
|
11
|
+
- ScormEngine Ruby Gem 0.8.2
|
12
12
|
Authorization:
|
13
13
|
- Basic <BASIC_AUTH>
|
14
14
|
response:
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
connection:
|
24
24
|
- close
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 10 Nov 2020 22:54:23 GMT
|
27
27
|
p3p:
|
28
28
|
- CP="NOI"
|
29
29
|
server:
|
@@ -33,35 +33,35 @@ http_interactions:
|
|
33
33
|
x-cache:
|
34
34
|
- Miss from cloudfront
|
35
35
|
via:
|
36
|
-
- 1.1
|
36
|
+
- 1.1 c4ab6962f5d964707d14e1b456abda18.cloudfront.net (CloudFront)
|
37
37
|
x-amz-cf-pop:
|
38
|
-
-
|
38
|
+
- SLC50-C1
|
39
39
|
x-amz-cf-id:
|
40
|
-
-
|
40
|
+
- 3Fg9X6s2fUcuZBwdChnEOV6j8t4YmmReDT-em9Hga7pj1bYj4wtWsg==
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"courses":[{"id":"testing-golf-explained","version":0,"title":"Golf
|
44
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:
|
45
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
46
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
47
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
48
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
49
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
50
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
51
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
52
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
53
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
44
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":1,"updated":"2020-09-25T22:59:25.000Z"},{"id":"a-valid-course-url","version":0,"title":"Golf
|
45
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:03:33.000Z"},{"id":"testing-url-123","version":0,"title":"Golf
|
46
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:03:46.000Z"},{"id":"testing-pathname-123","version":0,"title":"Golf
|
47
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:03:52.000Z"},{"id":"a-previously-existing-course","version":0,"title":"Golf
|
48
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:03:59.000Z"},{"id":"paginated-course-0","version":0,"title":"Golf
|
49
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:08:19.000Z"},{"id":"paginated-course-1","version":0,"title":"Golf
|
50
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:08:25.000Z"},{"id":"paginated-course-2","version":0,"title":"Golf
|
51
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:08:31.000Z"},{"id":"paginated-course-3","version":0,"title":"Golf
|
52
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:08:37.000Z"},{"id":"paginated-course-4","version":0,"title":"Golf
|
53
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:08:43.000Z"}],"more":"/ScormEngineInterface/api/v1/scormenginegemtesting-default/courses?configuration=ScormEngineGemTesting-default&more=AAABdOX-63gAAAtO"}'
|
54
54
|
http_version:
|
55
|
-
recorded_at:
|
55
|
+
recorded_at: Tue, 10 Nov 2020 22:54:23 GMT
|
56
56
|
- request:
|
57
57
|
method: get
|
58
|
-
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/scormenginegemtesting-default/courses?configuration=ScormEngineGemTesting-default&more=
|
58
|
+
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/scormenginegemtesting-default/courses?configuration=ScormEngineGemTesting-default&more=AAABdOX-63gAAAtO
|
59
59
|
body:
|
60
60
|
encoding: US-ASCII
|
61
61
|
string: ''
|
62
62
|
headers:
|
63
63
|
User-Agent:
|
64
|
-
- ScormEngine Ruby Gem 0.8.
|
64
|
+
- ScormEngine Ruby Gem 0.8.2
|
65
65
|
Authorization:
|
66
66
|
- Basic <BASIC_AUTH>
|
67
67
|
response:
|
@@ -72,11 +72,11 @@ http_interactions:
|
|
72
72
|
content-type:
|
73
73
|
- application/json
|
74
74
|
content-length:
|
75
|
-
- '
|
75
|
+
- '2004'
|
76
76
|
connection:
|
77
77
|
- close
|
78
78
|
date:
|
79
|
-
-
|
79
|
+
- Tue, 10 Nov 2020 22:54:23 GMT
|
80
80
|
p3p:
|
81
81
|
- CP="NOI"
|
82
82
|
server:
|
@@ -86,69 +86,24 @@ http_interactions:
|
|
86
86
|
x-cache:
|
87
87
|
- Miss from cloudfront
|
88
88
|
via:
|
89
|
-
- 1.1
|
89
|
+
- 1.1 a2a145b915c6e207f03377a67fbebd5f.cloudfront.net (CloudFront)
|
90
90
|
x-amz-cf-pop:
|
91
|
-
-
|
91
|
+
- SLC50-C1
|
92
92
|
x-amz-cf-id:
|
93
|
-
-
|
93
|
+
- YA69aSOZqE3Jxbw0EBNvs-e1xXDM3819SrxYYE2mNLvfAB_qijj7zA==
|
94
94
|
body:
|
95
95
|
encoding: UTF-8
|
96
|
-
string: '{"courses":[{"id":"paginated-course-
|
97
|
-
- Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
98
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
99
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
100
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
101
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
102
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
103
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
104
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
105
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
106
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-
|
96
|
+
string: '{"courses":[{"id":"paginated-course-5","version":0,"title":"Golf Explained
|
97
|
+
- Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:08:49.000Z"},{"id":"paginated-course-6","version":0,"title":"Golf
|
98
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:08:55.000Z"},{"id":"paginated-course-7","version":0,"title":"Golf
|
99
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:09:01.000Z"},{"id":"paginated-course-8","version":0,"title":"Golf
|
100
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:09:07.000Z"},{"id":"paginated-course-9","version":0,"title":"Golf
|
101
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:09:13.000Z"},{"id":"paginated-course-10","version":0,"title":"Golf
|
102
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:09:19.000Z"},{"id":"testing-golf-explained-no-registrations","version":0,"title":"Golf
|
103
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-01T21:09:31.000Z"},{"id":"a-valid-course-url","version":1,"title":"Golf
|
104
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-02T16:54:50.000Z"},{"id":"testing-url-123","version":1,"title":"Golf
|
105
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-02T16:55:05.000Z"},{"id":"testing-pathname-123","version":1,"title":"Golf
|
106
|
+
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-10-02T16:55:11.000Z"}]}'
|
107
107
|
http_version:
|
108
|
-
recorded_at:
|
109
|
-
- request:
|
110
|
-
method: get
|
111
|
-
uri: https://<SCORM_ENGINE_HOST>/ScormEngineInterface/api/v1/scormenginegemtesting-default/courses?configuration=ScormEngineGemTesting-default&more=AAABdMeG7pgAAABN
|
112
|
-
body:
|
113
|
-
encoding: US-ASCII
|
114
|
-
string: ''
|
115
|
-
headers:
|
116
|
-
User-Agent:
|
117
|
-
- ScormEngine Ruby Gem 0.8.1
|
118
|
-
Authorization:
|
119
|
-
- Basic <BASIC_AUTH>
|
120
|
-
response:
|
121
|
-
status:
|
122
|
-
code: 200
|
123
|
-
message: OK
|
124
|
-
headers:
|
125
|
-
content-type:
|
126
|
-
- application/json
|
127
|
-
content-length:
|
128
|
-
- '406'
|
129
|
-
connection:
|
130
|
-
- close
|
131
|
-
date:
|
132
|
-
- Mon, 28 Sep 2020 21:19:32 GMT
|
133
|
-
p3p:
|
134
|
-
- CP="NOI"
|
135
|
-
server:
|
136
|
-
- Apache
|
137
|
-
x-xss-protection:
|
138
|
-
- 1; mode=block
|
139
|
-
x-cache:
|
140
|
-
- Miss from cloudfront
|
141
|
-
via:
|
142
|
-
- 1.1 788f6ff13e09a712f5227945fa34a519.cloudfront.net (CloudFront)
|
143
|
-
x-amz-cf-pop:
|
144
|
-
- DEN50-C2
|
145
|
-
x-amz-cf-id:
|
146
|
-
- oTFULz9r9rLznW6mqDFjgifopSZGMMBWEbLlPoOjQrsChzxSZoblxg==
|
147
|
-
body:
|
148
|
-
encoding: UTF-8
|
149
|
-
string: '{"courses":[{"id":"testing-pathname-123","version":2,"title":"Golf
|
150
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-09-28T20:30:34.000Z"},{"id":"testing-url-123","version":2,"title":"Golf
|
151
|
-
Explained - Run-time Basic Calls","courseLearningStandard":"SCORM_2004_3RD_EDITION","registrationCount":0,"updated":"2020-09-28T20:30:41.000Z"}]}'
|
152
|
-
http_version:
|
153
|
-
recorded_at: Mon, 28 Sep 2020 21:19:33 GMT
|
108
|
+
recorded_at: Tue, 10 Nov 2020 22:54:24 GMT
|
154
109
|
recorded_with: VCR 4.0.0
|