How to get the list of all the packages with their versions from Artifacts/Nuget Feed in Azure Devops using C#?

726 Views Asked by At

I want to get the list of the packages present in Azure DevOps Artifacts with their latest versions. Can I use a Personal Access token to get this list using C#?

I am not able to find a way to get this through the C# code.

1

There are 1 best solutions below

2
WerkmanW On BEST ANSWER

Maybe the Artifact Details API is what you're looking for?

Otherwise, you might include the dotnet list package command in your build pipeline to be able to have a look at that, but that sounds like more manual labor than you're looking to do :)