在 API 门户中,我使用此 API (OpenSAP) 为 Northwind 服务和产品创建了 API 代理,我还在 Developer Portal 中创建了具有相同名称 OpenSAP 的应用程序。我在我的 HCP 帐户中为 API 管理目录和 API 代理创建了目的地,并使用以下参数:
对于 API 代理:
Description=for OpenSAP APImgmt demo Type=HTTP TrustAll=true Authentication=BasicAuthentication WebIDEUsage=api_mgmt_proxy Name=APIMgmt_APIPortal WebIDEEnabled=true URL=https\://s**********trial-trial.apim1.hanatrial.ondemand.com\:443/ ProxyType=Internet User=**********
对于 API 管理目录:
Name=APImgmt URL=https\://devportalu34f5b50f-s***********trial.hanatrial.ondemand.com/ ProxyType=Internet Type=HTTP WebIDEEnabled=true Authentication=AppToAppSSO WebIDEUsage=api_mgmt_catalog Description=for apimgmt OpenSap demo dev portal
但是从模板创建新项目时,我仍然无法在 webide 服务目录中看到 API 列表。
我可以修复哪些设置来查看 WebIde 中的 API 列表?
在 WebIDE 的网络选项卡中,我可以看到与开发门户中相同的 API 应用程序列表,因此目的地可能配置正确。
这是开发门户中的相同应用程序:
API 门户中关联产品的 API 代理:
我从同一个 s 用户帐户登录到 WebIDE 和 API 管理服务。
最好的问候,安娜