repo_list_my_branches_by_repo
Retrieve a list of branches you own in a specified Azure DevOps repository using a repository ID, with options to limit results. Simplifies branch management with PAT authentication.
Instructions
Retrieve a list of my branches for a given repository Id.
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. |
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.",
"type": "number"
}
},
"required": [
"repositoryId"
],
"type": "object"
}