import 'package:vrchat_dart_generated/api.dart';
All URIs are relative to https://api.vrchat.cloud/api/1
Method | HTTP request | Description |
---|---|---|
addGroupGalleryImage | POST /groups/{groupId}/galleries/{groupGalleryId}/images | Add Group Gallery Image |
addGroupMemberRole | PUT /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Add Role to GroupMember |
addGroupPost | POST /groups/{groupId}/posts | Create a post in a Group |
banGroupMember | POST /groups/{groupId}/bans | Ban Group Member |
cancelGroupRequest | DELETE /groups/{groupId}/requests | Cancel Group Join Request |
createGroup | POST /groups | Create Group |
createGroupAnnouncement | POST /groups/{groupId}/announcement | Create Group Announcement |
createGroupGallery | POST /groups/{groupId}/galleries | Create Group Gallery |
createGroupInvite | POST /groups/{groupId}/invites | Invite User to Group |
createGroupRole | POST /groups/{groupId}/roles | Create GroupRole |
deleteGroup | DELETE /groups/{groupId} | Delete Group |
deleteGroupAnnouncement | DELETE /groups/{groupId}/announcement | Delete Group Announcement |
deleteGroupGallery | DELETE /groups/{groupId}/galleries/{groupGalleryId} | Delete Group Gallery |
deleteGroupGalleryImage | DELETE /groups/{groupId}/galleries/{groupGalleryId}/images/{groupGalleryImageId} | Delete Group Gallery Image |
deleteGroupInvite | DELETE /groups/{groupId}/invites/{userId} | Delete User Invite |
deleteGroupPost | DELETE /groups/{groupId}/posts/{notificationId} | Delete a Group post |
deleteGroupRole | DELETE /groups/{groupId}/roles/{groupRoleId} | Delete Group Role |
getGroup | GET /groups/{groupId} | Get Group by ID |
getGroupAnnouncements | GET /groups/{groupId}/announcement | Get Group Announcement |
getGroupAuditLogs | GET /groups/{groupId}/auditLogs | Get Group Audit Logs |
getGroupBans | GET /groups/{groupId}/bans | Get Group Bans |
getGroupGalleryImages | GET /groups/{groupId}/galleries/{groupGalleryId} | Get Group Gallery Images |
getGroupInstances | GET /groups/{groupId}/instances | Get Group Instances |
getGroupInvites | GET /groups/{groupId}/invites | Get Group Invites Sent |
getGroupMember | GET /groups/{groupId}/members/{userId} | Get Group Member |
getGroupMembers | GET /groups/{groupId}/members | List Group Members |
getGroupPermissions | GET /groups/{groupId}/permissions | List Group Permissions |
getGroupPost | GET /groups/{groupId}/posts | Get posts from a Group |
getGroupRequests | GET /groups/{groupId}/requests | Get Group Join Requests |
getGroupRoles | GET /groups/{groupId}/roles | Get Group Roles |
joinGroup | POST /groups/{groupId}/join | Join Group |
kickGroupMember | DELETE /groups/{groupId}/members/{userId} | Kick Group Member |
leaveGroup | POST /groups/{groupId}/leave | Leave Group |
removeGroupMemberRole | DELETE /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Remove Role from GroupMember |
respondGroupJoinRequest | PUT /groups/{groupId}/requests/{userId} | Respond Group Join request |
searchGroups | GET /groups | Search Group |
unbanGroupMember | DELETE /groups/{groupId}/bans/{userId} | Unban Group Member |
updateGroup | PUT /groups/{groupId} | Update Group |
updateGroupGallery | PUT /groups/{groupId}/galleries/{groupGalleryId} | Update Group Gallery |
updateGroupMember | PUT /groups/{groupId}/members/{userId} | Update Group Member |
updateGroupPost | PUT /groups/{groupId}/posts/{notificationId} | Edits a Group post |
updateGroupRole | PUT /groups/{groupId}/roles/{groupRoleId} | Update Group Role |
GroupGalleryImage addGroupGalleryImage(groupId, groupGalleryId, addGroupGalleryImageRequest)
Add Group Gallery Image
Adds an image to a Group gallery.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String groupGalleryId = ggal_00000000-0000-0000-0000-000000000000; // String | Must be a valid group gallery ID.
final AddGroupGalleryImageRequest addGroupGalleryImageRequest = ; // AddGroupGalleryImageRequest |
try {
final response = api.addGroupGalleryImage(groupId, groupGalleryId, addGroupGalleryImageRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->addGroupGalleryImage: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
groupGalleryId | String | Must be a valid group gallery ID. | |
addGroupGalleryImageRequest | AddGroupGalleryImageRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List addGroupMemberRole(groupId, userId, groupRoleId)
Add Role to GroupMember
Adds a Role to a Group Member
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String userId = userId_example; // String | Must be a valid user ID.
final String groupRoleId = grol_00000000-0000-0000-0000-000000000000; // String | Must be a valid group role ID.
try {
final response = api.addGroupMemberRole(groupId, userId, groupRoleId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->addGroupMemberRole: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
userId | String | Must be a valid user ID. | |
groupRoleId | String | Must be a valid group role ID. |
List<String>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupPost addGroupPost(groupId, createGroupPostRequest)
Create a post in a Group
Create a post in a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final CreateGroupPostRequest createGroupPostRequest = ; // CreateGroupPostRequest |
try {
final response = api.addGroupPost(groupId, createGroupPostRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->addGroupPost: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
createGroupPostRequest | CreateGroupPostRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupMember banGroupMember(groupId, banGroupMemberRequest)
Ban Group Member
Bans a user from a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final BanGroupMemberRequest banGroupMemberRequest = ; // BanGroupMemberRequest |
try {
final response = api.banGroupMember(groupId, banGroupMemberRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->banGroupMember: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
banGroupMemberRequest | BanGroupMemberRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
cancelGroupRequest(groupId)
Cancel Group Join Request
Cancels a request sent to join the group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
try {
api.cancelGroupRequest(groupId);
} catch on DioException (e) {
print('Exception when calling GroupsApi->cancelGroupRequest: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Group createGroup(createGroupRequest)
Create Group
Creates a Group and returns a Group object. Requires VRC+ Subscription.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final CreateGroupRequest createGroupRequest = ; // CreateGroupRequest |
try {
final response = api.createGroup(createGroupRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->createGroup: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
createGroupRequest | CreateGroupRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupAnnouncement createGroupAnnouncement(groupId, createGroupAnnouncementRequest)
Create Group Announcement
Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final CreateGroupAnnouncementRequest createGroupAnnouncementRequest = ; // CreateGroupAnnouncementRequest |
try {
final response = api.createGroupAnnouncement(groupId, createGroupAnnouncementRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->createGroupAnnouncement: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
createGroupAnnouncementRequest | CreateGroupAnnouncementRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupGallery createGroupGallery(groupId, createGroupGalleryRequest)
Create Group Gallery
Creates a gallery for a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final CreateGroupGalleryRequest createGroupGalleryRequest = ; // CreateGroupGalleryRequest |
try {
final response = api.createGroupGallery(groupId, createGroupGalleryRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->createGroupGallery: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
createGroupGalleryRequest | CreateGroupGalleryRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createGroupInvite(groupId, createGroupInviteRequest)
Invite User to Group
Sends an invite to a user to join the group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final CreateGroupInviteRequest createGroupInviteRequest = ; // CreateGroupInviteRequest |
try {
api.createGroupInvite(groupId, createGroupInviteRequest);
} catch on DioException (e) {
print('Exception when calling GroupsApi->createGroupInvite: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
createGroupInviteRequest | CreateGroupInviteRequest |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupRole createGroupRole(groupId, createGroupRoleRequest)
Create GroupRole
Create a Group role.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final CreateGroupRoleRequest createGroupRoleRequest = ; // CreateGroupRoleRequest |
try {
final response = api.createGroupRole(groupId, createGroupRoleRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->createGroupRole: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
createGroupRoleRequest | CreateGroupRoleRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Success deleteGroup(groupId)
Delete Group
Deletes a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
try {
final response = api.deleteGroup(groupId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->deleteGroup: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Success deleteGroupAnnouncement(groupId)
Delete Group Announcement
Deletes the announcement for a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
try {
final response = api.deleteGroupAnnouncement(groupId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->deleteGroupAnnouncement: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Success deleteGroupGallery(groupId, groupGalleryId)
Delete Group Gallery
Deletes a gallery for a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String groupGalleryId = ggal_00000000-0000-0000-0000-000000000000; // String | Must be a valid group gallery ID.
try {
final response = api.deleteGroupGallery(groupId, groupGalleryId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->deleteGroupGallery: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
groupGalleryId | String | Must be a valid group gallery ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Success deleteGroupGalleryImage(groupId, groupGalleryId, groupGalleryImageId)
Delete Group Gallery Image
Deletes an image from a Group gallery.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String groupGalleryId = ggal_00000000-0000-0000-0000-000000000000; // String | Must be a valid group gallery ID.
final String groupGalleryImageId = ggim_00000000-0000-0000-0000-000000000000; // String | Must be a valid group gallery image ID.
try {
final response = api.deleteGroupGalleryImage(groupId, groupGalleryId, groupGalleryImageId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->deleteGroupGalleryImage: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
groupGalleryId | String | Must be a valid group gallery ID. | |
groupGalleryImageId | String | Must be a valid group gallery image ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteGroupInvite(groupId, userId)
Delete User Invite
Deletes an Group invite sent to a User
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String userId = userId_example; // String | Must be a valid user ID.
try {
api.deleteGroupInvite(groupId, userId);
} catch on DioException (e) {
print('Exception when calling GroupsApi->deleteGroupInvite: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
userId | String | Must be a valid user ID. |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Success deleteGroupPost(groupId, notificationId)
Delete a Group post
Delete a Group post
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String notificationId = notificationId_example; // String | Must be a valid notification ID.
try {
final response = api.deleteGroupPost(groupId, notificationId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->deleteGroupPost: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
notificationId | String | Must be a valid notification ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List deleteGroupRole(groupId, groupRoleId)
Delete Group Role
Deletes a Group Role by ID and returns the remaining roles.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String groupRoleId = grol_00000000-0000-0000-0000-000000000000; // String | Must be a valid group role ID.
try {
final response = api.deleteGroupRole(groupId, groupRoleId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->deleteGroupRole: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
groupRoleId | String | Must be a valid group role ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Group getGroup(groupId, includeRoles)
Get Group by ID
Returns a single Group by ID.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final bool includeRoles = true; // bool | Include roles for the Group object. Defaults to false.
try {
final response = api.getGroup(groupId, includeRoles);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroup: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
includeRoles | bool | Include roles for the Group object. Defaults to false. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupAnnouncement getGroupAnnouncements(groupId)
Get Group Announcement
Returns the announcement for a Group. If no announcement has been made, then it returns empty object. If an announcement exists, then it will always return all fields except imageId
and imageUrl
which may be null.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
try {
final response = api.getGroupAnnouncements(groupId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupAnnouncements: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginatedGroupAuditLogEntryList getGroupAuditLogs(groupId, n, offset, startDate, endDate)
Get Group Audit Logs
Returns a list of audit logs for a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final int n = 56; // int | The number of objects to return.
final int offset = 56; // int | A zero-based offset from the default object sorting from where search results start.
final DateTime startDate = 2013-10-20T19:20:30+01:00; // DateTime | The start date of the search range.
final DateTime endDate = 2013-10-20T19:20:30+01:00; // DateTime | The end date of the search range.
try {
final response = api.getGroupAuditLogs(groupId, n, offset, startDate, endDate);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupAuditLogs: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
n | int | The number of objects to return. | [optional] [default to 60] |
offset | int | A zero-based offset from the default object sorting from where search results start. | [optional] |
startDate | DateTime | The start date of the search range. | [optional] |
endDate | DateTime | The end date of the search range. | [optional] |
PaginatedGroupAuditLogEntryList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getGroupBans(groupId, n, offset)
Get Group Bans
Returns a list of banned users for a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final int n = 56; // int | The number of objects to return.
final int offset = 56; // int | A zero-based offset from the default object sorting from where search results start.
try {
final response = api.getGroupBans(groupId, n, offset);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupBans: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
n | int | The number of objects to return. | [optional] [default to 60] |
offset | int | A zero-based offset from the default object sorting from where search results start. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved)
Get Group Gallery Images
Returns a list of images for a Group gallery.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String groupGalleryId = ggal_00000000-0000-0000-0000-000000000000; // String | Must be a valid group gallery ID.
final int n = 56; // int | The number of objects to return.
final int offset = 56; // int | A zero-based offset from the default object sorting from where search results start.
final bool approved = true; // bool | If specified, only returns images that have been approved or not approved.
try {
final response = api.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupGalleryImages: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
groupGalleryId | String | Must be a valid group gallery ID. | |
n | int | The number of objects to return. | [optional] [default to 60] |
offset | int | A zero-based offset from the default object sorting from where search results start. | [optional] |
approved | bool | If specified, only returns images that have been approved or not approved. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getGroupInstances(groupId)
Get Group Instances
Returns a list of group instances
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
try {
final response = api.getGroupInstances(groupId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupInstances: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getGroupInvites(groupId, n, offset)
Get Group Invites Sent
Returns a list of members that have been invited to the Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final int n = 56; // int | The number of objects to return.
final int offset = 56; // int | A zero-based offset from the default object sorting from where search results start.
try {
final response = api.getGroupInvites(groupId, n, offset);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupInvites: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
n | int | The number of objects to return. | [optional] [default to 60] |
offset | int | A zero-based offset from the default object sorting from where search results start. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupLimitedMember getGroupMember(groupId, userId)
Get Group Member
Returns a LimitedGroup Member.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String userId = userId_example; // String | Must be a valid user ID.
try {
final response = api.getGroupMember(groupId, userId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupMember: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
userId | String | Must be a valid user ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getGroupMembers(groupId, n, offset, sort, roleId)
List Group Members
Returns a List of all other Group Members. This endpoint will never return the user calling the endpoint. Information about the user calling the endpoint must be found in the myMember
field of the Group object.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final int n = 56; // int | The number of objects to return.
final int offset = 56; // int | A zero-based offset from the default object sorting from where search results start.
final GroupSearchSort sort = ; // GroupSearchSort | The sort order of Group Member results
final String roleId = roleId_example; // String | Only returns members with a specific groupRoleId
try {
final response = api.getGroupMembers(groupId, n, offset, sort, roleId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupMembers: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
n | int | The number of objects to return. | [optional] [default to 60] |
offset | int | A zero-based offset from the default object sorting from where search results start. | [optional] |
sort | GroupSearchSort | The sort order of Group Member results | [optional] |
roleId | String | Only returns members with a specific groupRoleId | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getGroupPermissions(groupId)
List Group Permissions
Returns a List of all possible/available permissions for a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
try {
final response = api.getGroupPermissions(groupId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupPermissions: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupPost getGroupPost(groupId, n, offset, publicOnly)
Get posts from a Group
Get posts from a Group
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final int n = 56; // int | The number of objects to return.
final int offset = 56; // int | A zero-based offset from the default object sorting from where search results start.
final bool publicOnly = true; // bool | See public posts only.
try {
final response = api.getGroupPost(groupId, n, offset, publicOnly);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupPost: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
n | int | The number of objects to return. | [optional] [default to 60] |
offset | int | A zero-based offset from the default object sorting from where search results start. | [optional] |
publicOnly | bool | See public posts only. | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getGroupRequests(groupId, n, offset, blocked)
Get Group Join Requests
Returns a list of members that have requested to join the Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final int n = 56; // int | The number of objects to return.
final int offset = 56; // int | A zero-based offset from the default object sorting from where search results start.
final bool blocked = true; // bool | See blocked join requests
try {
final response = api.getGroupRequests(groupId, n, offset, blocked);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupRequests: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
n | int | The number of objects to return. | [optional] [default to 60] |
offset | int | A zero-based offset from the default object sorting from where search results start. | [optional] |
blocked | bool | See blocked join requests | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List getGroupRoles(groupId)
Get Group Roles
Returns a Group Role by ID.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
try {
final response = api.getGroupRoles(groupId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->getGroupRoles: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupMember joinGroup(groupId)
Join Group
Join a Group by ID and returns the member object.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
try {
final response = api.joinGroup(groupId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->joinGroup: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
kickGroupMember(groupId, userId)
Kick Group Member
Kicks a Group Member from the Group. The current user must have the "Remove Group Members" permission.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String userId = userId_example; // String | Must be a valid user ID.
try {
api.kickGroupMember(groupId, userId);
} catch on DioException (e) {
print('Exception when calling GroupsApi->kickGroupMember: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
userId | String | Must be a valid user ID. |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
leaveGroup(groupId)
Leave Group
Leave a group by ID.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
try {
api.leaveGroup(groupId);
} catch on DioException (e) {
print('Exception when calling GroupsApi->leaveGroup: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List removeGroupMemberRole(groupId, userId, groupRoleId)
Remove Role from GroupMember
Removes a Role from a Group Member
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String userId = userId_example; // String | Must be a valid user ID.
final String groupRoleId = grol_00000000-0000-0000-0000-000000000000; // String | Must be a valid group role ID.
try {
final response = api.removeGroupMemberRole(groupId, userId, groupRoleId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->removeGroupMemberRole: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
userId | String | Must be a valid user ID. | |
groupRoleId | String | Must be a valid group role ID. |
List<String>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest)
Respond Group Join request
Responds to a Group Join Request with Accept/Deny
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String userId = userId_example; // String | Must be a valid user ID.
final RespondGroupJoinRequest respondGroupJoinRequest = ; // RespondGroupJoinRequest |
try {
api.respondGroupJoinRequest(groupId, userId, respondGroupJoinRequest);
} catch on DioException (e) {
print('Exception when calling GroupsApi->respondGroupJoinRequest: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
userId | String | Must be a valid user ID. | |
respondGroupJoinRequest | RespondGroupJoinRequest |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List searchGroups(query, offset, n)
Search Group
Searches Groups by name or shortCode
import 'package:vrchat_dart_generated/api.dart';
final api = VrchatDartGenerated().getGroupsApi();
final String query = query_example; // String | Query to search for, can be either Group Name or Group shortCode
final int offset = 56; // int | A zero-based offset from the default object sorting from where search results start.
final int n = 56; // int | The number of objects to return.
try {
final response = api.searchGroups(query, offset, n);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->searchGroups: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
query | String | Query to search for, can be either Group Name or Group shortCode | [optional] |
offset | int | A zero-based offset from the default object sorting from where search results start. | [optional] |
n | int | The number of objects to return. | [optional] [default to 60] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupMember unbanGroupMember(groupId, userId)
Unban Group Member
Unbans a user from a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String userId = userId_example; // String | Must be a valid user ID.
try {
final response = api.unbanGroupMember(groupId, userId);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->unbanGroupMember: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
userId | String | Must be a valid user ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Group updateGroup(groupId, updateGroupRequest)
Update Group
Updates a Group and returns it.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final UpdateGroupRequest updateGroupRequest = ; // UpdateGroupRequest |
try {
final response = api.updateGroup(groupId, updateGroupRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->updateGroup: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
updateGroupRequest | UpdateGroupRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupGallery updateGroupGallery(groupId, groupGalleryId, updateGroupGalleryRequest)
Update Group Gallery
Updates a gallery for a Group.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String groupGalleryId = ggal_00000000-0000-0000-0000-000000000000; // String | Must be a valid group gallery ID.
final UpdateGroupGalleryRequest updateGroupGalleryRequest = ; // UpdateGroupGalleryRequest |
try {
final response = api.updateGroupGallery(groupId, groupGalleryId, updateGroupGalleryRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->updateGroupGallery: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
groupGalleryId | String | Must be a valid group gallery ID. | |
updateGroupGalleryRequest | UpdateGroupGalleryRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupLimitedMember updateGroupMember(groupId, userId, updateGroupMemberRequest)
Update Group Member
Updates a Group Member
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String userId = userId_example; // String | Must be a valid user ID.
final UpdateGroupMemberRequest updateGroupMemberRequest = ; // UpdateGroupMemberRequest |
try {
final response = api.updateGroupMember(groupId, userId, updateGroupMemberRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->updateGroupMember: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
userId | String | Must be a valid user ID. | |
updateGroupMemberRequest | UpdateGroupMemberRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupPost updateGroupPost(groupId, notificationId, createGroupPostRequest)
Edits a Group post
Edits a Group post
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String notificationId = notificationId_example; // String | Must be a valid notification ID.
final CreateGroupPostRequest createGroupPostRequest = ; // CreateGroupPostRequest |
try {
final response = api.updateGroupPost(groupId, notificationId, createGroupPostRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->updateGroupPost: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
notificationId | String | Must be a valid notification ID. | |
createGroupPostRequest | CreateGroupPostRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List updateGroupRole(groupId, groupRoleId, updateGroupRoleRequest)
Update Group Role
Updates a group role by ID.
import 'package:vrchat_dart_generated/api.dart';
// TODO Configure API key authorization: authCookie
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
final api = VrchatDartGenerated().getGroupsApi();
final String groupId = grp_00000000-0000-0000-0000-000000000000; // String | Must be a valid group ID.
final String groupRoleId = grol_00000000-0000-0000-0000-000000000000; // String | Must be a valid group role ID.
final UpdateGroupRoleRequest updateGroupRoleRequest = ; // UpdateGroupRoleRequest |
try {
final response = api.updateGroupRole(groupId, groupRoleId, updateGroupRoleRequest);
print(response);
} catch on DioException (e) {
print('Exception when calling GroupsApi->updateGroupRole: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
groupId | String | Must be a valid group ID. | |
groupRoleId | String | Must be a valid group role ID. | |
updateGroupRoleRequest | UpdateGroupRoleRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]