取得地點的追蹤者設定。
如果帳戶或地點不存在,系統會傳回 NOT_FOUND。如果該地點未通過驗證或未連線到 Google 地圖,就會傳回 PRE 條件_FAILED 。
HTTP 要求
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/followers/metadata}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 | |
---|---|
name |
地點追蹤者中繼資料的資源名稱。accounts/{accountId}/locations/{locationId}/followers/metadata |
要求主體
要求主體必須為空白。
回應主體
如果成功,回應主體即會包含具有以下結構的資料:
某個地點的追蹤者中繼資料。
JSON 表示法 | |
---|---|
{ "name": string, "count": string } |
欄位 | |
---|---|
name |
這個項目的資源名稱:accounts/{accountId}/locations/{locationId}/followers/metadata |
count |
該地點的追蹤者總數。 |
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
詳情請參閱 OAuth 2.0 總覽。