cns publish to use inline api calls for improved performance