Skip to content

Commit d39eca9

Browse files
committed
Updates for beta release
1 parent 2f8be5b commit d39eca9

File tree

121 files changed

+7043
-2576
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+7043
-2576
lines changed

.gitignore

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
# Generated by: https://github.com/swagger-api/swagger-codegen.git
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
2+
#
143

154
*.gem
165
*.rbc

.rubocop.yml

+154
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
2+
# Automatically generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen)
3+
AllCops:
4+
TargetRubyVersion: 2.2
5+
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
6+
# to ignore them, so only the ones explicitly set in this file are enabled.
7+
DisabledByDefault: true
8+
Exclude:
9+
- '**/templates/**/*'
10+
- '**/vendor/**/*'
11+
- 'actionpack/lib/action_dispatch/journey/parser.rb'
12+
13+
# Prefer &&/|| over and/or.
14+
Style/AndOr:
15+
Enabled: true
16+
17+
# Do not use braces for hash literals when they are the last argument of a
18+
# method call.
19+
Style/BracesAroundHashParameters:
20+
Enabled: true
21+
EnforcedStyle: context_dependent
22+
23+
# Align `when` with `case`.
24+
Layout/CaseIndentation:
25+
Enabled: true
26+
27+
# Align comments with method definitions.
28+
Layout/CommentIndentation:
29+
Enabled: true
30+
31+
Layout/ElseAlignment:
32+
Enabled: true
33+
34+
Layout/EmptyLineAfterMagicComment:
35+
Enabled: true
36+
37+
# In a regular class definition, no empty lines around the body.
38+
Layout/EmptyLinesAroundClassBody:
39+
Enabled: true
40+
41+
# In a regular method definition, no empty lines around the body.
42+
Layout/EmptyLinesAroundMethodBody:
43+
Enabled: true
44+
45+
# In a regular module definition, no empty lines around the body.
46+
Layout/EmptyLinesAroundModuleBody:
47+
Enabled: true
48+
49+
Layout/FirstParameterIndentation:
50+
Enabled: true
51+
52+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
53+
Style/HashSyntax:
54+
Enabled: false
55+
56+
# Method definitions after `private` or `protected` isolated calls need one
57+
# extra level of indentation.
58+
Layout/IndentationConsistency:
59+
Enabled: true
60+
EnforcedStyle: rails
61+
62+
# Two spaces, no tabs (for indentation).
63+
Layout/IndentationWidth:
64+
Enabled: true
65+
66+
Layout/LeadingCommentSpace:
67+
Enabled: true
68+
69+
Layout/SpaceAfterColon:
70+
Enabled: true
71+
72+
Layout/SpaceAfterComma:
73+
Enabled: true
74+
75+
Layout/SpaceAroundEqualsInParameterDefault:
76+
Enabled: true
77+
78+
Layout/SpaceAroundKeyword:
79+
Enabled: true
80+
81+
Layout/SpaceAroundOperators:
82+
Enabled: true
83+
84+
Layout/SpaceBeforeComma:
85+
Enabled: true
86+
87+
Layout/SpaceBeforeFirstArg:
88+
Enabled: true
89+
90+
Style/DefWithParentheses:
91+
Enabled: true
92+
93+
# Defining a method with parameters needs parentheses.
94+
Style/MethodDefParentheses:
95+
Enabled: true
96+
97+
Style/FrozenStringLiteralComment:
98+
Enabled: false
99+
EnforcedStyle: always
100+
101+
# Use `foo {}` not `foo{}`.
102+
Layout/SpaceBeforeBlockBraces:
103+
Enabled: true
104+
105+
# Use `foo { bar }` not `foo {bar}`.
106+
Layout/SpaceInsideBlockBraces:
107+
Enabled: true
108+
109+
# Use `{ a: 1 }` not `{a:1}`.
110+
Layout/SpaceInsideHashLiteralBraces:
111+
Enabled: true
112+
113+
Layout/SpaceInsideParens:
114+
Enabled: true
115+
116+
# Check quotes usage according to lint rule below.
117+
#Style/StringLiterals:
118+
# Enabled: true
119+
# EnforcedStyle: single_quotes
120+
121+
# Detect hard tabs, no hard tabs.
122+
Layout/Tab:
123+
Enabled: true
124+
125+
# Blank lines should not have any spaces.
126+
Layout/TrailingBlankLines:
127+
Enabled: true
128+
129+
# No trailing whitespace.
130+
Layout/TrailingWhitespace:
131+
Enabled: false
132+
133+
# Use quotes for string literals when they are enough.
134+
Style/UnneededPercentQ:
135+
Enabled: true
136+
137+
# Align `end` with the matching keyword or starting expression except for
138+
# assignments, where it should be aligned with the LHS.
139+
Lint/EndAlignment:
140+
Enabled: true
141+
EnforcedStyleAlignWith: variable
142+
AutoCorrect: true
143+
144+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
145+
Lint/RequireParentheses:
146+
Enabled: true
147+
148+
Style/RedundantReturn:
149+
Enabled: true
150+
AllowMultipleReturnValues: true
151+
152+
Style/Semicolon:
153+
Enabled: true
154+
AllowAsExpressionSeparator: true

.swagger-codegen/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.4.3

Gemfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source 'https://rubygems.org'
2+
3+
gemspec
4+
5+
group :development, :test do
6+
gem 'rake', '~> 12.0.0'
7+
end

README.md

+36-11
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ This SDK is automatically generated by the [Swagger Codegen](https://github.com/
88

99
- API version: 2.0 beta
1010
- Package version: 1.0.0-beta
11-
- Build date: 2019-03-24T01:17:43.550-05:00
12-
- Build package: class io.swagger.codegen.languages.RubyClientCodegen
11+
- Build package: io.swagger.codegen.languages.RubyClientCodegen
1312

1413
## Installation
1514

@@ -67,7 +66,7 @@ end
6766

6867
api_instance = RusticiSoftwareCloudV2::ApplicationManagementApi.new
6968

70-
application_name = "application_name_example" # String |
69+
application_name = 'application_name_example' # String |
7170

7271

7372
begin
@@ -82,7 +81,7 @@ end
8281

8382
## Documentation for API Endpoints
8483

85-
All URIs are relative to *https://dev.cloud.scorm.com/api/v2/*
84+
All URIs are relative to *https://cloud.scorm.com/api/v2/*
8685

8786
Class | Method | HTTP request | Description
8887
------------ | ------------- | ------------- | -------------
@@ -103,17 +102,21 @@ Class | Method | HTTP request | Description
103102
*RusticiSoftwareCloudV2::CourseApi* | [**create_upload_and_import_course_job**](docs/CourseApi.md#create_upload_and_import_course_job) | **POST** /courses/importJobs/upload | Upload a course and start an import job for it.
104103
*RusticiSoftwareCloudV2::CourseApi* | [**delete_course**](docs/CourseApi.md#delete_course) | **DELETE** /courses/{courseId} | Delete `courseId`
105104
*RusticiSoftwareCloudV2::CourseApi* | [**delete_course_configuration_setting**](docs/CourseApi.md#delete_course_configuration_setting) | **DELETE** /courses/{courseId}/configuration/{settingId} | Clears the `settingId` value for this course
105+
*RusticiSoftwareCloudV2::CourseApi* | [**delete_course_tags**](docs/CourseApi.md#delete_course_tags) | **DELETE** /courses/{courseId}/tags | Delete tags for this course
106106
*RusticiSoftwareCloudV2::CourseApi* | [**delete_course_version**](docs/CourseApi.md#delete_course_version) | **DELETE** /courses/{courseId}/versions/{versionId} | Delete version `versionId` of `courseId`
107107
*RusticiSoftwareCloudV2::CourseApi* | [**delete_course_version_configuration_setting**](docs/CourseApi.md#delete_course_version_configuration_setting) | **DELETE** /courses/{courseId}/versions/{versionId}/configuration/{settingId} | Clears the `settingId` value for this course and version.
108108
*RusticiSoftwareCloudV2::CourseApi* | [**get_course**](docs/CourseApi.md#get_course) | **GET** /courses/{courseId} | Get information about `courseId`
109109
*RusticiSoftwareCloudV2::CourseApi* | [**get_course_configuration**](docs/CourseApi.md#get_course_configuration) | **GET** /courses/{courseId}/configuration | Returns all configuration settings for this course
110110
*RusticiSoftwareCloudV2::CourseApi* | [**get_course_statements**](docs/CourseApi.md#get_course_statements) | **GET** /courses/{courseId}/xAPIStatements | Get xAPI statements for `courseId`
111+
*RusticiSoftwareCloudV2::CourseApi* | [**get_course_tags**](docs/CourseApi.md#get_course_tags) | **GET** /courses/{courseId}/tags | Get the tags for this course
111112
*RusticiSoftwareCloudV2::CourseApi* | [**get_course_version_configuration**](docs/CourseApi.md#get_course_version_configuration) | **GET** /courses/{courseId}/versions/{versionId}/configuration | Returns all configuration settings for this course and version.
112113
*RusticiSoftwareCloudV2::CourseApi* | [**get_course_version_info**](docs/CourseApi.md#get_course_version_info) | **GET** /courses/{courseId}/versions/{versionId} | Get version `versionId` of `courseId`
113114
*RusticiSoftwareCloudV2::CourseApi* | [**get_course_version_statements**](docs/CourseApi.md#get_course_version_statements) | **GET** /courses/{courseId}/versions/{versionId}/xAPIStatements | Get xAPI statements for version `versionId` of `courseId`
114115
*RusticiSoftwareCloudV2::CourseApi* | [**get_course_versions**](docs/CourseApi.md#get_course_versions) | **GET** /courses/{courseId}/versions | Get all versions of `courseId`
115116
*RusticiSoftwareCloudV2::CourseApi* | [**get_courses**](docs/CourseApi.md#get_courses) | **GET** /courses | Get all courses for `appId`
116117
*RusticiSoftwareCloudV2::CourseApi* | [**get_import_job_status**](docs/CourseApi.md#get_import_job_status) | **GET** /courses/importJobs/{importJobId} | Check the status of an import job.
118+
*RusticiSoftwareCloudV2::CourseApi* | [**put_course_tags**](docs/CourseApi.md#put_course_tags) | **PUT** /courses/{courseId}/tags | Set the tags for this course
119+
*RusticiSoftwareCloudV2::CourseApi* | [**put_course_tags_batch**](docs/CourseApi.md#put_course_tags_batch) | **PUT** /courses/tags | Sets all of the provided tags on all of the provided courses
117120
*RusticiSoftwareCloudV2::CourseApi* | [**set_course_configuration**](docs/CourseApi.md#set_course_configuration) | **POST** /courses/{courseId}/configuration | Set configuration settings for this course.
118121
*RusticiSoftwareCloudV2::CourseApi* | [**set_course_title**](docs/CourseApi.md#set_course_title) | **PUT** /courses/{courseId}/title | Sets the course title for `courseId`
119122
*RusticiSoftwareCloudV2::CourseApi* | [**set_course_version_configuration**](docs/CourseApi.md#set_course_version_configuration) | **POST** /courses/{courseId}/versions/{versionId}/configuration | Set configuration settings for this course and version.
@@ -124,6 +127,7 @@ Class | Method | HTTP request | Description
124127
*RusticiSoftwareCloudV2::RegistrationApi* | [**delete_registration_configuration_setting**](docs/RegistrationApi.md#delete_registration_configuration_setting) | **DELETE** /registrations/{registrationId}/configuration/{settingId} | Clears the `settingId` value for this registration
125128
*RusticiSoftwareCloudV2::RegistrationApi* | [**delete_registration_instance_configuration_setting**](docs/RegistrationApi.md#delete_registration_instance_configuration_setting) | **DELETE** /registrations/{registrationId}/instances/{instanceId}/configuration/{settingId} | Clears the `settingId` value for this registration instance
126129
*RusticiSoftwareCloudV2::RegistrationApi* | [**delete_registration_progress**](docs/RegistrationApi.md#delete_registration_progress) | **DELETE** /registrations/{registrationId}/progress | Delete registration progress (clear registration)
130+
*RusticiSoftwareCloudV2::RegistrationApi* | [**delete_registration_tags**](docs/RegistrationApi.md#delete_registration_tags) | **DELETE** /registrations/{registrationId}/tags | Delete tags for this registration
127131
*RusticiSoftwareCloudV2::RegistrationApi* | [**delete_registrations_global_data**](docs/RegistrationApi.md#delete_registrations_global_data) | **DELETE** /registrations/{registrationId}/globalData | Delete global data associated with `registrationId`
128132
*RusticiSoftwareCloudV2::RegistrationApi* | [**get_registration_configuration**](docs/RegistrationApi.md#get_registration_configuration) | **GET** /registrations/{registrationId}/configuration | Returns all configuration settings for this registration
129133
*RusticiSoftwareCloudV2::RegistrationApi* | [**get_registration_instance_configuration**](docs/RegistrationApi.md#get_registration_instance_configuration) | **GET** /registrations/{registrationId}/instances/{instanceId}/configuration | Returns all configuration settings for this registration instance
@@ -135,7 +139,10 @@ Class | Method | HTTP request | Description
135139
*RusticiSoftwareCloudV2::RegistrationApi* | [**get_registration_launch_link**](docs/RegistrationApi.md#get_registration_launch_link) | **POST** /registrations/{registrationId}/launchLink | Returns the link to use to launch this registration
136140
*RusticiSoftwareCloudV2::RegistrationApi* | [**get_registration_progress**](docs/RegistrationApi.md#get_registration_progress) | **GET** /registrations/{registrationId} | Get registration progress for `registrationId`
137141
*RusticiSoftwareCloudV2::RegistrationApi* | [**get_registration_statements**](docs/RegistrationApi.md#get_registration_statements) | **GET** /registrations/{registrationId}/xAPIStatements | Get xAPI statements for `registrationId`
142+
*RusticiSoftwareCloudV2::RegistrationApi* | [**get_registration_tags**](docs/RegistrationApi.md#get_registration_tags) | **GET** /registrations/{registrationId}/tags | Get the tags for this registration
138143
*RusticiSoftwareCloudV2::RegistrationApi* | [**get_registrations**](docs/RegistrationApi.md#get_registrations) | **GET** /registrations | Gets a list of registrations including a summary of the status of each registration.
144+
*RusticiSoftwareCloudV2::RegistrationApi* | [**put_registration_tags**](docs/RegistrationApi.md#put_registration_tags) | **PUT** /registrations/{registrationId}/tags | Set the tags for this registration
145+
*RusticiSoftwareCloudV2::RegistrationApi* | [**put_registration_tags_batch**](docs/RegistrationApi.md#put_registration_tags_batch) | **PUT** /registrations/tags | Sets all of the provided tags on all of the provided registrations
139146
*RusticiSoftwareCloudV2::RegistrationApi* | [**registration_exists**](docs/RegistrationApi.md#registration_exists) | **HEAD** /registrations/{registrationId} | Does this registration exist?
140147
*RusticiSoftwareCloudV2::RegistrationApi* | [**set_registration_configuration**](docs/RegistrationApi.md#set_registration_configuration) | **POST** /registrations/{registrationId}/configuration | Set configuration settings for this registration.
141148
*RusticiSoftwareCloudV2::RegistrationApi* | [**set_registration_instance_configuration**](docs/RegistrationApi.md#set_registration_instance_configuration) | **POST** /registrations/{registrationId}/instances/{instanceId}/configuration | Set configuration settings for this registration instance.
@@ -154,6 +161,7 @@ Class | Method | HTTP request | Description
154161
- [RusticiSoftwareCloudV2::CourseListSchema](docs/CourseListSchema.md)
155162
- [RusticiSoftwareCloudV2::CourseReferenceSchema](docs/CourseReferenceSchema.md)
156163
- [RusticiSoftwareCloudV2::CourseSchema](docs/CourseSchema.md)
164+
- [RusticiSoftwareCloudV2::CourseTagsBatchSchema](docs/CourseTagsBatchSchema.md)
157165
- [RusticiSoftwareCloudV2::CreateRegistrationSchema](docs/CreateRegistrationSchema.md)
158166
- [RusticiSoftwareCloudV2::CredentialCreatedSchema](docs/CredentialCreatedSchema.md)
159167
- [RusticiSoftwareCloudV2::CredentialListSchema](docs/CredentialListSchema.md)
@@ -181,6 +189,7 @@ Class | Method | HTTP request | Description
181189
- [RusticiSoftwareCloudV2::RegistrationListSchema](docs/RegistrationListSchema.md)
182190
- [RusticiSoftwareCloudV2::RegistrationSchema](docs/RegistrationSchema.md)
183191
- [RusticiSoftwareCloudV2::RegistrationSuccess](docs/RegistrationSuccess.md)
192+
- [RusticiSoftwareCloudV2::RegistrationTagsBatchSchema](docs/RegistrationTagsBatchSchema.md)
184193
- [RusticiSoftwareCloudV2::ResponseError](docs/ResponseError.md)
185194
- [RusticiSoftwareCloudV2::RuntimeInteractionSchema](docs/RuntimeInteractionSchema.md)
186195
- [RusticiSoftwareCloudV2::RuntimeObjectiveSchema](docs/RuntimeObjectiveSchema.md)
@@ -189,14 +198,30 @@ Class | Method | HTTP request | Description
189198
- [RusticiSoftwareCloudV2::SettingItem](docs/SettingItem.md)
190199
- [RusticiSoftwareCloudV2::SettingListSchema](docs/SettingListSchema.md)
191200
- [RusticiSoftwareCloudV2::SettingMetadata](docs/SettingMetadata.md)
192-
- [RusticiSoftwareCloudV2::SettingMetadataValidValues](docs/SettingMetadataValidValues.md)
201+
- [RusticiSoftwareCloudV2::SettingValidValue](docs/SettingValidValue.md)
193202
- [RusticiSoftwareCloudV2::SettingsIndividualSchema](docs/SettingsIndividualSchema.md)
194203
- [RusticiSoftwareCloudV2::SettingsPostSchema](docs/SettingsPostSchema.md)
195204
- [RusticiSoftwareCloudV2::SharedDataEntrySchema](docs/SharedDataEntrySchema.md)
196205
- [RusticiSoftwareCloudV2::StaticPropertiesSchema](docs/StaticPropertiesSchema.md)
197206
- [RusticiSoftwareCloudV2::StringResultSchema](docs/StringResultSchema.md)
207+
- [RusticiSoftwareCloudV2::TagListSchema](docs/TagListSchema.md)
208+
- [RusticiSoftwareCloudV2::TagPostSchema](docs/TagPostSchema.md)
198209
- [RusticiSoftwareCloudV2::TitleSchema](docs/TitleSchema.md)
199210
- [RusticiSoftwareCloudV2::TokenRequestSchema](docs/TokenRequestSchema.md)
211+
- [RusticiSoftwareCloudV2::XapiAccount](docs/XapiAccount.md)
212+
- [RusticiSoftwareCloudV2::XapiActivity](docs/XapiActivity.md)
213+
- [RusticiSoftwareCloudV2::XapiActivityDefinition](docs/XapiActivityDefinition.md)
214+
- [RusticiSoftwareCloudV2::XapiAgentGroup](docs/XapiAgentGroup.md)
215+
- [RusticiSoftwareCloudV2::XapiAttachment](docs/XapiAttachment.md)
216+
- [RusticiSoftwareCloudV2::XapiContext](docs/XapiContext.md)
217+
- [RusticiSoftwareCloudV2::XapiContextActivity](docs/XapiContextActivity.md)
218+
- [RusticiSoftwareCloudV2::XapiInteractionComponent](docs/XapiInteractionComponent.md)
219+
- [RusticiSoftwareCloudV2::XapiResult](docs/XapiResult.md)
220+
- [RusticiSoftwareCloudV2::XapiScore](docs/XapiScore.md)
221+
- [RusticiSoftwareCloudV2::XapiStatement](docs/XapiStatement.md)
222+
- [RusticiSoftwareCloudV2::XapiStatementReference](docs/XapiStatementReference.md)
223+
- [RusticiSoftwareCloudV2::XapiStatementResult](docs/XapiStatementResult.md)
224+
- [RusticiSoftwareCloudV2::XapiVerb](docs/XapiVerb.md)
200225

201226

202227
## Documentation for Authorization
@@ -216,12 +241,6 @@ Class | Method | HTTP request | Description
216241
- **API key parameter name**: launchToken
217242
- **Location**: URL query string
218243

219-
### URL_TOKEN
220-
221-
- **Type**: API key
222-
- **API key parameter name**: authtoken
223-
- **Location**: URL query string
224-
225244
### OAUTH
226245

227246
- **Type**: OAuth
@@ -256,3 +275,9 @@ Class | Method | HTTP request | Description
256275
- write:appmgmt: Grants write access to app management methods
257276
- delete:appmgmt: Grants deletion access to app management methods
258277

278+
### URL_TOKEN
279+
280+
- **Type**: API key
281+
- **API key parameter name**: authtoken
282+
- **Location**: URL query string
283+

Rakefile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
begin
2+
require 'rspec/core/rake_task'
3+
4+
RSpec::Core::RakeTask.new(:spec)
5+
task default: :spec
6+
rescue LoadError
7+
# no rspec available
8+
end

0 commit comments

Comments
 (0)