public List<ClientVersionSummaryBean> listClientVersions(String organizationId, String clientId)
        throws ClientNotFoundException, NotAuthorizedException {
        // Try to get the client first - will throw a ClientNotFoundException if not found.
        getClient(organizationId, clientId);

        return tryAction(() -> query.getClientVersions(organizationId, clientId));
    }
Gets the client version internally
which lets callers dictate whether the user has clientView permission for the org.
@param organizationId the organizationId
@param clientId the clientId
@param version the version
@return the client version
@throws ClientVersionNotFoundException if client not found
manager/api/rest-impl/src/main/java/io/apiman/manager/api/service/ClientAppService.java