get_branch
Retrieve branch details from Alibaba Cloud Codeup repositories to access commit history, protection rules, and merge status for code management workflows.
Instructions
[Code Management] Get information about a branch in a Codeup repository
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | Yes | Organization ID, can be found in the basic information page of the organization admin console | |
| repositoryId | Yes | Repository ID or a combination of organization ID and repository name, for example: 2835387 or organizationId%2Frepo-name (Note: slashes need to be URL encoded as %2F) | |
| branchName | Yes | Branch name (if it contains special characters, use URL encoding), example: master or feature%2Fdev |