code: public List<String> listTypes(final DataTypes.TypeCategory category) throws AtlasServiceException {
          JSONObject response = callAPIWithRetries(API.LIST_TYPES, null, new ResourceCreator() {
              @Override
              public WebResource createResource() {
                  WebResource resource = getResource(API.LIST_TYPES.getPath());
                  resource = resource.queryParam(TYPE, category.name());
                  return resource;
              }
          });
          return extractResults(response, AtlasClient.RESULTS, new ExtractOperation<String, String>());
      }
docs: Returns all type names with the given category
  @param category
  @return list of type names
  @throws AtlasServiceException