updateMarketplaceVisitedByAdminWithHttpInfo method

Future<Response> updateMarketplaceVisitedByAdminWithHttpInfo(
  1. MmSystem mmSystem
)

Stores that the Plugin Marketplace has been visited by at least an admin.

Stores the system-level status that specifies that at least an 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.

Parameters:

Implementation

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

  // ignore: prefer_final_locals
  Object? postBody = mmSystem;

  final queryParams = <MmQueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>['application/json'];

  return apiClient.invokeAPI(
    path,
    'POST',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}