Sync and Version a Workspace
A 3-step recipe with Google Tag Manager. We can help you get access.
Recipe · 3 steps
Sync and Version a Workspace
with Google Tag Manager
Status, sync, then version a workspace when the sync is clean.
- Read the workspace status to surface modified and conflicting entities before syncing.
- Sync the workspace to the latest container version, merging unmodified entities and flagging conflicts.
- Cut a new container version from the synced workspace.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token for the Tag Manager API.
- workspacePath: The workspace API relative path, e.g. accounts/{accountId}/containers/{containerId}/workspaces/{workspaceId}.
- versionName: Display name for the new container version.
For your developer
Arazzo workflow google-tag-manager:sync-and-version-workspace, 3 operations: getWorkspaceStatus → syncWorkspace → createWorkspaceVersion. Specs on APIs.io.