latestOpenAPI 3.1.02026-08-0823354.5 KB

7e9372f17040

Branches

Get branch information

Return the Project's default branch and any branches requested by name.

post/v2/project/branches/info

Headers

gt-api-version'2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1'

API version. Defaults to the earliest supported version. Latest is 2026-03-06.v1.

gt-project-idstring

Target project ID. Required when authenticating with an organization API key.

Request body

branchNamesstring[]

Response

Branch information.