Can I access the active version on SAP Cloud Platform of HTML5 apps through a api?

。_饼干妹妹 提交于 2019-11-29 17:45:07

Well, we needed something similar and used this kinda hack to get the active versions via WebIde Api (need basic Auth to login) replace XXXX with your account

https://webide-XXXX.dispatcher.hana.ondemand.com/api/html5api/accounts/XXXXX/applications 

You get back a json array with all your applications of that sub account, including active version and other interesting information

Hope it helps ;))

Regards Mathias

You could create a HTTP Proxy Servlet based on https://github.com/SAP/cloud-connectivityproxy that provides read only access to https://dispatcher.hanatrial.ondemand.com/hcproxy/b/api/accounts/<subaccount>/applications/<app> for your app.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!