每个环境下的TFS REST API版本 [英] TFS REST API Release under each Environments

查看:110
本文介绍了每个环境下的TFS REST API版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试获取项目的每个环境下的所有TFS版本信息列表。基于此文件的


https:// docs。 microsoft.com/en-us/rest/api/azure/devops/release/releases/list?view=azure-devops-rest-5.0



 https://vsrm.mytfs.com/ {organization} / {project} /_apis/release/releases?api-version=5.0 

它仅为一个环境提取项目的发布信息。


我还需要更改以获取所有环境(如QA和dev)的发布信息吗?


我看到了 一个参数  definitionEnvironmentId = {definitionEnvironmentId}
。但不确定如何在上面的查询中使用它。

解决方案

谢谢你提出这个问题!既然您已经在Azure App Service -API Apps论坛上发布了这个问题,那么为了澄清一下,您是否正在利用API应用程序?似乎
问题特定于Azure DevOps,并且能够从合适的专家那里获得有针对性的即时帮助,请在
上重新发布问题开发者社区
,社区成员随时可以帮助您处理此事。



在此期间,
你可以使用附加参数调用相同的API- " ?


顶= {

顶部}&安培;

I am attempting to get a list of all TFS releases information under each environments for a project
based on this doc
https://docs.microsoft.com/en-us/rest/api/azure/devops/release/releases/list?view=azure-devops-rest-5.0

https://vsrm.mytfs.com/{organization}/{project}/_apis/release/releases?api-version=5.0

It is pulling the releases info for a project, for one environment only.

What do I need to change to get the release information from all environments (like QA and dev) also?

I saw  a param definitionEnvironmentId={definitionEnvironmentId} .But not sure how to use it in the above query.

解决方案

Thank you for raising this question! Since you have posted the question on Azure App Service -API Apps forums, just to clarify, are you leveraging API Apps? It appears that the issue is specific to Azure DevOps and to receive a focused and immediate assistance from the right set of experts, kindly just re-post the question on Developer Community, members of the community would readily help you with this matter.

In the interim, you may call the same API with additional parameter- " ?


top={


top}&


这篇关于每个环境下的TFS REST API版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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