Class XmlVersionResource

java.lang.Object
org.ctan.site.resources.catalogue.api.XmlVersionResource

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

    • XmlVersionResource

      public XmlVersionResource()
  • Method Details

    • getVersion

      @GET @Path("/xml/{vers}/version") @PermitAll public 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