mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
Upgrade Rust SDK to spec 1.17.2
This commit is contained in:
16
docs/CreateGroupPostRequest.md
Normal file
16
docs/CreateGroupPostRequest.md
Normal file
@ -0,0 +1,16 @@
|
||||
# CreateGroupPostRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**title** | **String** | Post title |
|
||||
**text** | **String** | Post text |
|
||||
**image_id** | Option<**String**> | | [optional]
|
||||
**send_notification** | **bool** | Send notification to group members. | [default to false]
|
||||
**role_ids** | Option<**Vec<String>**> | | [optional]
|
||||
**visibility** | [**crate::models::GroupPostVisibility**](GroupPostVisibility.md) | |
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
22
docs/GroupPost.md
Normal file
22
docs/GroupPost.md
Normal file
@ -0,0 +1,22 @@
|
||||
# GroupPost
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | Option<**String**> | | [optional]
|
||||
**group_id** | Option<**String**> | | [optional]
|
||||
**author_id** | Option<**String**> | 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]
|
||||
**editor_id** | Option<**String**> | 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]
|
||||
**visibility** | Option<[**crate::models::GroupPostVisibility**](GroupPostVisibility.md)> | | [optional]
|
||||
**role_id** | Option<**Vec<String>**> | | [optional]
|
||||
**title** | Option<**String**> | | [optional]
|
||||
**text** | Option<**String**> | | [optional]
|
||||
**image_id** | Option<**String**> | | [optional]
|
||||
**image_url** | Option<**String**> | | [optional]
|
||||
**created_at** | Option<**String**> | | [optional]
|
||||
**updated_at** | Option<**String**> | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
10
docs/GroupPostVisibility.md
Normal file
10
docs/GroupPostVisibility.md
Normal file
@ -0,0 +1,10 @@
|
||||
# GroupPostVisibility
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@ -6,6 +6,7 @@ Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**add_group_gallery_image**](GroupsApi.md#add_group_gallery_image) | **POST** /groups/{groupId}/galleries/{groupGalleryId}/images | Add Group Gallery Image
|
||||
[**add_group_member_role**](GroupsApi.md#add_group_member_role) | **PUT** /groups/{groupId}/members/{userId}/roles/{groupRoleId} | Add Role to GroupMember
|
||||
[**add_group_post**](GroupsApi.md#add_group_post) | **POST** /groups/{groupId}/posts | Create a post in a Group
|
||||
[**ban_group_member**](GroupsApi.md#ban_group_member) | **POST** /groups/{groupId}/bans | Ban Group Member
|
||||
[**cancel_group_request**](GroupsApi.md#cancel_group_request) | **DELETE** /groups/{groupId}/requests | Cancel Group Join Request
|
||||
[**create_group**](GroupsApi.md#create_group) | **POST** /groups | Create Group
|
||||
@ -18,6 +19,7 @@ Method | HTTP request | Description
|
||||
[**delete_group_gallery**](GroupsApi.md#delete_group_gallery) | **DELETE** /groups/{groupId}/galleries/{groupGalleryId} | Delete Group Gallery
|
||||
[**delete_group_gallery_image**](GroupsApi.md#delete_group_gallery_image) | **DELETE** /groups/{groupId}/galleries/{groupGalleryId}/images/{groupGalleryImageId} | Delete Group Gallery Image
|
||||
[**delete_group_invite**](GroupsApi.md#delete_group_invite) | **DELETE** /groups/{groupId}/invites/{userId} | Delete User Invite
|
||||
[**delete_group_post**](GroupsApi.md#delete_group_post) | **DELETE** /groups/{groupId}/posts/{notificationId} | Delete a Group post
|
||||
[**delete_group_role**](GroupsApi.md#delete_group_role) | **DELETE** /groups/{groupId}/roles/{groupRoleId} | Delete Group Role
|
||||
[**get_group**](GroupsApi.md#get_group) | **GET** /groups/{groupId} | Get Group by ID
|
||||
[**get_group_announcements**](GroupsApi.md#get_group_announcements) | **GET** /groups/{groupId}/announcement | Get Group Announcement
|
||||
@ -29,6 +31,7 @@ Method | HTTP request | Description
|
||||
[**get_group_member**](GroupsApi.md#get_group_member) | **GET** /groups/{groupId}/members/{userId} | Get Group Member
|
||||
[**get_group_members**](GroupsApi.md#get_group_members) | **GET** /groups/{groupId}/members | List Group Members
|
||||
[**get_group_permissions**](GroupsApi.md#get_group_permissions) | **GET** /groups/{groupId}/permissions | List Group Permissions
|
||||
[**get_group_post**](GroupsApi.md#get_group_post) | **GET** /groups/{groupId}/posts | Get posts from a Group
|
||||
[**get_group_requests**](GroupsApi.md#get_group_requests) | **GET** /groups/{groupId}/requests | Get Group Join Requests
|
||||
[**get_group_roles**](GroupsApi.md#get_group_roles) | **GET** /groups/{groupId}/roles | Get Group Roles
|
||||
[**join_group**](GroupsApi.md#join_group) | **POST** /groups/{groupId}/join | Join Group
|
||||
@ -109,6 +112,37 @@ Name | Type | Description | Required | Notes
|
||||
[[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)
|
||||
|
||||
|
||||
## add_group_post
|
||||
|
||||
> crate::models::GroupPost add_group_post(group_id, create_group_post_request)
|
||||
Create a post in a Group
|
||||
|
||||
Create a post in a Group.
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**group_id** | **String** | Must be a valid group ID. | [required] |
|
||||
**create_group_post_request** | [**CreateGroupPostRequest**](CreateGroupPostRequest.md) | | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
[**crate::models::GroupPost**](GroupPost.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[authCookie](../README.md#authCookie)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[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)
|
||||
|
||||
|
||||
## ban_group_member
|
||||
|
||||
> crate::models::GroupMember ban_group_member(group_id, ban_group_member_request)
|
||||
@ -478,6 +512,37 @@ Name | Type | Description | Required | Notes
|
||||
[[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)
|
||||
|
||||
|
||||
## delete_group_post
|
||||
|
||||
> crate::models::Success delete_group_post(group_id, notification_id)
|
||||
Delete a Group post
|
||||
|
||||
Delete a Group post
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**group_id** | **String** | Must be a valid group ID. | [required] |
|
||||
**notification_id** | **String** | Must be a valid notification ID. | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
[**crate::models::Success**](Success.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[authCookie](../README.md#authCookie)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[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)
|
||||
|
||||
|
||||
## delete_group_role
|
||||
|
||||
> Vec<crate::models::GroupRole> delete_group_role(group_id, group_role_id)
|
||||
@ -826,6 +891,39 @@ Name | Type | Description | Required | Notes
|
||||
[[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)
|
||||
|
||||
|
||||
## get_group_post
|
||||
|
||||
> crate::models::GroupPost get_group_post(group_id, n, offset, public_only)
|
||||
Get posts from a Group
|
||||
|
||||
Get posts from a Group
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**group_id** | **String** | Must be a valid group ID. | [required] |
|
||||
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
|
||||
**offset** | Option<**i32**> | A zero-based offset from the default object sorting from where search results start. | |
|
||||
**public_only** | Option<**bool**> | See public posts only. | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**crate::models::GroupPost**](GroupPost.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[authCookie](../README.md#authCookie)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[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)
|
||||
|
||||
|
||||
## get_group_requests
|
||||
|
||||
> Vec<crate::models::GroupMember> get_group_requests(group_id, n, offset)
|
||||
|
Reference in New Issue
Block a user