private List<SlobrokEntryResponse> getSlobrokEntries(RestApi.RequestContext context) {
        String instanceId = context.pathParameters().getStringOrThrow("instanceId");
        String pattern = context.queryParameters().getString("pattern").orElse(null);
        ApplicationInstanceReference reference = parseInstanceId(instanceId);
        ApplicationId applicationId = OrchestratorUtil.toApplicationId(reference);

        if (pattern == null) {
            pattern = DEFAULT_SLOBROK_PATTERN;
        }

        List<Mirror.Entry> entries = slobrokApi.lookup(applicationId, pattern);
        return entries.stream()
                .map(entry -> new SlobrokEntryResponse(entry.getName(), entry.getSpecString()))
                .toList();
    }
Provides a read-only API for looking into the current state as seen by the Orchestrator.
This API can be unstable and is not meant to be used programmatically.

@author andreer
@author Oyvind Bakksjo
@author bjorncs
orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/InstanceRequestHandler.java