Add support for deployment api