projects

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

get/v2/{+catalog}:getDefaultBranch

Request

  • Base URL: https://retail.googleapis.com
  • URL: https://retail.googleapis.com/v2/{+catalog}:getDefaultBranch
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

catalogstring required

The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

Response

Successful response

Changes