getSubscriptionStatsWithHttpInfo method
GET endpoint for cloud subscription stats
An endpoint that returns stats about a user's subscription. For example remaining seats on a free tier ##### Permissions This endpoint should only be accessed in a Mattermost Cloud instance Minimum server version: 5.34 Note: This is intended for internal use and is subject to change.
Note: This method returns the HTTP Response
.
Implementation
Future<Response> getSubscriptionStatsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/cloud/subscription/stats';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}