getSubscriptionWithHttpInfo method
Get cloud subscription
Retrieves the subscription information for the Mattermost Cloud customer bound to this installation. ##### Permissions Must have manage_system
permission and be licensed for Cloud. Minimum server version: 5.28 Note: This is intended for internal use and is subject to change.
Note: This method returns the HTTP Response
.
Implementation
Future<Response> getSubscriptionWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/cloud/subscription';
// 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,
);
}