Method: containers.get

全名:accounts.containers.get

获取容器。

HTTP 请求

GET https://tagmanager.googleapis.com/tagmanager/v1/accounts/{accountId}/containers/{containerId}

路径参数

参数
accountId

string

GTM 账号 ID。

containerId

string

GTM 容器 ID。

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 Container 实例。

授权范围

需要以下 OAuth 范围之一:

  • https://www.googleapis.com/auth/tagmanager.edit.containers
  • https://www.googleapis.com/auth/tagmanager.readonly

如需了解详情,请参阅 OAuth 2.0 Overview