Skip to content

Commit 0b17bb7

Browse files
committed
Upgrade Python SDK to spec 1.7.4
1 parent cb070f0 commit 0b17bb7

File tree

130 files changed

+183
-184
lines changed

Some content is hidden

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

130 files changed

+183
-184
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ docs/InfoPushDataClickable.md
4545
docs/Instance.md
4646
docs/InstanceID.md
4747
docs/InstancePlatforms.md
48+
docs/InstanceShortNameResponse.md
4849
docs/InstanceType.md
4950
docs/InstancesApi.md
5051
docs/InviteApi.md
5152
docs/InviteMessage.md
5253
docs/InviteMessageID.md
5354
docs/InviteMessageType.md
54-
docs/InviteMyselfToRequest.md
5555
docs/InviteRequest.md
5656
docs/InviteResponse.md
5757
docs/License.md
@@ -180,11 +180,11 @@ vrchatapi/model/info_push_data_clickable.py
180180
vrchatapi/model/instance.py
181181
vrchatapi/model/instance_id.py
182182
vrchatapi/model/instance_platforms.py
183+
vrchatapi/model/instance_short_name_response.py
183184
vrchatapi/model/instance_type.py
184185
vrchatapi/model/invite_message.py
185186
vrchatapi/model/invite_message_id.py
186187
vrchatapi/model/invite_message_type.py
187-
vrchatapi/model/invite_myself_to_request.py
188188
vrchatapi/model/invite_request.py
189189
vrchatapi/model/invite_response.py
190190
vrchatapi/model/license.py

docs/Instance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
1515
**photon_region** | [**Region**](Region.md) | |
1616
**platforms** | [**InstancePlatforms**](InstancePlatforms.md) | |
1717
**region** | [**Region**](Region.md) | |
18-
**short_name** | **str** | |
18+
**secure_name** | **str** | |
1919
**tags** | [**[Tag]**](Tag.md) | The tags array on Instances usually contain the language tags of the people in the instance. |
2020
**type** | [**InstanceType**](InstanceType.md) | |
2121
**world_id** | [**WorldID**](WorldID.md) | |
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
2424
**full** | **bool** | | defaults to False
2525
**permanent** | **bool** | | defaults to False
2626
**owner_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional]
27+
**short_name** | **str** | | [optional]
2728
**hidden** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional]
2829
**friends** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional]
2930
**private** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional]
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# InviteMyselfToRequest
1+
# InstanceShortNameResponse
22

33

44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**short_name** | **str** | Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint. |
7+
**secure_name** | **str** | |
8+
**short_name** | **str** | | [optional]
89
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
910

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

docs/InstancesApi.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Name | Type | Description | Notes
188188
[[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)
189189

190190
# **get_short_name**
191-
> str get_short_name(world_id, instance_id)
191+
> InstanceShortNameResponse get_short_name(world_id, instance_id)
192192
193193
Get Instance Short Name
194194

@@ -203,6 +203,7 @@ Returns an instance short name.
203203
import time
204204
import vrchatapi
205205
from vrchatapi.api import instances_api
206+
from vrchatapi.model.instance_short_name_response import InstanceShortNameResponse
206207
from vrchatapi.model.error import Error
207208
from pprint import pprint
208209
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
@@ -254,7 +255,7 @@ Name | Type | Description | Notes
254255

255256
### Return type
256257

257-
**str**
258+
[**InstanceShortNameResponse**](InstanceShortNameResponse.md)
258259

259260
### Authorization
260261

@@ -270,7 +271,7 @@ Name | Type | Description | Notes
270271

271272
| Status code | Description | Response headers |
272273
|-------------|-------------|------------------|
273-
**200** | Returns an instance short name. | - |
274+
**200** | Returns an instance secureName and/or shortName. | - |
274275
**401** | Error response due to missing apiKey or auth cookie. | - |
275276

276277
[[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)

docs/InviteApi.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ import time
214214
import vrchatapi
215215
from vrchatapi.api import invite_api
216216
from vrchatapi.model.sent_notification import SentNotification
217-
from vrchatapi.model.invite_myself_to_request import InviteMyselfToRequest
218217
from vrchatapi.model.error import Error
219218
from pprint import pprint
220219
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
@@ -246,9 +245,6 @@ with vrchatapi.ApiClient(configuration) as api_client:
246245
api_instance = invite_api.InviteApi(api_client)
247246
world_id = "worldId_example" # str |
248247
instance_id = "instanceId_example" # str |
249-
invite_myself_to_request = InviteMyselfToRequest(
250-
short_name="short_name_example",
251-
) # InviteMyselfToRequest | (optional)
252248

253249
# example passing only required values which don't have defaults set
254250
try:
@@ -257,15 +253,6 @@ with vrchatapi.ApiClient(configuration) as api_client:
257253
pprint(api_response)
258254
except vrchatapi.ApiException as e:
259255
print("Exception when calling InviteApi->invite_myself_to: %s\n" % e)
260-
261-
# example passing only required values which don't have defaults set
262-
# and optional values
263-
try:
264-
# Invite Myself To Instance
265-
api_response = api_instance.invite_myself_to(world_id, instance_id, invite_myself_to_request=invite_myself_to_request)
266-
pprint(api_response)
267-
except vrchatapi.ApiException as e:
268-
print("Exception when calling InviteApi->invite_myself_to: %s\n" % e)
269256
```
270257

271258

@@ -275,7 +262,6 @@ Name | Type | Description | Notes
275262
------------- | ------------- | ------------- | -------------
276263
**world_id** | **str**| |
277264
**instance_id** | **str**| |
278-
**invite_myself_to_request** | [**InviteMyselfToRequest**](InviteMyselfToRequest.md)| | [optional]
279265

280266
### Return type
281267

@@ -287,7 +273,7 @@ Name | Type | Description | Notes
287273

288274
### HTTP request headers
289275

290-
- **Content-Type**: application/json
276+
- **Content-Type**: Not defined
291277
- **Accept**: application/json
292278

293279

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"@openapitools/openapi-generator-cli": "^2.5.1"
3+
"@openapitools/openapi-generator-cli": "^2.5.2"
44
}
55
}

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.7.3
67+
The version of the OpenAPI document: 1.7.4
6868
Contact: me@ariesclark.com
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.7.3"
76+
VERSION = "1.7.4"
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.7.3
7+
The version of the OpenAPI document: 1.7.4
88
Contact: me@ariesclark.com
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.7.3
5+
The version of the OpenAPI document: 1.7.4
66
Contact: me@ariesclark.com
77
Generated by: https://openapi-generator.tech
88
"""

0 commit comments

Comments
 (0)