【问题标题】:Calling the release REST API with artifactSourceId filter not working使用 artifactSourceId 过滤器调用发布 REST API 不起作用
【发布时间】:2019-03-21 00:57:09
【问题描述】:
https://vsrm.dev.azure.com/MYTenant/Myproject/_apis/release/definitions?artifactSourceId=39b9c74f-a6c4-4676-a720-326f3238e661:4&$expand=artifacts&api-version=4.1-preview.3

根据文档,我应该对 artifactSourceId 进行过滤,但它会返回该项目的所有定义。

https://docs.microsoft.com/en-us/rest/api/vsts/release/definitions/list?view=vsts-rest-4.1

我做错了什么吗?我需要添加一些东西吗?

【问题讨论】:

  • 看看这个post它会帮助我们帮助你。

标签: azure-devops


【解决方案1】:

在查询中包含 artifactType=Build 可以解决问题。

【讨论】:

    猜你喜欢
    • 2019-07-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-27
    • 1970-01-01
    • 2019-01-06
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多