Skip to content

shnaseri/negare_api

Repository files navigation

honar_api_v22

Test description

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

  • API version: v1
  • Build package: org.openapitools.codegen.languages.DartClientCodegen

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

Tests

TODO

Getting Started

Please follow the installation procedure and then run the following:

import 'package:honar_api_v22/api.dart';

// TODO Configure API key authorization: Bearer
//defaultApiClient.getAuthentication<ApiKeyAuth>('Bearer').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Bearer').apiKeyPrefix = 'Bearer';

final api_instance = ArtApi();
final id = id_example; // String | 
final data = ArtPieceContent(); // ArtPieceContent | 

try {
    final result = api_instance.artArtPieceContentUpdate(id, data);
    print(result);
} catch (e) {
    print('Exception when calling ArtApi->artArtPieceContentUpdate: $e\n');
}

Documentation for API Endpoints

All URIs are relative to http://188.121.110.151:8000/api

Class Method HTTP request Description
ArtApi artArtPieceContentUpdate PUT /art/art-piece/{id}/content/
ArtApi artArtPieceCoverCreate POST /art/art-piece/cover/
ArtApi artArtPieceLikeUpdate PUT /art/art-piece/{id}/like/
ArtApi artArtPieceRead GET /art/art-piece/{id}/
ArtApi artArtPieceUpdate PUT /art/art-piece/{id}/
ArtApi artExploreList GET /art/explore/
ArtApi artGalleryRead GET /art/gallery/{id}/
ArtApi artSearchList GET /art/search/
AuthApi authLoginCreate POST /auth/login/
AuthApi authLogoutCreate POST /auth/logout/
AuthApi authMeList GET /auth/me/
AuthApi authRegisterCreate POST /auth/register/
AuthApi authSendOtpCodeCreate POST /auth/send-otp-code/{id}/
AuthApi authVerifyCreate POST /auth/verify/
AuthApi authVerifyOtpCodeCreate POST /auth/verify-otp-code/{id}/
CategoryApi categoryGetAllList GET /category/get-all/
ChatApi chatGetAllChatMessagesList GET /chat/get-all-chat-messages/
ChatApi chatGetAllChatsList GET /chat/get-all-chats/
CommentApi commentAddCommentCreate POST /comment/{art_piece_id}/add-comment/
CommentApi commentAllCommentsList GET /comment/{art_piece_id}/all-comments/
CoreApi coreContentUpdate PUT /core/content/
CoreApi coreHomepageList GET /core/homepage/
CoreApi coreImageUploadCreate POST /core/image/upload/
CoreApi coreImageUploadDelete DELETE /core/image/upload/{id}/
CoreApi coreImageUploadList GET /core/image/upload/
CoreApi coreImageUploadPartialUpdate PATCH /core/image/upload/{id}/
CoreApi coreImageUploadRead GET /core/image/upload/{id}/
CoreApi coreImageUploadUpdate PUT /core/image/upload/{id}/
ProfileApi profileAddProfileImageCreate POST /profile/add-profile-image/
ProfileApi profileFollowUpdate PUT /profile/{id}/follow/
ProfileApi profilePartialUpdate PATCH /profile/{id}/
ProfileApi profileRead GET /profile/{id}/
ProfileApi profileToggleBusinessUpdate PUT /profile/toggle-business/
ProfileApi profileUpdate PUT /profile/{id}/

Documentation For Models

Documentation For Authorization

Bearer

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

contact@snippets.local

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published