从 Google 个 Cloud Endpoints 获取已部署的配置

Get deployed config from Google Cloud Endpoints

如何获取 API 的 google 云端点上 运行 的最新配置?

我正在查看服务管理 API,但找不到与 google 端点相关的任何内容。

获取服务的所有配置列表:

$ gcloud service-management configs list --service=[SERVICE].appspot.com

然后,要查看单个配置的详细信息,请使用您感兴趣的 CONFIG_ID

$ gcloud service-management configs describe [CONFIG_ID] --service=[SERVICE].appspot.com

当前使用的 CONFIG_ID 将是您的 App.yaml 文件中引用的那个。

此外,您随时可以通过访问以下URL获得发现文档:

https://[SERVICE-dot-][ProjectId].appspot.com/_ah/api/discovery/[VERSION]/apis