code: @GET
      @Produces(MediaType.APPLICATION_JSON)
      @Path(ServerAPI.GET_ALL)
      public Response getAll(@Context final UriInfo uriInfo){
  
          if(LOG.isInfoEnabled()) {
              LOG.info(String.format("Got a get all artifact request [%s]", uriInfo.getPath()));
          }
  
          final FiltersHolder filters = new FiltersHolder();
          filters.init(uriInfo.getQueryParameters());
  
          if(filters.getArtifactFieldsFilters().size() == 0) {
              LOG.warn("No artifact filtering criteria. Returning BAD_REQUEST");
              throw new WebApplicationException(Response.status(Response.Status.BAD_REQUEST)
                      .entity("Please provide at least one artifact filtering criteria").build());
          }
  
          final List<Artifact> artifacts = new ArrayList<>();
  
          final List<DbArtifact> dbArtifacts = getArtifactHandler().getArtifacts(filters);
          for(final DbArtifact dbArtifact: dbArtifacts){
              artifacts.add(getModelMapper().getArtifact(dbArtifact));
          }
  
          return Response.ok(artifacts).build();
      }
docs: Return all the artifacts that matches the filters.
  This method is call via GET <grapes_url>/artifact/<gavc>
  Following filters can be used: artifactId, classifier, groupId, hasLicense, licenseId, type, uriInfo, version
  
  @param uriInfo UriInfo
  @return Response An artifact in HTML or JSON