Class InstallData3Resource

java.lang.Object
org.ctan.site.resources.catalogue.InstallData3Resource

@Path("/3.0") @Produces("application/json") public class InstallData3Resource extends Object
The class InstallData3Resource contains the controller for the install data resource.
  • Constructor Details

    • InstallData3Resource

      public InstallData3Resource(@NonNull @NonNull InstallDataStore store)
      This is the constructor for the class InstallData3Resource.
      Parameters:
      store - the underlying store
  • Method Details

    • getInstallDataByPkg

      @GET @Path("/installs/{key}") @PermitAll @UnitOfWork("siteDb") public List<InstallData3Resource.InstallTo> getInstallDataByPkg(@NonNull @PathParam("key") @NonNull String key)
      The method getInstallDataByKey contains the end-point for /installs/key. It returns the install entries.
      Parameters:
      key - the key
      Returns:
      the install entries