如何使用Azure REST API获取与管道相关的所有发行说明的列表?试图将Azure Devops连接到动力BI

发布于 2025-01-17 12:43:39 字数 719 浏览 3 评论 0原文

我正在尝试使用 Azure DevOps REST API 连接 Power Bi 和 Azure Devops。我已经把文档看了一千遍了,但我仍然很困惑。我想连接到管道并显示与其关联的所有版本并显示这些版本的描述。文档很混乱。请帮忙。

我可以使用下面的代码查看管道中的所有运行,但没有说明。 https://dev。 azure.com/Organization/Project/_apis/pipelines/pipelineid/runs?api-version=6.0-preview.1 我想也许可以从那里开始,但没有用。

文档指出获取版本列表的正确代码是: https://dev.azure.com/organization/项目/_apis/release/releases?api-version=6.0 但发布并不在发布选项卡下,而是在管道选项卡下。

我只是很困惑,需要一些帮助来了解 API 端点 URL 的位置以获取管道的发布说明。

I am attempting to connect Power Bi and Azure Devops using Azure DevOps REST API. I have looked at the documentation a thousand times and I am still confused. I want to connect to a pipeline and show all releases associated with it and show the description of those releases. Documentation is confusing. Please help.

I can view all runs from the pipeline using the code below, but no descriptions.
https://dev.azure.com/Organization/Project/_apis/pipelines/pipelineid/runs?api-version=6.0-preview.1
I was thinking maybe start there, but no use.

Documentation states that the correct code to get a list of releases is:
https://dev.azure.com/organization/project/_apis/release/releases?api-version=6.0
But releases are not under a release tab, and just under the pipeline tab.

I am just confused and need some assistance on where the API endpoint URL is to get the release descriptions for a pipeline.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文