---
title: "GET /v2/{+catalog}:getDefaultBranch"
method: GET
path: "/v2/{+catalog}:getDefaultBranch"
tags: ["projects"]
---

# GET /v2/{+catalog}:getDefaultBranch

`GET /v2/{+catalog}:getDefaultBranch`

Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog.

## Path parameters

- `catalog` string, required

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/retail.md) · [All operations](https://skmtc.net/google/apis/retail/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/retail/versions/146c67e59640/schema)
