getAnalyticsOld method
Get analytics
Get some analytics data about the system. This endpoint uses the old format, the /analytics
route is reserved for the new format when it gets implemented. The returned JSON changes based on the name
query parameter but is always key/value pairs. Minimum server version: 4.0 ##### Permissions Must have manage_system
permission.
Parameters:
Implementation
Future<void> getAnalyticsOld({
String? name,
String? teamId,
}) async {
final response = await getAnalyticsOldWithHttpInfo(
name: name,
teamId: teamId,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
}
}