Draft spec for the REST API for Cosmo (Cloudify)