vsts_get_repos {vstsr} | R Documentation |
Azure DevOps Project Repositories
Description
These functions will allow you to scrape project information from Azure DevOps.
Usage
vsts_get_repos(domain, project, auth_key, quiet = FALSE)
vsts_create_repo(domain, project, repo, auth_key, quiet = FALSE)
vsts_delete_repo(domain, project, repo, auth_key, quiet = FALSE)
Arguments
domain |
The name of the Azure DevOps organization |
project |
Project ID or project name |
auth_key |
authentication key generated by using |
quiet |
logical whether want general running information from printing. Any issue with the API call will
still show up if set to |
repo |
the name of the repository in |
Details
For more information about repository API calls check https://docs.microsoft.com/en-us/rest/api/azure/devops/git.
Examples
## Not run:
# Add in own details to get a non-NULL output
auth_key <- vsts_auth_key("<username>", "<password>")
# Get repo list
vsts_get_repos("domain", "project", auth_key)
# Create new repo
vsts_create_repo("domain", "project", "repo", auth_key)
# Delete existing repo
vsts_delete_repo("domain", "project", "repo", auth_key)
## End(Not run)
[Package vstsr version 1.1.0 Index]