code: @Override
      public List<NexusIQApplication> getApplications(String instanceUrl) {
          List<NexusIQApplication> nexusIQApplications = new ArrayList<>();
          String url = instanceUrl + API_V2_APPLICATIONS;
  
          try {
              JSONObject jsonObject = parseAsObject(url);
              JSONArray jsonArray = (JSONArray) jsonObject.get("applications");
              for (Object obj : jsonArray) {
                  JSONObject applicationData = (JSONObject) obj;
                  NexusIQApplication application = new NexusIQApplication();
                  application.setInstanceUrl(instanceUrl);
                  application.setApplicationId(str(applicationData, ID));
                  application.setApplicationName(str(applicationData, NAME));
                  application.setDescription(application.getApplicationName());
                  application.setPublicId(str(applicationData, PUBLIC_ID));
                  nexusIQApplications.add(application);
              }
          } catch (ParseException e) {
              LOG.error("Could not parse response from: " + url, e);
          } catch (RestClientException rce) {
              LOG.error(rce);
          }
          return nexusIQApplications;
      }
docs: Get all the applications from the nexus IQ server
  @param instanceUrl instance of nexus iq
  @return List of applications