How to get the download url of the artifact in Visual Studio Team Services?
问题 I'm developing a plugin in Visual Studio Code that allows downloading of artifacts from VSTS (Visual Studio Team Services) but I don't know where to get the URL? How can I get the URL of the download button? 回答1: You can get the download URL for build artifacts through REST API. Use the REST API to get build artifacts: GET https://{account}.visualstudio.com/DefaultCollection/{project}/_apis/build/builds/{buildID}/artifacts?api-version=2.0 You will get the response as below: { "count": 1,