get_branches
Retrieve Git branches for version-controlled projects in Octopus Deploy spaces. Filter branches by name and manage results with pagination for efficient project management.
Instructions
Get Git branches for a version-controlled project
This tool retrieves Git branches for a specific project in a space. The space name and project ID are required. Optionally provide searchByName, skip, and take parameters for filtering and pagination.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
projectId | Yes | ||
searchByName | No | ||
skip | No | ||
spaceName | Yes | ||
take | No |
Input Schema (JSON Schema)
{
"properties": {
"projectId": {
"type": "string"
},
"searchByName": {
"type": "string"
},
"skip": {
"type": "number"
},
"spaceName": {
"type": "string"
},
"take": {
"type": "number"
}
},
"required": [
"spaceName",
"projectId"
],
"type": "object"
}