import 'package:halo_client/api.dart';
All URIs are relative to http://localhost:8091
Method | HTTP request | Description |
---|---|---|
jumpToSetupPage | GET /system/setup | |
queryStats | GET /apis/api.halo.run/v1alpha1/stats/- |
String jumpToSetupPage()
Jump to setup page
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().getSystemV1alpha1PublicApi();
try {
final response = api.jumpToSetupPage();
print(response);
} catch on DioException (e) {
print('Exception when calling SystemV1alpha1PublicApi->jumpToSetupPage: $e\n');
}
This endpoint does not need any parameter.
String
- Content-Type: Not defined
- Accept: text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SiteStatsVo queryStats()
Gets site 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().getSystemV1alpha1PublicApi();
try {
final response = api.queryStats();
print(response);
} catch on DioException (e) {
print('Exception when calling SystemV1alpha1PublicApi->queryStats: $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]