No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 0.1.0
- 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:
kabalist_client:
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:
kabalist_client:
path: /path/to/kabalist_client
TODO
Please follow the installation procedure and then run the following:
import 'package:kabalist_client/api.dart';
// TODO Configure HTTP Bearer authorization: token
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('token').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('token').setAccessToken(yourTokenGeneratorFunction);
final api_instance = AccountApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | Account ID
try {
final result = api_instance.getAccountName(id);
print(result);
} catch (e) {
print('Exception when calling AccountApi->getAccountName: $e\n');
}
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
AccountApi | getAccountName | GET /api/account/{id}/name | |
AccountApi | login | POST /api/account/login | Generate a JWT in order to use the other routes |
AccountApi | recoverPassword | POST /api/account/recover/{id} | |
AccountApi | recoveryInfo | GET /api/account/recover/{id} | |
AccountApi | register | POST /api/account/register/{id} | |
CrateApi | historySearch | GET /api/history/{list} | |
CrateApi | searchAccount | GET /api/search/account/{name} | |
CrateApi | searchList | GET /api/search/list/{name} | |
ListApi | addList | POST /api/list/{id} | |
ListApi | createList | POST /api/list | |
ListApi | deleteItem | DELETE /api/list/{id}/{item} | |
ListApi | deleteList | DELETE /api/list/{id} | |
ListApi | getPublicList | GET /api/list/{id}/public | |
ListApi | listLists | GET /api/list | |
ListApi | readList | GET /api/list/{id} | |
ListApi | removePublic | DELETE /api/list/{id}/public | |
ListApi | setPublic | PUT /api/list/{id}/public | |
ListApi | updateItem | PATCH /api/list/{id}/{item} | |
PantryApi | addToPantry | POST /api/pantry/{id} | |
PantryApi | deletePantryItem | DELETE /api/pantry/{id}/{item} | |
PantryApi | getPantry | GET /api/pantry/{id} | |
PantryApi | refillPantry | POST /api/pantry/{id}/refill | |
PantryApi | setPantryItem | PATCH /api/pantry/{id}/{item} | |
ShareApi | deleteShares | DELETE /api/share/{id} | |
ShareApi | getShares | GET /api/share/{id} | |
ShareApi | shareList | PUT /api/share/{id} | |
ShareApi | unshare | DELETE /api/share/{id}/{account} |
- AddToListRequest
- AddToListResponse
- AddToPantryRequest
- CreateListRequest
- CreateListResponse
- EditPantryItemRequest
- ErrResponse
- Error
- GetAccountNameResponse
- GetHistoryResponse
- GetListsResponse
- GetPantryResponse
- GetSharesResponse
- Item
- ListInfo
- ListStatus
- LoginRequest
- LoginResponse
- OkAddToListResponse
- OkAddToPantryResponse
- OkCreateListResponse
- OkDeleteItemResponse
- OkDeleteListResponse
- OkDeletePantryItemResponse
- OkDeleteShareResponse
- OkEditPantryItemResponse
- OkGetAccountNameResponse
- OkGetHistoryResponse
- OkGetListsResponse
- OkGetPantryResponse
- OkGetSharesResponse
- OkLoginResponse
- OkReadListResponse
- OkRecoverPasswordResponse
- OkRecoveryInfoResponse
- OkRefillPantryResponse
- OkRegisterResponse
- OkRemovePublicResponse
- OkSearchAccountResponse
- OkSetPublicResponse
- OkShareListResponse
- OkUnshareResponse
- OkUpdateItemResponse
- PantryItem
- ReadListResponse
- RecoverPasswordRequest
- RecoveryInfoResponse
- RegisterRequest
- SearchAccountResponse
- ShareListRequest
- UpdateItemRequest
- UserError
- Type: HTTP Bearer authentication