import 'package:kabalist_client/api.dart';
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
historySearch | GET /api/history/{list} | |
searchAccount | GET /api/search/account/{name} | |
searchList | GET /api/search/list/{name} |
OkGetHistoryResponse historySearch(list, search)
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 = CrateApi();
final list = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | List ID
final search = search_example; // String | Substring Search
try {
final result = api_instance.historySearch(list, search);
print(result);
} catch (e) {
print('Exception when calling CrateApi->historySearch: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
list | String | List ID | |
search | String | Substring Search | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OkSearchAccountResponse searchAccount(name)
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 = CrateApi();
final name = name_example; // String | Account name
try {
final result = api_instance.searchAccount(name);
print(result);
} catch (e) {
print('Exception when calling CrateApi->searchAccount: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | Account name |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OkGetListsResponse searchList(name)
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 = CrateApi();
final name = name_example; // String | Part of the list name
try {
final result = api_instance.searchList(name);
print(result);
} catch (e) {
print('Exception when calling CrateApi->searchList: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
name | String | Part of the list name |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]