Skip to content

Commit

Permalink
Upgrade C# SDK to spec 1.17.5
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed May 25, 2024
1 parent 8911ada commit 00feb84
Show file tree
Hide file tree
Showing 195 changed files with 1,007 additions and 408 deletions.
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ docs/LicenseType.md
docs/LimitedGroup.md
docs/LimitedUnityPackage.md
docs/LimitedUser.md
docs/LimitedUserGroups.md
docs/LimitedWorld.md
docs/MIMEType.md
docs/ModerateUserRequest.md
Expand Down Expand Up @@ -269,6 +270,7 @@ src/VRChat.API/Model/LicenseType.cs
src/VRChat.API/Model/LimitedGroup.cs
src/VRChat.API/Model/LimitedUnityPackage.cs
src/VRChat.API/Model/LimitedUser.cs
src/VRChat.API/Model/LimitedUserGroups.cs
src/VRChat.API/Model/LimitedWorld.cs
src/VRChat.API/Model/MIMEType.cs
src/VRChat.API/Model/ModerateUserRequest.cs
Expand Down
18 changes: 9 additions & 9 deletions docs/AuthenticationApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# VRChat.API.Api.AuthenticationApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

| Method | HTTP request | Description |
|--------|--------------|-------------|
Expand Down Expand Up @@ -36,7 +36,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
var apiInstance = new AuthenticationApi(config);
var email = "email_example"; // string | Filter by email. (optional)
var displayName = "displayName_example"; // string | Filter by displayName. (optional)
Expand Down Expand Up @@ -134,7 +134,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -231,7 +231,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -330,7 +330,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -422,7 +422,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -519,7 +519,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -616,7 +616,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -708,7 +708,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down
20 changes: 10 additions & 10 deletions docs/AvatarsApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# VRChat.API.Api.AvatarsApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

| Method | HTTP request | Description |
|--------|--------------|-------------|
Expand Down Expand Up @@ -37,7 +37,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -134,7 +134,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -232,7 +232,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -330,7 +330,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -452,7 +452,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -550,7 +550,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -671,7 +671,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -769,7 +769,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -868,7 +868,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down
5 changes: 4 additions & 1 deletion docs/CreateInstanceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ Name | Type | Description | Notes
**RoleIds** | **List<string>** | Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" | [optional]
**GroupAccessType** | **GroupAccessType** | | [optional]
**QueueEnabled** | **bool** | | [optional] [default to false]
**ClosedAt** | **DateTime** | The time after which users won't be allowed to join the instance | [optional]
**ClosedAt** | **DateTime** | The time after which users won't be allowed to join the instance. This doesn't work for public instances. | [optional]
**CanRequestInvite** | **bool** | Only applies to invite type instances to make them invite+ | [optional] [default to false]
**HardClose** | **bool** | Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. | [optional] [default to false]
**InviteOnly** | **bool** | | [optional] [default to false]

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

2 changes: 1 addition & 1 deletion docs/CurrentUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**AccountDeletionLog** | [**List<AccountDeletionLog>**](AccountDeletionLog.md) | | [optional]
**ActiveFriends** | **List<string>** | | [optional]
**AllowAvatarCopying** | **bool** | |
**Badges** | [**List<Badge>**](Badge.md) | |
**Badges** | [**List<Badge>**](Badge.md) | | [optional]
**Bio** | **string** | |
**BioLinks** | **List<string>** | |
**CurrentAvatar** | **string** | |
Expand Down
12 changes: 6 additions & 6 deletions docs/EconomyApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# VRChat.API.Api.EconomyApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

| Method | HTTP request | Description |
|--------|--------------|-------------|
Expand Down Expand Up @@ -33,7 +33,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -125,7 +125,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -222,7 +222,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -319,7 +319,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -411,7 +411,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down
18 changes: 9 additions & 9 deletions docs/FavoritesApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# VRChat.API.Api.FavoritesApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

| Method | HTTP request | Description |
|--------|--------------|-------------|
Expand Down Expand Up @@ -36,7 +36,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -134,7 +134,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -234,7 +234,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -332,7 +332,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -432,7 +432,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -533,7 +533,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -636,7 +636,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down Expand Up @@ -734,7 +734,7 @@ namespace Example
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.vrchat.cloud/api/1";
config.BasePath = "https://vrchat.com/api/1";
// Configure API key authorization: authCookie
config.AddApiKey("auth", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
Expand Down
Loading

0 comments on commit 00feb84

Please sign in to comment.