Skip to content

Commit 518f070

Browse files
committed
Upgrade .NET SDK to spec 2.21.1-nightly.37
1 parent 4ad026e commit 518f070

8 files changed

Lines changed: 64 additions & 4 deletions

File tree

‎src/VRChat.API/Api/AuthenticationApi.cs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,6 +1542,12 @@ public VRChat.API.Client.ApiResponse<UserExists> CheckUserExistsWithHttpInfo(str
15421542
localVarRequestOptions.QueryParameters.Add(VRChat.API.Client.ClientUtils.ParameterToMultiMap("", "excludeUserId", excludeUserId));
15431543
}
15441544

1545+
// authentication (authCookie) required
1546+
// cookie parameter support
1547+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
1548+
{
1549+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
1550+
}
15451551

15461552
// make the HTTP request
15471553
try
@@ -1627,6 +1633,12 @@ public async System.Threading.Tasks.Task<UserExists> CheckUserExistsAsync(string
16271633
localVarRequestOptions.QueryParameters.Add(VRChat.API.Client.ClientUtils.ParameterToMultiMap("", "excludeUserId", excludeUserId));
16281634
}
16291635

1636+
// authentication (authCookie) required
1637+
// cookie parameter support
1638+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
1639+
{
1640+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
1641+
}
16301642

16311643
// make the HTTP request
16321644
try

‎src/VRChat.API/Api/AvatarsApi.cs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1712,6 +1712,12 @@ public VRChat.API.Client.ApiResponse<List<AvatarStyle>> GetAvatarStylesWithHttpI
17121712
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
17131713

17141714

1715+
// authentication (authCookie) required
1716+
// cookie parameter support
1717+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
1718+
{
1719+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
1720+
}
17151721

17161722
// make the HTTP request
17171723
try
@@ -1773,6 +1779,12 @@ public async System.Threading.Tasks.Task<List<AvatarStyle>> GetAvatarStylesAsync
17731779
if (localVarAccept != null) localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
17741780

17751781

1782+
// authentication (authCookie) required
1783+
// cookie parameter support
1784+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
1785+
{
1786+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
1787+
}
17761788

17771789
// make the HTTP request
17781790
try

‎src/VRChat.API/Api/CalendarApi.cs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2417,6 +2417,12 @@ public VRChat.API.Client.ApiResponse<FileParameter> GetGroupCalendarEventICSWith
24172417
localVarRequestOptions.PathParameters.Add("groupId", VRChat.API.Client.ClientUtils.ParameterToString(groupId)); // path parameter
24182418
localVarRequestOptions.PathParameters.Add("calendarId", VRChat.API.Client.ClientUtils.ParameterToString(calendarId)); // path parameter
24192419

2420+
// authentication (authCookie) required
2421+
// cookie parameter support
2422+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
2423+
{
2424+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
2425+
}
24202426

24212427
// make the HTTP request
24222428
try
@@ -2493,6 +2499,12 @@ public async System.Threading.Tasks.Task<FileParameter> GetGroupCalendarEventICS
24932499
localVarRequestOptions.PathParameters.Add("groupId", VRChat.API.Client.ClientUtils.ParameterToString(groupId)); // path parameter
24942500
localVarRequestOptions.PathParameters.Add("calendarId", VRChat.API.Client.ClientUtils.ParameterToString(calendarId)); // path parameter
24952501

2502+
// authentication (authCookie) required
2503+
// cookie parameter support
2504+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
2505+
{
2506+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
2507+
}
24962508

24972509
// make the HTTP request
24982510
try

‎src/VRChat.API/Api/GroupsApi.cs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9760,6 +9760,12 @@ public VRChat.API.Client.ApiResponse<List<LimitedGroup>> SearchGroupsWithHttpInf
97609760
localVarRequestOptions.QueryParameters.Add(VRChat.API.Client.ClientUtils.ParameterToMultiMap("", "n", n));
97619761
}
97629762

9763+
// authentication (authCookie) required
9764+
// cookie parameter support
9765+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
9766+
{
9767+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
9768+
}
97639769

97649770
// make the HTTP request
97659771
try
@@ -9839,6 +9845,12 @@ public async System.Threading.Tasks.Task<List<LimitedGroup>> SearchGroupsAsync(s
98399845
localVarRequestOptions.QueryParameters.Add(VRChat.API.Client.ClientUtils.ParameterToMultiMap("", "n", n));
98409846
}
98419847

9848+
// authentication (authCookie) required
9849+
// cookie parameter support
9850+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
9851+
{
9852+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
9853+
}
98429854

98439855
// make the HTTP request
98449856
try

‎src/VRChat.API/Api/WorldsApi.cs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,6 +1676,12 @@ public VRChat.API.Client.ApiResponse<World> CreateWorldWithHttpInfo(CreateWorldR
16761676

16771677
localVarRequestOptions.Data = createWorldRequest;
16781678

1679+
// authentication (authCookie) required
1680+
// cookie parameter support
1681+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
1682+
{
1683+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
1684+
}
16791685

16801686
// make the HTTP request
16811687
try
@@ -1741,6 +1747,12 @@ public async System.Threading.Tasks.Task<World> CreateWorldAsync(CreateWorldRequ
17411747

17421748
localVarRequestOptions.Data = createWorldRequest;
17431749

1750+
// authentication (authCookie) required
1751+
// cookie parameter support
1752+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
1753+
{
1754+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
1755+
}
17441756

17451757
// make the HTTP request
17461758
try

‎src/VRChat.API/Client/Configuration.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class Configuration : IReadableConfiguration
2525
/// Version of the package.
2626
/// </summary>
2727
/// <value>Version of the package.</value>
28-
public const string Version = "2.21.1-nightly.32";
28+
public const string Version = "2.21.1-nightly.37";
2929

3030
/// <summary>
3131
/// Identifier for ISO 8601 DateTime Format
@@ -532,7 +532,7 @@ public static string ToDebugReport()
532532
report += " OS: " + System.Environment.OSVersion + "\n";
533533
report += " .NET Framework Version: " + System.Environment.Version + "\n";
534534
report += " Version of the API: 1.21.0\n";
535-
report += " SDK Package Version: 2.21.1-nightly.32\n";
535+
report += " SDK Package Version: 2.21.1-nightly.37\n";
536536

537537
return report;
538538
}

‎src/VRChat.API/VRChat.API.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>VRChat API Library for .NET</Description>
1313
<Copyright>Copyright © 2021 Owners of GitHub organisation &quot;vrchatapi&quot; and individual contributors.</Copyright>
1414
<RootNamespace>VRChat.API</RootNamespace>
15-
<Version>2.21.1-nightly.32</Version>
15+
<Version>2.21.1-nightly.37</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\VRChat.API.xml</DocumentationFile>
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<RepositoryUrl>https://github.com/vrchatapi/vrchatapi-csharp.git</RepositoryUrl>

‎wrapper/VRChat.API.Extensions.Hosting/VRChat.API.Extensions.Hosting.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>Extensions for hosting and dependency injection for the VRChat API Library for .NET</Description>
1313
<Copyright>Copyright © 2021 Owners of GitHub organisation "vrchatapi" and individual contributors.</Copyright>
1414
<RootNamespace>VRChat.API.Extensions.Hosting</RootNamespace>
15-
<Version>2.21.1-nightly.32</Version>
15+
<Version>2.21.1-nightly.37</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\VRChat.API.Extensions.Hosting.xml</DocumentationFile>
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<RepositoryUrl>https://github.com/vrchatapi/vrchatapi-csharp.git</RepositoryUrl>

0 commit comments

Comments
 (0)