Metrics API 示例

您正在查看的是 Apigee Edge 文档。
转到 Apigee X 文档
信息

这些示例使用了两个 Edge API:

使用这些 API 时:

  • 在以下位置将 email:password 替换为您的 Apigee 账号的用户名和密码:https://apigee.com/edge
  • myorg 替换为您的 Apigee 组织的名称,此名称在登录 https://apigee.com/edge 时可在用户名下找到。

    如果您没有 Apigee 账号,可以在 https://login.apigee.com/sign__up 注册一个。

  • 以下请求假设环境为“prod”。如果您需要使用其他环境(如“test”)进行分析,请将 /e/prod 修改为 /e/test

如需详细了解这些示例中使用的 API 调用,请参阅使用 Metrics API 衡量 API 程序性能