code: @Path("{appId}")
      public ApplicationResource getApplicationResource(
              @PathParam("version") String version,
              @PathParam("appId") String appId) {
          CurrentRequestVersion.set(Version.toEnum(version));
          return new ApplicationResource(appId, serverConfig, registry);
      }
docs: Gets information about a particular {@link com.netflix.discovery.shared.Application}.
  
  @param version
  the version of the request.
  @param appId
  the unique application identifier (which is the name) of the
  application.
  @return information about a particular application.