code: @GET
      @Produces({MediaType.APPLICATION_JSON})
      @Path("/{gavc}" + ServerAPI.GET_LICENSES)
      public Response getLicenses(@PathParam("gavc") final String gavc, @Context final UriInfo uriInfo){
  
          if(LOG.isInfoEnabled()) {
              LOG.info(String.format("Got a get artifact licenses request [%s]", gavc));
          }
          final LicenseListView view = new LicenseListView("Licenses of " + gavc);
  
          final FiltersHolder filters = new FiltersHolder();
          filters.init(uriInfo.getQueryParameters());
  
          final List<DbLicense> dbLicenses = getArtifactHandler().getArtifactLicenses(gavc,filters);
          for(final DbLicense license: dbLicenses){
              view.add(getModelMapper().getLicense(license));
          }
  
          return Response.ok(view).build();
      }
docs: Returns the list of licenses used by an artifact.
  This method is call via GET <grapes_url>/artifact/{gavc}/licenses
  
  @param gavc The artifact gavc identification
  @return Response A list of dependencies in JSON