private static HttpListConfigsRequest createFromListRequestFullAppId(HttpRequest req, BindingMatch<?> bm) {
        String tenant = bm.group(2);
        String application = bm.group(3);
        String environment = bm.group(4);
        String region = bm.group(5);
        String instance = bm.group(6);
        
        ApplicationId appId = new ApplicationId.Builder()
                              .tenant(tenant)
                              .applicationName(application)
                              .instanceName(instance)
                              .build();
        return new HttpListConfigsRequest(null, appId,
                                          req.getBooleanProperty(HttpConfigRequests.RECURSIVE_QUERY_PROPERTY), true);
    }
A request to list config, bound to tenant and app id. Optionally bound to a config key, for request for named config.

@author vegardh
configserver/src/main/java/com/yahoo/vespa/config/server/http/v2/request/HttpListConfigsRequest.java