private HttpResponse getApplication(RestApi.RequestContext context) {
        String applicationIdString = context.pathParameters().getStringOrThrow("application");
        ApplicationId appId = toApplicationId(applicationIdString);
        ApplicationInstanceStatus status;

        try {
            status = orchestrator.getApplicationInstanceStatus(appId);
        } catch (ApplicationIdNotFoundException e) {
            throw new RestApiException.NotFound("Application " + applicationIdString + " could not be found", e);
        }

        if (status.equals(ApplicationInstanceStatus.NO_REMARKS)) {
            throw new RestApiException.NotFound("Application " + applicationIdString + " is not suspended");
        }
        return new EmptyResponse(Status.NO_CONTENT);
    }
Shows the Orchestrator status for an application instance

HTTP Behavior:
204 if the application is suspended
400 if the applicationId is invalid
404 if the application is not suspended
orchestrator/src/main/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionRequestHandler.java