VSTS Restful API项目指标 [英] VSTS Restful API Project Metrics

查看:65
本文介绍了VSTS Restful API项目指标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望这是一个正确的论坛,可以向我提出有关VSTS(Azure DevOps)restful api的问题,以便检索Project Metrics。如果没有,请指出正确的论坛。 



我的问题如下:



  • 我正在尝试使用VSTS Rest API来获取项目指标。 (即  GET
    https://dev.azure.com/{organization}/{project } / _ apis / build / metrics / {metricAggregationType}?api-version = 5.0-preview.1)
  • 我的问题是我正在尝试确定允许我的个人访问令牌范围检索这些指标(不允许完全访问)。我试过Build和Project(读,写,管理)没有成功。

我想知道是否有人了解需要在个人身上使用的范围访问令牌以检索旧版中的项目指标。


谢谢,


Rich Prewitt


Minitab,Inc。


解决方案

Hi Rich,


欢迎光临到MSDN论坛。


根据描述,您的问题是关于Azure DevOps,我们的论坛是讨论VS IDE,请重定向到这个适当的论坛:  https://developercommunity.visualstudio.com/spaces/21/index.html
寻求更专业的支持,感谢您的理解。



致以最好的问候,


Sara


I hope this is the correct forum to ask my question pertaining to VSTS (Azure DevOps) restful api for retrieving Project Metrics. If not, please point me to the correct forum. 

My question is as follows:

  • I am attempting to use the VSTS Rest API to Get Project Metrics. (i.e., GET https://dev.azure.com/{organization}/{project}/_apis/build/metrics/{metricAggregationType}?api-version=5.0-preview.1 )
  • My issue is that I am trying to determine the personal access token scope that allows me to retrieve these metrics (without allowing full-access). I have tried Build and Project (read, write, manage) to no success.

I wonder if anyone has an understanding of the scope that needs to be used on a personal access token to retrieve project metrics in vsts.

Thanks,

Rich Prewitt

Minitab, Inc.

解决方案

Hi Rich,

Welcome to the MSDN forum.

According to the description, your issue is about the Azure DevOps and our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://developercommunity.visualstudio.com/spaces/21/index.html to seek for a more professional support, thank you for your understanding.

Best regards,

Sara


这篇关于VSTS Restful API项目指标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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