getMarketplaceVisitedByAdminWithHttpInfo method

Future<Response> getMarketplaceVisitedByAdminWithHttpInfo()

Get if the Plugin Marketplace has been visited by at least an admin.

Retrieves the status that specifies that at least one System Admin has visited the in-product Plugin Marketplace. Minimum server version: 5.33 ##### Permissions Must have manage_system permissions.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getMarketplaceVisitedByAdminWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/plugins/marketplace/first_admin_visit';

  // 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,
  );
}