需要授权
获取容器版本。 立即试用。
请求
HTTP 请求
GET https://www.googleapis.com/tagmanager/v2/path
参数
参数名称 | 值 | 说明 |
---|---|---|
路径参数 | ||
path |
string |
GTM 容器版本的 API 相对路径。示例:accounts/{account_id}/containers/{container_id}/versions/{version_id} |
可选查询参数 | ||
containerVersionId |
string |
GTM 容器版本 ID。指定 published 以获取当前发布的版本。
|
授权
此请求至少需要获得以下任一范围的授权(详细了解身份验证和授权)。
范围 |
---|
https://www.googleapis.com/auth/tagmanager.readonly |
https://www.googleapis.com/auth/tagmanager.edit.containers |
https://www.googleapis.com/auth/tagmanager.edit.containerversions |
请求正文
请勿使用此方法提供请求正文。
响应
如果成功,此方法将在响应正文中返回 Versions 资源。
试试看!
请使用下面的 API Explorer 针对实际数据调用此方法,并查看响应。