added deployments API and changed blueprints API