code: public List<String> listEntities(final String entityType) throws AtlasServiceException {
          JSONObject jsonResponse = callAPIWithRetries(API.LIST_ENTITIES, null, new ResourceCreator() {
              @Override
              public WebResource createResource() {
                  WebResource resource = getResource(API.LIST_ENTITIES);
                  resource = resource.queryParam(TYPE, entityType);
                  return resource;
              }
          });
          return extractResults(jsonResponse, AtlasClient.RESULTS, new ExtractOperation<String, String>());
      }
docs: List entities for a given entity type
  @param entityType
  @return
  @throws AtlasServiceException