Skip to content

Commit 996b7dd

Browse files
committed
Upgrade Python SDK to spec 1.6.7
1 parent 97523cc commit 996b7dd

File tree

121 files changed

+142
-136
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

+142
-136
lines changed

docs/FileStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**value** | **str** | | defaults to "waiting", must be one of ["waiting", "complete", "none", ]
7+
**value** | **str** | | defaults to "waiting", must be one of ["waiting", "complete", "none", "queued", ]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

docs/FilesApi.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ Name | Type | Description | Notes
850850
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
851851

852852
# **start_file_data_upload**
853-
> FileUploadURL start_file_data_upload(file_id, version_id, file_type, part_number)
853+
> FileUploadURL start_file_data_upload(file_id, version_id, file_type)
854854
855855
Start FileData Upload
856856

@@ -898,12 +898,21 @@ with vrchatapi.ApiClient(configuration) as api_client:
898898
file_id = "file_00000000-0000-0000-0000-000000000000" # str |
899899
version_id = 1 # int |
900900
file_type = "file" # str |
901-
part_number = 1 # int |
901+
part_number = 1 # int | (optional)
902902

903903
# example passing only required values which don't have defaults set
904904
try:
905905
# Start FileData Upload
906-
api_response = api_instance.start_file_data_upload(file_id, version_id, file_type, part_number)
906+
api_response = api_instance.start_file_data_upload(file_id, version_id, file_type)
907+
pprint(api_response)
908+
except vrchatapi.ApiException as e:
909+
print("Exception when calling FilesApi->start_file_data_upload: %s\n" % e)
910+
911+
# example passing only required values which don't have defaults set
912+
# and optional values
913+
try:
914+
# Start FileData Upload
915+
api_response = api_instance.start_file_data_upload(file_id, version_id, file_type, part_number=part_number)
907916
pprint(api_response)
908917
except vrchatapi.ApiException as e:
909918
print("Exception when calling FilesApi->start_file_data_upload: %s\n" % e)
@@ -917,7 +926,7 @@ Name | Type | Description | Notes
917926
**file_id** | **str**| |
918927
**version_id** | **int**| |
919928
**file_type** | **str**| |
920-
**part_number** | **int**| |
929+
**part_number** | **int**| | [optional]
921930

922931
### Return type
923932

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
6565
Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us.
6666
67-
The version of the OpenAPI document: 1.6.6
67+
The version of the OpenAPI document: 1.6.7
6868
Contact: me@ruby.js.org
6969
Generated by: https://openapi-generator.tech
7070
"""
@@ -73,7 +73,7 @@
7373
from setuptools import setup, find_packages # noqa: H301
7474

7575
NAME = "vrchatapi"
76-
VERSION = "1.6.6"
76+
VERSION = "1.6.7"
7777
# To install the library, run the following
7878
#
7979
# python setup.py install

vrchatapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
VRChat API Documentation
55
66
7-
The version of the OpenAPI document: 1.6.6
7+
The version of the OpenAPI document: 1.6.7
88
Contact: me@ruby.js.org
99
Generated by: https://openapi-generator.tech
1010
"""

vrchatapi/api/authentication_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.6.6
5+
The version of the OpenAPI document: 1.6.7
66
Contact: me@ruby.js.org
77
Generated by: https://openapi-generator.tech
88
"""

vrchatapi/api/avatars_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.6.6
5+
The version of the OpenAPI document: 1.6.7
66
Contact: me@ruby.js.org
77
Generated by: https://openapi-generator.tech
88
"""

vrchatapi/api/economy_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.6.6
5+
The version of the OpenAPI document: 1.6.7
66
Contact: me@ruby.js.org
77
Generated by: https://openapi-generator.tech
88
"""

vrchatapi/api/favorites_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.6.6
5+
The version of the OpenAPI document: 1.6.7
66
Contact: me@ruby.js.org
77
Generated by: https://openapi-generator.tech
88
"""

vrchatapi/api/files_api.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.6.6
5+
The version of the OpenAPI document: 1.6.7
66
Contact: me@ruby.js.org
77
Generated by: https://openapi-generator.tech
88
"""
@@ -690,7 +690,6 @@ def __init__(self, api_client=None):
690690
'file_id',
691691
'version_id',
692692
'file_type',
693-
'part_number',
694693
],
695694
'nullable': [
696695
],
@@ -1382,7 +1381,6 @@ def start_file_data_upload(
13821381
file_id,
13831382
version_id,
13841383
file_type,
1385-
part_number,
13861384
**kwargs
13871385
):
13881386
"""Start FileData Upload # noqa: E501
@@ -1391,16 +1389,16 @@ def start_file_data_upload(
13911389
This method makes a synchronous HTTP request by default. To make an
13921390
asynchronous HTTP request, please pass async_req=True
13931391
1394-
>>> thread = api.start_file_data_upload(file_id, version_id, file_type, part_number, async_req=True)
1392+
>>> thread = api.start_file_data_upload(file_id, version_id, file_type, async_req=True)
13951393
>>> result = thread.get()
13961394
13971395
Args:
13981396
file_id (str):
13991397
version_id (int):
14001398
file_type (str):
1401-
part_number (int):
14021399
14031400
Keyword Args:
1401+
part_number (int): [optional]
14041402
_return_http_data_only (bool): response data without head status
14051403
code and headers. Default is True.
14061404
_preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -1451,7 +1449,5 @@ def start_file_data_upload(
14511449
version_id
14521450
kwargs['file_type'] = \
14531451
file_type
1454-
kwargs['part_number'] = \
1455-
part_number
14561452
return self.start_file_data_upload_endpoint.call_with_http_info(**kwargs)
14571453

vrchatapi/api/friends_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.6.6
5+
The version of the OpenAPI document: 1.6.7
66
Contact: me@ruby.js.org
77
Generated by: https://openapi-generator.tech
88
"""

0 commit comments

Comments
 (0)