code: @Path("version")
      @GET
      @Produces(MediaType.APPLICATION_JSON)
      public Response version() {
          try {
              InputStream is = getClass().getResourceAsStream("/application.properties");
              Properties props = new Properties();
              props.load(is);
              String version = props.get("version").toString();
              String buildNumber = props.get("buildNumber").toString();
              return Response.ok().entity(
                  "{\"version\":\"" + version +
                  "\",\"build\":\"" + buildNumber + "\"}").build();
          } catch (IOException e) {
              //should never happen
              throw new RuntimeException(e);
          }
      }
docs: Returns a list of snapshots.
  
  @return