Change the published groups, bands or keys
A change rewrites every tenant document at the next run, which
re-judges each of them, so without confirm: true it returns that
estimate and changes nothing. With it, the change applies from the
next run and runs unattended.
Authorizations
An organization API key. Keys carry a role (read_write or
read_only) and may be restricted to a namespace prefix such as
acme/*, or to one namespace such as acme/prod/tenant_1. A prefix
matches on a / boundary: acme/prod/tenant_1* covers
acme/prod/tenant_1 and everything under acme/prod/tenant_1/,
never acme/prod/tenant_12.
Headers
Returns the original response verbatim while the service still has it. Correctness never depends on it.
1Path Parameters
A template prefix ending in /*, with every / sent as %2F, such as acme%2Fprod%2F*.
A template prefix, a namespace path ending in /*, such as acme/prod/*. Up to 256 bytes.
3 - 256^[A-Za-z0-9._:/-]+/\*$Body
At least one of groups, bands and keys, each replacing the setting whole.
1 - 8 elementsA judgment, attribute or threshold name. Names are path segments in field references, so they never contain ..
1 - 128^[A-Za-z0-9_-]+$Bands for published aggregates, keyed <group>.<aggregate> as a
judgment names them, such as abuse_by_day.count or
by_plan.avg(state.mrr). A tenant document shows each as its band's
label only; the value itself is never published. An aggregate
without bands does not appear.
Key values a group publishes one by one, by group, such as
{"by_plan": ["free", "pro", "team"]}. A key value comes from the
tenant's attributes, so a tenant document names only the key values
listed here, under the group's keys. Every group publishes its
labels over all its key values together as all, listed or not.
Required, because the change re-judges every tenant document; without it, the response is the estimate.
Response
The tenant summary with the change, or the estimate when it needs confirm.
- Option 1
- Option 2
A template's tenant summary and a page of its tenants.
A template prefix, a namespace path ending in /*, such as acme/prod/*. Up to 256 bytes.
3 - 256^[A-Za-z0-9._:/-]+/\*$A judgment, attribute or threshold name. Names are path segments in field references, so they never contain ..
1 - 128^[A-Za-z0-9_-]+$Bands for published aggregates, keyed <group>.<aggregate> as a
judgment names them, such as abuse_by_day.count or
by_plan.avg(state.mrr). A tenant document shows each as its band's
label only; the value itself is never published. An aggregate
without bands does not appear.
Key values a group publishes one by one, by group, such as
{"by_plan": ["free", "pro", "team"]}. A key value comes from the
tenant's attributes, so a tenant document names only the key values
listed here, under the group's keys. Every group publishes its
labels over all its key values together as all, listed or not.
RFC 3339, UTC.
tenant_summary_failed: the template's namespace refused the last run's writes, such as over its limits with on_exceeded: reject; the events feed has namespace.tenant_summary_failed.
tenant_summary_failed When the last run finished; null before the first.