Skip to content

Commit 99e311d

Browse files
committed
Update library to v4.0.0 with recent V2 API changes
1 parent ec38b14 commit 99e311d

25 files changed

+1052
-311
lines changed

.swagger-codegen/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.12
1+
2.4.27

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ REST API used for SCORM Cloud integrations.
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: 2.0
7-
- Package version: 3.0.0
7+
- Package version: 4.0.0
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

rustici_software_cloud_v2/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,13 @@
6060
from rustici_software_cloud_v2.models.create_private_invitation_schema import CreatePrivateInvitationSchema
6161
from rustici_software_cloud_v2.models.create_public_invitation_schema import CreatePublicInvitationSchema
6262
from rustici_software_cloud_v2.models.create_registration_schema import CreateRegistrationSchema
63-
from rustici_software_cloud_v2.models.credential_created_schema import CredentialCreatedSchema
6463
from rustici_software_cloud_v2.models.credential_list_schema import CredentialListSchema
6564
from rustici_software_cloud_v2.models.credential_request_schema import CredentialRequestSchema
6665
from rustici_software_cloud_v2.models.credential_schema import CredentialSchema
6766
from rustici_software_cloud_v2.models.destination_id_schema import DestinationIdSchema
67+
from rustici_software_cloud_v2.models.destination_info_id_schema import DestinationInfoIdSchema
68+
from rustici_software_cloud_v2.models.destination_info_list_schema import DestinationInfoListSchema
69+
from rustici_software_cloud_v2.models.destination_info_schema import DestinationInfoSchema
6870
from rustici_software_cloud_v2.models.destination_list_schema import DestinationListSchema
6971
from rustici_software_cloud_v2.models.destination_schema import DestinationSchema
7072
from rustici_software_cloud_v2.models.dispatch_id_schema import DispatchIdSchema
@@ -107,6 +109,7 @@
107109
from rustici_software_cloud_v2.models.permissions_schema import PermissionsSchema
108110
from rustici_software_cloud_v2.models.ping_schema import PingSchema
109111
from rustici_software_cloud_v2.models.post_back_schema import PostBackSchema
112+
from rustici_software_cloud_v2.models.preview_launch_link_request_schema import PreviewLaunchLinkRequestSchema
110113
from rustici_software_cloud_v2.models.private_invitation_list import PrivateInvitationList
111114
from rustici_software_cloud_v2.models.private_invitation_schema import PrivateInvitationSchema
112115
from rustici_software_cloud_v2.models.private_invitation_update_schema import PrivateInvitationUpdateSchema

rustici_software_cloud_v2/api/application_management_api.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def create_credential(self, child_app_id, credential_request, **kwargs): # noqa
145145
:param async_req bool
146146
:param str child_app_id: (required)
147147
:param CredentialRequestSchema credential_request: (required)
148-
:return: CredentialCreatedSchema
148+
:return: CredentialSchema
149149
If the method is called asynchronously,
150150
returns the request thread.
151151
"""
@@ -168,7 +168,7 @@ def create_credential_with_http_info(self, child_app_id, credential_request, **k
168168
:param async_req bool
169169
:param str child_app_id: (required)
170170
:param CredentialRequestSchema credential_request: (required)
171-
:return: CredentialCreatedSchema
171+
:return: CredentialSchema
172172
If the method is called asynchronously,
173173
returns the request thread.
174174
"""
@@ -232,7 +232,7 @@ def create_credential_with_http_info(self, child_app_id, credential_request, **k
232232
body=body_params,
233233
post_params=form_params,
234234
files=local_var_files,
235-
response_type='CredentialCreatedSchema', # noqa: E501
235+
response_type='CredentialSchema', # noqa: E501
236236
auth_settings=auth_settings,
237237
async_req=params.get('async_req'),
238238
_return_http_data_only=params.get('_return_http_data_only'),
@@ -958,7 +958,7 @@ def get_application_list_with_http_info(self, **kwargs): # noqa: E501
958958
def get_applications(self, **kwargs): # noqa: E501
959959
"""Use the Application Management App to get a detailed list of Applications # noqa: E501
960960
961-
Returns a list of applications. Can be filtered using the request parameters to provide a subset of results. This endpoint caches the course and registration counts of an application for 24 hours if either `includeCourseCount` or `includeRegistrationCount` parameters, respectively, are set to `true`. Since these values are cached for an extended period, any changes made to the number of courses or registrations in an application will not be reflected in the results of this endpoint until the caching period has passed. >**Note:** >This request is paginated and will only provide a limited amount of resources at a time. If there are more results to be collected, a `more` token provided with the response which can be passed to get the next page of results. When passing this token, no other filter parameters can be sent as part of the request. The resources will continue to respect the filters passed in by the original request. >**Note:** >Each Realm has a special application called the **Application Management Application**. When using this special application's credentials to authenticate with the API, you are able to perform actions on all the other applications within that Realm (and only those actions, this isn't a general purpose credential). You can list, add, update, and delete both applications and credentials with this API resource. >**Info:** >If you want to get an up-to-date value of the course or registration count for a single application within the caching period, use the GetApplicationInfo endpoint with `includeCourseCount` and/or `includeRegistrationCount` set to `true`. GetApplicationInfo *always* gathers the most up-to-date values and overwrites them in the cache, resetting the caching period for that application. # noqa: E501
961+
Returns a list of applications. Can be filtered using the request parameters to provide a subset of results. >**Note:** >This request is paginated and will only provide a limited amount of resources at a time. If there are more results to be collected, a `more` token provided with the response which can be passed to get the next page of results. When passing this token, no other filter parameters can be sent as part of the request. The resources will continue to respect the filters passed in by the original request. >**Note:** >Each Realm has a special application called the **Application Management Application**. When using this special application's credentials to authenticate with the API, you are able to perform actions on all the other applications within that Realm (and only those actions, this isn't a general purpose credential). You can list, add, update, and delete both applications and credentials with this API resource. >**Info:** >This endpoint caches the course and registration counts of an application for 24 hours if either `includeCourseCount` or `includeRegistrationCount` parameters, respectively, are set to `true`. Since these values are cached for an extended period, any changes made to the number of courses or registrations in an application will not be reflected in the results of this endpoint until the caching period has passed. >If you want to get an up-to-date value of the course or registration count for a single application within the caching period, use the GetApplicationInfo endpoint with `includeCourseCount` and/or `includeRegistrationCount` set to `true`. GetApplicationInfo *always* gathers the most up-to-date values and overwrites them in the cache, resetting the caching period for that application. # noqa: E501
962962
This method makes a synchronous HTTP request by default. To make an
963963
asynchronous HTTP request, please pass async_req=True
964964
>>> thread = api.get_applications(async_req=True)
@@ -989,7 +989,7 @@ def get_applications(self, **kwargs): # noqa: E501
989989
def get_applications_with_http_info(self, **kwargs): # noqa: E501
990990
"""Use the Application Management App to get a detailed list of Applications # noqa: E501
991991
992-
Returns a list of applications. Can be filtered using the request parameters to provide a subset of results. This endpoint caches the course and registration counts of an application for 24 hours if either `includeCourseCount` or `includeRegistrationCount` parameters, respectively, are set to `true`. Since these values are cached for an extended period, any changes made to the number of courses or registrations in an application will not be reflected in the results of this endpoint until the caching period has passed. >**Note:** >This request is paginated and will only provide a limited amount of resources at a time. If there are more results to be collected, a `more` token provided with the response which can be passed to get the next page of results. When passing this token, no other filter parameters can be sent as part of the request. The resources will continue to respect the filters passed in by the original request. >**Note:** >Each Realm has a special application called the **Application Management Application**. When using this special application's credentials to authenticate with the API, you are able to perform actions on all the other applications within that Realm (and only those actions, this isn't a general purpose credential). You can list, add, update, and delete both applications and credentials with this API resource. >**Info:** >If you want to get an up-to-date value of the course or registration count for a single application within the caching period, use the GetApplicationInfo endpoint with `includeCourseCount` and/or `includeRegistrationCount` set to `true`. GetApplicationInfo *always* gathers the most up-to-date values and overwrites them in the cache, resetting the caching period for that application. # noqa: E501
992+
Returns a list of applications. Can be filtered using the request parameters to provide a subset of results. >**Note:** >This request is paginated and will only provide a limited amount of resources at a time. If there are more results to be collected, a `more` token provided with the response which can be passed to get the next page of results. When passing this token, no other filter parameters can be sent as part of the request. The resources will continue to respect the filters passed in by the original request. >**Note:** >Each Realm has a special application called the **Application Management Application**. When using this special application's credentials to authenticate with the API, you are able to perform actions on all the other applications within that Realm (and only those actions, this isn't a general purpose credential). You can list, add, update, and delete both applications and credentials with this API resource. >**Info:** >This endpoint caches the course and registration counts of an application for 24 hours if either `includeCourseCount` or `includeRegistrationCount` parameters, respectively, are set to `true`. Since these values are cached for an extended period, any changes made to the number of courses or registrations in an application will not be reflected in the results of this endpoint until the caching period has passed. >If you want to get an up-to-date value of the course or registration count for a single application within the caching period, use the GetApplicationInfo endpoint with `includeCourseCount` and/or `includeRegistrationCount` set to `true`. GetApplicationInfo *always* gathers the most up-to-date values and overwrites them in the cache, resetting the caching period for that application. # noqa: E501
993993
This method makes a synchronous HTTP request by default. To make an
994994
asynchronous HTTP request, please pass async_req=True
995995
>>> thread = api.get_applications_with_http_info(async_req=True)

rustici_software_cloud_v2/api/course_api.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def build_course_preview_launch_link(self, course_id, launch_link_request, **kwa
4545
4646
:param async_req bool
4747
:param str course_id: (required)
48-
:param LaunchLinkRequestSchema launch_link_request: (required)
48+
:param PreviewLaunchLinkRequestSchema launch_link_request: (required)
4949
:return: LaunchLinkSchema
5050
If the method is called asynchronously,
5151
returns the request thread.
@@ -68,7 +68,7 @@ def build_course_preview_launch_link_with_http_info(self, course_id, launch_link
6868
6969
:param async_req bool
7070
:param str course_id: (required)
71-
:param LaunchLinkRequestSchema launch_link_request: (required)
71+
:param PreviewLaunchLinkRequestSchema launch_link_request: (required)
7272
:return: LaunchLinkSchema
7373
If the method is called asynchronously,
7474
returns the request thread.
@@ -153,7 +153,7 @@ def build_course_preview_launch_link_with_version(self, course_id, version_id, l
153153
:param async_req bool
154154
:param str course_id: (required)
155155
:param int version_id: (required)
156-
:param LaunchLinkRequestSchema launch_link_request: (required)
156+
:param PreviewLaunchLinkRequestSchema launch_link_request: (required)
157157
:return: LaunchLinkSchema
158158
If the method is called asynchronously,
159159
returns the request thread.
@@ -177,7 +177,7 @@ def build_course_preview_launch_link_with_version_with_http_info(self, course_id
177177
:param async_req bool
178178
:param str course_id: (required)
179179
:param int version_id: (required)
180-
:param LaunchLinkRequestSchema launch_link_request: (required)
180+
:param PreviewLaunchLinkRequestSchema launch_link_request: (required)
181181
:return: LaunchLinkSchema
182182
If the method is called asynchronously,
183183
returns the request thread.

0 commit comments

Comments
 (0)