Publishing view using RESTApi?

Hi,

I've made a simple coffeescript utility to take/insert design documents and it works, but I want to add also publishing. This utility helps me move views between buckets and also updating the production servers from development. Is there a way, after inserting the design documents, to call an REST API to publish them?
thanks in advance,

Ivan

1 Answer

« Back to question.

I think you can just publish directly to non dev_* view and it will be immediately published. I haven't tried it though as the documentation recommended to always publish to dev_* and then use the manual publishing step.

Hello,

You are right Bjorg, you can create the view in production directly but it is better to create in in dev using code and then using the UI to publish it

Regards