azureazure-devopsazure-devops-rest-api

Is it possible to have a link to raw content of file in Azure DevOps


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


Solution

  • 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
    

    See docs.