是否可以在 Azure DevOps 中提供指向文件原始内容的链接 [英] Is it possible to have a link to raw content of file in Azure DevOps

查看:15
本文介绍了是否可以在 Azure DevOps 中提供指向文件原始内容的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以在 GitHub 中生成文件原始内容的链接,VSTS/DevOps 可以吗?

It's possible to generate a link to raw content of the file in GitHub, is it possible to do with VSTS/DevOps?

推荐答案

当然,这里是所需的休息电话:

Sure, here's the rests call needed:

GET https://feeds.dev.azure.com/{organization}/_apis/packaging/Feeds/{feedId}/packages/{packageId}?includeAllVersions={includeAllVersions}&includeUrls={includeUrls}&isListed={isListed}&isRelease={isRelease}&includeDeleted={includeDeleted}&includeDescription={includeDescription}&api-version=5.0-preview.1

https://docs.microsoft.com/en-us/rest/api/azure/devops/artifacts/artifact%20%20details/get%20package?view=azure-devops-rest-5.0#package

这篇关于是否可以在 Azure DevOps 中提供指向文件原始内容的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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