rustici_software_cloud_v2 1.0.0beta → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/README.md +354 -243
- data/lib/rustici_software_cloud_v2/api/about_api.rb +71 -0
- data/lib/rustici_software_cloud_v2/api/application_management_api.rb +253 -63
- data/lib/rustici_software_cloud_v2/api/authentication_api.rb +11 -17
- data/lib/rustici_software_cloud_v2/api/course_api.rb +910 -160
- data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +2236 -0
- data/lib/rustici_software_cloud_v2/api/invitations_api.rb +1025 -0
- data/lib/rustici_software_cloud_v2/api/learner_api.rb +367 -0
- data/lib/rustici_software_cloud_v2/api/ping_api.rb +6 -4
- data/lib/rustici_software_cloud_v2/api/registration_api.rb +448 -295
- data/lib/rustici_software_cloud_v2/api/reporting_api.rb +191 -0
- data/lib/rustici_software_cloud_v2/api/xapi_api.rb +581 -0
- data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +528 -0
- data/lib/rustici_software_cloud_v2/api_client.rb +5 -5
- data/lib/rustici_software_cloud_v2/api_error.rb +2 -2
- data/lib/rustici_software_cloud_v2/configuration.rb +11 -20
- data/lib/rustici_software_cloud_v2/models/about_schema.rb +194 -0
- data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +10 -38
- data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +234 -0
- data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/{link_schema.rb → application_request_schema.rb} +14 -16
- data/lib/rustici_software_cloud_v2/models/application_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/application_token.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +194 -0
- data/lib/rustici_software_cloud_v2/models/{course_tags_batch_schema.rb → batch_tags_schema.rb} +21 -17
- data/lib/rustici_software_cloud_v2/models/comment_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +7 -31
- data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +6 -3
- data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/course_schema.rb +7 -31
- data/lib/rustici_software_cloud_v2/models/{registration_tags_batch_schema.rb → create_dispatch_id_schema.rb} +25 -25
- data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +187 -0
- data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +306 -0
- data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +252 -0
- data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +250 -0
- data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/credential_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +195 -0
- data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +198 -0
- data/lib/rustici_software_cloud_v2/models/destination_schema.rb +227 -0
- data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +194 -0
- data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +197 -0
- 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 +194 -0
- data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +326 -0
- data/lib/rustici_software_cloud_v2/models/{tag_post_schema.rb → enabled_schema.rb} +17 -6
- 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 +31 -8
- data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +7 -31
- 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 +5 -3
- data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +214 -0
- data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +226 -0
- data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +198 -0
- data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +225 -0
- data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +212 -0
- data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +204 -0
- data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +10 -38
- data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +25 -9
- data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/learner_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +213 -0
- data/lib/rustici_software_cloud_v2/models/message_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +12 -10
- data/lib/rustici_software_cloud_v2/models/objective_schema.rb +13 -45
- data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/ping_schema.rb +21 -15
- data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +24 -42
- data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +198 -0
- data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +264 -0
- 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 +198 -0
- data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +287 -0
- data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +228 -0
- data/lib/rustici_software_cloud_v2/models/registration_completion.rb +2 -2
- data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +6 -3
- data/lib/rustici_software_cloud_v2/models/registration_schema.rb +17 -4
- data/lib/rustici_software_cloud_v2/models/registration_success.rb +2 -2
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +257 -0
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +212 -0
- data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +194 -0
- data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +185 -0
- data/lib/rustici_software_cloud_v2/models/response_error.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +7 -31
- data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +10 -38
- data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +7 -31
- data/lib/rustici_software_cloud_v2/models/score_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/setting_item.rb +7 -31
- data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +7 -31
- data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/title_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +196 -0
- data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +266 -0
- data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +198 -0
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +234 -0
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +213 -0
- data/lib/rustici_software_cloud_v2/models/xapi_account.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +7 -31
- data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_context.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +193 -0
- data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +193 -0
- data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +255 -0
- data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +239 -0
- data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +264 -0
- data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +202 -0
- data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +203 -0
- data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_result.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_score.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +192 -0
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +199 -0
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +194 -0
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +239 -0
- data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +5 -3
- data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +185 -0
- data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +204 -0
- data/lib/rustici_software_cloud_v2/version.rb +3 -3
- data/lib/rustici_software_cloud_v2.rb +68 -6
- data/rustici_software_cloud_v2.gemspec +8 -7
- data/spec/api_client_spec.rb +53 -47
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -13
- metadata +142 -270
- data/docs/ActivityResultSchema.md +0 -20
- data/docs/ApplicationListSchema.md +0 -8
- data/docs/ApplicationManagementApi.md +0 -570
- data/docs/ApplicationSchema.md +0 -9
- data/docs/ApplicationToken.md +0 -10
- data/docs/AuthenticationApi.md +0 -64
- data/docs/CommentSchema.md +0 -10
- data/docs/CompletionAmountSchema.md +0 -8
- data/docs/CourseActivitySchema.md +0 -15
- data/docs/CourseApi.md +0 -1459
- data/docs/CourseListNonPagedSchema.md +0 -8
- data/docs/CourseListSchema.md +0 -9
- data/docs/CourseReferenceSchema.md +0 -10
- data/docs/CourseSchema.md +0 -20
- data/docs/CourseTagsBatchSchema.md +0 -9
- data/docs/CreateRegistrationSchema.md +0 -17
- data/docs/CredentialCreatedSchema.md +0 -12
- data/docs/CredentialListSchema.md +0 -8
- data/docs/CredentialRequestSchema.md +0 -9
- data/docs/CredentialSchema.md +0 -12
- data/docs/ImportFetchRequestSchema.md +0 -8
- data/docs/ImportJobResultSchema.md +0 -11
- data/docs/ImportResultSchema.md +0 -11
- data/docs/IntegerResultSchema.md +0 -8
- data/docs/ItemValuePairSchema.md +0 -9
- data/docs/LaunchHistoryListSchema.md +0 -8
- data/docs/LaunchHistorySchema.md +0 -17
- data/docs/LaunchLinkRequestSchema.md +0 -17
- data/docs/LaunchLinkSchema.md +0 -8
- data/docs/LearnerPreferenceSchema.md +0 -11
- data/docs/LearnerSchema.md +0 -11
- data/docs/LinkSchema.md +0 -8
- data/docs/MessageSchema.md +0 -8
- data/docs/MetadataSchema.md +0 -14
- data/docs/ObjectiveSchema.md +0 -20
- data/docs/PermissionsSchema.md +0 -9
- data/docs/PingApi.md +0 -57
- data/docs/PingSchema.md +0 -8
- data/docs/PostBackSchema.md +0 -12
- data/docs/RegistrationApi.md +0 -1490
- data/docs/RegistrationCompletion.md +0 -7
- data/docs/RegistrationListSchema.md +0 -9
- data/docs/RegistrationSchema.md +0 -27
- data/docs/RegistrationSuccess.md +0 -7
- data/docs/RegistrationTagsBatchSchema.md +0 -9
- data/docs/ResponseError.md +0 -8
- data/docs/RuntimeInteractionSchema.md +0 -18
- data/docs/RuntimeObjectiveSchema.md +0 -16
- data/docs/RuntimeSchema.md +0 -27
- data/docs/ScoreSchema.md +0 -8
- data/docs/SettingItem.md +0 -12
- data/docs/SettingListSchema.md +0 -8
- data/docs/SettingMetadata.md +0 -15
- data/docs/SettingMetadataValidValues.md +0 -9
- data/docs/SettingValidValue.md +0 -9
- data/docs/SettingsIndividualSchema.md +0 -10
- data/docs/SettingsPostSchema.md +0 -8
- data/docs/SharedDataEntrySchema.md +0 -9
- data/docs/StaticPropertiesSchema.md +0 -13
- data/docs/StringResultSchema.md +0 -8
- data/docs/TagListSchema.md +0 -8
- data/docs/TagPostSchema.md +0 -7
- data/docs/TitleSchema.md +0 -8
- data/docs/TokenRequestSchema.md +0 -9
- data/docs/XapiAccount.md +0 -9
- data/docs/XapiActivity.md +0 -10
- data/docs/XapiActivityDefinition.md +0 -19
- data/docs/XapiAgentGroup.md +0 -14
- data/docs/XapiAttachment.md +0 -14
- data/docs/XapiContext.md +0 -16
- data/docs/XapiContextActivity.md +0 -11
- data/docs/XapiInteractionComponent.md +0 -9
- data/docs/XapiResult.md +0 -13
- data/docs/XapiScore.md +0 -11
- data/docs/XapiStatement.md +0 -20
- data/docs/XapiStatementReference.md +0 -9
- data/docs/XapiStatementResult.md +0 -9
- data/docs/XapiVerb.md +0 -9
- data/git_push.sh +0 -55
- data/lib/rustici_software_cloud_v2/models/setting_metadata_valid_values.rb +0 -209
- data/spec/models/activity_result_schema_spec.rb +0 -133
- data/spec/models/application_list_schema_spec.rb +0 -53
- data/spec/models/application_schema_spec.rb +0 -59
- data/spec/models/application_token_spec.rb +0 -65
- data/spec/models/comment_schema_spec.rb +0 -65
- data/spec/models/completion_amount_schema_spec.rb +0 -53
- data/spec/models/course_activity_schema_spec.rb +0 -99
- data/spec/models/course_list_non_paged_schema_spec.rb +0 -53
- data/spec/models/course_list_schema_spec.rb +0 -59
- data/spec/models/course_reference_schema_spec.rb +0 -65
- data/spec/models/course_schema_spec.rb +0 -129
- data/spec/models/create_registration_schema_spec.rb +0 -107
- data/spec/models/credential_created_schema_spec.rb +0 -77
- data/spec/models/credential_list_schema_spec.rb +0 -53
- data/spec/models/credential_request_schema_spec.rb +0 -59
- data/spec/models/credential_schema_spec.rb +0 -77
- data/spec/models/import_fetch_request_schema_spec.rb +0 -53
- data/spec/models/import_job_result_schema_spec.rb +0 -75
- data/spec/models/import_result_schema_spec.rb +0 -71
- data/spec/models/integer_result_schema_spec.rb +0 -53
- data/spec/models/item_value_pair_schema_spec.rb +0 -59
- data/spec/models/launch_history_list_schema_spec.rb +0 -53
- data/spec/models/launch_history_schema_spec.rb +0 -115
- data/spec/models/launch_link_request_schema_spec.rb +0 -107
- data/spec/models/launch_link_schema_spec.rb +0 -53
- data/spec/models/learner_preference_schema_spec.rb +0 -71
- data/spec/models/learner_schema_spec.rb +0 -71
- data/spec/models/link_schema_spec.rb +0 -53
- data/spec/models/message_schema_spec.rb +0 -53
- data/spec/models/metadata_schema_spec.rb +0 -89
- data/spec/models/objective_schema_spec.rb +0 -137
- data/spec/models/permissions_schema_spec.rb +0 -59
- data/spec/models/ping_schema_spec.rb +0 -53
- data/spec/models/post_back_schema_spec.rb +0 -85
- data/spec/models/registration_completion_spec.rb +0 -47
- data/spec/models/registration_list_schema_spec.rb +0 -59
- data/spec/models/registration_schema_spec.rb +0 -167
- data/spec/models/registration_success_spec.rb +0 -47
- data/spec/models/response_error_spec.rb +0 -53
- data/spec/models/runtime_interaction_schema_spec.rb +0 -117
- data/spec/models/runtime_objective_schema_spec.rb +0 -109
- data/spec/models/runtime_schema_spec.rb +0 -171
- data/spec/models/score_schema_spec.rb +0 -53
- data/spec/models/setting_item_spec.rb +0 -81
- data/spec/models/setting_list_schema_spec.rb +0 -53
- data/spec/models/setting_metadata_spec.rb +0 -99
- data/spec/models/setting_metadata_valid_values_spec.rb +0 -59
- data/spec/models/settings_individual_schema_spec.rb +0 -65
- data/spec/models/settings_post_schema_spec.rb +0 -53
- data/spec/models/shared_data_entry_schema_spec.rb +0 -59
- data/spec/models/static_properties_schema_spec.rb +0 -83
- data/spec/models/string_result_schema_spec.rb +0 -53
- data/spec/models/title_schema_spec.rb +0 -53
- data/spec/models/token_request_schema_spec.rb +0 -59
- data/swagger-codegen.config +0 -11
@@ -1,570 +0,0 @@
|
|
1
|
-
# RusticiSoftwareCloudV2::ApplicationManagementApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://cloud.scorm.com/api/v2/*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**create_application**](ApplicationManagementApi.md#create_application) | **PUT** /appManagement/applications/{applicationName} | Create a new application
|
8
|
-
[**create_credential**](ApplicationManagementApi.md#create_credential) | **POST** /appManagement/{childAppId}/credentials | Create credential
|
9
|
-
[**create_token**](ApplicationManagementApi.md#create_token) | **POST** /appManagement/token | Create token
|
10
|
-
[**delete_application**](ApplicationManagementApi.md#delete_application) | **DELETE** /appManagement/applications/{childAppId} | Delete an application. If the application contains content, it must first be manually removed before calling this method, else an error will be thrown.
|
11
|
-
[**delete_credential**](ApplicationManagementApi.md#delete_credential) | **DELETE** /appManagement/{childAppId}/credentials/{credentialId} | Removes `credentialId` credentials
|
12
|
-
[**get_application_configuration**](ApplicationManagementApi.md#get_application_configuration) | **GET** /appManagement/configuration | Returns all configuration settings for this level
|
13
|
-
[**get_application_list**](ApplicationManagementApi.md#get_application_list) | **GET** /appManagement/applications | Get list of all applications in this realm.
|
14
|
-
[**get_credentials**](ApplicationManagementApi.md#get_credentials) | **GET** /appManagement/{childAppId}/credentials | List of credentials
|
15
|
-
[**set_application_configuration**](ApplicationManagementApi.md#set_application_configuration) | **POST** /appManagement/configuration | Set configuration settings for this level.
|
16
|
-
[**update_credential**](ApplicationManagementApi.md#update_credential) | **PUT** /appManagement/{childAppId}/credentials/{credentialId} | Update the name or status associated with `credentialId`
|
17
|
-
|
18
|
-
|
19
|
-
# **create_application**
|
20
|
-
> ApplicationSchema create_application(application_name)
|
21
|
-
|
22
|
-
Create a new application
|
23
|
-
|
24
|
-
### Example
|
25
|
-
```ruby
|
26
|
-
# load the gem
|
27
|
-
require 'rustici_software_cloud_v2'
|
28
|
-
# setup authorization
|
29
|
-
RusticiSoftwareCloudV2.configure do |config|
|
30
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
31
|
-
config.username = 'YOUR USERNAME'
|
32
|
-
config.password = 'YOUR PASSWORD'
|
33
|
-
|
34
|
-
# Configure OAuth2 access token for authorization: OAUTH
|
35
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
36
|
-
end
|
37
|
-
|
38
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
39
|
-
|
40
|
-
application_name = 'application_name_example' # String |
|
41
|
-
|
42
|
-
|
43
|
-
begin
|
44
|
-
#Create a new application
|
45
|
-
result = api_instance.create_application(application_name)
|
46
|
-
p result
|
47
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
48
|
-
puts "Exception when calling ApplicationManagementApi->create_application: #{e}"
|
49
|
-
end
|
50
|
-
```
|
51
|
-
|
52
|
-
### Parameters
|
53
|
-
|
54
|
-
Name | Type | Description | Notes
|
55
|
-
------------- | ------------- | ------------- | -------------
|
56
|
-
**application_name** | **String**| |
|
57
|
-
|
58
|
-
### Return type
|
59
|
-
|
60
|
-
[**ApplicationSchema**](ApplicationSchema.md)
|
61
|
-
|
62
|
-
### Authorization
|
63
|
-
|
64
|
-
[APP_NORMAL](../README.md#APP_NORMAL), [OAUTH](../README.md#OAUTH)
|
65
|
-
|
66
|
-
### HTTP request headers
|
67
|
-
|
68
|
-
- **Content-Type**: application/json
|
69
|
-
- **Accept**: application/json
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
# **create_credential**
|
74
|
-
> CredentialCreatedSchema create_credential(child_app_id, credential_request)
|
75
|
-
|
76
|
-
Create credential
|
77
|
-
|
78
|
-
### Example
|
79
|
-
```ruby
|
80
|
-
# load the gem
|
81
|
-
require 'rustici_software_cloud_v2'
|
82
|
-
# setup authorization
|
83
|
-
RusticiSoftwareCloudV2.configure do |config|
|
84
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
85
|
-
config.username = 'YOUR USERNAME'
|
86
|
-
config.password = 'YOUR PASSWORD'
|
87
|
-
|
88
|
-
# Configure OAuth2 access token for authorization: OAUTH
|
89
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
90
|
-
end
|
91
|
-
|
92
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
93
|
-
|
94
|
-
child_app_id = 'child_app_id_example' # String |
|
95
|
-
|
96
|
-
credential_request = RusticiSoftwareCloudV2::CredentialRequestSchema.new # CredentialRequestSchema |
|
97
|
-
|
98
|
-
|
99
|
-
begin
|
100
|
-
#Create credential
|
101
|
-
result = api_instance.create_credential(child_app_id, credential_request)
|
102
|
-
p result
|
103
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
104
|
-
puts "Exception when calling ApplicationManagementApi->create_credential: #{e}"
|
105
|
-
end
|
106
|
-
```
|
107
|
-
|
108
|
-
### Parameters
|
109
|
-
|
110
|
-
Name | Type | Description | Notes
|
111
|
-
------------- | ------------- | ------------- | -------------
|
112
|
-
**child_app_id** | **String**| |
|
113
|
-
**credential_request** | [**CredentialRequestSchema**](CredentialRequestSchema.md)| |
|
114
|
-
|
115
|
-
### Return type
|
116
|
-
|
117
|
-
[**CredentialCreatedSchema**](CredentialCreatedSchema.md)
|
118
|
-
|
119
|
-
### Authorization
|
120
|
-
|
121
|
-
[APP_NORMAL](../README.md#APP_NORMAL), [OAUTH](../README.md#OAUTH)
|
122
|
-
|
123
|
-
### HTTP request headers
|
124
|
-
|
125
|
-
- **Content-Type**: application/json
|
126
|
-
- **Accept**: application/json
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
# **create_token**
|
131
|
-
> StringResultSchema create_token(token_request)
|
132
|
-
|
133
|
-
Create token
|
134
|
-
|
135
|
-
Creates, signs and returns a token based on the provided permissions, if the credentials used to request the token have the permissions being requested. Note: the token is not stored and therefore can not be modified or deleted. The requested permissions are encoded in the token which is then signed. As long as the secret used to create it is not changed the token will be valid until it expires.
|
136
|
-
|
137
|
-
### Example
|
138
|
-
```ruby
|
139
|
-
# load the gem
|
140
|
-
require 'rustici_software_cloud_v2'
|
141
|
-
# setup authorization
|
142
|
-
RusticiSoftwareCloudV2.configure do |config|
|
143
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
144
|
-
config.username = 'YOUR USERNAME'
|
145
|
-
config.password = 'YOUR PASSWORD'
|
146
|
-
end
|
147
|
-
|
148
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
149
|
-
|
150
|
-
token_request = RusticiSoftwareCloudV2::TokenRequestSchema.new # TokenRequestSchema |
|
151
|
-
|
152
|
-
|
153
|
-
begin
|
154
|
-
#Create token
|
155
|
-
result = api_instance.create_token(token_request)
|
156
|
-
p result
|
157
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
158
|
-
puts "Exception when calling ApplicationManagementApi->create_token: #{e}"
|
159
|
-
end
|
160
|
-
```
|
161
|
-
|
162
|
-
### Parameters
|
163
|
-
|
164
|
-
Name | Type | Description | Notes
|
165
|
-
------------- | ------------- | ------------- | -------------
|
166
|
-
**token_request** | [**TokenRequestSchema**](TokenRequestSchema.md)| |
|
167
|
-
|
168
|
-
### Return type
|
169
|
-
|
170
|
-
[**StringResultSchema**](StringResultSchema.md)
|
171
|
-
|
172
|
-
### Authorization
|
173
|
-
|
174
|
-
[APP_NORMAL](../README.md#APP_NORMAL)
|
175
|
-
|
176
|
-
### HTTP request headers
|
177
|
-
|
178
|
-
- **Content-Type**: application/json
|
179
|
-
- **Accept**: application/json
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
# **delete_application**
|
184
|
-
> delete_application(child_app_id, )
|
185
|
-
|
186
|
-
Delete an application. If the application contains content, it must first be manually removed before calling this method, else an error will be thrown.
|
187
|
-
|
188
|
-
### Example
|
189
|
-
```ruby
|
190
|
-
# load the gem
|
191
|
-
require 'rustici_software_cloud_v2'
|
192
|
-
# setup authorization
|
193
|
-
RusticiSoftwareCloudV2.configure do |config|
|
194
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
195
|
-
config.username = 'YOUR USERNAME'
|
196
|
-
config.password = 'YOUR PASSWORD'
|
197
|
-
|
198
|
-
# Configure OAuth2 access token for authorization: OAUTH
|
199
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
200
|
-
end
|
201
|
-
|
202
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
203
|
-
|
204
|
-
child_app_id = 'child_app_id_example' # String |
|
205
|
-
|
206
|
-
|
207
|
-
begin
|
208
|
-
#Delete an application. If the application contains content, it must first be manually removed before calling this method, else an error will be thrown.
|
209
|
-
api_instance.delete_application(child_app_id, )
|
210
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
211
|
-
puts "Exception when calling ApplicationManagementApi->delete_application: #{e}"
|
212
|
-
end
|
213
|
-
```
|
214
|
-
|
215
|
-
### Parameters
|
216
|
-
|
217
|
-
Name | Type | Description | Notes
|
218
|
-
------------- | ------------- | ------------- | -------------
|
219
|
-
**child_app_id** | **String**| |
|
220
|
-
|
221
|
-
### Return type
|
222
|
-
|
223
|
-
nil (empty response body)
|
224
|
-
|
225
|
-
### Authorization
|
226
|
-
|
227
|
-
[APP_NORMAL](../README.md#APP_NORMAL), [OAUTH](../README.md#OAUTH)
|
228
|
-
|
229
|
-
### HTTP request headers
|
230
|
-
|
231
|
-
- **Content-Type**: application/json
|
232
|
-
- **Accept**: application/json
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
# **delete_credential**
|
237
|
-
> delete_credential(child_app_id, credential_id)
|
238
|
-
|
239
|
-
Removes `credentialId` credentials
|
240
|
-
|
241
|
-
### Example
|
242
|
-
```ruby
|
243
|
-
# load the gem
|
244
|
-
require 'rustici_software_cloud_v2'
|
245
|
-
# setup authorization
|
246
|
-
RusticiSoftwareCloudV2.configure do |config|
|
247
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
248
|
-
config.username = 'YOUR USERNAME'
|
249
|
-
config.password = 'YOUR PASSWORD'
|
250
|
-
|
251
|
-
# Configure OAuth2 access token for authorization: OAUTH
|
252
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
253
|
-
end
|
254
|
-
|
255
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
256
|
-
|
257
|
-
child_app_id = 'child_app_id_example' # String |
|
258
|
-
|
259
|
-
credential_id = 'credential_id_example' # String |
|
260
|
-
|
261
|
-
|
262
|
-
begin
|
263
|
-
#Removes `credentialId` credentials
|
264
|
-
api_instance.delete_credential(child_app_id, credential_id)
|
265
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
266
|
-
puts "Exception when calling ApplicationManagementApi->delete_credential: #{e}"
|
267
|
-
end
|
268
|
-
```
|
269
|
-
|
270
|
-
### Parameters
|
271
|
-
|
272
|
-
Name | Type | Description | Notes
|
273
|
-
------------- | ------------- | ------------- | -------------
|
274
|
-
**child_app_id** | **String**| |
|
275
|
-
**credential_id** | **String**| |
|
276
|
-
|
277
|
-
### Return type
|
278
|
-
|
279
|
-
nil (empty response body)
|
280
|
-
|
281
|
-
### Authorization
|
282
|
-
|
283
|
-
[APP_NORMAL](../README.md#APP_NORMAL), [OAUTH](../README.md#OAUTH)
|
284
|
-
|
285
|
-
### HTTP request headers
|
286
|
-
|
287
|
-
- **Content-Type**: application/json
|
288
|
-
- **Accept**: application/json
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
# **get_application_configuration**
|
293
|
-
> SettingListSchema get_application_configuration(opts)
|
294
|
-
|
295
|
-
Returns all configuration settings for this level
|
296
|
-
|
297
|
-
### Example
|
298
|
-
```ruby
|
299
|
-
# load the gem
|
300
|
-
require 'rustici_software_cloud_v2'
|
301
|
-
# setup authorization
|
302
|
-
RusticiSoftwareCloudV2.configure do |config|
|
303
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
304
|
-
config.username = 'YOUR USERNAME'
|
305
|
-
config.password = 'YOUR PASSWORD'
|
306
|
-
|
307
|
-
# Configure OAuth2 access token for authorization: OAUTH
|
308
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
309
|
-
end
|
310
|
-
|
311
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
312
|
-
|
313
|
-
opts = {
|
314
|
-
learning_standard: 'learning_standard_example', # String | If specified, the request will be scoped to the provided learning standard.
|
315
|
-
single_sco: true # BOOLEAN | Required if learningStandard is specified. Scopes settings to whether a package has only one SCO or assignable unit within it or not. To apply a configuration setting to a learning standard for single and multi-SCO content, it must be set for both scopes.
|
316
|
-
include_metadata: false # BOOLEAN |
|
317
|
-
}
|
318
|
-
|
319
|
-
begin
|
320
|
-
#Returns all configuration settings for this level
|
321
|
-
result = api_instance.get_application_configuration(opts)
|
322
|
-
p result
|
323
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
324
|
-
puts "Exception when calling ApplicationManagementApi->get_application_configuration: #{e}"
|
325
|
-
end
|
326
|
-
```
|
327
|
-
|
328
|
-
### Parameters
|
329
|
-
|
330
|
-
Name | Type | Description | Notes
|
331
|
-
------------- | ------------- | ------------- | -------------
|
332
|
-
**learning_standard** | **String**| If specified, the request will be scoped to the provided learning standard. | [optional]
|
333
|
-
**single_sco** | **BOOLEAN**| Required if learningStandard is specified. Scopes settings to whether a package has only one SCO or assignable unit within it or not. To apply a configuration setting to a learning standard for single and multi-SCO content, it must be set for both scopes. | [optional]
|
334
|
-
**include_metadata** | **BOOLEAN**| | [optional] [default to false]
|
335
|
-
|
336
|
-
### Return type
|
337
|
-
|
338
|
-
[**SettingListSchema**](SettingListSchema.md)
|
339
|
-
|
340
|
-
### Authorization
|
341
|
-
|
342
|
-
[APP_NORMAL](../README.md#APP_NORMAL), [OAUTH](../README.md#OAUTH)
|
343
|
-
|
344
|
-
### HTTP request headers
|
345
|
-
|
346
|
-
- **Content-Type**: application/json
|
347
|
-
- **Accept**: application/json
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
# **get_application_list**
|
352
|
-
> ApplicationListSchema get_application_list
|
353
|
-
|
354
|
-
Get list of all applications in this realm.
|
355
|
-
|
356
|
-
### Example
|
357
|
-
```ruby
|
358
|
-
# load the gem
|
359
|
-
require 'rustici_software_cloud_v2'
|
360
|
-
# setup authorization
|
361
|
-
RusticiSoftwareCloudV2.configure do |config|
|
362
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
363
|
-
config.username = 'YOUR USERNAME'
|
364
|
-
config.password = 'YOUR PASSWORD'
|
365
|
-
|
366
|
-
# Configure OAuth2 access token for authorization: OAUTH
|
367
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
368
|
-
end
|
369
|
-
|
370
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
371
|
-
|
372
|
-
begin
|
373
|
-
#Get list of all applications in this realm.
|
374
|
-
result = api_instance.get_application_list
|
375
|
-
p result
|
376
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
377
|
-
puts "Exception when calling ApplicationManagementApi->get_application_list: #{e}"
|
378
|
-
end
|
379
|
-
```
|
380
|
-
|
381
|
-
### Parameters
|
382
|
-
This endpoint does not need any parameter.
|
383
|
-
|
384
|
-
### Return type
|
385
|
-
|
386
|
-
[**ApplicationListSchema**](ApplicationListSchema.md)
|
387
|
-
|
388
|
-
### Authorization
|
389
|
-
|
390
|
-
[APP_NORMAL](../README.md#APP_NORMAL), [OAUTH](../README.md#OAUTH)
|
391
|
-
|
392
|
-
### HTTP request headers
|
393
|
-
|
394
|
-
- **Content-Type**: application/json
|
395
|
-
- **Accept**: application/json
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
# **get_credentials**
|
400
|
-
> CredentialListSchema get_credentials(child_app_id, )
|
401
|
-
|
402
|
-
List of credentials
|
403
|
-
|
404
|
-
### Example
|
405
|
-
```ruby
|
406
|
-
# load the gem
|
407
|
-
require 'rustici_software_cloud_v2'
|
408
|
-
# setup authorization
|
409
|
-
RusticiSoftwareCloudV2.configure do |config|
|
410
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
411
|
-
config.username = 'YOUR USERNAME'
|
412
|
-
config.password = 'YOUR PASSWORD'
|
413
|
-
|
414
|
-
# Configure OAuth2 access token for authorization: OAUTH
|
415
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
416
|
-
end
|
417
|
-
|
418
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
419
|
-
|
420
|
-
child_app_id = 'child_app_id_example' # String |
|
421
|
-
|
422
|
-
|
423
|
-
begin
|
424
|
-
#List of credentials
|
425
|
-
result = api_instance.get_credentials(child_app_id, )
|
426
|
-
p result
|
427
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
428
|
-
puts "Exception when calling ApplicationManagementApi->get_credentials: #{e}"
|
429
|
-
end
|
430
|
-
```
|
431
|
-
|
432
|
-
### Parameters
|
433
|
-
|
434
|
-
Name | Type | Description | Notes
|
435
|
-
------------- | ------------- | ------------- | -------------
|
436
|
-
**child_app_id** | **String**| |
|
437
|
-
|
438
|
-
### Return type
|
439
|
-
|
440
|
-
[**CredentialListSchema**](CredentialListSchema.md)
|
441
|
-
|
442
|
-
### Authorization
|
443
|
-
|
444
|
-
[APP_NORMAL](../README.md#APP_NORMAL), [OAUTH](../README.md#OAUTH)
|
445
|
-
|
446
|
-
### HTTP request headers
|
447
|
-
|
448
|
-
- **Content-Type**: application/json
|
449
|
-
- **Accept**: application/json
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
# **set_application_configuration**
|
454
|
-
> set_application_configuration(configuration_settings, opts)
|
455
|
-
|
456
|
-
Set configuration settings for this level.
|
457
|
-
|
458
|
-
### Example
|
459
|
-
```ruby
|
460
|
-
# load the gem
|
461
|
-
require 'rustici_software_cloud_v2'
|
462
|
-
# setup authorization
|
463
|
-
RusticiSoftwareCloudV2.configure do |config|
|
464
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
465
|
-
config.username = 'YOUR USERNAME'
|
466
|
-
config.password = 'YOUR PASSWORD'
|
467
|
-
|
468
|
-
# Configure OAuth2 access token for authorization: OAUTH
|
469
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
470
|
-
end
|
471
|
-
|
472
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
473
|
-
|
474
|
-
configuration_settings = RusticiSoftwareCloudV2::SettingsPostSchema.new # SettingsPostSchema |
|
475
|
-
|
476
|
-
opts = {
|
477
|
-
learning_standard: 'learning_standard_example', # String | If specified, the request will be scoped to the provided learning standard.
|
478
|
-
single_sco: true # BOOLEAN | Required if learningStandard is specified. Scopes settings to whether a package has only one SCO or assignable unit within it or not. To apply a configuration setting to a learning standard for single and multi-SCO content, it must be set for both scopes.
|
479
|
-
}
|
480
|
-
|
481
|
-
begin
|
482
|
-
#Set configuration settings for this level.
|
483
|
-
api_instance.set_application_configuration(configuration_settings, opts)
|
484
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
485
|
-
puts "Exception when calling ApplicationManagementApi->set_application_configuration: #{e}"
|
486
|
-
end
|
487
|
-
```
|
488
|
-
|
489
|
-
### Parameters
|
490
|
-
|
491
|
-
Name | Type | Description | Notes
|
492
|
-
------------- | ------------- | ------------- | -------------
|
493
|
-
**configuration_settings** | [**SettingsPostSchema**](SettingsPostSchema.md)| |
|
494
|
-
**learning_standard** | **String**| If specified, the request will be scoped to the provided learning standard. | [optional]
|
495
|
-
**single_sco** | **BOOLEAN**| Required if learningStandard is specified. Scopes settings to whether a package has only one SCO or assignable unit within it or not. To apply a configuration setting to a learning standard for single and multi-SCO content, it must be set for both scopes. | [optional]
|
496
|
-
|
497
|
-
### Return type
|
498
|
-
|
499
|
-
nil (empty response body)
|
500
|
-
|
501
|
-
### Authorization
|
502
|
-
|
503
|
-
[APP_NORMAL](../README.md#APP_NORMAL), [OAUTH](../README.md#OAUTH)
|
504
|
-
|
505
|
-
### HTTP request headers
|
506
|
-
|
507
|
-
- **Content-Type**: application/json
|
508
|
-
- **Accept**: application/json
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
# **update_credential**
|
513
|
-
> update_credential(child_app_id, credential_idcredential_update)
|
514
|
-
|
515
|
-
Update the name or status associated with `credentialId`
|
516
|
-
|
517
|
-
### Example
|
518
|
-
```ruby
|
519
|
-
# load the gem
|
520
|
-
require 'rustici_software_cloud_v2'
|
521
|
-
# setup authorization
|
522
|
-
RusticiSoftwareCloudV2.configure do |config|
|
523
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
524
|
-
config.username = 'YOUR USERNAME'
|
525
|
-
config.password = 'YOUR PASSWORD'
|
526
|
-
|
527
|
-
# Configure OAuth2 access token for authorization: OAUTH
|
528
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
529
|
-
end
|
530
|
-
|
531
|
-
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
|
532
|
-
|
533
|
-
child_app_id = 'child_app_id_example' # String |
|
534
|
-
|
535
|
-
credential_id = 'credential_id_example' # String |
|
536
|
-
|
537
|
-
credential_update = RusticiSoftwareCloudV2::CredentialRequestSchema.new # CredentialRequestSchema |
|
538
|
-
|
539
|
-
|
540
|
-
begin
|
541
|
-
#Update the name or status associated with `credentialId`
|
542
|
-
api_instance.update_credential(child_app_id, credential_idcredential_update)
|
543
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
544
|
-
puts "Exception when calling ApplicationManagementApi->update_credential: #{e}"
|
545
|
-
end
|
546
|
-
```
|
547
|
-
|
548
|
-
### Parameters
|
549
|
-
|
550
|
-
Name | Type | Description | Notes
|
551
|
-
------------- | ------------- | ------------- | -------------
|
552
|
-
**child_app_id** | **String**| |
|
553
|
-
**credential_id** | **String**| |
|
554
|
-
**credential_update** | [**CredentialRequestSchema**](CredentialRequestSchema.md)| |
|
555
|
-
|
556
|
-
### Return type
|
557
|
-
|
558
|
-
nil (empty response body)
|
559
|
-
|
560
|
-
### Authorization
|
561
|
-
|
562
|
-
[APP_NORMAL](../README.md#APP_NORMAL), [OAUTH](../README.md#OAUTH)
|
563
|
-
|
564
|
-
### HTTP request headers
|
565
|
-
|
566
|
-
- **Content-Type**: application/json
|
567
|
-
- **Accept**: application/json
|
568
|
-
|
569
|
-
|
570
|
-
|
data/docs/ApplicationSchema.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# RusticiSoftwareCloudV2::ApplicationSchema
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**id** | **String** | The application id for this application. | [optional]
|
7
|
-
**name** | **String** | The name of this application. | [optional]
|
8
|
-
|
9
|
-
|
data/docs/ApplicationToken.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# RusticiSoftwareCloudV2::ApplicationToken
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**access_token** | **String** | | [optional]
|
7
|
-
**expires_in** | **Integer** | | [optional]
|
8
|
-
**token_type** | **String** | | [optional]
|
9
|
-
|
10
|
-
|
data/docs/AuthenticationApi.md
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
# RusticiSoftwareCloudV2::AuthenticationApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://cloud.scorm.com/api/v2/*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get_app_token**](AuthenticationApi.md#get_app_token) | **POST** /oauth/authenticate/application/token | Authenticates for a oauth token
|
8
|
-
|
9
|
-
|
10
|
-
# **get_app_token**
|
11
|
-
> ApplicationToken get_app_token(scope, opts)
|
12
|
-
|
13
|
-
Authenticates for a oauth token
|
14
|
-
|
15
|
-
### Example
|
16
|
-
```ruby
|
17
|
-
# load the gem
|
18
|
-
require 'rustici_software_cloud_v2'
|
19
|
-
# setup authorization
|
20
|
-
RusticiSoftwareCloudV2.configure do |config|
|
21
|
-
# Configure HTTP basic authorization: APP_NORMAL
|
22
|
-
config.username = 'YOUR USERNAME'
|
23
|
-
config.password = 'YOUR PASSWORD'
|
24
|
-
end
|
25
|
-
|
26
|
-
api_instance = RusticiSoftwareCloudV2::AuthenticationApi.new
|
27
|
-
|
28
|
-
scope = 'scope_example' # String |
|
29
|
-
|
30
|
-
opts = {
|
31
|
-
expiration: 300 # Integer |
|
32
|
-
}
|
33
|
-
|
34
|
-
begin
|
35
|
-
#Authenticates for a oauth token
|
36
|
-
result = api_instance.get_app_token(scope, opts)
|
37
|
-
p result
|
38
|
-
rescue RusticiSoftwareCloudV2::ApiError => e
|
39
|
-
puts "Exception when calling AuthenticationApi->get_app_token: #{e}"
|
40
|
-
end
|
41
|
-
```
|
42
|
-
|
43
|
-
### Parameters
|
44
|
-
|
45
|
-
Name | Type | Description | Notes
|
46
|
-
------------- | ------------- | ------------- | -------------
|
47
|
-
**scope** | **String**| |
|
48
|
-
**expiration** | **Integer**| | [optional] [default to 300]
|
49
|
-
|
50
|
-
### Return type
|
51
|
-
|
52
|
-
[**ApplicationToken**](ApplicationToken.md)
|
53
|
-
|
54
|
-
### Authorization
|
55
|
-
|
56
|
-
[APP_NORMAL](../README.md#APP_NORMAL)
|
57
|
-
|
58
|
-
### HTTP request headers
|
59
|
-
|
60
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
61
|
-
- **Accept**: application/json
|
62
|
-
|
63
|
-
|
64
|
-
|
data/docs/CommentSchema.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# RusticiSoftwareCloudV2::CommentSchema
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**value** | **String** | | [optional]
|
7
|
-
**location** | **String** | | [optional]
|
8
|
-
**date_time** | **String** | | [optional]
|
9
|
-
|
10
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# RusticiSoftwareCloudV2::CourseActivitySchema
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**external_identifier** | **String** | An arbitrary identifier that the external LMS system can associate with this LearningObject to track it as it isreused across courses | [optional]
|
7
|
-
**item_identifier** | **String** | The string which identifies this activity in the context of its course | [optional]
|
8
|
-
**resource_identifier** | **String** | The string which identifies this activity's resource in a course's manifest | [optional]
|
9
|
-
**activity_type** | **String** | The type of activity this is | [optional]
|
10
|
-
**href** | **String** | The web path used to launch this activity | [optional]
|
11
|
-
**scaled_passing_score** | **String** | The score required of a learner to pass this activity | [optional]
|
12
|
-
**title** | **String** | The title of the activity | [optional]
|
13
|
-
**children** | [**Array<CourseActivitySchema>**](CourseActivitySchema.md) | | [optional]
|
14
|
-
|
15
|
-
|