ContainerVariablesByContainerVersion: Matomo Matomo Tag Manager Container Variables
insert REST
- Katalog:
Matomo - Schéma:
TagManager - Primární klíče:
idvariable - Label: Matomo Tag Manager Container Variables
Pomocí insert lze načíst a měnit data.
Shrnutí
A named value tags and triggers read: a cookie, a URL parameter, a fixed constant, or Matomo's own tracking configuration. Read and insert; update/delete deferred as representative-sibling scope (see the remarks above ContainerTriggersByContainerVersion for the shared insert-side reasoning this table's own build closed).
Zdroj API
- Koncový bod:
/index.php?module=API&method=TagManager.getContainerVariables&idSite={id_site}&idContainer={id_container}&idContainerVersion={id_container_version}&format=json
Provozní charakteristiky
| Charakteristika | Hodnota |
|---|---|
| Počet řádků za minutu | 3,620 |
Výsledek lze uložit do mezipaměti na straně klienta.
Parametry
| Jméno | Datový typ | Vyžadováno | Výchozí | Dokumentace |
|---|---|---|---|---|
id_ |
varchar2 |
The container to list variables of - Matomo.TagManager.Containers.idcontainer. | ||
id_ |
number |
The version to list variables of - Matomo.TagManager.ContainerVersionsByContainer.idcontainerversion. | ||
id_ |
number |
The Matomo site ID the container belongs to. |
Sloupce tabulky
Sloupce tabulky ContainerVariablesByContainerVersion jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).
| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|---|---|---|
created_ |
varchar2 |
itgen_mat_created_date | filtry na platformě, zapisovatelné | Date and time the variable was created, as returned by Matomo.Matomo does not document which time zone this is expressed in. | |
default_ |
varchar2 |
itgen_mat_default_value | filtry na platformě, zapisovatelné | Value used when the variable itself cannot be resolved. | |
description |
varchar2 |
itgen_mat_description | filtry na platformě, zapisovatelné | Variable description. | |
idcontainer |
varchar2 |
itgen_mat_idcontainer | filtry na platformě, zapisovatelné | The container this variable belongs to - addContainerVariable's own required insert argument.Nullable because getContainerVariables' own response, unlike getContainerVersions', carries no idContainer property at all (confirmed live 2026-08-30) - this column always reads null, supply it only on insert. | |
idcontainerversion |
int32 |
itgen_mat_idcontainerversion | filtry na platformě, zapisovatelné | The version this variable belongs to.Same case-sensitivity reason as idsite/idcontainer below: addContainerVariable's own PHP parameter is 'idContainerVersion' - measured live 2026-08-30, the lowercase field name alone answers a 400 with no body this method's own security level redacts from the trace, found only by printing the actual form body built. | |
idsite |
int32 |
itgen_mat_idsite | filtry na platformě, zapisovatelné | Site ID the container belongs to. | |
idvariable |
int32 |
itgen_mat_idvariable | filtry na platformě, zapisovatelné | Variable ID - assigned by Matomo on insert, never written. | |
lookup_ |
varchar2 |
itgen_mat_lookup_table | filtry na platformě, zapisovatelné | Lookup table mapping the variable's raw value to a substitute, as JSON text, for a type that supports one. | |
name |
varchar2 |
itgen_mat_name | filtry na platformě, zapisovatelné | Variable name. | |
parameters |
varchar2 |
itgen_mat_parameters | filtry na platformě, zapisovatelné | Type-specific configuration, as JSON text, in the same shape as the parameters column of ContainerTriggersByContainerVersion - decomposed into PHP's own bracket-array form fields on insert, see ParametersToFormBody. | |
status |
varchar2 |
itgen_mat_status | filtry na platformě, zapisovatelné | Variable status, for instance 'active'. | |
type |
varchar2 |
itgen_mat_type | filtry na platformě, zapisovatelné | Variable type, as defined by Matomo: for instance 'Constant' (one parameter, constantValue) or 'MatomoConfiguration' (over 60).The types available per context are in TagManager.AvailableVariableTypesByContext. | |
updated_ |
varchar2 |
itgen_mat_updated_date | filtry na platformě, zapisovatelné | Date and time the variable was last changed, as returned by Matomo.Matomo does not document which time zone this is expressed in. |