Search branches
GET /api/v1/git/branches/search
Search branches in a repository. Returns a paginated list of branches matching the search query.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
provider | query | ProviderType | yes | — |
repository | query | string | yes | — |
query | query | string | yes | — |
page_id | query | `string | null` | no |
limit | query | integer | no | — |
Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
items | Branch[] | yes | — |
next_page_id | `string | null` | no |
Operation ID: search_branches_api_v1_git_branches_search_get