檢索指定站點的指定頻道的資訊。
HTTP請求
GET https://firebasehosting.googleapis.com/v1beta1/{name=sites/*/channels/*}
URL 使用gRPC 轉碼語法。
路徑參數
參數 | |
---|---|
name | 必需的。頻道的完全限定資源名稱,格式為: |
請求正文
請求內文必須為空。
響應體
如果成功,回應正文將包含Channel
的實例。
授權範圍
需要以下 OAuth 範圍之一:
-
https://www.googleapis.com/auth/firebase.hosting.readonly
-
https://www.googleapis.com/auth/firebase.hosting
-
https://www.googleapis.com/auth/firebase.readonly
-
https://www.googleapis.com/auth/firebase
-
https://www.googleapis.com/auth/cloud-platform.read-only
-
https://www.googleapis.com/auth/cloud-platform
有關詳細信息,請參閱身份驗證概述。