[英]Is it possible to publish a git repository or a zip file to CloudControl directly by REST API?
I want to publish a maven project to CloudControl by REST API, not by command line tool, is it possible? 我想通过REST API(而不是通过命令行工具)将Maven项目发布到CloudControl,这可能吗? That means, create a app by REST API, deploy source or binary code by REST API.
这意味着,通过REST API创建应用程序,通过REST API部署源代码或二进制代码。 Just like Heroku, I can build a url directly into app using REST API https://api.heroku.com/apps/myapp/builds .
就像Heroku一样,我可以使用REST API https://api.heroku.com/apps/myapp/builds直接在应用程序中构建网址。 Thanks very much!
非常感谢!
We currently don't provide a way to upload images directly. 我们目前不提供直接上传图像的方法。 You'd first have to push to the Git remote which will build the image.
您首先必须推送到Git遥控器,以构建映像。 All other steps like creating an app/deployment, deploying or adding add-ons are available via the REST-API.
其他所有步骤(如创建应用程序/部署,部署或添加加载项)都可以通过REST-API获得。 You can see examples of the API usage in the python library the command line client uses.
您可以在命令行客户端使用的python库中查看API使用示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.