vrchat_dart_generated 1.3.7 copy "vrchat_dart_generated: ^1.3.7" to clipboard
vrchat_dart_generated: ^1.3.7 copied to clipboard

outdated

The generated API used by vrchat_dart. Generated from https://github.com/vrchatapi/specification.

vrchat_dart_generated (EXPERIMENTAL) #

VRChat API Banner

VRChat API Documentation #

This project is an OPEN Open Source Project

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

Disclaimer #

This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API.

Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:

  • We do not provide documentation or support for the API.
  • Do not make queries to the API more than once per 60 seconds.
  • Abuse of the API may result in account termination.
  • Access to API endpoints may break at any given time, with no warning.

As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it.

Get in touch with us! #

https://discord.gg/qjZE9C9fkB#vrchat-api

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Build package: org.openapitools.codegen.languages.DartDioNextClientCodegen For more information, please visit https://github.com/VRChatAPI

Requirements #

  • Dart 2.12.0 or later OR Flutter 1.26.0 or later
  • Dio 4.0.0+

Installation & Usage #

pub.dev #

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  vrchat_dart_generated: 1.3.7

Github #

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  vrchat_dart_generated:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development #

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  vrchat_dart_generated:
    path: /path/to/vrchat_dart_generated

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:vrchat_dart_generated/vrchat_dart_generated.dart';


final api = VrchatDartGenerated().getAuthenticationApi();
final String userId = userId_example; // String | 

try {
    final response = await api.deleteUserById(userId);
    print(response);
} catch on DioError (e) {
    print("Exception when calling AuthenticationApi->deleteUserById: $e\n");
}

Documentation for API Endpoints #

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

Class Method HTTP request Description
AuthenticationApi deleteUserById PUT /user/{userId}/delete Delete User
AuthenticationApi getCurrentUser GET /auth/user Login and/or Get Current User Info
AuthenticationApi logout PUT /logout Logout
AuthenticationApi verify2FA POST /auth/twofactorauth/totp/verify Verify 2FA code
AuthenticationApi verifyAuthToken GET /auth Verify Auth Token
AuthenticationApi verifyRecoveryCode POST /auth/twofactorauth/otp/verify Verify 2FA code with Recovery code
AvatarsApi createAvatar POST /avatars Create Avatar
AvatarsApi deleteAvatar DELETE /avatars/{avatarId} Delete Avatar
AvatarsApi getAvatar GET /avatars/{avatarId} Get Avatar
AvatarsApi getFavoritedAvatars GET /avatars/favorites List Favorited Avatars
AvatarsApi searchAvatars GET /avatars Search Avatars
AvatarsApi selectAvatar PUT /avatars/{avatarId}/select Select Avatar
AvatarsApi updateAvatar PUT /avatars/{avatarId} Update Avatar
FavoritesApi addFavorite POST /favorites Add Favorite
FavoritesApi clearFavoriteGroup DELETE /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} Clear Favorite Group
FavoritesApi getFavorite GET /favorites/{favoriteId} Show Favorite
FavoritesApi getFavoriteGroup GET /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} Show Favorite Group
FavoritesApi getFavoriteGroups GET /favorite/groups List Favorite Groups
FavoritesApi getFavorites GET /favorites List Favorites
FavoritesApi removeFavorite DELETE /favorites/{favoriteId} Remove Favorite
FavoritesApi updateFavoriteGroup PUT /favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId} Update Favorite Group
FilesApi createFile POST /file Create File
FilesApi createFileVersion POST /file/{fileId} Create File Version
FilesApi deleteFile DELETE /file/{fileId} Delete File
FilesApi deleteFileVersion DELETE /file/{fileId}/{versionId} Delete File Version
FilesApi downloadFileVersion GET /file/{fileId}/{versionId} Download File Version
FilesApi finishFileDataUpload PUT /file/{fileId}/{versionId}/{fileType}/finish Finish FileData Upload
FilesApi getFile GET /file/{fileId} Show File
FilesApi getFileDataUploadStatus GET /file/{fileId}/{versionId}/{fileType}/status Check FileData Upload Status
FilesApi getFiles GET /files List Files
FilesApi startFileDataUpload PUT /file/{fileId}/{versionId}/{fileType}/start Start FileData Upload
FriendsApi deleteFriendRequest DELETE /user/{userId}/friendRequest Delete Friend Request
FriendsApi friend POST /user/{userId}/friendRequest Send Friend Request
FriendsApi getFriendStatus GET /user/{userId}/friendStatus Check Friend Status
FriendsApi getFriends GET /auth/user/friends List Friends
FriendsApi unfriend DELETE /auth/user/friends/{userId} Unfriend
NotificationsApi acceptFriendRequest PUT /auth/user/notifications/{notificationId}/accept Accept Friend Request
NotificationsApi clearNotifications PUT /auth/user/notifications/clear Clear All Notifications
NotificationsApi deleteNotification PUT /auth/user/notifications/{notificationId}/hide Delete Notification
NotificationsApi getNotifications GET /auth/user/notifications List Notifications
NotificationsApi markNotificationAsRead PUT /auth/user/notifications/{notificationId}/see Mark As Read
PlayermoderationApi clearAllPlayerModerations DELETE /auth/user/playermoderations Clear All Player Moderations
PlayermoderationApi deletePlayerModeration DELETE /auth/user/playermoderations/{playerModerationId} Delete Player Moderation
PlayermoderationApi getPlayerModeration GET /auth/user/playermoderations/{playerModerationId} Get Player Moderation
PlayermoderationApi getPlayerModerations GET /auth/user/playermoderations Search Player Moderations
PlayermoderationApi moderateUser POST /auth/user/playermoderations Moderate User
PlayermoderationApi unmoderateUser PUT /auth/user/unplayermoderate Unmoderate User
SystemApi getConfig GET /config Fetch API Config
SystemApi getCurrentOnlineUsers GET /visits Current Online Users
SystemApi getHealth GET /health Check API Health
SystemApi getSystemTime GET /time Current System Time
UsersApi getUser GET /users/{userId} Get User by ID
UsersApi getUserByName GET /users/{username}/name Get User by Username
UsersApi searchActiveUsers GET /users/active Search Active Users
UsersApi searchUsers GET /users Search All Users
UsersApi updateUser PUT /users/{userId} Update User Info
WorldsApi createWorld POST /worlds Create World
WorldsApi deleteWorld DELETE /worlds/{worldId} Delete World
WorldsApi getActiveWorlds GET /worlds/active List Active Worlds
WorldsApi getFavoritedWorlds GET /worlds/favorites List Favorited Worlds
WorldsApi getRecentWorlds GET /worlds/recent List Recent Worlds
WorldsApi getWorld GET /worlds/{worldId} Get World by ID
WorldsApi getWorldInstance GET /worlds/{worldId}/{instanceId} Get World Instance
WorldsApi getWorldMetadata GET /worlds/{worldId}/metadata Get World Metadata
WorldsApi getWorldPublishStatus GET /worlds/{worldId}/publish Get World Publish Status
WorldsApi publishWorld PUT /worlds/{worldId}/publish Publish World
WorldsApi searchWorlds GET /worlds Search All Worlds
WorldsApi unpublishWorld DELETE /worlds/{worldId}/publish Unpublish World
WorldsApi updateWorld PUT /worlds/{worldId} Update World

Documentation For Models #

Documentation For Authorization #

apiKeyCookie #

  • Type: API key
  • API key parameter name: apiKey
  • Location:

apiKeyQuery #

  • Type: API key
  • API key parameter name: apiKey
  • Location: URL query string

authCookie #

  • Type: API key
  • API key parameter name: auth
  • Location:

authHeader #

  • Type: HTTP basic authentication

twoFactorAuthCookie #

  • Type: API key
  • API key parameter name: twoFactorAuth
  • Location:

Author #

me@ruby.js.org

5
likes
0
pub points
35%
popularity

Publisher

verified publishervrchat.community

The generated API used by vrchat_dart. Generated from https://github.com/vrchatapi/specification.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

built_collection, built_value, dio

More

Packages that depend on vrchat_dart_generated