docs: @Restricted(DoNotUse.class) // WebOnly
      public HttpResponse doPlatformPluginList() throws IOException {
          SetupWizard setupWizard = Jenkins.get().getSetupWizard();
          if (setupWizard != null) {
              if (InstallState.UPGRADE.equals(Jenkins.get().getInstallState())) {
                  JSONArray initialPluginData = getPlatformPluginUpdates();
                  if(initialPluginData != null) {
                      return HttpResponses.okJSON(initialPluginData);
                  }
              } else {
                  JSONArray initialPluginData = getPlatformPluginList();
                  if(initialPluginData != null) {
                      return HttpResponses.okJSON(initialPluginData);
                  }
              }
          }
          return HttpResponses.okJSON();
      }