repo_list_branches_by_repo
Retrieve a list of branches from a specified repository in Azure DevOps using the repository ID, with options to limit results to a defined number of branches.
Instructions
Retrieve a list of branches for a given repository.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
repositoryId | Yes | The ID of the repository where the branches are located. | |
top | No | The maximum number of branches to return. Defaults to 100. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"repositoryId": {
"description": "The ID of the repository where the branches are located.",
"type": "string"
},
"top": {
"default": 100,
"description": "The maximum number of branches to return. Defaults to 100.",
"type": "number"
}
},
"required": [
"repositoryId"
],
"type": "object"
}