djangoflow_openapi 0.0.17 copy "djangoflow_openapi: ^0.0.17" to clipboard
djangoflow_openapi: ^0.0.17 copied to clipboard

DjangoFlow OpenAPI API Client

djangoflow_openapi (EXPERIMENTAL) #

DF Chat API (Django)

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

  • API version: 0.0.1
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Requirements #

Installation & Usage #

pub.dev #

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

dependencies:
  djangoflow_openapi: 0.0.17

Github #

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

dependencies:
  djangoflow_openapi:
    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:
  djangoflow_openapi:
    path: /path/to/djangoflow_openapi

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:djangoflow_openapi/djangoflow_openapi.dart';


final api = DjangoflowOpenapi().getAuthApi();

try {
    api.authOtpCreate();
} catch on DioError (e) {
    print("Exception when calling AuthApi->authOtpCreate: $e\n");
}

Documentation for API Endpoints #

All URIs are relative to http://localhost

Class Method HTTP request Description
AuthApi authOtpCreate POST /api/v1/auth/otp/
AuthApi authOtpDeviceConfirmCreate POST /api/v1/auth/otp-device/{id}/confirm/
AuthApi authOtpDeviceCreate POST /api/v1/auth/otp-device/
AuthApi authOtpDeviceDestroy DELETE /api/v1/auth/otp-device/{id}/
AuthApi authOtpDeviceList GET /api/v1/auth/otp-device/
AuthApi authOtpDeviceRetrieve GET /api/v1/auth/otp-device/{id}/
AuthApi authSocialConnectCreate POST /api/v1/auth/social/connect/
AuthApi authSocialCreate POST /api/v1/auth/social/
AuthApi authTokenBlacklistCreate POST /api/v1/auth/token/blacklist/
AuthApi authTokenCreate POST /api/v1/auth/token/
AuthApi authTokenRefreshCreate POST /api/v1/auth/token/refresh/
AuthApi authTokenVerifyCreate POST /api/v1/auth/token/verify/
AuthApi authUserCreate POST /api/v1/auth/user/
ChatApi chatImagesCreate POST /api/v1/chat/images/
ChatApi chatImagesDestroy DELETE /api/v1/chat/images/{id}/
ChatApi chatImagesList GET /api/v1/chat/images/
ChatApi chatImagesPartialUpdate PATCH /api/v1/chat/images/{id}/
ChatApi chatImagesRetrieve GET /api/v1/chat/images/{id}/
ChatApi chatImagesUpdate PUT /api/v1/chat/images/{id}/
ChatApi chatRoomsCreate POST /api/v1/chat/rooms/
ChatApi chatRoomsDestroy DELETE /api/v1/chat/rooms/{id}/
ChatApi chatRoomsList GET /api/v1/chat/rooms/
ChatApi chatRoomsMessagesCreate POST /api/v1/chat/rooms/{room_pk}/messages/
ChatApi chatRoomsMessagesDestroy DELETE /api/v1/chat/rooms/{room_pk}/messages/{id}/
ChatApi chatRoomsMessagesList GET /api/v1/chat/rooms/{room_pk}/messages/
ChatApi chatRoomsMessagesPartialUpdate PATCH /api/v1/chat/rooms/{room_pk}/messages/{id}/
ChatApi chatRoomsMessagesRetrieve GET /api/v1/chat/rooms/{room_pk}/messages/{id}/
ChatApi chatRoomsMessagesSeenCreate POST /api/v1/chat/rooms/{room_pk}/messages/seen/
ChatApi chatRoomsMessagesUpdate PUT /api/v1/chat/rooms/{room_pk}/messages/{id}/
ChatApi chatRoomsMuteCreate POST /api/v1/chat/rooms/{id}/mute/
ChatApi chatRoomsPartialUpdate PATCH /api/v1/chat/rooms/{id}/
ChatApi chatRoomsRetrieve GET /api/v1/chat/rooms/{id}/
ChatApi chatRoomsUnmuteCreate POST /api/v1/chat/rooms/{id}/unmute/
ChatApi chatRoomsUpdate PUT /api/v1/chat/rooms/{id}/
ChatApi chatRoomsUsersCreate POST /api/v1/chat/rooms/{room_pk}/users/
ChatApi chatRoomsUsersDestroy DELETE /api/v1/chat/rooms/{room_pk}/users/{id}/
ChatApi chatRoomsUsersList GET /api/v1/chat/rooms/{room_pk}/users/
ChatApi chatRoomsUsersNamesList GET /api/v1/chat/rooms/{room_pk}/users/names/
ChatApi chatRoomsUsersPartialUpdate PATCH /api/v1/chat/rooms/{room_pk}/users/{id}/
ChatApi chatRoomsUsersRetrieve GET /api/v1/chat/rooms/{room_pk}/users/{id}/
ChatApi chatRoomsUsersUpdate PUT /api/v1/chat/rooms/{room_pk}/users/{id}/
NotificationsApi notificationsActionCategoriesList GET /api/v1/notifications/action-categories/
NotificationsApi notificationsDevicesCreate POST /api/v1/notifications/devices/
NotificationsApi notificationsDevicesDestroy DELETE /api/v1/notifications/devices/{registration_id}/
NotificationsApi notificationsDevicesList GET /api/v1/notifications/devices/
NotificationsApi notificationsDevicesPartialUpdate PATCH /api/v1/notifications/devices/{registration_id}/
NotificationsApi notificationsDevicesRetrieve GET /api/v1/notifications/devices/{registration_id}/
NotificationsApi notificationsDevicesUpdate PUT /api/v1/notifications/devices/{registration_id}/

Documentation For Models #

Documentation For Authorization #

Authentication schemes defined for the API:

jwtAuth #

  • Type: HTTP basic authentication

Author #