本文介绍了是否可以链接到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/zh-cn/rest/api/azure/devops/artifacts/artifact%20%20details/get%20package?view=azure-devops- rest-5.0#package

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

10-22 06:48