Method: versions.get

Full name: accounts.containers.versions.get

Gets a Container Version.

HTTP request

GET https://tagmanager.googleapis.com/tagmanager/v2/{path}

Path parameters

Parameters
path

string

GTM ContainerVersion's API relative path. It takes the form accounts/{account}/containers/{container}/versions/{version}.

Query parameters

Parameters
containerVersionId

string

The GTM ContainerVersion ID. Specify

published

to retrieve the currently published version.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ContainerVersion.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.