Added support for deployments api