Class Version3Resource

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

@Path("/") @Produces({"application/json","application/xml"}) public class Version3Resource extends Object
The class Version3Resource contains the controller for the version resource.
  • Constructor Details

    • Version3Resource

      public Version3Resource()
  • Method Details

    • getVersion

      @GET @Path("/{vers}/version") @PermitAll public Map<String,String> getVersion(@NonNull @PathParam("vers") @NonNull String vers)
      The method getVersion provides means to retrieve the version number of the API in use.
      Parameters:
      vers - the version
      Returns:
      the version number