Skip to content

About

Whisper app OpenAPI 3 generated library.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

whisper_openapi_client_dart

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

Requirements

Dart 2.12 or later

Installation & Usage

Github

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

Local

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

Tests

TODO

Getting Started

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');
}

Documentation for API Endpoints

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

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: HTTP Bearer authentication

Author

razj@josefraz.cz

About

Whisper app OpenAPI 3 generated library.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages