Secure private self-hosted end-to-end encryption messaging server.
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Generator version: 7.22.0
- Build package: org.openapitools.codegen.languages.DartClientCodegen For more information, please visit https://josefraz.cz
Dart 2.12 or later
If this Dart package is published to Github, add the following dependency to your pubspec.yaml
dependencies:
whisper_openapi_client_dart:
git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
To use the package in your local drive, add the following dependency to your pubspec.yaml
dependencies:
whisper_openapi_client_dart:
path: /path/to/whisper_openapi_client_dart
TODO
Please follow the installation procedure and then run the following:
import 'package:whisper_openapi_client_dart/api.dart';
final api_instance = AuthenticationApi();
final authUserInput = AuthUserInput(); // AuthUserInput |
try {
final result = api_instance.authUser(authUserInput);
print(result);
} catch (e) {
print('Exception when calling AuthenticationApi->authUser: $e\n');
}
All URIs are relative to http://localhost:8080
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthenticationApi | authUser | POST /api/auth | User auth |
| AuthenticationApi | createUser | POST /api/auth/register | Register new user |
| AuthenticationApi | refreshUserAccessToken | POST /api/auth/refresh | Refresh access token. |
| FirebaseApi | setFirebaseToken | PATCH /api/firebase/token | Set client Firebase token |
| InviteApi | createInvite | POST /api/invite | Create registration invite |
| InviteApi | getAllInvites | GET /api/invite/all | Get all active registration invites |
| MediaApi | confirmMediaDownload | DELETE /api/media/{id} | Confirm media download and delete it |
| MediaApi | uploadMedia | POST /api/media | Upload encrypted media file |
| UserApi | deleteMe | DELETE /api/user/me | Delete my account |
| UserApi | deleteUsers | PATCH /api/user | Delete users |
| UserApi | getAllUsers | GET /api/user/all | Get all users except the user |
| UserApi | getUserById | GET /api/user | Get user by ID |
| UserApi | searchUsers | GET /api/user/search | Search users |
| WebSocketAuthenticationApi | webSocketAuth | POST /api/wsauth | WebSocket auth |
- AuthUserInput
- CreateInviteInput
- CreateUserInput
- DeleteUsersInput
- ModelsAuthResponse
- ModelsInvite
- ModelsMediaUploadResponse
- ModelsRefreshResponse
- ModelsUser
- ModelsWsAuthResponse
- MultipartFileHeader
- RefreshUserAccessTokenInput
- SetFirebaseTokenInput
- UploadMediaInput
Authentication schemes defined for the API:
- Type: HTTP Bearer authentication