import 'package:halo_client/api.dart';
All URIs are relative to http://localhost:8091
Method | HTTP request | Description |
---|---|---|
getStats | GET /apis/api.console.halo.run/v1alpha1/stats |
DashboardStats getStats()
Get stats.
import 'package:halo_client/api.dart';
// TODO Configure HTTP basic authorization: basicAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('basicAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('basicAuth').password = 'YOUR_PASSWORD';
final api = HaloClient().getSystemV1alpha1ConsoleApi();
try {
final response = api.getStats();
print(response);
} catch on DioException (e) {
print('Exception when calling SystemV1alpha1ConsoleApi->getStats: $e\n');
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]