# NOT RUN {
auth_key <- vsts_auth_key("<username>", "<password>")
# Get commits of a repository
URL <- file.path(
"https://dev.azure.com",
domain,
project,
"_apis/git/repositories",
repository_id,
"commits?api-version=5.0"
)
vsts_run_command(URL, "GET", auth_key)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab