小编Sty*_*tyn的帖子

是否可以使用 Azure Devops API 访问组织范围的工件源?

我需要找到与 Azure DevOps API 的 Artifact 资源一起使用的 Feed 的 ID。我当前使用此 URL 查看我的组织中的所有 Artifact feed。

https://feeds.dev.azure.com/{organization}/{project}/_apis/packaging/feeds?api-version=6.0-preview.1
Run Code Online (Sandbox Code Playgroud)

这将返回所有项目范围的 Feed,但不返回组织范围的 Feed。我尝试使用下面的链接访问该链接,但没有成功,它总是告诉我提供的 ID 不存在。

https://feeds.dev.azure.com/{organization}/{project}/_apis/packaging/feeds/{feedId}?api-version=6.0-preview.1
Run Code Online (Sandbox Code Playgroud)

所以我的问题是:有没有办法使用 DevOps API 从组织范围的 Feed 访问信息/包?

azure azure-devops azure-devops-rest-api

3
推荐指数
1
解决办法
414
查看次数