Test description
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: v1
- Build package: org.openapitools.codegen.languages.DartClientCodegen
Dart 2.12 or later
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
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
TODO
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');
}
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}/ |
- AccessRefresh
- AddComment
- AddImage
- ArtArtPieceCoverCreate200Response
- ArtArtPieceCoverCreate406Response
- ArtArtPieceLikeUpdate200Response
- ArtArtPieceRead404Response
- ArtArtPieceUpdate200Response
- ArtGalleryRead200Response
- ArtGalleryRead200ResponseOwner
- ArtGalleryRead200ResponsePostsInner
- ArtGalleryRead200ResponseProfile
- ArtPiece
- ArtPieceCompact
- ArtPieceContent
- ArtPieceCover
- ArtPieceDetail
- AuthLoginCreate401Response
- AuthLoginCreate403Response
- AuthMeList200Response
- AuthVerifyOtpCodeCreate200Response
- Category
- ChatGetAllChatsList200ResponseInner
- ChildComment
- Comments
- CoreContentUpdate200Response
- CoreHomepageList200Response
- CoreHomepageList200ResponseOffers
- CoreHomepageList200ResponseStats
- FullUser
- ImageSerializer
- Message
- OtpCode
- ProfileFollowUpdate200Response
- ProfileToggleBusinessUpdate200Response
- Register
- SearchResult
- SingleComment
- TokenObtainPair
- TokenRefresh
- TokenVerify
- User
- UserId
- UserProfile
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header