-
Notifications
You must be signed in to change notification settings - Fork 97
Vso Repository Apis
Xiaomin Wu edited this page Nov 3, 2015
·
3 revisions
- List all git repos
ARMClient.exe get "https://%vsoaccountname%.VisualStudio.com/DefaultCollection/_apis/git/repositories?api-version=1.0"
Note: vsoaccountname is from account's accountName.
- Get git repo
ARMClient.exe get "https://%vsoaccountname%.VisualStudio.com/DefaultCollection/_apis/git/repositories/%vsorepositoryid%?api-version=1.0"
- Get git branches
ARMClient.exe get "https://%vsoaccountname%.VisualStudio.com/DefaultCollection/_apis/git/repositories/%vsorepositoryid%/refs?api-version=1.0"
- Delete git repo
ARMClient.exe delete "https://%vsoaccountname%.VisualStudio.com/DefaultCollection/_apis/git/repositories/%vsorepositoryid%?api-version=1.0"