GET projects/{id}/repository/branches

gitlab.com:gitlab-api

Summary:
Operation ID: getApiV4ProjectsIdRepositoryBranches
Auth: unknown
Description

Get a project repository branches

Parameters (7)

id (?, path, required)

The ID or [URL-encoded path of the project](https://docs.gitlab.com/api/rest/#namespaced-paths).

page (integer, query, optional, default: 1)

Current page number

page_token (string, query, optional)

Name of branch to start the pagination from

per_page (integer, query, optional, default: 20)

Number of items per page

regex (string, query, optional)

Return list of branches matching the regex

search (string, query, optional)

Return list of branches matching the search criteria

sort (string, query, optional)

Return list of branches sorted by the given field

Constraints: {'enum': ['name_asc', 'updated_asc', 'updated_desc']}

No probe data for this endpoint yet.