有没有办法允许公共访问API管理分析 [英] Is there a way to allow public access to API management analytics

查看:67
本文介绍了有没有办法允许公共访问API管理分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望这是在正确的位置发布。

Hoping this is posting in the right place.

我目前正在寻找一种解决方案,允许公众查看来自Azure API管理仪表板的实时分析。如果不清楚,我希望任何人都可以访问我的网站website.xyz,并通过一些链接,能够查看与我的帐户关联的
分析。 

I am currently looking for a solution that allows live analytics from the Azure API management dashboard to be viewed by the public. If that is not clear, I'm hoping that anyone can visit my site at website.xyz, and through some link, be able to view the analytics associated with my account. 

我很感激输入,谢谢!

推荐答案

想知道您是否可以直接访问公众门户网站分析刀片网站,但您可以通过调用
API Management Reports API来创建自定义Google Analytics报告。

示例:

GET  https:// management .azure.com /订阅/< SubscriptionID> / resourceGroups /<资源组> /providers/Microsoft.ApiManagement/service/<&的ServiceName GT; /报告/ byAPI API-版本= 2018年1月1日和安培;&安培;

GET https://management.azure.com/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/providers/Microsoft.ApiManagement/service/<ServiceName>/reports/byAPI?api-version=2018-01-01&&


filter = timestamp
ge 2019-02-12T18:30:00.000Z and 时间戳文件2019-05-13T18:30:00.000Z& interval = PT12H
filter=timestamp ge 2019-02-12T18:30:00.000Z and  timestamp le 2019-05-13T18:30:00.000Z&interval=PT12H

标题:

授权持票人< ;令牌>

Authorization Bearer <Token>

回复:





这篇关于有没有办法允许公共访问API管理分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆