Skip to content

Vso Repository Apis

Suwat Ch edited this page Sep 15, 2015 · 3 revisions
  • List all git repos
ARMClient.exe get "https://%vsoaccountname%.VisualStudio.com/DefaultCollection/_apis/git/repositories?api-version=1.0"
  • Get git repo
ARMClient.exe get "https://%vsoaccountname%.VisualStudio.com/DefaultCollection/_apis/git/repositories/%vsoprojectid%?api-version=1.0"
  • Get git branches
ARMClient.exe get "https://%vsoaccountname%.VisualStudio.com/DefaultCollection/_apis/git/repositories/%vsoprojectid%/refs?api-version=1.0"
  • Delete git repo
ARMClient.exe delete "https://%vsoaccountname%.VisualStudio.com/DefaultCollection/_apis/git/repositories/%vsoprojectid%?api-version=1.0"
Clone this wiki locally