Get branches
gitlab_get_branchesRetrieve and list branches for a GitLab project, with optional filtering by branch name or ref and pagination for large repositories.
Instructions
Retrieve information about branches in a project.
Args: **kwargs: Additional keyword arguments to initialize the BranchModel.
Returns: Response: The response object containing a list of Branch models.
Raises: ParameterError: If the provided parameters are invalid based on the BranchModel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| page | No | ||
| branch | No | ||
| per_page | No | ||
| max_pages | No | ||
| project_id | Yes | ||
| api_parameters | No |