Put v1telemetrydata views
Create or replace a data view (compile-validated before store).
Authorizations
Hiloop API key sent as an HTTP Bearer token.
Path Parameters
The view name (unique within the organization); supplied by the path.
Body
Create or replace a data view by name (upsert). The path {name} is authoritative; a name inside
the body is ignored.
Response
OK
A structured data view: a named, versioned spec that compiles 1:1 to a safe query.
The view name, unique within an organization among non-deleted views.
A human description, surfaced in the console switcher.
The data-view spec as opaque JSON — the engine's tagged DataViewSpec: a raw Sql SELECT,
plus opaque render config. Carried as a Struct so the spec schema lives
in ONE place (the engine's serde types); the service never re-models it. Re-validated against the
current column allowlist on store and on every run, so a view referencing a dropped column fails
closed with INVALID_ARGUMENT rather than serving a stale result.
Monotonic per-edit version; the store bumps it on each upsert.