Skip to content

Commit cfa8ef4

Browse files
committed
Upgrade Java SDK to spec 1.17.1
1 parent f614706 commit cfa8ef4

File tree

167 files changed

+788
-169
lines changed

Some content is hidden

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

167 files changed

+788
-169
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ docs/GroupAnnouncement.md
5151
docs/GroupAuditLogEntry.md
5252
docs/GroupGallery.md
5353
docs/GroupGalleryImage.md
54+
docs/GroupInstance.md
5455
docs/GroupJoinRequestAction.md
5556
docs/GroupJoinState.md
5657
docs/GroupLimitedMember.md
@@ -229,6 +230,7 @@ src/main/java/io/github/vrchatapi/model/GroupAnnouncement.java
229230
src/main/java/io/github/vrchatapi/model/GroupAuditLogEntry.java
230231
src/main/java/io/github/vrchatapi/model/GroupGallery.java
231232
src/main/java/io/github/vrchatapi/model/GroupGalleryImage.java
233+
src/main/java/io/github/vrchatapi/model/GroupInstance.java
232234
src/main/java/io/github/vrchatapi/model/GroupJoinRequestAction.java
233235
src/main/java/io/github/vrchatapi/model/GroupJoinState.java
234236
src/main/java/io/github/vrchatapi/model/GroupLimitedMember.java

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'io.github.vrchatapi'
7-
version = '1.17.0'
7+
version = '1.17.1'
88

99
buildscript {
1010
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "io.github.vrchatapi",
44
name := "vrchatapi",
5-
version := "1.17.0",
5+
version := "1.17.1",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/GroupInstance.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# GroupInstance
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**instanceId** | **String** | | |
11+
|**location** | **String** | InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. | |
12+
|**world** | [**World**](World.md) | | |
13+
|**memberCount** | **Integer** | | |
14+
15+
16+

docs/GroupsApi.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ All URIs are relative to *https://api.vrchat.cloud/api/1*
2424
| [**getGroupAuditLogs**](GroupsApi.md#getGroupAuditLogs) | **GET** /groups/{groupId}/auditLogs | Get Group Audit Logs |
2525
| [**getGroupBans**](GroupsApi.md#getGroupBans) | **GET** /groups/{groupId}/bans | Get Group Bans |
2626
| [**getGroupGalleryImages**](GroupsApi.md#getGroupGalleryImages) | **GET** /groups/{groupId}/galleries/{groupGalleryId} | Get Group Gallery Images |
27+
| [**getGroupInstances**](GroupsApi.md#getGroupInstances) | **GET** /groups/{groupId}/instances | Get Group Instances |
2728
| [**getGroupInvites**](GroupsApi.md#getGroupInvites) | **GET** /groups/{groupId}/invites | Get Group Invites Sent |
2829
| [**getGroupMember**](GroupsApi.md#getGroupMember) | **GET** /groups/{groupId}/members/{userId} | Get Group Member |
2930
| [**getGroupMembers**](GroupsApi.md#getGroupMembers) | **GET** /groups/{groupId}/members | List Group Members |
@@ -263,6 +264,7 @@ public class Example {
263264
| Status code | Description | Response headers |
264265
|-------------|-------------|------------------|
265266
| **200** | Returns a list of GroupMember objects. | - |
267+
| **400** | Bad request error response when banning a user | - |
266268
| **401** | Error response due to missing auth cookie. | - |
267269
| **404** | Error response when trying to perform operations on a non-existing group. | - |
268270

@@ -1512,6 +1514,77 @@ public class Example {
15121514
| **401** | Error response due to missing auth cookie. | - |
15131515
| **404** | Error response when trying to perform operations on a non-existing group. | - |
15141516

1517+
<a name="getGroupInstances"></a>
1518+
# **getGroupInstances**
1519+
> List&lt;GroupInstance&gt; getGroupInstances(groupId)
1520+
1521+
Get Group Instances
1522+
1523+
Returns a list of group instances
1524+
1525+
### Example
1526+
```java
1527+
// Import classes:
1528+
import io.github.vrchatapi.ApiClient;
1529+
import io.github.vrchatapi.ApiException;
1530+
import io.github.vrchatapi.Configuration;
1531+
import io.github.vrchatapi.auth.*;
1532+
import io.github.vrchatapi.models.*;
1533+
import io.github.vrchatapi.api.GroupsApi;
1534+
1535+
public class Example {
1536+
public static void main(String[] args) {
1537+
ApiClient defaultClient = Configuration.getDefaultApiClient();
1538+
defaultClient.setBasePath("https://api.vrchat.cloud/api/1");
1539+
1540+
// Configure API key authorization: authCookie
1541+
ApiKeyAuth authCookie = (ApiKeyAuth) defaultClient.getAuthentication("authCookie");
1542+
authCookie.setApiKey("YOUR API KEY");
1543+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
1544+
//authCookie.setApiKeyPrefix("Token");
1545+
1546+
GroupsApi apiInstance = new GroupsApi(defaultClient);
1547+
String groupId = "grp_00000000-0000-0000-0000-000000000000"; // String | Must be a valid group ID.
1548+
try {
1549+
List<GroupInstance> result = apiInstance.getGroupInstances(groupId);
1550+
System.out.println(result);
1551+
} catch (ApiException e) {
1552+
System.err.println("Exception when calling GroupsApi#getGroupInstances");
1553+
System.err.println("Status code: " + e.getCode());
1554+
System.err.println("Reason: " + e.getResponseBody());
1555+
System.err.println("Response headers: " + e.getResponseHeaders());
1556+
e.printStackTrace();
1557+
}
1558+
}
1559+
}
1560+
```
1561+
1562+
### Parameters
1563+
1564+
| Name | Type | Description | Notes |
1565+
|------------- | ------------- | ------------- | -------------|
1566+
| **groupId** | **String**| Must be a valid group ID. | |
1567+
1568+
### Return type
1569+
1570+
[**List&lt;GroupInstance&gt;**](GroupInstance.md)
1571+
1572+
### Authorization
1573+
1574+
[authCookie](../README.md#authCookie)
1575+
1576+
### HTTP request headers
1577+
1578+
- **Content-Type**: Not defined
1579+
- **Accept**: application/json
1580+
1581+
### HTTP response details
1582+
| Status code | Description | Response headers |
1583+
|-------------|-------------|------------------|
1584+
| **200** | Returns a list of GroupInstance objects. | - |
1585+
| **401** | Error response due to missing auth cookie. | - |
1586+
| **404** | Error response when trying to perform operations on a non-existing group. | - |
1587+
15151588
<a name="getGroupInvites"></a>
15161589
# **getGroupInvites**
15171590
> List&lt;GroupMember&gt; getGroupInvites(groupId, n, offset)

package-lock.json

Lines changed: 83 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.13.1"
3+
"@openapitools/openapi-generator-cli": "^2.13.2"
44
}
55
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>vrchatapi</artifactId>
66
<packaging>jar</packaging>
77
<name>vrchatapi</name>
8-
<version>1.17.0</version>
8+
<version>1.17.1</version>
99
<url>https://github.com/openapitools/openapi-generator</url>
1010
<description>OpenAPI Java</description>
1111
<scm>

src/main/java/io/github/vrchatapi/ApiCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* VRChat API Documentation
33
*
4-
* The version of the OpenAPI document: 1.17.0
4+
* The version of the OpenAPI document: 1.17.1
55
* Contact: vrchatapi.lpv0t@aries.fyi
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/io/github/vrchatapi/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* VRChat API Documentation
33
*
4-
* The version of the OpenAPI document: 1.17.0
4+
* The version of the OpenAPI document: 1.17.1
55
* Contact: vrchatapi.lpv0t@aries.fyi
66
*
77
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)