REST Resource: accounts.containers.workspaces

Resource: Workspace

Represents a Google Tag Manager Container Workspace.

JSON representation
{
  "path": string,
  "accountId": string,
  "containerId": string,
  "workspaceId": string,
  "name": string,
  "description": string,
  "fingerprint": string,
  "tagManagerUrl": string
}
Fields
path

string

GTM Workspace's API relative path.

accountId

string

GTM Account ID.

containerId

string

GTM Container ID.

workspaceId

string

The Workspace ID uniquely identifies the GTM Workspace.

name

string

Workspace display name.

description

string

Workspace description.

fingerprint

string

The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified.

tagManagerUrl

string

Auto generated link to the tag manager UI

Methods

create

Creates a Workspace.

create_version

Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version.

delete

Deletes a Workspace.

get

Gets a Workspace.

getStatus

Finds conflicting and modified entities in the workspace.

list

Lists all Workspaces that belong to a GTM Container.

quick_preview

Quick previews a workspace by creating a fake container version from all entities in the provided workspace.

resolve_conflict

Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.

sync

Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.

update

Updates a Workspace.